tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Tapestry Wiki] Trivial Update of "Tapestry5 Run Jetty From IDEA" by RichardClark
Date Mon, 26 May 2008 06:16:40 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.

The following page has been changed by RichardClark:

The comment on the change is:
Added notes on using automatic class reloading.

  [http://www.jetbrains.com/idea/index.html  Intellij IDEA 7.0.3][[BR]]
  [http://mortbay.org/jetty-6/ Jetty 6]
- == Using Maven to make ==
+ == Option 1: Using Maven to make ==
  The quickest and easiest approach is to set up a run configuration using Maven (e.g. starting
with the Maven archetype.)
@@ -22, +22 @@

    Set the ''Maven Home Directory'' to your Maven installation's location and check ''Override''[[BR]]
    Set your ''Maven Local Repository''[[BR]]
-   Set the ''VM Parameters'' to '''-Djetty.scanIntervalSeconds=5''' sop you can use the automatic
class reloading.
+   Set the ''VM Parameters'' to '''-Djetty.scanIntervalSeconds=5''' to use automatic class
+ You can run this normally. You can also use Maven to recompile while running -- Jetty will
reload the class changes and Tapestry 5 will detect the change.
  == Using IDEA to make ==
@@ -78, +80 @@

   1. Back in the '''Deployment''' tab, go to the '''Deployment source''' popup and make sure
it points to your exploded directory.
   2. Click '''OK'''
- Now you can run your app normally!
+ Now you can run your app normally. When you need to fix a bug, just switch to IDEA and fix
it; when you switch back to your browser, IDEA will make and deploy the change for you (and
Tapestry 5 will pick it up!)

To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org

View raw message