Hi,

When I make my first tapestry project I was struckling with it too. But here
are some hints which can be helpfull for you. ( I am using eclipse 3.5 on
redhat linux)

I presume you understand how to use eclipse and install plugins.

1. Install the mave plugin in eclipse. It can be fond at
http://m2eclipse.sonatype.org/update/
2. Create a Java project
3. Right click the project node and select mave / enable dependancies
management
4. Enter some values and select 'war file' by packaging
5. Add the tapestry5 core jar on the add additional dependancie tab page and
click finish

Now create your directory structure

on the src folder click add new folder (you must do it 3 times)

folder 1 : enter main/webpapp/WEB-INF
folder 2 : enter main/java
folder 3 : enter main/resources

add the src/main/java as your sources folder bij properties java
add the src/main/resources as classpath bij properties/java/libraries

create a new java package : for example org.myapp.pages
create under directory src/main/resources new folder with : org.myapp.pages

create your Start.tml in the org.myapp.pages folder
create your Start.java in package org.myapp.pages

create new file under webapp/WEB-INF. This file must be web.xml

copy and paste the example of the web.xml from apache tapestry website
located on http://tapestry.apache.org/tapestry5/guide/conf.html

change <param-value>org.example.myapp</param-value> to
<param-value>org.myapp</param-value>

Save everything

I use mave/package to build a war file and deploy it on tomcat. Some people
have jetty running within eclipse but i haven't got this working properly.

I hope this is a little help to you

regards

Johan

If you still have problems I can sent you an example of a simple tapestry5
project



vhtien wrote:
> 
> Hi everyone!
> 
> I'm very tired! I'm exhauted! I've try many solution but i do not write
> and deploy a simple Tapestry5 project HelloWorld. I never pass the maven
> task, just ERROR or FAILURE. I want to cry. 
> 
> Someone show me how to do it step by step ?? 
> 
> My OSs is Fedora 10, my IDE is Eclipse 3.5. Thanks.
> 

-- 
View this message in context: 
http://www.nabble.com/Tapestry5---Helloworld-tp25903419p25911539.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to