Skip to main content



      Home
Home » Eclipse Projects » Virgo » Preventing double bundle start when developing plan in Eclipse tooling
Preventing double bundle start when developing plan in Eclipse tooling [message #722585] Tue, 06 September 2011 05:30 Go to next message
Eclipse UserFriend
Sorry for so many questions, still trying to figure things out Embarrassed

According to Programmer Guide 4.3,
Quote:

Plans always get their dependencies from the VTS repository.

So if I place my plan into /pickup or deploy it into /stage from tooling, but don't add bundles to server in tooling, they aren't added to /stage, the plan can't find them and doesn't start. This is expected. However, if I do add bundles to server, they are deployed to /stage and there are two attempts to start them: from plan and from stage. How can I prevent this?

One obvious solution is to export bundles after every change and place them in /repository/usr. But this both increases turnaround time a lot and runs into my MANIFEST.MF export problem.

[Updated on: Tue, 06 September 2011 05:35] by Moderator

Re: Preventing double bundle start when developing plan in Eclipse tooling [message #722655 is a reply to message #722585] Tue, 06 September 2011 08:40 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

You should not manually place the bundles in /stage, you should not be using it yourself at all. If you place the bundles in one of the repositories you will get the behaviour you are after. /repository/ext or /repository/usr. I believe if the tooling is set up right it will actually do this for you as well but I don't remember the details. I think it needs to know that projects in the workspace are a part of the plan your deploying.


Chris.
Re: Preventing double bundle start when developing plan in Eclipse tooling [message #722667 is a reply to message #722655] Tue, 06 September 2011 09:01 Go to previous message
Eclipse UserFriend
> You should not manually place the bundles in /stage, you should not be using it yourself at all.

Yes, I already know that. All mentions of /stage above are about tooling.

> If you place the bundles in one of the repositories you will get the behaviour you are after.

But placing them manually is a problem.

> I believe if the tooling is set up right it will actually do this for you as well but I don't remember the details. I think it needs to know that projects in the workspace are a part of the plan your deploying.

That seems to be precisely what I want, but I can't find a way to tell it Sad
Previous Topic:Failure invoking bundle.loadClass(String clazz) in version M06 and higher
Next Topic:Corrupt bean cache? Autowiring fails.
Goto Forum:
  


Current Time: Fri Jul 04 12:22:56 EDT 2025

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

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

Back to the top