|
May 2005
[
vmassol
]
15:26, Monday, 23 May 2005
Enjoy!
[
vmassol
]
10:48, Sunday, 1 May 2005
Cargo 0.5 has been released yesterday. One novelty is the Maven plugin. You can now start and stop a variety of containers using this plugin. This should come very handy for all of you wishing to perform integration or functional testing with Maven. The containers that are currently supported are: Resin 2.x, Resin 3.x, Tomcat 3.x, Tomcat 4.x, Tomcat 5.x, Orion 1.x, Orion 2.x, Jetty 4.x, jo! 1.x, OC4J 9.x and WebLogic 8.x. For example, imagine that you have some integration tests in your project's test directory and that you need, say, Tomcat 5.0.30 to run
them. You'll need to start the Tomcat container before the
You'll need to provide Cargo configuration data in your
Alternatively you can ask the plugin to automatically download and install Tomcat for you (it'll download it only once), by specifying:
As you may have noticed, in our example above we've reused the existing Maven Test plugin which looks for test sources in If there's a strong demand, we may consider adding a Please note that there's also an alternative which is to start the Container directly from your unit tests. If you find Cargo interesting, please come and help us on the Cargo mailing lists. There are lots of different ways you can help: trying Cargo on containers, implementing new containers (for example, JBoss, JOnas, WebSphere, etc), discussing new ideas, letting us know what new features you'd love to see, etc.
[
vmassol
]
10:36, Sunday, 1 May 2005
The Cargo team is pleased to announce the release of Cargo 0.5. The major changes from Cargo 0.4 to 0.5 are:
Detailed release notes are available on the download page. Here's an example of how to use Cargo from Java:
Here's an example using the provided Ant tasks:
And here's an example using the Maven plugin:
Enjoy! |