Hello Matt, thanks for responding.
Yeah i did what you advised me. I use netbeans 6.8, I created a maven
project, i picked my pom.xml and my project was there.
First i wanted to ask you, what's the difference between trying Build and
Run?
I build the project, my Mysql db is ok, the three tables are there.
But when I select Glassfish V3 to run the project, i see on the console
tomcat6..
In the end, i have an error message :
------------------------------------------------------------------------
[ERROR]BUILD ERROR
------------------------------------------------------------------------
An Ant BuildException has occured: The following error occurred while
executing this line:
C:\All_Apfuse\projet\testerApp\src\test\resources\web-tests.xml:165: Wrong
document title found!. Expected value ".*Main Menu.*" but got "Sign Up |
AppFuse"
------------------------------------------------------------------------
For more information, run Maven with the -e switch
------------------------------------------------------------------------
Total time: 1 minute 52 seconds
Finished at: Tue May 18 18:30:20 CDT 2010
Final Memory: 48M/63M
------------------------------------------------------------------------
[WARNING] [talledLocalContainer] Java Result: 1
In my pom.xml, i have:
<!-- WebTest dependency versions
-->
<webtest.version>3.0</webtest.version>
<cargo.container>tomcat6x</cargo.container>
<cargo.container.home>${env.CATALINA_HOME}</cargo.container.home>
<cargo.container.url>http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.20/bin/apache-tomcat-6.0.20.zip</cargo.container.url>
<cargo.host>localhost</cargo.host>
<cargo.port>8081</cargo.port>
<cargo.wait>false</cargo.wait>
- <!-- Jetty Cargo settings:
<cargo.container>jetty6x</cargo.container>
<cargo.container.url>http://dist.codehaus.org/jetty/jetty-6.1.21/jetty-6.1.21.zip</cargo.container.url>
-->
Should i put comment <!-- --> on the tomcat6 part so I can run my own
server?
Last thing Matt, do you think it should work with glassfish v3?
thanks.
--
View this message in context:
http://appfuse.547863.n4.nabble.com/Appfuse-2-and-netbeans-tp2217389p2222018.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]