Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » From PDE/Build to publish
From PDE/Build to publish [message #606493] Sat, 21 August 2010 20:45 Go to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
Hi,

I just started to document the Object Teams build http://wiki.eclipse.org/OTBuilding
and it shows that we have a growing list of tasks (currently 10)
to be performed after PDE/Build has done its job.
I wonder whether this is actually the state-of-the-union or
whether PDE/Build intends to cover some of these steps, too.

Specifically, I'm working on pack200 and found no easier way
than invoking this from a shell script after the build. But apparently
I'm still doing something wrong: although I have a beautiful set of
pack.gz files, updating still seem to use the big .jars.
Do I need to tell the publisher to use the .pack.gz files? How?


Aside from the pack200 issue, our build (which has been migrated
all the way from 3.0 IIRC) works fine, I'm just wondering whether
doing more and more things outside PDE/Build is actually the trend.

And of course I wouldn't mind, if over time the number of required
workarounds would decrease, rather than keep going up, see these bugs:
* Subversive: https://bugs.eclipse.org/bugs/show_bug.cgi?id=301045 - Smarter handling of "trunk" in Subversive Fetch Factory
* PDE/UI + P2: https://bugs.eclipse.org/bugs/show_bug.cgi?id=304156 - Support version range in definition of patch feature
* P2: https://bugs.eclipse.org/bugs/show_bug.cgi?id=251888#c11 - [generator] [publisher] Meta data generator cannot handle existing meta data
- conclusion here is that cumulative metadata and categories don't play well together
And finally there's: https://bugs.eclipse.org/bugs/show_bug.cgi?id=310132 - [publisher] Publisher app + ant task should support statsURI option and generating required metadata for tracking download stats

Each of these is responsible for a little ugly workaround in the build.

best,
Stephan
Re: From PDE/Build to publish [message #606494 is a reply to message #606493] Sat, 21 August 2010 23:08 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
In answering one part of my post:

Stephan Herrmann wrote on Sat, 21 August 2010 22:45
> Do I need to tell the publisher to use the .pack.gz files? How?


I just discovered the undocumented option -reusePack200Files, found
out by experimentation that it only works when also -publishArtifacts
is specified (which normally I don't need, what exactly does this option
do?) - so I declare the pack200 issue resolved for p2 (but still not for
PDE/Build).

While I was at it I made a shy start at documenting these publisher
options, see http://wiki.eclipse.org/Equinox/p2/Publisher#Parameters,
which could definitely use some more caring.

best,
Stephan
Previous Topic:From PDE/Build to publish
Next Topic:MenuContribution to custom Editor toolbar
Goto Forum:
  


Current Time: Wed Apr 24 14:24:38 GMT 2024

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

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

Back to the top