STS and PAR deployment [message #586607] |
Thu, 08 July 2010 18:01  |
Eclipse User |
|
|
|
Hi,
I'm quite new to Virgo and spring Dm in general.
There is something I don't understand using the STS IDE to deploy my par.
Here is my folder structure.
myproject.toplevel
+ myproject.parent
+ myproject.par
+ myproject.jpa
+ myproject.db
I based this on the greenpages directory structure.
My toplevel pom, has just a bunch of <module> element to include the bundles.
My parent project basicly holds dependencyManagement configuration in the pom.
When I maven package the toplevel project, the PAR gets build under myproject.parent/target
But I can not find a way to deploy this directly to Virgo from STS. When I use Add/Remove the toplevel project does not list. The par bundle does list, but the jpa and db projects are not included.
When I do mvn package on the par, I get dependency not found error on the jpa and db bundles.
Is there a way to Add the toplevel project to the Virgo runtime so the PAR would get deployed automatically?
Thanks!
|
|
|
|
Re: STS and PAR deployment [message #590470 is a reply to message #586624] |
Wed, 14 July 2010 14:58  |
Eclipse User |
|
|
|
Hi,
Thanks for your answer.
The problem however is not the PAR... I understand how it more or less works. Everything works when I use command line tools (mvn package, cp to deploy to the hotdeploy folder, ...)
I just don't find a streamlined way to do everything from within STS.
This is more of a STS question then it is a Virgo/OSGi question really.
The things I want to be able to do is:
- run unit test on single bundles
- run integration tests across multiple bundles
- deploy the par to Virgo from within STS
- update a single bundle within the par without updating the complete application (par)
Anyway, I'll experiment some more. Hopefully I can start being productive very soon.
I'm installing the new STS 2.3.3 M1 as we speak ... I'll see how that goes
|
|
|
Powered by
FUDForum. Page generated in 0.03699 seconds