Re: Changes in the tml and components are not reflecting
On Tue, 08 Nov 2011 11:49:33 -0200, ramakanthreddy.t ramakanthredd...@gmail.com wrote: I am working on simple examples that are there in the Tapestry site and for each change I am not seeing the changes with out restarting the Jetty server. I have used -Dorg.apache.tapestry.disable-caching=true but with out any use the changes are not reflecting with out restarting the server. Please tell me what I have to configure so that the changes automatically get reflected in the Jetty server. What's your project setup? Are you sure changed files are copied to the webapp classpath? m2eclipse, for example, configures the Eclipse project in a way that resources are *not* copied automatically to the classpath. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Changes in the tml and components are not reflecting
got the turotial example from the apache site built using the commands given and then I have created the resources required for the exlipse to work and then imported the project into eclipse into maven as existing maven project. I have downloaded the jetty plugin for my eclipse and I have created the instance of my application on the Jetty instance and I am running. m2eclipse I could not install and It was already there in the eclipse my Eclipse version is 3.7 Indigo. ramakanthreddy.t wrote: I am working on simple examples that are there in the Tapestry site and for each change I am not seeing the changes with out restarting the Jetty server. I have used -Dorg.apache.tapestry.disable-caching=true but with out any use the changes are not reflecting with out restarting the server. Please tell me what I have to configure so that the changes automatically get reflected in the Jetty server. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Changes-in-the-tml-and-components-are-not-reflecting-tp4974308p4977598.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
Re: Changes in the tml and components are not reflecting
A tip: when I started with tapestry and Eclipse-Jetty, I found more useful executing jetty with maven pluging, directly from command line writing mvn jetty:run. -- David Germán Canteros 2011/11/9 ramakanthreddy.t ramakanthredd...@gmail.com got the turotial example from the apache site built using the commands given and then I have created the resources required for the exlipse to work and then imported the project into eclipse into maven as existing maven project. I have downloaded the jetty plugin for my eclipse and I have created the instance of my application on the Jetty instance and I am running. m2eclipse I could not install and It was already there in the eclipse my Eclipse version is 3.7 Indigo. ramakanthreddy.t wrote: I am working on simple examples that are there in the Tapestry site and for each change I am not seeing the changes with out restarting the Jetty server. I have used -Dorg.apache.tapestry.disable-caching=true but with out any use the changes are not reflecting with out restarting the server. Please tell me what I have to configure so that the changes automatically get reflected in the Jetty server. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Changes-in-the-tml-and-components-are-not-reflecting-tp4974308p4977598.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
Re: Changes in the tml and components are not reflecting
On Wed, 09 Nov 2011 10:56:21 -0200, ramakanthreddy.t ramakanthredd...@gmail.com wrote: got the turotial example from the apache site built using the commands given and then I have created the resources required for the exlipse to work and then imported the project into eclipse into maven as existing maven project. I have downloaded the jetty plugin for my eclipse and I have created the instance of my application on the Jetty instance and I am running. m2eclipse I could not install and It was already there in the eclipse my Eclipse version is 3.7 Indigo. Again, check the source folders configuration of your project. src/main/resources most probably is set as exclude **. Remove this exclude ** and it will work. Summary: your environment isn't configured properly. Tapestry live class and template reloading works, but you have to make your changes copied to the classpath. ;) -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Changes in the tml and components are not reflecting
On Wed, 09 Nov 2011 11:13:39 -0200, David Canteros davidcanteros@gmail.com wrote: A tip: when I started with tapestry and Eclipse-Jetty, I found more useful executing jetty with maven pluging, directly from command line writing mvn jetty:run. Or you can create a Maven/m2eclipse run/debug configuration that invokes jetty:run. ;) -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Changes in the tml and components are not reflecting
Yes you are right Thiago, it's only my habit :)... Maven Jetty plugin always worked well for me, but configure jetty with any eclipse pluging was too difficult.. -- David Germán Canteros 2011/11/9 Thiago H. de Paula Figueiredo thiag...@gmail.com On Wed, 09 Nov 2011 11:13:39 -0200, David Canteros davidcanteros@gmail.com wrote: A tip: when I started with tapestry and Eclipse-Jetty, I found more useful executing jetty with maven pluging, directly from command line writing mvn jetty:run. Or you can create a Maven/m2eclipse run/debug configuration that invokes jetty:run. ;) -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br
Changes in the tml and components are not reflecting
I am working on simple examples that are there in the Tapestry site and for each change I am not seeing the changes with out restarting the Jetty server. I have used -Dorg.apache.tapestry.disable-caching=true but with out any use the changes are not reflecting with out restarting the server. Please tell me what I have to configure so that the changes automatically get reflected in the Jetty server. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Changes-in-the-tml-and-components-are-not-reflecting-tp4974308p4974308.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
Re: Changes in the tml and components are not reflecting
How are you starting Jetty? You need to make sure that the edited tml file is getting into the location where jetty is loading them. Also, set -Dtapestry.production-mode=false On Tue, Nov 8, 2011 at 5:49 AM, ramakanthreddy.t ramakanthredd...@gmail.com wrote: I am working on simple examples that are there in the Tapestry site and for each change I am not seeing the changes with out restarting the Jetty server. I have used -Dorg.apache.tapestry.disable-caching=true but with out any use the changes are not reflecting with out restarting the server. Please tell me what I have to configure so that the changes automatically get reflected in the Jetty server. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Changes-in-the-tml-and-components-are-not-reflecting-tp4974308p4974308.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 - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
RE: Changes in the tml and components are not reflecting
Thanks i will check with the vm argument -Original Message- From: joshcanfield [via Tapestry] Sent: 09/11/2011, 8:34 am To: ramakanthreddy.t Subject: Re: Changes in the tml and components are not reflecting How are you starting Jetty? You need to make sure that the edited tml file is getting into the location where jetty is loading them. Also, set -Dtapestry.production-mode=false On Tue, Nov 8, 2011 at 5:49 AM, ramakanthreddy.t ramakanthredd...@gmail.com wrote: I am working on simple examples that are there in the Tapestry site and for each change I am not seeing the changes with out restarting the Jetty server. I have used -Dorg.apache.tapestry.disable-caching=true but with out any use the changes are not reflecting with out restarting the server. Please tell me what I have to configure so that the changes automatically get reflected in the Jetty server. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Changes-in-the-tml-and-components-are-not-reflecting-tp4974308p4974308.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 - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org ___ If you reply to this email, your message will be added to the discussion below: http://tapestry.1045711.n5.nabble.com/Changes-in-the-tml-and-components-are-not-reflecting-tp4974308p4976554.html To unsubscribe from Changes in the tml and components are not reflecting, visit http://tapestry.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=4974308code=cmFtYWthbnRocmVkZHkudEBnbWFpbC5jb218NDk3NDMwOHwtMjQ0ODM3NTI4 See how NAML generates this email: http://tapestry.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_text%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespacebreadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- View this message in context: http://tapestry.1045711.n5.nabble.com/Changes-in-the-tml-and-components-are-not-reflecting-tp4974308p4976893.html Sent from the Tapestry - User mailing list archive at Nabble.com.
Re: Changes in the tml and components are not reflecting
I have set the VM arguments as you said but still not getting the changes reflected and how should I put the tml's in the same path as the Jetty to load them. I have set the class path to my application to the Jetty srever -- View this message in context: http://tapestry.1045711.n5.nabble.com/Changes-in-the-tml-and-components-are-not-reflecting-tp4974308p4976999.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