users@glassfish.java.net

Re: Deploy OSGi bundle to Glassfish 3.1.1 from Eclipse

From: Sahoo <sanjeeb.sahoo_at_oracle.com>
Date: Tue, 21 Feb 2012 23:15:37 +0530

I have not used glassfish wtp myself, but check if it has an option to
pass additional deploy command options. If yes, then you could pass
"--type osgi" to the deploy command to deploy the bundles. I am not sure
who in GF knows about this plugin.

Sahoo
On Tuesday 21 February 2012 10:58 PM, forums_at_java.net wrote:
> Hi.
>
> My project consist of one typecal web-project (producing war) and great
> count OSGI-module projects producing bundles. I use maven and m2eclipse
> plugin and glassfish wtp connector, using this connector I deploy the
> war-project from Eclipse. Now I want in similar way to deploy from
> Eclipse
> the bundle projects to Glassfish server. Is there approach to deploy
> bundles
> from Eclipse into Glassfish? Now I write the cmd-script that rebuild
> bundle
> project with maven and copy the artifact to /autdeploy/bundles
> directory of
> Glassfish server. It will be great if there are plugin that
> automatically do
> this operation after project changes.
>
>
>
>
> --
>
> [Message sent by forum member 'cnt01']
>
> View Post: http://forums.java.net/node/883688
>
>