Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » How Can i access to the pickup dir from a bundle?
How Can i access to the pickup dir from a bundle? [message #662213] Tue, 29 March 2011 18:23 Go to next message
Carlos Salinas is currently offline Carlos SalinasFriend
Messages: 32
Registered: March 2011
Location: Avd. de la Argentina 132,...
Member
Hi,

I would need to know the best way to install new bundles, supposed deploying them into the pickup dir, through the interface of another bundle.
Thank you.
Re: How Can i access to the pickup dir from a bundle? [message #662220 is a reply to message #662213] Tue, 29 March 2011 18:34 Go to previous messageGo to next message
Dmitry Sklyut is currently offline Dmitry SklyutFriend
Messages: 276
Registered: January 2010
Senior Member
Can you describe your use case a bit more?

You can deploy bundles through web-admin or by copying them to the pickup (hot deploy).

You can also get a reference to an ApplicationDeployer (and osgi service) or use JMX registered ApplicationDeployer.

i.e.
<!-- if using spring-dm -->
<osgi:reference id="appDeployer"
interface="org.eclipse.virgo.kernel.deployer.core.ApplicationDeployer " />

If you prefer JMX - you can find that virgo publishes Deployer into JMX registry (org.eclipse.virgo.kernel.Deployer MXBean)

Re: How Can i access to the pickup dir from a bundle? [message #662307 is a reply to message #662220] Wed, 30 March 2011 08:35 Go to previous messageGo to next message
Carlos Salinas is currently offline Carlos SalinasFriend
Messages: 32
Registered: March 2011
Location: Avd. de la Argentina 132,...
Member
Hi Dmitry,

We are developing a UI Platform, named Konekti, where a collection of bundles shape the platform. And through an admin console, the user can deploy new components for extending the platform.

Now we are in a prototipe stage Cool
Re: How Can i access to the pickup dir from a bundle? [message #662349 is a reply to message #662307] Wed, 30 March 2011 10:33 Go to previous messageGo to next message
Carlos Salinas is currently offline Carlos SalinasFriend
Messages: 32
Registered: March 2011
Location: Avd. de la Argentina 132,...
Member
By the way, how is the maven dependency and repository for org.eclipse.virgo.kernel.deployer.jar
Re: How Can i access to the pickup dir from a bundle? [message #662391 is a reply to message #662349] Wed, 30 March 2011 13:56 Go to previous messageGo to next message
Dmitry Sklyut is currently offline Dmitry SklyutFriend
Messages: 276
Registered: January 2010
Senior Member
Maven repos: @see here ( http://www.eclipse.org/forums/index.php?t=tree&th=201026 &S=b46a22b5f03636f3744a2693f548cf8b#page_top)

Take a look what Virgo web console is doing when deploying artifacts:

git://git.eclipse.org/gitroot/virgo/org.eclipse.virgo.apps.g it

Git View is down right now at eclipse. You can:

git clone git://git.eclipse.org/gitroot/virgo/org.eclipse.virgo.apps.g it
git submodule update --init

and import projects into Eclipse.

Regards,
Dmitry
Re: How Can i access to the pickup dir from a bundle? [message #662452 is a reply to message #662391] Wed, 30 March 2011 17:17 Go to previous messageGo to next message
Carlos Salinas is currently offline Carlos SalinasFriend
Messages: 32
Registered: March 2011
Location: Avd. de la Argentina 132,...
Member
is There Virgo source in SVN repositories?
Re: How Can i access to the pickup dir from a bundle? [message #662460 is a reply to message #662452] Wed, 30 March 2011 17:43 Go to previous message
Dmitry Sklyut is currently offline Dmitry SklyutFriend
Messages: 276
Registered: January 2010
Senior Member
No. Virgo uses git http://git-scm.com/
Previous Topic:[NOT POSSIBLE ] Change Embedded Tomcat
Next Topic:Virgo GIT Repository Down?
Goto Forum:
  


Current Time: Mon Nov 24 21:55:22 GMT 2014

Powered by FUDForum. Page generated in 0.13814 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software