By using the same archetype and pointing to a 5.0.5 release, everything works
fine. When using 5.0.6-SNAPSHOT only Start works, other pages are giving a
404 error.

Do I need log4j to build 5.0.6-SNAPSHOT pages? Or, does 5.0.6-SNAPSHOT need
a special component that my archetype does not load?

In 5.0.5 my .html files are in WEB-INF.

In 5.0.6-SNAPSHOT my .tml files are in webapp.

My 5.0.6-SNAPSHOT archetype is:

mvn archetype:create 
-DarchetypeGroupId=org.apache.tapestry 
-DarchetypeArtifactId=quickstart 
-DarchetypeVersion=5.0.6-SNAPSHOT 
-DgroupId=org.apache.tapestry 
-DartifactId=myapp 
-DpackageName=com.companyname.tapestry.myapp 
-Dversion=1.0.0-SNAPSHOT 
-DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository/

Thank you for your help.


jblier wrote:
> 
> Something interesting,
> 
> In myapp, there is a bin folder that contains Java .class files. In
> /bin/org/example/myapp/pages/ there is only the Start.class file. and in
> /bin/org/example/myapp/services/ there is AppModule.class and
> AppMudule$1.class.
> 
> Does this mean that my other pages are not built?
> 
> I'm still struggling to make tapestry work.
> 
> 
> 
> jblier wrote:
>> 
>> I've restarted the server numerous times and it still does not work.
>> 
>> Is there a bug in 5.0.6-snapshot or is it simply that I miss something
>> important?
>> 
>> - Jacques
>> 
>> 
>> Nick Westgate wrote:
>>> 
>>> This should work if you restarted the server after creating the new
>>> page.
>>> 
>>> Hugo just posted he is having problems with template reloading in 5.0.6.
>>> Your problem might be related.
>>> 
>>> Cheers,
>>> Nick.
>>> 
>>> 
>>> jblier wrote:
>>>> Although the tutorial Guess Hi/Lo (5.0.5) lets me access the guess page
>>>> directly, I'm trying to do the same in my current
>>>> org.example.myapp.pages
>>>> running with 5.0.6-snapshot.
>>>> 
>>>> In webapp I crated a Guess.tml file and in org.example.myapp.pages I
>>>> created
>>>> a Guess.java file. Both guess files are loading the same content as in
>>>> the
>>>> tutorial.
>>>> 
>>>> Unfortunately, for me, the guess page always give me a 404 Not found
>>>> error.
>>>> 
>>>> Next I duplicated my working copy of Start.tml to Starter.tml and
>>>> Start.java
>>>> to Starter.java.
>>>> 
>>>> Again, only Start will load up in my browser. Trying to access Starter
>>>> gives
>>>> me a 404 Not found.
>>>> 
>>>> Did I miss something? What else do I need to set to have other pages to
>>>> load?
>>>> 
>>>> Do I need to start over with a fresh archetype?
>>>> 
>>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/T5%3A-Newbie-question---creating-and-accessible-a-new-page-tf4571676.html#a13066288
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