| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
|---|
| 2 |
<project name="jccl_config" default="dist" basedir="."> |
|---|
| 3 |
<property name="srcdir" location="@srcdir@" /> |
|---|
| 4 |
<property name="topdir" location="@topdir@" /> |
|---|
| 5 |
<property name="debug" value="on" /> |
|---|
| 6 |
<property name="optimize" value="off" /> |
|---|
| 7 |
|
|---|
| 8 |
<path id="tweek.classpath"> |
|---|
| 9 |
<pathelement path="@TWEEK_JARS@" /> |
|---|
| 10 |
<pathelement path="@TWEEK_EXT_JARS@" /> |
|---|
| 11 |
</path> |
|---|
| 12 |
|
|---|
| 13 |
<path id="jccl_config.classpath"> |
|---|
| 14 |
<pathelement path="${topdir}/config/jccl_config.jar" /> |
|---|
| 15 |
</path> |
|---|
| 16 |
|
|---|
| 17 |
<property name="tweek.classpath" refid="tweek.classpath" /> |
|---|
| 18 |
<property name="jccl_config.classpath" refid="jccl_config.classpath" /> |
|---|
| 19 |
<property name="table_layout_dir" value="@JUGGLERROOT_ABS@/external/TableLayout" /> |
|---|
| 20 |
|
|---|
| 21 |
<!-- Compile all java sources --> |
|---|
| 22 |
<target name="compile"> |
|---|
| 23 |
<javac destdir="." |
|---|
| 24 |
deprecation="on" |
|---|
| 25 |
debug="${debug}" |
|---|
| 26 |
optimize="${optimize}"> |
|---|
| 27 |
<src path="${srcdir}" /> |
|---|
| 28 |
<include name="org/vrjuggler/jccl/editors/**"/> |
|---|
| 29 |
<classpath> |
|---|
| 30 |
<pathelement path="${tweek.classpath}" /> |
|---|
| 31 |
<pathelement path="${jccl_config.classpath}" /> |
|---|
| 32 |
<pathelement path="${table_layout_dir}/TableLayout.jar" /> |
|---|
| 33 |
</classpath> |
|---|
| 34 |
</javac> |
|---|
| 35 |
</target> |
|---|
| 36 |
|
|---|
| 37 |
<!-- Create the distribution jar --> |
|---|
| 38 |
<target name="dist" depends="compile"> |
|---|
| 39 |
<jar destfile="jccl_editors.jar" basedir="."> |
|---|
| 40 |
<include name="org/vrjuggler/jccl/editors/**"/> |
|---|
| 41 |
<fileset dir="${srcdir}" |
|---|
| 42 |
includes="org/vrjuggler/jccl/editors/images/*" /> |
|---|
| 43 |
</jar> |
|---|
| 44 |
</target> |
|---|
| 45 |
|
|---|
| 46 |
<!-- Clean up --> |
|---|
| 47 |
<target name="clean"> |
|---|
| 48 |
<delete failonerror="false"> |
|---|
| 49 |
<fileset dir="org" includes="**/*.class" /> |
|---|
| 50 |
</delete> |
|---|
| 51 |
<delete file="jccl_editors.jar" failonerror="false" /> |
|---|
| 52 |
</target> |
|---|
| 53 |
</project> |
|---|