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:
http://wiki.apache.org/tapestry/Tapestry5_Run_Jetty_From_IDEA

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]]
   ''Runner''[[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 reloading.
+ 
+ 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to