[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] P2 director flag for downloading source jars

you may want to check 

which has details on how this includeSource=true in target files was implemented in Tycho


On 21/06/16 04:52, "p2-dev-bounces@xxxxxxxxxxx on behalf of Pascal Rapicault" <p2-dev-bounces@xxxxxxxxxxx on behalf of pascal@xxxxxxxxxxxxx> 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 


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

340 S Lemon Ave #3433, Walnut, CA 91789


p2-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit