main website home
  • About this blog

    This blog features updates, opinions, and technical notes from Caucho engineers about Caucho products, the enterprise Java industry, and PHP. Caucho Technology is the creator of the Resin Application Server and the Quercus PHP in Java engine. A leader in Java performance since 1998, Caucho is a Sun JavaEE licensee with over 9000 customers worldwide.
  • Tags

    ajaxworld bam candi cdi cloud cluster comet configuration deploy devoxx eclipse ejb embedded flash flex google app engine hessian hmtp ioc java ee 6 javaone javazone jms messaging newsletter nyjug osgi php pomegranate quercus resin resin 4.0 REST servlet sfjug silicon valley code camp spring testing training tssjs watchdog webbeans web profile websockets wordpress
  • Meta

    • Register
    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
« pomegranate draft
An alternate deployment model based on a Git repository in Resin 4.0.2 »

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.

server configuration

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.

selection

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.

Tags: eclipse, resin

This entry was posted on Tuesday, August 18th, 2009 at 6:20 pm and is filed under Engineering. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

5 Responses to “Resin Eclipse plugin snapshot”

  1. rickross Says:
    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

  2. Emil Says:
    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

  3. rickross Says:
    September 1st, 2009 at 11:19 am

    Thanks, Emil - that worked!

  4. kaluga guest Says:
    January 10th, 2010 at 10:23 am

    Good

  5. xprof Says:
    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.

Leave a Reply

You must be logged in to post a comment.


Caucho Technology is proudly powered by WordPress and Quercus®
Entries (RSS) and Comments (RSS).

  • HOME |
  • CONTACT US |
  • DOCUMENTATION |
  • BLOG |
  • WIKI 4 |
  • WIKI 3 |
  • Resin: Java Application Server
Copyright (c) 1998-2012 Caucho Technology, Inc. All rights reserved.
caucho® , resin® and quercus® are registered trademarks of Caucho Technology, Inc.
resin® is a cloud optimized, java® application server that supports the java ee webprofile ®