Subversion Repositories FlightCtrl

Rev

Rev 390 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 390 Rev 483
Line 1... Line 1...
1
<project name="DUBwise" basedir=".">
1
<project name="DUBwise" basedir=".">
2
        <property name="wtk.home" value="/home/ligi/tools/WTK2.2/"/>
2
        <property name="wtk.home" value="/home/ligi/tools/WTK2.2/"/>
Line 3... Line 3...
3
 
3
 
-
 
4
        <property name="project_name" value="DUBwise"/>                            <!-- jar filename -->
Line 4... Line 5...
4
        <property name="project_name" value="DUBwise"/>                            <!-- jar filename -->
5
        <property name="project_version" value="0.42"/>          
Line 5... Line 6...
5
 
6
 
6
        <property file="build.props"/>
7
        <property file="build.props"/>
7
 
8
 
8
        <property name="res_dir" location="${basedir}/res/${screensize}"/>
9
        <property name="res_dir" location="${basedir}/res/${screensize}"/>
-
 
10
        <property name="build_dir" location="${basedir}/build/"/>
-
 
11
        <property name="lib_dir" location="${basedir}/lib/"/>
Line 9... Line 12...
9
        <property name="build_dir" location="${basedir}/build/"/>
12
        <property name="src_dir" location="${basedir}/src/"/>
Line 10... Line 13...
10
        <property name="lib_dir" location="${basedir}/lib/"/>
13
        <property name="preprocessed_src_dir" location="${basedir}/tmp/pp_src/"/>
Line 11... Line 14...
11
        <property name="src_dir" location="${basedir}/src/"/>
14
 
Line 12... Line 15...
12
       
15
       
-
 
16
        <taskdef resource="antenna.properties"  classpath="${lib_dir}/antenna.jar"/>
13
        <taskdef resource="antenna.properties"  classpath="${lib_dir}/antenna.jar"/>
17
 
14
 
18
        <property name="wtk.midp.version" value="2.0"/>
15
        <property name="wtk.midp.version" value="2.0"/>
19
 
16
 
20
        <property name="wtk.midpapi" value="${lib_dir}/classes.zip"/>  
17
        <property name="wtk.midpapi" value="${lib_dir}/classes.zip"/>  
21
       
18
       
22
        <target name="build">
19
        <target name="build">
23
                <wtkpreprocess version="2" srcdir="${src_dir}" destdir="${preprocessed_src_dir}" symbols="VERSION=${project_version}" verbose="false"/>
20
                <wtkbuild destdir="${build_dir}/classes" srcdir="${src_dir}" target="1.1" preverify="true"/>
24
                <wtkbuild destdir="${build_dir}/classes" srcdir="${preprocessed_src_dir}" target="1.1" preverify="true"/>
21
                <wtkjad
25
                <wtkjad
22
                       jadfile="${build_dir}/bin/${project_name}_${screensize}.jad"
26
                       jadfile="${build_dir}/bin/${project_name}_${screensize}.jad"
23
                       jarfile="${build_dir}/bin/${project_name}_${screensize}.jar"
27
                       jarfile="${build_dir}/bin/${project_name}_${screensize}.jar"
24
                       update="false"
28
                       update="false"
Line 25... Line 29...
25
                       manifest="${build_dir}/bin/MANIFEST.MF"
29
                       manifest="${build_dir}/bin/MANIFEST.MF"