A PAR file packages a number of bundles. In this example, the PAR should package the jpa and db bundles. Deploying the PAR to Virgo will cause the bundles inside the PAR to be deployed too, but scoped to the PAR.
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