|
|
|
Re: Create Target Platform *with* source [message #693034 is a reply to message #692785] |
Tue, 05 July 2011 12:42   |
Eclipse User |
|
|
|
That's brilliant, that question came up for us at exactly the time this was posted. A couple of minor points:
(1) That property affects all the components in the dynamically built target platform. Is there a way to request the source for just selected components?
(2) I did two tests, both materializing a component into a new workspace that was empty except for a manually prepared, empty, and active tp. The results were a little surprising:
For the first test, I did not have buckminster.download.source=true. Having materialized, I then did the materialize a second time, and on this occasion buckminster.download.source=true was set. The result the second time was, as expected, that the source jars were downloaded.
For the second test, I did have buckminster.download.source=true set from the beginning. I materialized once.
I then compared what was materialized, expecting the results to be the same. In fact I got:
Only in /scratch/test-source2/tp/plugins/: org.eclipse.emf.ecore.change.source_2.5.1.v20100907-1643.jar
Only in /scratch/test-source2/tp/plugins/: org.eclipse.emf.edit.source_2.6.0.v20100914-1218.jar
Those two components weer only materialized in the second test, not the first. This is not particularly a problem for me, but does it indicate some obscure bug, or problem with the platform? This is using the Helios repositories.
Thanks
Matthew
|
|
|
Re: Create Target Platform *with* source [message #693300 is a reply to message #693034] |
Wed, 06 July 2011 04:31  |
Eclipse User |
|
|
|
To answer the first of my questions above:
>> (1) That property affects all the components in the dynamically built target platform. Is there a way to request the source for just selected components?
A: To materialize source jars for only selected components, you need to create advisor node(s) for those components, and set the buckminster.download.source=true property just in those Advisor Node(s).
Matthew
|
|
|
Powered by
FUDForum. Page generated in 0.25934 seconds