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 LaurenceDawson: http://wiki.apache.org/tapestry/HowToSetupTapestry41EclipseWtp ------------------------------------------------------------------------------ This How-To was written and tested with the following configuration: - * Tapestry 4.0 + * Tapestry 4.1 - * JDK 1.5.0 + * java-7-icedtea - * Ant 1.6.3 + * Ant 1.7.0 - * Tomcat 5.0 + * Tomcat 6.0.16 - * Windows XP + * Ubuntu 8.04 - * Eclipse 3.1.1 + * Eclipse 3.2.2 - * Web Tools Platform 1.0 + * Web Tools Platform 2.0.2 === Prerequisites === * Install JDK 1.5.0 http://java.sun.com/j2se/1.5.0/download.jsp @@ -79, +79 @@ * 5.1. You will have a full path to the tapestry jar, preceeded by `file:///`. Change this to `jar:file:` * 5.2. Now, move the carat (thing showing you where you are typing) to the right of the field. - You should see something like '''Tapestry_4.1.2.jar'''. + You should see something like '''Tapestry_4.1.5.jar'''. - * 5.3. Directly after '''Tapestry_4.1.2.jar''', type `!/org/apache/tapestry/parse/Tapestry_4_0.dtd`. + * 5.3. Directly after '''Tapestry_4.1.5.jar''', type `!/org/apache/tapestry/parse/Tapestry_4_1.dtd`. Note that it is case sensitive. N.B. For reference, this step just tells eclipse where the dtd is located within the jar file. * 5.4. Ensure that the '''Key Type''' field is set to '''Public ID''' * 5.5. Set the '''Key''' field. The value in here comes from somewhere near the top of the dtd file we referenced in step 3, and in my case, I found this to be - `-//Apache Software Foundation//Tapestry Specification 4.0//EN` + `-//Apache Software Foundation//Tapestry Specification 4.1//EN` N.B. This is all case sensitive too * 5.6. Click '''OK''' * 5.7. Now, look at the new entry that has appeared under '''User Specified Entries'''. If it has @@ -103, +103 @@ * In '''Preferences''' go to '''Server > Installed Runtime''' * Click '''Add...''' - * Select '''Apache''' > '''Apache Tomcat v5.0''' and click '''Next''' + * Select '''Apache''' > '''Apache Tomcat v6.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 attachment:TomcatServerRuntime.gif @@ -115, +115 @@ * Open the '''Server''' > '''Servers''' view * Right click in the '''Servers''' view and select '''New > Server...''' attachment:NewServer.gif - * Select '''Apache > Tomcat v5.0 Server''' + * Select '''Apache > Tomcat v6.0 Server''' * Select the server runtime you created previously attachment:NewServer2.gif * And click '''Finish''' --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
