Eduardo, here's how to get the Workbench portion of the Tapestry tutorial into Eclipse. Included are instructions on how to run the project in Tomcat. Thus you can debug the Workbench too!
To install.. Get and install Eclipse 2.0, 2.0.1, or 2.0.2 2.0 http://download.eclipse.org/downloads/drops/R-2.0-200206271835/index.php 2.0.1 http://download.eclipse.org/downloads/drops/R-2.0.1-200208291828/index.php 2.0.2 http://download.eclipse.org/downloads/drops/R-2.0.2-200211071448/index.php Its your choice. Run Eclipse, then follow instructions at (make sure you get Spindle 1.1.1) http://spindle.sourceforge.net/install/index.html You want to follow the Live Install track Download the Sysdeo Tomcat plugin here: http://www.sysdeo.com/eclipse/tomcatPlugin.html Note: you need tomcat 3.3.x or 4.x installed on your machine. Tomcat plugin instructions (From Sysdeo) a.. Use Eclipse 2.0 build (works for me in 2.0.1 and 2.0.2 -- geoff) b.. This plugin does not contain Tomcat 4 or 3.3. (Download and install Tomcat before using this plugin). This is a desing choice not to include Tomcat in the plugin distribution, this way everyone can choose a Tomcat version, it is easy to switch from one Tomcat version to another. c.. Download tomcatPluginV2.zip d.. Unzip it in <eclipse_home>/plugins e.. Plugin activation : select menu 'Window->Customize Perspective...', expand 'Actions Sets' and check 'Tomcat' f.. Set Tomcat home : Window -> Preferences, select Tomcat and set Tomcat home g.. This plugin launches Tomcat using the default JRE checked in Eclipe preferences window. To set a JDK as default JRE for Eclipse open the preference window : Window -> Preferences -> Java -> Installed JREs. This JRE must be a JDK (This is a Tomcat prerequisite). We recommend that you use JDK 1.4 as it supports hot code replacement feature. h.. The plugin sets itself Tomcat classpath and bootclasspath. Use Preferences -> Tomcat ->JVM Settings, only if you need specific settings. stop Eclipse download Workbench.zip here: http://spindle.sourceforge.net/workbench.zip unzip Workbench.zip into eclipse/workspace restart Eclipse select Menu -> File ->Import->Existing Project into Workspace choose the Workbench folder under eclipse/workspace everything should build except one .page (ErrorFest.page) but this is supposed to be busted! You can put start/stop/restart icons for Tomcat on the main toolbar select Window ->Customize Perspective -> Other ->Tomcat Now you should be able to start Tomcat and open an browser to http://localhost:8080/Workbench The colors are off, not sure why (I threw this together) but a quick check shows that everything works. enjoy. Geoff ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 13, 2002 12:10 PM Subject: [Tapestry-developer] Spindle / Tapestry tutorial quik kick off > > Hi ! > I would like to get the fast track to tapestry in order to confirm it is > the right tool for us. > Could some one please give me a short howto to import the Tapestry tutorial > into an eclipse/spindle project ? > > Tapestry sounds like a very nice framework and I can't wait to enjoy it. > > Thanks in advance > > Regards > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Are you worried about > your web server security? Click here for a FREE Thawte > Apache SSL Guide and answer your Apache SSL security > needs: http://www.gothawte.com/rd523.html > _______________________________________________ > Tapestry-developer mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/tapestry-developer ------------------------------------------------------- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html _______________________________________________ Tapestry-developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/tapestry-developer
