Unnamed paste
pasted by Unknown [options]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | <project default="build">
<property name="eclipse.home" location="C:/Program Files (x86)/eclipse-3.7"/>
<property name="workspace" location="${basedir}/.."/>
<property name="builder" location="${basedir}"/>
<property name="buildDirectory" location="${builder}/bin" />
<path id="launcher">
<fileset dir="${eclipse.home}/plugins" includes="org.eclipse.equinox.launcher_*.jar"/>
</path>
<path id="buildFile">
<fileset dir="${eclipse.home}/plugins" includes="org.eclipse.pde.build_*/scripts/build.xml"/>
</path>
<target name="build">
<java jar="${toString:launcher}" fork="true" logError="true" failonerror="true" dir="${builder}">
<jvmarg line="-Dbuilder=${builder} -DbuildDirectory=${buildDirectory} -DbaseLocation=${workspace} -Dworkspace=${workspace}"/>
<arg line='-application org.eclipse.ant.core.antRunner -buildfile "${toString:buildFile}"'/>
</java>
</target>
</project>
|