Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The "Tapestry5HowToSetupEclipseJettyRunner" page has been changed by adamh. http://wiki.apache.org/tapestry/Tapestry5HowToSetupEclipseJettyRunner?action=diff&rev1=1&rev2=2 -------------------------------------------------- When using Jetty Runner the plugin will create jetty.xml files for you under /etc when you launch your webapp. - 1. Extract out the webdefault.xml file from the Jetty distro and copy into the /etc file alongside the jetty.xml files + 1. Extract out the webdefault.xml file from the Jetty distro and copy into the /etc file alongside the jetty.xml files - 2. Open the jetty-[n].xml &/or jetty-[n]-ssl.xml files + 2. Open the jetty-[n].xml &/or jetty-[n]-ssl.xml files - 3. Locate the <New id="WebAppContext"> element and add the following <Set> element under it: + 3. Locate the <New id="WebAppContext"> element and add the following <Set> element under it: - <New id="WebAppContext" class="org.eclipse.jetty.webapp.WebAppContext"> + <New id="WebAppContext" class="org.eclipse.jetty.webapp.WebAppContext"> - ... + ... - <Set name="defaultsDescriptor"><SystemProperty name="jettyrunner.working.dir" />etc/webdefault.xml</Set> + <Set name="defaultsDescriptor"><SystemProperty name="jettyrunner.working.dir" />etc/webdefault.xml</Set> - 4. Save the files. + 4. Save the files. Now on startup the webdefault.xml file will be read first and static files should now be editable while the app is running. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
