xidyn/build.xml

37 lines
1.2 KiB
XML
Raw Normal View History

2013-06-26 02:21:03 +02:00
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2016-09-21 13:53:45 +02:00
<project default="dist" name="Xidyn">
<!-- ***** Import ***** -->
<import file="build-libjar.xml" />
2013-06-26 02:21:03 +02:00
2016-09-21 13:53:45 +02:00
<!-- ***** Define demo properties ***** -->
2013-06-26 02:21:03 +02:00
<property name="demo.src" value="${basedir}/demo" />
<property name="demo.classes" value="${build.dir}/demo-classes" />
<path id="demo.classpath.compile">
<path refid="build.classpath"/>
<pathelement path="${build.classes}"/>
</path>
<path id="demo.classpath.run">
<path refid="demo.classpath.compile"/>
<pathelement path="${demo.classes}"/>
2016-09-21 13:53:45 +02:00
<pathelement path="${build.classes}"/>
<pathelement path="${build.classpath}"/>
2013-06-26 02:21:03 +02:00
</path>
<!-- ***** Compile demo ***** -->
<target name="compile-demo" description="Compile demo">
<mkdir dir="${demo.classes}"/>
<javac srcdir="${demo.src}" destdir="${demo.classes}" debug="${debug}" deprecation="on" includeantruntime="false">
<classpath refid="demo.classpath.compile"/>
2007-01-18 13:11:47 +01:00
</javac>
</target>
2016-09-21 13:53:45 +02:00
<!-- ***** Run demo ***** -->
<target name="demo" description="Run demo" depends="clear,compile,compile-demo">
2013-06-26 02:21:03 +02:00
<java classname="XidynDemo" maxmemory="20m" fork="true">
<classpath refid="demo.classpath.run" />
2007-01-18 13:11:47 +01:00
</java>
2016-09-21 13:53:45 +02:00
<delete dir="${build.dir}" />
2007-01-12 06:35:01 +01:00
</target>
2013-06-26 02:21:03 +02:00
</project>