root/juggler/branches/2.2/modules/vrjuggler/vrjconfig/build.xml.in

Revision 17496, 2.0 kB (checked in by aronb, 4 years ago)

Adding wizards build.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project name="vrjconfig" 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.classpath">
14       <pathelement path="@JCCL_JARS@" />
15    </path>
16
17    <path id="commoneditors.classpath">
18       <pathelement path="${topdir}/commoneditors/CommonEditors.jar" />
19    </path>
20    
21    <property name="tweek.classpath" refid="tweek.classpath" />
22    <property name="jccl.classpath" refid="jccl.classpath" />
23    <property name="commoneditors.classpath" refid="commoneditors.classpath" />
24
25    <!-- Compile all java sources -->
26    <target name="compile">
27       <javac destdir="."
28              deprecation="on"
29              debug="${debug}"
30              optimize="${optimize}">
31          <src path="${srcdir}" />
32          <include name="org/vrjuggler/vrjconfig/**"/>
33          <classpath>
34             <pathelement path="${tweek.classpath}" />
35             <pathelement path="${jccl.classpath}" />
36             <pathelement path="${commoneditors.classpath}" />
37          </classpath>
38       </javac>
39    </target>
40
41    <!-- Create the distribution jar -->
42    <target name="dist" depends="compile">
43        <jar destfile="VRJConfig.jar" basedir=".">
44          <include name="org/vrjuggler/vrjconfig/**" />
45          <fileset dir="${srcdir}">
46             <include name="org/vrjuggler/vrjconfig/images/*" />
47             <include name="org/vrjuggler/vrjconfig/ui/images/*" />
48             <include name="LICENSE-java-laf.txt" />
49          </fileset>
50       </jar>
51    </target>
52
53    <!-- Clean up -->
54    <target name="clean">
55       <delete failonerror="false">
56          <fileset dir="org" includes="**/*.class" />
57       </delete>
58       <delete file="VRJConfig.jar" failonerror="false" />
59    </target>
60 </project>
Note: See TracBrowser for help on using the browser.