Hello,
In the tutorial it uses this maven command:
mvn archetype:create
-DarchetypeGroupId=org.apache.tapestry
-DarchetypeArtifactId=quickstart
-DgroupId=org.apache.tapestry
-DartifactId=tutorial1
-DpackageName=org.apache.tapestry5.tutorial
To first create the project. Then I import it into eclipse. The problem is
the file structure does not seem to match what I am used to with T3. Where
do I point my context in tomcat at? I tried the WEB-INF and it doesnt work.
Thanks,
--James
----- Original Message -----
From: "Daniel Jue" <[EMAIL PROTECTED]>
To: "Tapestry users" <users@tapestry.apache.org>
Sent: Thursday, June 19, 2008 12:41 PM
Subject: Re: T5: using with maven / tomcat / eclipse
What issues are you having? How are you attempting to run your
application
in Tomcat? (Through Eclipse WTP, through Tomcat as a batch file/service,
through maven itself, etc?) There are many ways to do the essentially
same
thing.
I personally launch Tomcat through Eclipse WTP (or also Europa or
Ganymede)
and Eclipse auto-publishes the files into a local Tomcat installation.
For
some reason I stopped serving my app directly from my workspace, I can't
remember why.
I also manually export a war file to a testing server, and have Tomcat
unpack and serve it there. I don't even keep a context.xml in my
META-INF/
anymore, because I keep contextual stuff with the individual Tomcat
installations (i.e. JNDI references, flags variables for SSO and Tapestry
error pages).
On Thu, Jun 19, 2008 at 11:16 AM, James Sherwood
<[EMAIL PROTECTED]>
wrote:
Hello,
I like to develop in tomcat and have not used Jetty much.
I have gone through the tutorials using Jetty and have T5 running with
hibernate under Jetty/maven/eclipse.
I have been trying to use tomcat instead of Jetty in the tutorial off the
T5 homepage but have had no luck and I cannot seem to find much resources
on
this.
Can anyone link me a good resource that uses Tomcat / maven / eclipse to
develop in T5 or maybe give me a some ideas of what I could be doing
wrong?
Thanks,
--James
__________ Information from ESET Smart Security, version of virus
signature database 3200 (20080619) __________
The message was checked by ESET Smart Security.
http://www.eset.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]