Loading Twitter updates Loading...
Follow me on Twitter
20040911 Saturday September 11, 2004

[ANN] Cargo 0.1 Released Vincent Massol has released Cargo 0.1 - an open source project to start/stop and configure Java containers. I'm using its Ant tasks in Spring Live's sample app in conjuction with jWebUnit and Canoo's WebTest and it works great. Here's some sample code:

    <target name="test-web" depends="war"
        description="Runs tests that required a running server">
        <taskdef resource="cargo.tasks" classpathref="classpath"/>
        <cargo-tomcat5x homeDir="${tomcat.home}"
            output="${test.dir}/cargo.log"
            workingDir="${test.dir}/tomcat5x" action="start">
            <war warFile="${dist.dir}/${webapp.name}.war"/>
        </cargo-tomcat5x>
        <property name="testcase" value="WebTest"/>
        <antcall target="test"/>
    </target>

Read more about Cargo's beginnings on TheServerSide.com. This initial version provides:

  • A Java API to:
    • Start containers
    • Stop containers
    • Configure containers for deployment in any user-specified directory
    • Wait for containers to be started
    • Wait for containers to be stopped
    • Supports WAR and EAR static deployments
  • Ant tasks that wraps the Java API

Good stuff - thanks Vincent! Posted in Java at Sep 11 2004, 08:47:17 PM MDT Add a Comment

Raising two kids As you can probably tell from my lack of posting here - I'm having a good time being Abbie's buddy these days. I've also learned a couple of things. First of all, raising two kids is easy. You just have to give up any notion of wanting to do anything for yourself. Secondly, we had a "turn off the TV week" here and Abbie didn't even notice. She's usually a huge Elmo fan - so I was a little worried. However, she only asks for Elmo when the TV is on. Kids are actually a fair bit easier to manage when there is no TV. This goes back to point #1. If you concentrate on the kids and not on yourself, it's pretty easy work. Exhausting, but easy. Chances are you won't ever regret it. That's it - we're off to Gymboree and then to the airport to pick up "Mimi" and "Baba" (my parents). Posted in General at Sep 11 2004, 08:55:22 AM MDT 4 Comments