tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jakarta-tapestry Wiki] Trivial Update of "HowToSetupEclipseWtp" by MatGessel
Date Fri, 03 Feb 2006 20:34:38 GMT
Dear Wiki user,

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

The following page has been changed by MatGessel:
http://wiki.apache.org/jakarta-tapestry/HowToSetupEclipseWtp

The comment on the change is:
typos and inaccuracies

------------------------------------------------------------------------------
   * Close the '''Welcome''' tab (you can get to it later by '''Help > Welcome''')
  
  === 2. Define the JDK ===
- Eclipse will launch with your machine's default JRE. Tomcat typically needs to launch from
the JDK (not sure if this is necessary for Tapestry development). 
+ Eclipse will launch with your machine's default JRE.
  
   * '''Window''' > '''Preferences...'''
   * Click '''Java''' > '''Installed JREs''' 
@@ -53, +53 @@

  
  === 3. Associate Tapestry file extentions with the XML editor ===
   * In '''Preferences''' go to '''General''' > '''Content Types'''
-  * Select add `.project`, `.page`, `.jwc` and `.library` extensions to the '''Text''' >
'''XML''' node
+  * Add `.application`, `.page`, `.jwc` and `.library` extensions to the '''Text''' >
'''XML''' node
  attachment:ContentTypes.gif
  
  === 4. Define XML templates ===
@@ -68, +68 @@

  === 5. Define a Server Runtime ===
  This tells Eclipse where Tomcat is installed. 
  
+  * In '''Preferences''' go to '''Server  > Installed Runtime'''
-  * '''Window''' > '''Preferences...'''
-  * Open the '''Server ''' preference and select '''Installed Runtime'''
-  * Click '''Add...''' 
+  * Click '''Add...'''
   * Select '''Apache''' > '''Apache Tomcat v5.0''' and click '''Next'''
   * Browse to and select your Tomcat root directory e.g. ''C:\Program Files\Apache Software
Foundation\Tomcat 5.0''
   * Select JDK 1.5
@@ -92, +91 @@

  ''A side-effect of creating a Server Configuration is a new '''Servers''' project will be
created.''
  
  attachment:ServersProject.gif
- 
- ''It also creates a new '''Run''' configuration. You can ignore this, but don't delete it--it
is used to save VM arguments.''
  
  === 7. Disable Caching of Tapestry files ===
  ''WTP does not automatically reload the context when page specifications and HTML templates
are changed. If you set the Tapestry flag to disable caching you don’t need to restart the
context to see changes.'' See http://jakarta.apache.org/tapestry/UsersGuide/configuration.html#N10106
@@ -128, +125 @@

  Creating Tapestry specification files is easy using the XML templates we defined previously.

  
   * Create an empty file (e.g. `Home.page`)
-  * Click in the editor and Press '''Alt-Enter'''
+  * Click in the editor and Press '''Alt-Space'''
   * And select the template you want (e.g. `page spec`). 
  attachment:ContentAssistPageSpec.gif
  
@@ -145, +142 @@

  
   * Put this Java file in the `src` directory
  attachment:Home.java
-  * '''File > Refresh'''
+  * Select your project and '''File > Refresh'''
  
  === 11. Attach Project to Server Instance ===
  

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


Mime
View raw message