Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster dev » New build system in place
New build system in place [message #23106] Wed, 30 July 2008 13:58 Go to next message
Adrian Skehill is currently offline Adrian SkehillFriend
Messages: 55
Registered: July 2009
Member
Hi guys,

First off, a big word of thanks for your kind words and votes in the
recent committer election. Looking forward now to getting access sorted
and working closer with you.

I just wanted to send this brief note to say that an automated build
system is now in place for Buckminster at [1]. The first successful
build was a short while ago, and this build will now execute on every
commit to the svn repository.

So this is just a build for now, I have some test execution stuff that
I'll put in there next week when I get a chance.

As a little experiment, I configured it to use twitter, so for those you
hanging out in that space, you can follow "buckminster_dev" on twitter
to see latest build results.

I've tried configuring Hudson to link directly into the eclipse bugzilla
instance, but there seems to be a problem with it and I don't have time
to investigate it.

Cheers,
Adrian.

[1] http://dev.cloudsmith.com:8088/
Access control [message #23146 is a reply to message #23106] Thu, 31 July 2008 20:22 Go to previous messageGo to next message
Douglas Palmer is currently offline Douglas PalmerFriend
Messages: 64
Registered: July 2009
Member
Hi Adrian

You may want to set up some access control to the build machine. It
looks like anyone can reconfigure it. I can certainly access the
reconfigure page; I didn't try to save but I can certainly change things.

Regards
Doug
Re: Access control [message #23185 is a reply to message #23146] Fri, 01 August 2008 15:47 Go to previous messageGo to next message
Adrian Skehill is currently offline Adrian SkehillFriend
Messages: 55
Registered: July 2009
Member
Douglas Palmer wrote:
> Hi Adrian
>
> You may want to set up some access control to the build machine. It
> looks like anyone can reconfigure it. I can certainly access the
> reconfigure page; I didn't try to save but I can certainly change things.
>
> Regards
> Doug

Thanks Doug,

Secured with just me to configure it. Will chat with the team next week
to see who gets access to what.

A.
Re: Access control [message #23637 is a reply to message #23185] Wed, 06 August 2008 07:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: douglas.palmer.prismtech.com

Hi Adrian

After encouraging you to lock down the Hudson configuration I have
started looking into Hudson for my own builds. It would be useful to see
how you configure hudson with buckminster. Is you configuration in the
buckminster svn somewhere? Similarly is your ant script in there too?
If not would you mind sending them to me?

Regards
Doug
Re: Access control [message #23679 is a reply to message #23637] Wed, 06 August 2008 09:35 Go to previous messageGo to next message
Adrian Skehill is currently offline Adrian SkehillFriend
Messages: 55
Registered: July 2009
Member
This is a multi-part message in MIME format.
--------------060305060806000306050604
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Douglas Palmer wrote:
> Hi Adrian
>
> After encouraging you to lock down the Hudson configuration I have
> started looking into Hudson for my own builds. It would be useful to see
> how you configure hudson with buckminster. Is you configuration in the
> buckminster svn somewhere? Similarly is your ant script in there too?
> If not would you mind sending them to me?
>
> Regards
> Doug


Hi Doug,

I'm attaching the files that are used in the current build (they've
changed alot from those attached to my bug), so you can take a look at
them. Regarding the configuration of Hudson, it's trivial, basically,
you will need a machine that has the following:

* ant, javac and svn available
* allows a port to be opened and accessed, default 8080

Install Hudson and create a new job, chose free style(I think) project
and point it to build.xml in the attached zip file. You will need to
give it a location where it can check out your repository to. In the
end, the main smarts are in the ant build system which in turn delegates
heavily to Buckminster.

Once Thomas (ping!) gets my commit rights sorted, these files will be in
the Buckminster svn repo for all to look at and make suggestions for
improvement.

Feel free to drop me a line if you need any further assistance.

A.

--------------060305060806000306050604
Content-Type: application/x-gzip;
name="buildfiles.tar.gz"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="buildfiles.tar.gz"

H4sICDMimEgAA2J1aWxkZmlsZXMudGFyAO0aa5PbtvG+hr8ClT354DmR0j3T juR2nPN02qZt
Jhc3Hz0QCUnwQSQDgJKvHv33LkCQBPiQeLmHmxnuB4kCFvvC7mKx1CKjLPJT nqSES0rEyTPA
BODq4gK+p2eT6aX+fX19pb8Bzi+vz06m08nFxeTq/PJycjKZXlxdXZygyXMI U4dMSMwROsHi
jqwpY114YbLZUCkJfwmhXg68V6/QOyxoiDBfZRsSS+G9Qj+vE0GqERSRJY0J kmsYlJLTRSaJ
QJkgEaIxWigfovHK2yX8Dr79i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yfjIVdkSyTOVmPNi gEgo/fXrgbzV
uiZQvSoLmALNVaLtUgypIVaXjD5X5qKx42hfvNxSBrBlq/f+IfDRIkmkgHSZ 5hZCeTei6pjY
ObGrVe+ERffVu1f+Oxw71SumMrUXtuo+MI7aiIPOsM0RajiypXz9qDoYbR0R 2vMEOGAA274m
v5Vn22FfarY72p3ng8JLj7mOlUOsbHVo97uyR4vKB7V2uiCVet3NkVYtfQAV q+olhbqrfw/L
rVc4eaugVNLij0x7bz7q6j2oL7iYVU9Vaaq6gOqW09lfdN7A7PMrkYX8oAaT fXXKGefP1sIH
OJvdw7GCrquz08voP968//3avK019ltMfsjoG7wl8ZOb/Z+K6u/X8LlRnsXJ Wzp9ldGPtQF7
2f62JPKVNqDrdW9/+x/orT7tblTyqZqq46Azd7nObOhO2YHjzrih5s61uoVW 9bA3KbF9qED1
nwhCcthDwDkqVP2a3BBuFCUP8g9tDEVYm7EhTLubdBFz/1r1g/5n1esvbX+4 2vdyBdcXDhqT
E5GwbYcNf9KTKsRqtkmhto+lABM/wnou6x6ZrflnpH7m6B0Z+ZvlVlO8M/8q tKu3R+iec6qX
aM3LmHnXXYaoelHpBpEbzbUAq0XKKWoU+qeo3tVxSZhNcgct6dsuj35daj16 isplStNZYN71
v/0/+e/JAAMMMMAAAwwwwAADDDDAAAMMMMAAAwwwwAADDDDAAAMMMMAAAwww wAADDPA4+B9n
/ImcAFAAAA==
--------------060305060806000306050604--
Re: Access control [message #23722 is a reply to message #23679] Wed, 06 August 2008 10:04 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Adrian,

Adrian Skehill wrote:
> Once Thomas (ping!) gets my commit rights sorted, these files will be in
> the Buckminster svn repo for all to look at and make suggestions for
> improvement.
>
The vote for you committer status was completed some time ago now.
Status is now "Waiting for PMC approval" (that's tools PMC, not
Buckminster). Not sure why it got stalled there. I'll investigate.

Regards,
Thomas Hallgren
Re: Access control [message #23766 is a reply to message #23679] Wed, 06 August 2008 10:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: douglas.palmer.prismtech.com

Adrian Skehill wrote:
> Douglas Palmer wrote:
>> Hi Adrian
>>
>> After encouraging you to lock down the Hudson configuration I have
>> started looking into Hudson for my own builds. It would be useful to
>> see how you configure hudson with buckminster. Is you configuration in
>> the buckminster svn somewhere? Similarly is your ant script in there
>> too? If not would you mind sending them to me?
>>
>> Regards
>> Doug
>
>
> Hi Doug,
>
> I'm attaching the files that are used in the current build (they've
> changed alot from those attached to my bug), so you can take a look at
> them. Regarding the configuration of Hudson, it's trivial, basically,
> you will need a machine that has the following:
>
> * ant, javac and svn available
> * allows a port to be opened and accessed, default 8080
>
> Install Hudson and create a new job, chose free style(I think) project
> and point it to build.xml in the attached zip file. You will need to
> give it a location where it can check out your repository to. In the
> end, the main smarts are in the ant build system which in turn delegates
> heavily to Buckminster.
>
> Once Thomas (ping!) gets my commit rights sorted, these files will be in
> the Buckminster svn repo for all to look at and make suggestions for
> improvement.
>
> Feel free to drop me a line if you need any further assistance.
>
> A.

Thanks Adrian.

Doug
Re: New build system in place [message #23808 is a reply to message #23106] Wed, 06 August 2008 11:36 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Adrian,
The new build-system looks very promising. Right now I'm only lacking
one thing and that's the installation of the delta-pack on top of the
target platform.

Normally when I build, I use a target platform consisting of the SDK
(just like the new build system) and the platform delta-pack that
contains all the launchers. This delta-pack is supposed to be unzipped
right on top of an existing Eclipse installation (this is in contrast to
the recommendations to use dropins folder etc. The dropins folder will
not work).

With the delta pack in place, the build should normally execute with the
following parameters set:

qualifier.replacement.*=generator:lastRevision
generator.lastRevision.format=r{0,number,00000}
target.os=*
target.ws=*
target.arch=*

The product of the build will then have correct qualifiers and also
become platform independent.

It would be interesting to see what happens if you use the following target:

<target name="buckminster.build.site">
<echo message="Building Buckminster Update Site"/>
<buckminster command="perform">
<arg value="org.eclipse.buckminster#normalize.site"/>
</buckminster>
</target>

This will build the complete update site except signing and pack200.

We'll need to figure out how to cope with the privileges needed in order
to do signing and later automatic publishing. Both involves sending
things to Eclipse.org.

Regards,
Thomas Hallgren


Adrian Skehill wrote:
> Hi guys,
>
> First off, a big word of thanks for your kind words and votes in the
> recent committer election. Looking forward now to getting access sorted
> and working closer with you.
>
> I just wanted to send this brief note to say that an automated build
> system is now in place for Buckminster at [1]. The first successful
> build was a short while ago, and this build will now execute on every
> commit to the svn repository.
>
> So this is just a build for now, I have some test execution stuff that
> I'll put in there next week when I get a chance.
>
> As a little experiment, I configured it to use twitter, so for those you
> hanging out in that space, you can follow "buckminster_dev" on twitter
> to see latest build results.
>
> I've tried configuring Hudson to link directly into the eclipse bugzilla
> instance, but there seems to be a problem with it and I don't have time
> to investigate it.
>
> Cheers,
> Adrian.
>
> [1] http://dev.cloudsmith.com:8088/
Re: New build system in place [message #24320 is a reply to message #23808] Wed, 06 August 2008 21:12 Go to previous message
Adrian Skehill is currently offline Adrian SkehillFriend
Messages: 55
Registered: July 2009
Member
Thomas Hallgren wrote:
> Hi Adrian,
> The new build-system looks very promising. Right now I'm only lacking
> one thing and that's the installation of the delta-pack on top of the
> target platform.
>
> Normally when I build, I use a target platform consisting of the SDK
> (just like the new build system) and the platform delta-pack that
> contains all the launchers. This delta-pack is supposed to be unzipped
> right on top of an existing Eclipse installation (this is in contrast to
> the recommendations to use dropins folder etc. The dropins folder will
> not work).
>
> With the delta pack in place, the build should normally execute with the
> following parameters set:
>
> qualifier.replacement.*=generator:lastRevision
> generator.lastRevision.format=r{0,number,00000}
> target.os=*
> target.ws=*
> target.arch=*
>
> The product of the build will then have correct qualifiers and also
> become platform independent.
>
> It would be interesting to see what happens if you use the following
> target:
>
> <target name="buckminster.build.site">
> <echo message="Building Buckminster Update Site"/>
> <buckminster command="perform">
> <arg value="org.eclipse.buckminster#normalize.site"/>
> </buckminster>
> </target>
>
> This will build the complete update site except signing and pack200.
>
> We'll need to figure out how to cope with the privileges needed in order
> to do signing and later automatic publishing. Both involves sending
> things to Eclipse.org.
>

Thanks Thomas,

I am already bringing down the dela pack and extracting it as part of
the build. I'll take a look at setting the arch etc. to "*" but I had
some difficulties, so I left those unset in the current build. Will revisit.

I'll pop in the update site target and commit the file into svn so it's
more accessible. It should work though, I have this already up and
running on my own product builds.

Let's have a chat after I get these updates in to see what the best
solution will be on doing the signing and packing.

A.
Previous Topic:[buckminster-dev] Committer vote for Guillaume CHATELET has been approved by the PMC
Next Topic:[buckminster-dev] using Buckminster with Hudson - tutorial?
Goto Forum:
  


Current Time: Sat Apr 20 00:22:13 GMT 2024

Powered by FUDForum. Page generated in 0.03415 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top