Thanks Jan and Pascal! Any chance that the p2.mirror ant task or p2 director will get any new features?
When building tooling that doesn't run on OSGi, it's a lot easier to call into a CLI application than it is to setup an OSGi runtime and inject it with code to tickle p2. I would be **sooo happy** if I could run p2 without loading a whole OSGi runtime. I've been tinkering with building p2 tooling for Gradle, and I do it by launching a new JVM, starting equinox, and running p2 ant tasks or p2 director. The performance is pretty abysmal - about 10 seconds of overhead to spool up the JVM and OSGi runtime per call. ᐧ Ned Twigg Lead Software Architect, DiffPlug LLC 540-336-8043 340 S Lemon Ave #3433, Walnut, CA 91789 On Tue, Jun 21, 2016 at 12:38 AM, Sievers, Jan <[email protected]> wrote: > you may want to check > https://bugs.eclipse.org/bugs/show_bug.cgi?id=411664 > > which has details on how this includeSource=true in target files was > implemented in Tycho > > Regards > Jan > > On 21/06/16 04:52, "[email protected] on behalf of Pascal > Rapicault" <[email protected] on behalf of [email protected]> > wrote: > > Hi Ned, > > There is no such option on the director itself. > You could easily support this by looking for all the IUs that are part of > the provisioning plan and then look for an IU that provides: > namespace="org.eclipse.equinox.p2.eclipse.type" name="source" and whose > "org.eclipse.equinox.p2.iu" is set to be "<bundleName>.source" > > Note that PDE is doing something similar when it is loading the target > platform. > > The code of the director application is in > org.eclipse.equinox.p2.director.app > > Pascal > > On 6/16/2016 3:46 AM, Ned Twigg wrote: > > > Is there such a flag? Is there any chance of creating such a flag someday? > > > If the answer to these is false, then I can build something myself. I > know how to get an agent, connect from repositories, etc. What are the > props / docs I should look at which are specific to source jars? > > > Ned Twigg > > Lead Software Architect, DiffPlug LLC > 540-336-8043 > > 340 S Lemon Ave #3433, Walnut, CA 91789 > > > > > > > > ᐧ > > > _______________________________________________ > p2-dev mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/p2-dev > > > > > > _______________________________________________ > p2-dev mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/p2-dev
_______________________________________________ p2-dev mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/p2-dev
