Hi Jakob,

Also, which version of Jetty are you using?  I don't believe there's a
way to get component reloading working yet with Eclipse + Jetty6,
although there is with Eclipse + Jetty5.

Andy

On Sat, 2008-04-12 at 13:46 +0200, Jakob Keres wrote:
> Hi.
> 
> I'm quite new to tapestry so it's maybe only a stupid newbie issue.
> 
> I created a new project with (copied from website):
> 
> mvn archetype:create \
>   -DarchetypeGroupId=org.apache.tapestry \
>   -DarchetypeArtifactId=quickstart \
>   -DgroupId=org.apache.tapestry \
>   -DartifactId=tutorial1 \
>   -DpackageName=org.apache.tapestry.tutorial
> 
> So far everything is working as expected, when I edit Start.tml the
> browser output is affected immediately.
> 
> Next I changed Start.tml to
> ------Start.tml------
> <t:Layout
> xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>   My Page Specific Content
> </t:Layout>
> ---------------------
> 
> created the path 
> src/main/resources/org/apache/tapestry/tutorial/components
> 
> and added Layout.tml
> ------Layout.tml------
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>     <head>
>         <title>tutorial1 Start Page</title>
>     </head>
>     <body>
>         <t:body/>
>     </body>
> </html>
> ----------------------
> 
> and Layout.java in 
> src/main/java/org/apache/tapestry/tutorial/components
> 
> ------Layout.java------
> package org.apache.tapestry.tutorial.components;
> 
> public class Layout
> {
> }
> -----------------------
> 
> If I now press reload in the browser I get the exception:
>   Unable to resolve 'Layout' to a component class name...
> 
> I noticed
> target/classes/org/apache/tapestry/tutorial/components
> does not exist.
> 
> 
> When I restart Jetty it compiles the new file and the site is working
> again, but changes to Layout.* are still not reflected at runtime.
> 
> So, what do I do wrong?
> 
> Thanks and regards
> Jakob
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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

Reply via email to