Hi,

The HTML templates should go either under the resources directory
or WEB-INF

Read this:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html

/Serge


Moritz Gmelin wrote:
> 
> Hi,
> 
> 
> I have created a T5 Application based on the "myapp" template with  
> its pom.xml.  I have added some components and pages to the  
> application and now, I'd like to deploy it on a tomcat server (or  
> create a .war file of it).
> It does work if I build the application with eclipse and then do a
> 
> mvn tomcat:deploy
> 
> because Eclipse copies the components' HTML templates into the  
> resulting target/classes/**/components/ directory.
> But If I want to do a clean rebuild of the application (pulling it  
> from CVS), the components' HTML templates, which are located in the  
> java source directory are not copied to the target classes directory  
> (nor into the application.jar).
> 
> What options do I have ?
> Is there a way I can configure the maven compile task to copy those  
> html files over to target directory ?
> 
> Thanks
> 
> Moritz
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Trouble-deploying-T5-with-maven-tf4049161.html#a11501768
Sent from the Tapestry - User mailing list archive at Nabble.com.


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

Reply via email to