I implemented the described functionality. Now boot classpath libraries can be specified on the command line using the --bcp/p and --bcp/a options as in the following example:
pax-run --bcp/p=mvn:org.ops4j/korkor/0.1-SNAPSHOT --bcp/p=mvn:org.ops4j/didi/0.1-SNAPSHOT --bcp/a=mvn:org.ops4j/sisi/0.1-SNAPSHOT this will result in a boot classpath having the kokor jar, didi jar, framework jar, sisi jar, in this order. Now, two questions: 1. Is the bcp/p and bcp/a the right options name? 2. Pax runner also supported a --classpath option where you could specify classpath jars that were appended to the framework jar when starting the framework. This were not managed in the way we implement it now and seems kind of obsolete by the new bcp stuff. So, what do you guys think. Shall I leave this optin or I should deprecate it? On Mon, Oct 27, 2008 at 6:24 PM, Lan Boon Ping <[EMAIL PROTECTED]> wrote: > On Mon, Oct 27, 2008 at 5:09 PM, Alin Dreghiciu <[EMAIL PROTECTED]> > wrote: >> >> 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. > > Sound great! >> >> 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. > > Right, it is problematic and hard to read. > > Thanks! I'm looking forward that :) > > 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
