Re: [Pydev-code] releng plug-in
Brought to you by:
fabioz
|
From: Jeff P. <jp...@re...> - 2005-02-09 21:27:58
|
On Wed, 2005-02-09 at 08:16, Fabio Zadrozny wrote:
> Hi Jeff,
>
> I'd like to add it to the eclipse repository, so, if you pass it to me,
> I will add it.
>
> I never used a releng plug-in before, so, is there anything special do
> you think I should know about it?
>
> Regards,
The releng plug-in is pretty simple. It consists of a map file, which
specifies the cvs checkout information, and a couple xml files defining
ant targets for the build. The overall idea is an automated build
process which uses a head-less eclipse to perform the build.
>From the releng plug-in directory, you could invoke the process like
this for example (assuming eclipse is installed in /usr/share/eclipse):
export SDK='/usr/share/eclipse'
java -Duser.home=. \
-cp $SDK/startup.jar \
org.eclipse.core.launcher.Main \
-application org.eclipse.ant.core.antRunner \
-buildfile build.xml \
-Dpde.build.scripts=$SDK/plugins/org.eclipse.pde.build_3.0.1/scripts \
-DbaseLocation=$SDK \
-DjavacFailOnError=true
(the SDK variable should point to the eclipse base install on your
particular system and the pde.build.scripts should have the proper path
to the version of eclipse you are using)
The ant targets and variable definitions can be changed to suit your
needs. The customTargets.xml file attached is set for x86 linux/gtk.
This type of system can be useful for automated nightly/weekly builds
but it is limited to machines that have the target version of eclipse
installed. If you think it might be useful to you thats great, though I
won't be insulted if you decide you don't need it ;)
here's a link with some more info on automated PDE build.
http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/pde-build-home/articles/Automated%20Builds/article.html?rev=HEAD&content-type=text/html
--
Jeff Pound
Red Hat Inc.
|