Im thinking more to something like:
--bcp=mvn:org.ops4j/korkor/0.1-SNAPSHOT
--bcp=mvn:org.ops4j/didi/0-1-SNAPSHOT.jar
where the --bcp/p or --bcp/a options can be more then one and can be
read as an array/list.
The /p or /a is about prepending or appending.

pax runner will read them all, download the jars and and build the
right java startup option.
Of course that user should use the right bootDelegation/systemPackages
options if necessary to add boot delegation or framework packages.

Having just one option as for example
--copyJar=mvn:org.ops4j/korkor/0.1-SNAPSHOT;mvn:org.ops4j/didi/0-1-SNAPSHOT.jar
will be problematic as it is hard to find the right separator between
the urls.

On Mon, Oct 27, 2008 at 4:23 PM, Lan Boon Ping <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> For some reasons (e.g some classes use systemClassLoader), there may be a
> case that some jars need to be pulled out of the bundle and added in
> bootclasspath.
>
> For instance,
>
>  --vmOptions=-Xbootclasspath/p:./lib/korkor.jar;./lib/didi.jar
>
> I don't like the fact I need to manually copy these two jar files and then
> put them in the lib folder. Assuming both of these jars are mavenized
> project,  I would like to know does the pax-runner capable to handle this
> situation in more dynamic way?
>
> Suggestion:
>
> Pax-runner somehow understands the "mvn" file protocol, so I can do this
>
>  
> --vmOptions=-Xbootclasspath/p:mvn:org.ops4j/korkor/0.1-SNAPSHOT;mvn:org.ops4j/didi/0-1-SNAPSHOT.jar
>
> or
> New options.
>
> --copyJar=mvn:org.ops4j/korkor/0.1-SNAPSHOT;mvn:org.ops4j/didi/0-1-SNAPSHOT.jar
> --copyDest=lib
>
> wdyt?
>
> Regards
> Boon Ping
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>
>



-- 
Alin Dreghiciu
http://www.ops4j.org         - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org            - New Energy for Java - Domain Driven
Development.
http://malaysia.jayway.net - New Energy for Projects - Great People
working on Great Projects at Great Places

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to