Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » What does promote do?
What does promote do? [message #514848] Tue, 16 February 2010 10:48 Go to next message
Martin Taal is currently offline Martin Taal
Messages: 5326
Registered: July 2009
Senior Member
Hi,
My build is running fine now, testing, signing, so all great. The next step is promoting. I copied the promoting step
from the cdo build but I don't seem to get it working. It reports can't find component.
org.eclipse.emf.teneo.releng.buckminster. Which is possible as this component is not present in the workspace, but I am
not sure what a good setup is. So I hope that someone can give some more info.

What does this promote (copy.group) do? Does it do anything more than copying the features/plugins?

This is part of the build.xml:
<target name="promote" depends="init.build.properties">
<echo message="Promoting" />
<buckminster command="perform" workspace="${buildRoot}/workspace">
<cmdargs>
<arg value="org.eclipse.emf.teneo.releng.buckminster#promote" />
</cmdargs>
</buckminster>
</target>

then I have this in the cspec:
<cs:public name="promote.site" actor="ant">
<cs:actorProperties>
<cs:property key="buildFileId" value="buckminster.pdetasks"/>
<cs:property key="targets" value="copy.group"/>
</cs:actorProperties>
<cs:prerequisites alias="action.requirements">
<cs:attribute name="site.p2" component="org.eclipse.emf.teneo.site"/>
<cs:attribute name="clear.site" contributor="false"/>
</cs:prerequisites>
<cs:products alias="action.output" base="${teneo.download.area}/updates/${teneo.update.site.type}/ "/>
</cs:public>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: What does promote do? [message #514875 is a reply to message #514848] Tue, 16 February 2010 18:35 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3214
Registered: July 2009
Senior Member
Hi Martin,

On 02/16/2010 09:44 PM, Martin Taal wrote:
> Hi,
> My build is running fine now, testing, signing, so all great. The next
> step is promoting. I copied the promoting step from the cdo build but I
> don't seem to get it working. It reports can't find component.
> org.eclipse.emf.teneo.releng.buckminster. Which is possible as this
> component is not present in the workspace, but I am not sure what a good
> setup is. So I hope that someone can give some more info.
>
The Buckminster build uses the releng component as the top component (referenced from the cquery during import). The
cspec of this component contains the topmost actions of the build (i.e. promote) so it's essential that it is brought
into the workspace..

> What does this promote (copy.group) do? Does it do anything more than
> copying the features/plugins?
>
No, that's exactly what it does. It copies the update site (the prerequisite) to its final location. Unless the
prerequisite exists, it will be built.

HTH,
- thomas
Re: What does promote do? [message #514909 is a reply to message #514875] Wed, 17 February 2010 02:25 Go to previous messageGo to next message
Martin Taal is currently offline Martin Taal
Messages: 5326
Registered: July 2009
Senior Member
Hi Thomas,
As it only copies as you say. So this will overwrite the content of the target update site location, i.e. only the last
version of the plugins/features are available?

gr. Martin

Thomas Hallgren wrote:
> Hi Martin,
>
> On 02/16/2010 09:44 PM, Martin Taal wrote:
>> Hi,
>> My build is running fine now, testing, signing, so all great. The next
>> step is promoting. I copied the promoting step from the cdo build but I
>> don't seem to get it working. It reports can't find component.
>> org.eclipse.emf.teneo.releng.buckminster. Which is possible as this
>> component is not present in the workspace, but I am not sure what a good
>> setup is. So I hope that someone can give some more info.
>>
> The Buckminster build uses the releng component as the top component
> (referenced from the cquery during import). The cspec of this component
> contains the topmost actions of the build (i.e. promote) so it's
> essential that it is brought into the workspace..
>
>> What does this promote (copy.group) do? Does it do anything more than
>> copying the features/plugins?
>>
> No, that's exactly what it does. It copies the update site (the
> prerequisite) to its final location. Unless the prerequisite exists, it
> will be built.
>
> HTH,
> - thomas


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: What does promote do? [message #514912 is a reply to message #514909] Wed, 17 February 2010 02:52 Go to previous message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3214
Registered: July 2009
Senior Member
On 02/17/2010 08:25 AM, Martin Taal wrote:
> Hi Thomas,
> As it only copies as you say. So this will overwrite the content of the
> target update site location, i.e. only the last version of the
> plugins/features are available?
>
yes.

- thomas
Previous Topic:Problem with aggregator model of Eclipse update site
Next Topic:Buckminster/Hudson and target platform definition problem
Goto Forum:
  


Current Time: Thu Jul 24 19:07:30 EDT 2014

Powered by FUDForum. Page generated in 0.02169 seconds