Thnx Matt. Sorry for the late reply. I've had to take a few sick days and hence haven't had a chance to try this yet.
I will try it out and let you know the outcome Vanessa ----- Original Message ----- From: "Matt Raible" <m...@raibledesigns.com> To: users@appfuse.dev.java.net Sent: Friday, November 5, 2010 12:46:42 PM (GMT-0500) America/New_York Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch On Nov 5, 2010, at 10:34 AM, Vanessa Pacheco wrote: >> C:\>echo %CATALINA_HOME% >> c:\tomcat6 >> This should work. What makes you think Cargo is not using it when running >> tests? To be sure >it's using it, you could remove the following from your >> pom.xml: > > Yeah, the zipUrlInstaller section is commented in my actual file. I guess > what I am looking for is my appfuse project folder in c:\Tomcat6\webapps. So > that when I go to localhost:8080 manager > (http://localhost:8080/manager/html), I see the app listed there with all my > other non-appfuse apps. This doesn't seem to be happening. I don't want to be > copying my .war file over cos that doesn't seem to work for me (that's what I > was trying to do yesterday) Cargo deploys the WAR, runs the tests and then undeploys it, that's why you don't see it after your tests complete. You can add the following profile if you want to deploy it to Tomcat using "mvn install -Pauto-deploy". You may have to change the "deployer-redeploy" goal to "deploy" for the initial deployment. Tomcat will need to be running for this to work. More documentation can be found at http://cargo.codehaus.org/Maven2+plugin. <profile> <!-- Profile that deploys to Tomcat after a successful build. --> <!-- Developers should not have to run this profile directly; --> <!-- it's meant to support the internal build process. --> <id>auto-deploy</id> <build> <plugins> <plugin> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-maven2-plugin</artifactId> <version>1.0</version> <executions> <execution> <id>verify-deploy</id> <phase>install</phase> <goals> <goal>deployer-redeploy</goal> </goals> <configuration> <container> <containerId>tomcat6x</containerId> <type>remote</type> </container> <configuration> <type>runtime</type> <properties> <cargo.tomcat.manager.url> http://${cargo.host}/manager </cargo.tomcat.manager.url> <cargo.remote.username>admin</cargo.remote.username> <cargo.remote.password>admin</cargo.remote.password> </properties> </configuration> <deployer> <type>remote</type> <deployables> <deployable> <groupId>${project.groupId}</groupId> <artifactId>${project.artifactId}</artifactId> <type>war</type> <properties> <context>${deploy.path}</context> </properties> <pingURL> http://${cargo.host}/${deploy.path} </pingURL> <pingTimeout>30000</pingTimeout> </deployable> </deployables> </deployer> </configuration> </execution> </executions> </plugin> </plugins> </build> <properties> <deploy.path>${project.artifactId}</deploy.path> <cargo.host>localhost:8080</cargo.host> </properties> </profile> > >> This file doesn't have any -ve values in it. Am I missing something? > There's -1 for the "id". This is 1 table row from the sample data file. > <row> > <value description="id">-1</value> > <value description="username">user</value> > <value > description="password">12dea96fec20593566ab75692c9949596833adc9</value> > <value description="first_name">Tomcat</value> > <value description="last_name">User</value> > <value description="address"></value> > <value description="city">Denver</value> > <value description="country">US</value> > <value description="email">matt_rai...@yahoo.com</value> > <value description="phone_number"></value> > <value description="postal_code">80210</value> > <value description="province">CO</value> > <value description="website">http://tomcat.apache.org</value> > <value description="password_hint"><![CDATA[A male > kitty.]]></value> > <value description="version">1</value> > <value description="account_enabled">1</value> > <value description="account_expired">0</value> > <value description="account_locked">0</value> > <value description="credentials_expired">0</value> > </row> > > Vanessa Negative numbers are used for Oracle. Unfortunately, we don't currently have a way of reversing this. However, you should be able to manually change the keys w/o issues. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net