I moved this from a Jira issue to Google svn so I can give my blog readers a reliable place to get the code. This also gives me version control for updates. Read this blog entry for more information about this project. All you need to have is Maven 2.0.x installed. The rest is cake. During the installation Cargo will download a zip file from the JBoss Maven repository. This is the Tomcat 6.0.13 distro with Embedded already installed and setup. Nothing else has been added to it.
Dependencies
- The only thing you need to have on the machine running this demo is the latest version of Maven. (I'm using 2.0.7)
- You may also want (but isn't required) to checkout the source code using Subversion.
Instructions
It only takes 3 commands to get this demo running on your machine!
- navigate to the project root folder
- run mvn install
- navigate to the web folder and run mvn cargo:start
- Note - This will install and download all the dependencies along with downloading the tomcat+embedded distro, so it may take a few minutes.
- Wait for the server to start and you see something like 'Tomcat 5.x started on port [8080]`
- Open a new terminal and navigate to the [project root folder]/web and run mvn cargo:deploy
- Open a web browser and navigate to http://localhost:8080/seamtestapp
- Thats it! You may see an error on the deploy, Cargo just pings a page to see if it actually deployed. The error is because Trinidad doesn't understand the user agent... anyways, don't worry about it ;)