Rename default Eclipse build file to build-eclipse.xml
This commit is contained in:
parent
a7ccec04ba
commit
5692ef87d9
93
build-eclipse.xml
Normal file
93
build-eclipse.xml
Normal file
@ -0,0 +1,93 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- WARNING: Eclipse auto-generated file.
|
||||
Any modifications will be overwritten.
|
||||
To include a user specific buildfile here, simply create one in the same
|
||||
directory with the processing instruction <?eclipse.ant.import?>
|
||||
as the first entry and export the buildfile again. --><project basedir="." default="build" name="Siba">
|
||||
<property environment="env"/>
|
||||
<property name="ECLIPSE_HOME" value="../../Bin/eclipse-mars_sav/"/>
|
||||
<property name="debuglevel" value="source,lines,vars"/>
|
||||
<property name="target" value="1.8"/>
|
||||
<property name="source" value="1.8"/>
|
||||
<path id="Siba.classpath">
|
||||
<pathelement location="bin"/>
|
||||
<pathelement location="lib/commons-compress-1.10.jar"/>
|
||||
<pathelement location="lib/jgoodies-forms-1.8.0.jar"/>
|
||||
<pathelement location="lib/jgoodies-common-1.8.1.jar"/>
|
||||
<pathelement location="lib/commons-compress-1.10-sources.jar"/>
|
||||
<pathelement location="lib/commons-lang3-3.4.jar"/>
|
||||
<pathelement location="lib/commons-lang3-3.4-javadoc.jar"/>
|
||||
<pathelement location="lib/commons-io-2.5.jar"/>
|
||||
<pathelement location="lib/UnitTesting/jcommander-1.48.jar"/>
|
||||
<pathelement location="lib/UnitTesting/testng-6.9.10.jar"/>
|
||||
<pathelement location="lib/Logs/log4j-1.2.17.jar"/>
|
||||
<pathelement location="lib/Logs/slf4j-api-1.7.21.jar"/>
|
||||
<pathelement location="lib/Logs/slf4j-log4j12-1.7.21.jar"/>
|
||||
<pathelement location="lib/commons-io-2.5-src.jar"/>
|
||||
<pathelement location="lib/commons-lang3-3.4-src.jar"/>
|
||||
<pathelement location="lib/jgoodies-forms-1.8.0-sources.jar"/>
|
||||
</path>
|
||||
<target name="init">
|
||||
<mkdir dir="bin"/>
|
||||
<copy includeemptydirs="false" todir="bin">
|
||||
<fileset dir="src">
|
||||
<exclude name="**/*.launch"/>
|
||||
<exclude name="**/*.java"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy includeemptydirs="false" todir="bin">
|
||||
<fileset dir="test">
|
||||
<exclude name="**/*.launch"/>
|
||||
<exclude name="**/*.java"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
<target name="clean">
|
||||
<delete dir="bin"/>
|
||||
</target>
|
||||
<target depends="clean" name="cleanall"/>
|
||||
<target depends="build-subprojects,build-project" name="build"/>
|
||||
<target name="build-subprojects"/>
|
||||
<target depends="init" name="build-project">
|
||||
<echo message="${ant.project.name}: ${ant.file}"/>
|
||||
<javac debug="true" debuglevel="${debuglevel}" destdir="bin" includeantruntime="false" source="${source}" target="${target}">
|
||||
<src path="src"/>
|
||||
<src path="test"/>
|
||||
<classpath refid="Siba.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
<target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
|
||||
<target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
|
||||
<copy todir="${ant.library.dir}">
|
||||
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
|
||||
</copy>
|
||||
<unzip dest="${ant.library.dir}">
|
||||
<patternset includes="jdtCompilerAdapter.jar"/>
|
||||
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
|
||||
</unzip>
|
||||
</target>
|
||||
<target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
|
||||
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
|
||||
<antcall target="build"/>
|
||||
</target>
|
||||
<target name="SibaLauncher">
|
||||
<java classname="Siba.SibaLauncher" failonerror="true" fork="yes">
|
||||
<classpath refid="Siba.classpath"/>
|
||||
</java>
|
||||
</target>
|
||||
<target name="SibaCLI">
|
||||
<java classname="org.dclermonte.siba.cli.SibaCLI" failonerror="true" fork="yes">
|
||||
<classpath refid="Siba.classpath"/>
|
||||
</java>
|
||||
</target>
|
||||
<target name="SibaGUI">
|
||||
<java classname="org.dclermonte.siba.gui.SibaGUI" failonerror="true" fork="yes">
|
||||
<classpath refid="Siba.classpath"/>
|
||||
</java>
|
||||
</target>
|
||||
<target name="Siba">
|
||||
<java classname="org.dclermonte.siba.Siba" failonerror="true" fork="yes">
|
||||
<classpath refid="Siba.classpath"/>
|
||||
</java>
|
||||
</target>
|
||||
</project>
|
Loading…
Reference in New Issue
Block a user