Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: AW: AW: [jwt-dev] Automatic JWT build

Hi Florian,

The build teams I've worked with in the past have used local build
machines and then uploaded to Eclipse.org download servers when
complete. There is an Eclipse build server that has the usual
dependencies available. While I've never been directly involved with
this system, more details can be found here:

http://wiki.eclipse.org/Building

Signing is just a matter of copying the necessary jars to a certain
location on the Eclipse server, waiting for the signing process to pass
by (which takes a few hours, I believe), then copying the signed bits
back. Given the sensitivity of signing, each project's build person is
given specific permission and instructions for how to accomplish this.
In DTP, our build person just emailed the Eclipse web master asking for
access.

In general I think each build on the Eclipse Foundation servers is
relatively self-contained, so there is not too much danger of crashing
the Eclipse universe. :)
One thing I have heard, however, is that builds which take a lot of
computational resources and/or run frequently can be problematic, since
this performance hit does impact other projects using the
infrastructure. This seems to be more of a problem for naive continuous
build set ups.

HTH,
John

On Mon, 2008-12-08 at 17:16 +0100, Florian Lautenbacher wrote:
> Hi John,
> 
> since we now (nearly) managed to get the build process for JWT automated on
> our local machines (including pack200), we would be interested in testing
> this on the Eclipse servers (integrating the signing process, etc.). Are you
> able to tell us in which directories we are allowed to make the build, which
> dependencies (to Eclipse directories on the server) we need or anything else
> that we should consider when trying this on Live? Surely, we don't want to
> crash build.eclipse.org or any other server of the Eclipse Foundation ;-)
> 
> Thanks for your assistance and best regards,
> 
> Florian
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: jwt-dev-bounces@xxxxxxxxxxx [mailto:jwt-dev-bounces@xxxxxxxxxxx] Im
> Auftrag von Christian Saad
> Gesendet: 08 December 2008 17:10
> An: 'Java Workflow Toolbox'
> Betreff: AW: AW: [jwt-dev] Automatic JWT build
> 
> Ok, converting sh to bat may not have been the best way to say it ;)
> 
> Since some of us are working on windows, I was thinking it would be nice to
> have a version of the build script where we can test the building process
> locally before killing the eclipse server. Florian and I managed to get the
> batch to run, however there still seems to be a problem during the building
> process. There are always some plugins that are not included into the final
> feature (different at each run).
> 
> Regards,
> Chris
> 
> > -----Ursprüngliche Nachricht-----
> > Von: jwt-dev-bounces@xxxxxxxxxxx [mailto:jwt-dev-bounces@xxxxxxxxxxx]
> > Im Auftrag von Marc Dutoo
> > Gesendet: Montag, 8. Dezember 2008 11:56
> > An: Java Workflow Toolbox
> > Betreff: Re: AW: [jwt-dev] Automatic JWT build
> > 
> > Indeed, incredible work !
> > 
> > Now I have to find a way to pay you for this extra work time ;_;
> > 
> > Chris, since the point is to make it work on an unix server it would 
> > be better to test it on one... Personally you've already frightened me 
> > when you talked about converting sh to bat ;_;
> > 
> > Regards,
> > Marc
> > 
> > Christian Saad a  crit :
> > > Hi Mickael,
> > >
> > > great work with the build automation :) I've converted the unix 
> > > script to a bat file (on the CVS) and have
> > been testing a bit but unfortunately, I couldn't get it to work for me.
> > Seems I have to try a bit more.
> > >
> > > Regards,
> > > Chris
> > >
> > >
> > >> -----Urspr ngliche Nachricht-----
> > >> Von: jwt-dev-bounces@xxxxxxxxxxx [mailto:jwt-dev-
> > bounces@xxxxxxxxxxx]
> > >> Im Auftrag von Mickael Istria
> > >> Gesendet: Samstag, 6. Dezember 2008 14:21
> > >> An: Java Workflow Toolbox
> > >> Betreff: Re: [jwt-dev] Automatic JWT build
> > >>
> > >>
> > >> Hi guys,
> > >>
> > >>
> > >>
> > >> I spent some time last night to get the automated build (of CVS
> > HEAD)
> > >>
> > >> working, and after some tries, I'm glad to announce you that it
> > works
> > >> on my
> > >>
> > >> Ubuntu laptop!
> > >>
> > >> I also replaced the jdom.jar with link to the Orbit jdom plugin. Yo
> > be
> > >> able
> > >>
> > >> to work with it in your wrkspace, simply checkout the following:
> > >>
> > >> * host: dev.eclipse.org
> > >>
> > >> * repository: /cvsroot/tools
> > >>
> > >> * module:  org.eclipse.orbit/org.jdom
> > >>
> > >> * Tag:  v200806100616 (Version)
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> To try the build, you just have to follow the steps I detailed you
> > in
> > >> my
> > >>
> > >> last mail (ie check out "releng", cusomize build.sh and 
> > >> build.properties
> > >>
> > >> with your local path, and run build.sh).
> > >>
> > >>
> > >>
> > >> Florian, could you please try this build on dev.eclipse.org to
> > ensure
> > >> it is
> > >>
> > >> ok? You'll probably need to get infos from our mentor or PMC to 
> > >> know which
> > >>
> > >> path we should use for eclipse runtime and target build directory.
> > >>
> > >> In the future, we should also provide a better "MMI" to invoke this 
> > >> build,
> > >>
> > >> in order to be able to customize the build easily (choosing type of 
> > >> release
> > >>
> > >> -I, M, R- and its name...).
> > >>
> > >> We should also have a brainstorming to find the best way to manage
> > our
> > >>
> > >> several release (one "releng" project per version, or only one
> > mapFile
> > >> per
> > >>
> > >> Version, or a version of map file per version...) but this is not a
> > >>
> > >> priority for the moment.
> > >>
> > >> As I said in the last mail, we can also add "postBuild" ant tasks 
> > >> to
> > >>
> > >> automatically sign the jars, and in case of a release, put it on 
> > >> the update
> > >>
> > >> site (the Eclipse SOC project we took for example has tasks to do
> > it, I
> > >>
> > >> simply commented them in the customTargets.xml, but I don't know
> > what
> > >> we
> > >>
> > >> have to change in order to get them working for JWT).
> > >>
> > >>
> > >>
> > >> Next step for Galileo ar to test this build on Eclipse server, and
> > to
> > >>
> > >> automatically sign jars.
> > >>
> > >>
> > >>
> > >> Regards,
> > >>
> > >> Mickael
> > >>
> > >>
> > >>
> > >> On Fri, 05 Dec 2008 18:38:53 +0100, Mickael Istria
> > >>
> > >> <mickael.istria@xxxxxxxxxxx> wrote:
> > >>
> > >>
> > >>> Hi Florian, all,
> > >>>
> > >>> I succeeded to go ahead with automated build, and it was not so
> > >>>
> > >> easy...
> > >>
> > >>
> > >>> Some clues that solved our issues:
> > >>>
> > >>> * Actually, feature automated build needs only a customTargets.xml
> > >>>
> > >> and a
> > >>
> > >>
> > >>> build.properties
> > >>>
> > >>> * The build.xml to use is the one provided by PDE builder (that's
> > why
> > >>>
> > >> we
> > >>
> > >>
> > >>> had troubles this morning)
> > >>>
> > >>> * Thus, I copied and simplified org.eclipse.sco.releng contents.
> > Some
> > >>>
> > >>> other code may be interesting later in this project, for instance
> > the
> > >>>
> > >>> automatic synchronization with update site for release builds, but
> > we
> > >>>
> > >>> could alse imagine a lot of nice things, such as an automatic
> > update
> > >>>
> > >> of
> > >>
> > >>
> > >>> the JWT page at Eclipse.org at each release build, or reports for
> > >>>
> > >> each
> > >>
> > >>
> > >>> integration build...
> > >>>
> > >>> * After that, most of issues I met were due to naming confusion
> > >>>
> > >> (between
> > >>
> > >>
> > >>> folders, projects...)
> > >>>
> > >>> * I succeeded to get the build automatically fetch features and
> > >>>
> > >> plugins
> > >>
> > >>
> > >>> and build them... but ...
> > >>>
> > >>> However,
> > >>>
> > >>> * I face a problem probably due to versioning: indeed in the
> > >>>
> > >>> jwt-we-feature (org.eclipse.jwt_feature), all plugins are have
> > >>>
> > >> version
> > >>
> > >>
> > >>> "0.5.0" in feature.xml. Thus the PDE build, which seems to
> > introspect
> > >>>
> > >>> the feature.xml file, requests the
> > >>>
> > >> org.eclipse.jwt.transformations_0_5_0
> > >>
> > >>
> > >>> plugin. But this plugn does not exist...
> > >>>
> > >>> Here is the trace I got (after successful fetching and building of
> > >>>
> > >>> jwt-we and co...):
> > >>>
> > >> /home/mistria/ganymede-
> > >>
> > rc4/eclipse/plugins/org.eclipse.pde.build_3.4.0.v20080604/templates/he
> > a
> > >> dless-build/allElements.xml:16:
> > >>
> > >>
> > >>> The following error occurred while executing this line:
> > >>>
> > >> /home/mistria/ganymede-
> > >>
> > rc4/eclipse/plugins/org.eclipse.pde.build_3.4.0.v20080604/scripts/gene
> > r
> > >> icTargets.xml:88:
> > >>
> > >>
> > >>> Unable to find plug-in:
> > >>>
> > >>> org.eclipse.jwt.transformations.baseTransformation_0.5.0. Please
> > >>>
> > >> check
> > >>
> > >>
> > >>> the error log for more details.
> > >>>
> > >>> I committed modifications on org.eclipse.jwt.releng. To try this 
> > >>> on
> > >>>
> > >> your
> > >>
> > >>
> > >>> machine, you'll have to adapt the shell script (or write a batch
> > >>>
> > >> script
> > >>
> > >>
> > >>> on Windows) and the build.properties by replacing all absolute
> > paths
> > >>>
> > >>> (find /home/mistria).
> > >>>
> > >>> Sadly, I won't be able to work on this topic in the until 17th or
> > >>>
> > >> 18th
> > >>
> > >>
> > >>> of December, but if anyone wants to go ahead amd finalize the
> > >>>
> > >> automated
> > >>
> > >>
> > >>> build, do not hesitate !
> > >>>
> > >>> Regards,
> > >>>
> > >>> Mickael
> > >>>
> > >>> Florian Lautenbacher a ?crit :
> > >>>
> > >>>> Hi all,
> > >>>>
> > >>>> we didn't come that far for the moment for our automatic build
> > >>>>
> > >>>> directly from the CVS on the Eclipse build server, but the first
> > >>>>
> > >> steps
> > >>
> > >>
> > >>>> have already been promising. For those intererested in how we can
> > >>>>
> > >>>> build the JWT features and plugins from command line, get the
> > source
> > >>>>
> > >>>> from CVS, etc. we will try to summarize all steps on the 
> > >>>> following
> > >>>>
> > >>>> wiki page: http://wiki.eclipse.org/JWT_Automatic_Build.
> > >>>>
> > >>>> Best regards,
> > >>>>
> > >>>> Florian
> > >>>>
> > >>>> -----------------------------------------------------------------
> > >>>> -
> > --
> > >>>>
> > >> ----
> > >>
> > >>
> > >>>> _______________________________________________
> > >>>>
> > >>>> jwt-dev mailing list
> > >>>>
> > >>>> jwt-dev@xxxxxxxxxxx
> > >>>>
> > >>>> https://dev.eclipse.org/mailman/listinfo/jwt-dev
> > >>>>
> > >>> _______________________________________________
> > >>>
> > >>> jwt-dev mailing list
> > >>>
> > >>> jwt-dev@xxxxxxxxxxx
> > >>>
> > >>> https://dev.eclipse.org/mailman/listinfo/jwt-dev
> > >>>
> > >> _______________________________________________
> > >> jwt-dev mailing list
> > >> jwt-dev@xxxxxxxxxxx
> > >> https://dev.eclipse.org/mailman/listinfo/jwt-dev
> > >>
> > >
> > >
> > > _______________________________________________
> > > jwt-dev mailing list
> > > jwt-dev@xxxxxxxxxxx
> > > https://dev.eclipse.org/mailman/listinfo/jwt-dev
> > >
> > _______________________________________________
> > jwt-dev mailing list
> > jwt-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/jwt-dev
> 
> 
> _______________________________________________
> jwt-dev mailing list
> jwt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jwt-dev
> 



Back to the top