[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pde-build-dev] Buiding Update sites via headless builds.


Andrew,

I found everything in the helper.xml file, that's what started me along this path. So would it be acceptable to just migrate the code from ve.releng into PDE? I'll submit a patch, but it would seem to be that if this was acceptable, a PDE committer would have done it long ago. I can't figure out if the fact that it hasn't been moved is an oversight or intentional, because the VE code doesn't work correctly in the eyes of the PDE folks.

I'll file a bug and submit a patch. In the next couple of days. I have a version that I made a handful of custom modifications to make my build work (essentially pass in several strings to use as descriptions instead of hard coding them).

Thanks,
  Kirby

From: Andrew Niefer <aniefer@xxxxxxxxxx>
Reply-To: pde-build-dev@xxxxxxxxxxx
To: "Eclipse PDE Build developers list." <pde-build-dev@xxxxxxxxxxx>, computerslicer23@xxxxxxxxxxx
Subject: Re: [pde-build-dev] Buiding Update sites via headless builds.
Date: Thu, 22 Feb 2007 11:55:12 -0500


I'm not aware of any particular reason this can't be done.
I believe that org.eclipse.releng.generators.UpdateBuilder is the class
used to build the eclipse update sites, it would be referenced from
somewhere in org.eclipse.releng.eclipsebuilder.

If we were going to add site.xml generation to pde.build, this
UpdateBuilder is probably the best source for the code.

Your build process seems quite similar to what is used to build eclipse
itself.  I would suggest getting org.eclipse.releng.eclipsebuilder (and
perhaps also org.eclipse.releng.basebuilder)
Look at the buildAll.xml which contains a buildUpdateSite target.  It
calls the buildUpdateJars target in eclipse/help.xml.

-Andrew



"Kirby Bohling" <computerslicer23@xxxxxxxxxxx>
Sent by: pde-build-dev-bounces@xxxxxxxxxxx
02/07/2007 09:23 PM
Please respond to
"Eclipse PDE Build developers list." <pde-build-dev@xxxxxxxxxxx>


To pde-build-dev@xxxxxxxxxxx cc pde-build-dev-bounces@xxxxxxxxxxx Subject Re: [pde-build-dev] Buiding Update sites via headless builds.






Is there any particular reason why this can't or hasn't been done? I'd happily help contribute patches or code to get this functionality implemented. Is there something wrong with the way that the VE code generates the update site? I'm happy to use it, but it's just in a really

obscure place to be useful.

Maybe you can just give me advice about what I could do if I describe the
over all view:

1. Build a master set of features and plug-ins that actually builds from
source.

2. Take the master set and build various sub-sets of features and package
them (using the Eclipse packager).  This is merely a function of
packaging,
not of actual source builds.

3. Take the master set package them into products (using the Eclipse
product
build scripts).  This is merely a function of package, not of actual
source
builds.

I have a site.xml but it has a hardcoded value of the jar's and feature
version inside of it?  Is there any easy path from any step in there given

the pieces and parts I have?

Thanks,
    Kirby

>From: Pascal Rapicault <Pascal_Rapicault@xxxxxxxxxx>
>Reply-To: "Eclipse PDE Build developers list."
<pde-build-dev@xxxxxxxxxxx>
>To: "Eclipse PDE Build developers list." <pde-build-dev@xxxxxxxxxxx>
>CC: pde-build-dev@xxxxxxxxxxx, pde-build-dev-bounces@xxxxxxxxxxx
>Subject: Re: [pde-build-dev] Buiding Update sites via headless builds.
>Date: Wed, 7 Feb 2007 20:38:02 -0500
>
>Hi,
>
>There is no support in PDE Build to generate the site.xml. However the
>packager should support the creation of jars ready for an update site by
>setting the property: outputUpdateJars=true
>HTH
>PaScaL
>
>
>
>
>"Kirby Bohling" <computerslicer23@xxxxxxxxxxx>
>Sent by: pde-build-dev-bounces@xxxxxxxxxxx
>02/07/2007 04:54 PM
>Please respond to
>"Eclipse PDE Build developers list." <pde-build-dev@xxxxxxxxxxx>
>
>
>To
>pde-build-dev@xxxxxxxxxxx
>cc
>
>Subject
>[pde-build-dev] Buiding Update sites via headless builds.
>
>
>
>
>
>
>All,
>
>    Sorry about spamming the dev list if this belongs on a news group,
but
>after looking around I didn't see a news group for PDE.  Hopefully this
is
>
>the correct list, and not much of a bother.
>
>    At my company, I do PDE Headless builds and packaging.  The last step
>I'd
>like to take is to publish update sites.  I've found where Eclipse does
>this
>in the nightly build process, but it appears to me that the class to do
it
>
>is in a very odd spot.  It appears that it uses
>"org.eclipse.releng.generators.UpdateBuilder".  Which the only reference
I
>
>can find for that is inside of the org.eclipse.ve.releng.builder.
>
>    Somehow that seemed more appropriate to me to be in a "core" Eclipse
>tool
>rather then off in the Visual Editor infrastructure.  It looks like I can
>just pull the two classes in isolation and use them, but I'd much rather
>use
>the "official" ones.  Alternatively, I've missed something simple, and
>will
>be thrilled to learn how to do this with the stock tools.
>
>Is the UpdateBuilder the best code to use for building update sites
>headlessly?  Is there another copy of that class/code around that I can
>reference from inside of an Ant script?
>
>      Kirby
>
>_________________________________________________________________
>Check out all that glitters with the MSN Entertainment Guide to the
>Academy
>Awards®   http://movies.msn.com/movies/oscars2007/?icid=ncoscartagline2
>
>_______________________________________________
>pde-build-dev mailing list
>pde-build-dev@xxxxxxxxxxx
>https://dev.eclipse.org/mailman/listinfo/pde-build-dev
>


>_______________________________________________ >pde-build-dev mailing list >pde-build-dev@xxxxxxxxxxx >https://dev.eclipse.org/mailman/listinfo/pde-build-dev

_________________________________________________________________
Get in the mood for Valentine's Day. View photos, recipes and more on your

Live.com page.
http://www.live.com/?addTemplate=ValentinesDay&ocid=T001MSN30A0701

_______________________________________________
pde-build-dev mailing list
pde-build-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-build-dev


_________________________________________________________________
Mortgage rates as low as 4.625% - Refinance $150,000 loan for $579 a month. Intro*Terms https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h27f6&disc=y&vers=743&s=4056&p=5117