Resin Eclipse plugin snapshot
I’ve updated our Eclipse plugin to fix bugs, add a couple of features, and generally improve the user experience. It’s up in a snapshot now on our Eclipse update site: http://caucho.com/eclipse. Just add this to the software repositories in your Eclipse set up. The changes include:
- Bug fixes (esp. debug handling)
- Better handling of Resin configuration files
- Support for deploying to a temporary directory
Bug fixes
The main bug fix is debug handling. Instead of launching the watchdog as in normal Resin deployments, we now launch Resin directly. We also now respect the HTTP port that you specify. The port issue is actually related more to configuration file handling, which I’ll address next…
Better handling of Resin configuration files
In this version of the plugin, configuration is now handled in unified way. All configuration for the servers are linked (or copied, at your option) into the Workspace under a “Servers” folder. This way you can see exactly which configuration file you’re running with and even edit it from Eclipse. Our new dialog box for configuring the server lets you specify the Resin home (where the Resin server files, e.g. the resin.jar), the Resin root directory, a server address and port, and which Resin configuration file you want.
![]() |
![]() |
The options for the last bit are to choose the very basic configuration that’s included with the plugin itself, to use the configuration in the “conf” subdirectory of the Resin home, or to specify a configuration somewhere else in the file system (e.g. /etc/resin). If you’re starting a new project and don’t need to do anything fancy, I recommend just using the first option, copying the configuration from the plugin. If you do need to use a custom configuration, you may need to modify it to recognize the variables that the plugin sets at runtime. The dialog box tells you what these variables are and how to set them, depending on which server profile you use.
Support for deploying to a temporary directory
The last round of the plugin added support for doing hot deploy via Resin 4’s new deploy service and in-place deployment where your app is run directly from the project directory. Of course, the standard deploy method where you create a war and copy it to the Resin root webapp deploy directory was always supported. Now we added a requested feature to create a temporary directory to which the webapp is deployed. This directory is deleted when Eclipse is shut down.
Feedback
This is a snapshot release, but I did fairly thorough testing on it, so now I’ll need users to let me know of any problems. Our bug tracker is here: http://bugs.caucho.com/, so please file any issues that arise. Feel free to post feature requests there as well, though those might have to wait until the next release cycle in 8 weeks or so.



September 1st, 2009 at 6:39 am
I added the url “http://caucho.com/eclipse” to my Eclipse 3.5 list of available software sites, but no option to install the plugin appeared. Instead, it just said “There are no categorized items”
The update site did seem to get correctly identified, since it picked up the name “Caucho Technology Eclipse Plugin Repository - http://caucho.com/eclipse”
Is there some other step required to get this plugin? Did you test the update site with the current Eclipse?
Cheers,
Rick
September 1st, 2009 at 10:08 am
Hi Rick,
Just uncheck the box that says “Group items by category”, then you should see it. This appears to be a new “feature” of Galileo. I’ll see if we can tweak our repository for this on the next snapshot/release.
Emil
September 1st, 2009 at 11:19 am
Thanks, Emil - that worked!
January 10th, 2010 at 10:23 am
Good
February 24th, 2011 at 11:32 pm
Hi, I am a Chinese User and it seems due to network connection error, eclipse cannot access the information on that url as http://caucho.com/eclipse/ and would you please offer me a url to access the files needed to install the plugin directly? Maybe I can get the file and let eclipse install it automatically from local disk. Thanks for that and my email is odetofreedom@gmail.com.