<java classname="org.eclipse.core.launcher.Main" fork="true" failonerror="true" maxmemory="1024m" logError="true" resultproperty="eclipse.run.result">
<arg value="-application"/>
<arg value="com.ibm.etools.j2ee.ant.RunAnt"/>
<arg value="-buildfile" />
<arg value="${build.dir}\masterBuild.xml" />
<arg value="-data"/>
<arg value="${workspace}"/>
<classpath>
<pathelement location="${wid.home}/eclipse/startup.jar"/>
</classpath>
<jvmarg value="-Dlog.dir=${automation.home}/dailybuilds/output/logs"/>
</java>
I use this to run the Webspehre integration developper build process from cruise control in a cross platform way.
09/01/09
Starting an Eclipse headless build from ant
The following snippet will allow you to start an headless eclipse instance and make it start an ant script:
Inscription à :
Publier les commentaires (Atom)

0 commentaires:
Enregistrer un commentaire