Hello,

I deploy to tomcat but war essentials should be the same.  I think the only
difference between tomcat and Jetty are Tomcats classloaders which maven
takes care of apparently.

Just create the WAR with eclipse and drop it in your deploy folder(tomcat is
the webapps directory and you don't even have to create a context) but for
Jetty you may have too. Just do a quick search on deploying war's to jetty.

This is one example that might help you(I am not familiar with Jetty):

http://markmail.org/message/csnnytlurso7b3ut

--James

-----Original Message-----
From: tapestryphoto [mailto:[EMAIL PROTECTED] 
Sent: November-06-08 10:19 AM
To: users@tapestry.apache.org
Subject: Tapestry 5, WAR files and deployment

Hi,

Having gone through the Tapestry tutorials, got to grips with it,  
developed a small application and have got it running well I'd like to  
actually deploy it.

I notice there are no documents, examples or tutorials (as far as I  
can see) that address how to do this. Even the "Tapestry 5" book is  
pretty silent on the issue (apart from telling me what a WAR file is -  
and even I know that). Perhaps someone could whip up a Wiki entry?


I'm using Eclipse. I'd like to:

1) create a WAR from my project

2) deploy it on a server that has Jetty running.


Do I need something like the following build.xml:

<project name="war_demo" default="build_war">
<target name="build_war">
   <war destfile="dportal.war" webxml="src/main/webapp/WEB-INF">
        <classes dir="target"/>
    </war>
</target>
</project>

Is there anthing else I need to do for this Ant target?

Or do I use Maven?  And is that something like a command line call:  
mvn war:war
or are there other things I need to do first?


I then place the resulting WAR in the "webapps" directory under Jetty  
and start Jetty.

Correct?


p.





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


__________ Information from ESET Smart Security, version of virus signature
database 3536 (20081019) __________

The message was checked by ESET Smart Security.

http://www.eset.com

 

__________ Information from ESET Smart Security, version of virus signature
database 3536 (20081019) __________

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]

Reply via email to