What is the datasource information for? I currently have issues with DBUnit on cargo/tomcat, but am using Spring to create my datasource. Wondering if this might fix that...?
On Thu, May 29, 2008 at 11:54 AM, Geoffrey Wiseman < [EMAIL PROTECTED]> wrote: > On Thu, May 29, 2008 at 2:34 PM, Mick Knutson <[EMAIL PROTECTED]> > wrote: > > > do you use the zip for both, or the tar.gz? > > > > ZIP > > <plugin> > <groupId>org.codehaus.cargo</groupId> > <artifactId>cargo-maven2-plugin</artifactId> > <configuration> > <container> > <containerId>tomcat5x</containerId> > <dependencies> > <dependency> > <groupId>mysql</groupId> > <artifactId> > mysql-connector-java > </artifactId> > </dependency> > <dependency> > <location>src/test/resources</location> > </dependency> > </dependencies> > <zipUrlInstaller> > <url> > > > http://www.apache.org/dist/tomcat/tomcat-5/v5.5.25/bin/apache-tomcat-5.5.25.zip > </url> > </zipUrlInstaller> > </container> > <configuration> > <home> > ${project.build.directory}/tomcat5x/ > </home> > <properties> > <cargo.datasource.datasource> > > cargo.datasource.url=jdbc:mysql://localhost:3306/db-name > > cargo.datasource.driver=com.mysql.jdbc.Driver > cargo.datasource.username=db-username > cargo.datasource.password=db-password > cargo.datasource.type=javax.sql.DataSource > cargo.datasource.jndi=jdbc/db-name > </cargo.datasource.datasource> > </properties> > <deployables> > <deployable> > > <groupId>myorg.secondary.application</groupId> > <artifactId>secondary</artifactId> > <type>war</type> > <properties> > <context>secondary</context> > </properties> > </deployable> > <deployable> > <groupId>myorg.primary.application</groupId> > <artifactId>primary</artifactId> > <type>war</type> > <properties> > <context>primary</context> > </properties> > </deployable> > </deployables> > </configuration> > </configuration> > <executions> > <execution> > <configuration> > <wait>false</wait> > </configuration> > <id>start</id> > <phase>pre-integration-test</phase> > <goals> > <goal>start</goal> > </goals> > </execution> > <execution> > <id>stop</id> > <phase>post-integration-test</phase> > <goals> > <goal>stop</goal> > </goals> > </execution> > </executions> > </plugin> > > -- > Geoffrey Wiseman > -- --- Thank You… Mick Knutson BASE Logic, inc. Website: http://baselogic.com Blog: http://baselogic.com/blog BLiNC Magazine: http://blincmagazine.com Linked IN: http://linkedin.com/in/mickknutson DJ Mick: http://djmick.com MySpace: http://myspace.com/mickknutson Tahoe: http://tahoe.baselogic.com