Improve Eclipse Resin Plugin is a free open-source (Common Public License Version 0.5) plugin developed by Improve (http://www.improve.fr - http://www.application-servers.com - http://www.improve-technologies.com). ------------------------------------------- This plugin has 3 functionnalities: ResinLauncher: launch resin within eclipse to let you debug jsp or servlet. ResinProjectWizard: create default webapp directory structure and classpath. ResinWarFile: create war file for you using ant. You must have resin installed to use this plugin (http://www.caucho.com/download/) This plugin was tested with windows NT4 SP6, jdk 1.4, eclipse F1 , resin 2.1 HOW TO: First go to Window => Preferences => Resin Specify your resin home directory Specify the java compiler (javac) you wish resin to use to compile jsp You will usually find it under pathTojdk/bin/javac. You can leave this blank is you launch resin with a jdk instead of a jre. Create a new Resin project using the resinProjectWizard. To start resin use the run or debug button (or menu), under new configuration and chose resin. There you can chose the config File you want to use to start resin. If you chose a file that does not exist the plugin will create a simple config file for you. This config will have a webapp configured for your project. You should be able to access your webapp at http://localhost:8080/projectName You can later modify this file as you wish. By default resin will be launched using the classpath of your eclipse project. Add the classpath and parameter you might need and hit run or debug. The plugin add to the paramaters: "-conf pathToYourConfigfile" call your jsp once to let resin compile it. refresh your project to find the compiled version of your jsp in WEB-INF/work, set your break point and call your jsp again to debug. Generate war file right click on your project chose resin menu => export to war this will generate a build.xml file to use with ant. ------------------------------------------- To start resin within eclipse manually add these libraries to the build path of your project resin.jar jsdk23.jar jta-spec1_0_1.jar in resin.jar run com.caucho.server.http.HttpServer with the argument (optional) -conf pathToConfigFile/resin.conf ------------------------------------------- Version 0.4.1 (change made by Yori Sakakura) - removed import org.apache.xml.utils.URI from ResinPlugin.java - added java/@args="-g" to resin.conf so local variables show up in debugger for resin-generated classes - changed ResinProject.addResinJarToProjectClasPath() to add all jars found in resin/lib to support JDK 1.3 (which doesn't have JAXP by default) and Resin-CMP - ResinProject creates folders before setting source entries to avoid minor error messages on project creation - Launch.java quotes config file name in case of spaces in path name - commented out extension to 'org.eclipse.debug.ui.launchConfigurationShortcuts' in plugin.xml - the extension point doesn't appear to exist in F2. NOTE : 'org.eclipse.debug.ui.launchConfigurationShortcuts' was replaced with 'org.eclipse.debug.core.launchShortcuts' need to make some changes to have this extension point working again ------------------------------------------- Version 0.4 - remove import of internal eclipse package - clean up the code ------------------------------------------- Version 0.3 - export to war using ant - generate config file ------------------------------------------- Version 0.2 - Resin Launching type (resin is no more launched with an actionSet, easier to specify options: classpath, debug mode, parameters) ------------------------------------------- Version 0.1 - Preference page for resin (home dir, config file, debug mode) - New Project Wizard for resin (WEB-INF/src,WEB-INF/classes,WEB-INF/work) - Action Set to start resin from eclipse ------------------------------------------- TODO Automatic update of resin.conf file ------------------------------------------- NOTES With the default resin parameters If you change resin.conf resin will restart by itself If you change your web.xml file the web-app will be reloaded.