Skip to main content

[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 
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, "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 

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
p2-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/p2-dev






Back to the top