This page last changed on Jul 17, 2006 by vsiveton.

RSS


An RSS feed is available.

News


Dear CARGO enthusiasts

About 8 weeks have passed since the last CARGO release. During these weeks, some fixes and improvements have been implemented in CARGO, which include:

  • General:
    • Harmonized the behaviour when copying configuration files, now both <file> and <configfiles> can copy directories [CARGO-1045]
    • Improved the module hierarchy and dependencies [CARGO-1011]
      • This way, the CARGO Maven2 plugin doesn't use the uberjar anymore but rather the individual artifacts
    • Cleaned notes about old CARGO versions from documentation [CARGO-997]
    • Corrected Javadoc for MergeStrategy.inRight() [CARGO-1046]
  • JBoss:
    • JBoss 7.1.0 beta 1 is now supported [CARGO-1063]
    • The JBoss 5.x and 6.x remote deployers now take into account username and password [CARGO-1058]
    • JBoss 5.x, 5.1.x, 6.x, 6.1.x and 7.x local containers don't have cargo-specific XML files anymore [CARGO-839]
  • Jetty:
    • Fixed compatibility issues between the remote Jetty deployer and jetty-hightide (Jetty@Codehaus) [CARGO-983]
    • Remote Jetty deployer now works with Jetty 8.x with the default OPTIONS [CARGO-1049]
    • Fixed the default CARGO OPTIONS for the Jetty 8.x container [CARGO-1050]
  • JOnAS:
    • Remote deployer can now undeploy deployment plans on JOnAS 5.x [CARGO-1047]
    • The standalone JOnAS container can now set any JOnAS configurator property [CARGO-1054]
    • The modular ANT tasks are used when configuring the latest JOnAS 5.3 milestones [CARGO-1057]
    • The JOnAS remote deployer has a new "ignore version" option [CARGO-1048]
  • GlassFish:
    • GlassFish2xAsAdmin now takes into account the timeout set in the container [CARGO-1055]
  • Maven2/Maven3 plugin:
    • Different executions can now have different configuration options [CARGO-1053]

You can access the full release notes by visiting https://jira.codehaus.org/secure/ReleaseNote.jspa?version=17845&styleName=Html&projectId=10730

To use this new version:

  • Users of the Java API and/or ANT tasks can download the CARGO uberjar and ANT tasks from the download page: http://cargo.codehaus.org/Downloads
  • Maven2/Maven3 users simply need to change the plugin's <version> to 1.1.4, and Maven2/Maven3 will download the new version automatically.

Please share your good (and bad) findings on the user@cargo.codehaus.org mailing list.

Enjoy!

Dear CARGO enthusiasts

CARGO 1.1.3 is now ready. You're probably wondering what's in it for you; so here is a quick overview:

  • The pingURL is no more ignored when using redeploy [CARGO-1036]
  • All deployers now support the redeploy method (with and without monitor) [CARGO-1038]
  • The JBoss container has gained in functionality and stability:
    • JBoss 6.1.x support has been added [CARGO-1043]
    • Corrected the capabilities of the JBoss 7.x remote container [CARGO-1044]
    • Shared classpath does not cause java.net.MalformedURLException on Windows anymore [CARGO-1024]
    • JBoss standalone local configuration creation now works even with deployables with certain names [CARGO-1037]
  • Jetty-specific fixes and improvements:
    • The latest version of Jetty, version 8, is now supported. [CARGO-1028]
    • You can now provide your own Jetty context XML file [CARGO-1027] on Jetty 6.x, 7.x and 8.x
  • The GlassFish container has been improved:
    • Extra classpath support has been added [CARGO-1034]
    • In addition, GlassFish containers now also support Datasources [CARGO-1035]
    • That's not all: you can now use Existing Local Configuration for an installed GlassFish container [CARGO-1039]
    • Finally, the GlassFish deployer has been improved to recognize failures correctly [CARGO-1032]
  • The Tomcat container has two bugs corrected:
    • A bug making the Tomcat container throw a ClassNotFoundException with default logging properties has been fixed [CARGO-1031]
    • Deployment of a WAR with a subcontext works back again [CARGO-1041]
  • In the containers' documentation's "properties" part, the "comments" column has been replaced with a link to Javadoc [CARGO-1029]

The full release notes can be found on: https://jira.codehaus.org/secure/ReleaseNote.jspa?version=17504&styleName=Html&projectId=10730

Enjoy!

Hi CARGO enthusiasts

CARGO 1.1.2 is now ready, it comes with a number of new features and bug fixes.

