[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Building and Exporting externally

Take a look at:
http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/pde-build-home/articles/Automated Builds/article.html?rev=HEAD&content-type=text/html


PaScaL

shmoe wrote:
Does anyone have experience with building/deploying a feature outside of
the export wizard?

I've tried checking the "Save this export operation as an Ant build
script" option but the ant script that is saved isn't very useful.

<project name="build" default="feature_export">
	<target name="feature_export">
		<pde.exportFeatures features="my.rcp.app"
destination="/somedir/build/eclipse" exportType="directory"
exportSource="false"/>
	</target>
</project>

The 'pde.exportFeatures' task is specific to eclipse and I'm not sure how
to get it to run outside of eclipse.

I've also tried right clicking on the feature.xml file and using the PDE
Tools menu to create an ant file. This build.xml file is much more
substantial. However, so much of the exporting of a feature is done
programmaticly that after executing this ant script I don't seem to have a
full deployment.

My goal is to create an ant script that can be run for nightly builds and
deployment and then package it as an install package.

Does anyone have any ideas? Is there a way to utilize Eclipse's custom
tasks outside of eclipse? How does the eclipse team do their nightly
builds with so many plugins?

shmoe