users@glassfish.java.net

Re: Glassfish, OSGi and Eclipse

From: Dominik Dorn <dominik.dorn_at_gmail.com>
Date: Sun, 12 Sep 2010 14:56:43 +0200

Have you tried simply deploying the osgi module as exploded archive
using asadmin?

asadmin undeploy nameOfBundle; asadmin deploy --type osgi
path/to/bundle nameOfBundle

??

with a open terminal next to your IDE that would be quite acceptable
in _my opinion_.

kind regards,
dominik


On Sun, Sep 12, 2010 at 2:49 PM, <glassfish_at_javadesktop.org> wrote:
> Thanks Sahoo - yes, I knew about ...domain1/autodeploy/bundles from your blog, but I don't see how this fits in with either the Glassfish plugin or Eclipse PDE.
>
> The Glassfish plugin deploys to .../domain1/eclipseApps, and I think it only works for Dynamic Web projects (i.e. WARs).
>
> So I would have to set up something like an Ant script to copy my OSGi bundles to the autodeploy folder in one step, then launch Glassfish via the plugin in a second step and hope that source level debugging will work in this combination - all this is not quite as seamless as it could be.
>
> Doing plain old OSGi development with Eclipse PDE, there is normally no deployment at all, in the sense of JARing everything up and copying the JARs to a given place - Eclipse simply installs the class files from multiple project directories in place as exploded bundles, so there is no copying and launching your application is extremly fast.
>
> Essentially, I don't really mind what's going on behind the scenes as long as there is some one-button-launch mechanism for OSGi-based Java EE applications.
>
> Best regards,
> Harald
> [Message sent by forum member 'hwellmann']
>
> http://forums.java.net/jive/thread.jspa?messageID=482448
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>



-- 
Dominik Dorn
http://dominikdorn.com
http://twitter.com/domdorn
Tausche Deine Lernunterlagen auf http://www.studyguru.eu !