On the new features and improvements side:

  • CARGO now supports JBoss 7! (CARGO-1014)
  • We have added new Maven2/Maven3 archetypes:
  • Many CARGO components are now much easier to use:
    • Configuration properties can now be set using Java system properties (-Dxxx=yyy) (CARGO-1007, CARGO-1009)
    • The CARGO JBoss remote deployers are not needed to be in the classpath anymore, they're part of the JBoss container and are loaded dynamically (CARGO-1015)
  • The cargo:run mojo is now much easier to use, and in many cases requires no plugin configuration at all:
    • Configuration properties can now be set using Java system properties (-Dxxx=yyy) (CARGO-1007, CARGO-1009)
    • New attributes: containerId and containerUrl (CARGO-970)

You can read our reworked Maven2/Maven3 plugin getting started guide, http://cargo.codehaus.org/Maven2+Plugin+Getting+Started and realize how easy it now is to use CARGO on any existing Maven2/Maven3 Java EE project; no configuration is required at all!

Of course, there are also some bug fixes:

  • The Cargo Maven2/Maven3 deployer no more ignores deployables in the <configuration> element of the container (CARGO-1002)
  • Adding a configuration file to a non-existing target directory does not result in FileNotFoundException anymore (CARGO-1004)
  • The Maven2/Maven3 mojos now enable the logger in debug mode (CARGO-1010)
  • The remote deployers now get their logger from the configuration (CARGO-1012)
  • Some UberWar fixes:
    • Dollar sign in value no more breaks NodeMerge strategy (CARGO-1016)
    • Comma can now serve as a pattern end mark (CARGO-1017)
    • Left side expression no more appears twice in the merged result (CARGO-1018)
  • cargo:deploy on JBoss now works even when internet is unavailable (CARGO-1019)
  • The JOnAS installed local deployer does not show an incorrect warning anymore (CARGO-1021)

Enjoy!

Cargo Gradle plugin

Hi Cargo and Gradle lovers

A while ago Ben has released the first version of the Cargo plugin for Gradle.

The plugin provides deployment capabilities for web applications to local and remote containers in any given Gradle build by leveraging the Cargo Ant tasks. It extends the Gradle War plugin.

The plugin provides most of the functionality you might know from the Cargo Maven plugin or the Ant tasks; in fact internally it uses the Cargo tasks.

Any feedback is highly welcome and Ben announced he would love to improve the plugin to support all the functionality you were used to from other Cargo integrations. Please have a look at the README file for the current functionality.

Enjoy!

CARGO 1.1.1 is here!

Hi CARGO enthusiasts;

CARGO 1.1.0 has been out for just over a month now, and we have had important bug fixes and improvements since. We therefore are very happy to announce CARGO 1.1.1.

Wonder what has changed? Here is a short list:

  • A certain number of user inquiries made us realize that there has been a confusion around the wait parameter of the start ANT task and Maven goal of CARGO. Indeed, most other similar tools have a clearer separation:
    • A "run" task/goal, which starts the container and waits until the user decides to stop it.
    • A "start" task/goal, which starts the container and hands over to the next task/goal (run integration tests, for example).
    • With version 1.1.1, CARGO also implements that behaviour.
    • Of course the wait parameter remains available AND will remain so until CARGO version 1.3.0 at least.
  • The various installers (introduced with CARGO 1.1.0) now have homogeneous parameters and default values.
  • Fixes and improvements on various containers:
    • The JBoss remote deployer now supports a wider range of configurations.
    • Jetty 7.x and Tomcat 7.x remote deployers are now better documented to avoid some mistakes.
    • Various improvements on the JOnAS containers:
      • Added datasource support on JOnAS 4.x and 5.x.
      • Added extra classpath support on JOnAS 5.x.
      • Added undeploy and redeploy capabilities to the JOnAS 5.x local deployer.
    • The webapp directory of Tomcat containers is now configurable.

And, the full changelog:

Fixed bugs:

  • [CARGO-974] - default extraction dir for artifactInstaller is different from zipUrlInstaller
  • [CARGO-978] - Broken link in site (Local Container)
  • [CARGO-983] - cargo-jetty-7-and-onwards-deployer fails perform remote deploy on jetty-hightide (Jetty@Codehaus)
  • [CARGO-984] - Remote redeploy does not work for Tomcat 7
  • [CARGO-992] - Jonas 5.2: "mvn cargo:redeploy" don't work with the local deployer

Improvements and new features:

  • [CARGO-973] - Add support for extractDir to artifactInstaller
  • [CARGO-979] - Allow specifying the profile name when remotely deploying to a JBoss 5.1.X-server
  • [CARGO-981] - Configuring Tomcat webapps Dir
  • [CARGO-985] - Implement cargo:run
  • [CARGO-989] - Implement run task
  • [CARGO-994] - Add datasource support to JOnAS
  • [CARGO-995] - Add extra classpath support to JOnAS 5.x

Other changes:

  • [CARGO-987] - Deprecate cargo:start's -Dwait argument
  • [CARGO-990] - Deprecate the ANT start task's wait argumen

Enjoy!

Document generated by Confluence on Dec 03, 2011 14:37