Rev 4 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4 | Rev 36 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | <property name="project_name" value="DUBwise"/> <!-- jar filename --> |
4 | <property name="project_name" value="DUBwise"/> <!-- jar filename --> |
5 | <property name="project_version" value="0.42"/> |
5 | <property name="project_version" value="0.42"/> |
Line 6... | Line 6... | ||
6 | 6 | ||
Line 7... | Line 7... | ||
7 | <property file="build.props"/> |
7 | <property file="build.props"/> |
8 | 8 | ||
9 | <property name="res_dir" location="${basedir}/res/${screensize}"/> |
9 | <property name="res_dir" location="tmp/res"/> |
10 | <property name="build_dir" location="${basedir}/build/"/> |
10 | <property name="build_dir" location="${basedir}/build/"/> |
11 | <property name="lib_dir" location="${basedir}/lib/"/> |
11 | <property name="lib_dir" location="${basedir}/lib/"/> |
Line 21... | Line 21... | ||
21 | 21 | ||
22 | <target name="build"> |
22 | <target name="build"> |
23 | <wtkpreprocess version="2" srcdir="${src_dir}" destdir="${preprocessed_src_dir}" symbols="VERSION=${project_version}" verbose="false"/> |
23 | <wtkpreprocess version="2" srcdir="${src_dir}" destdir="${preprocessed_src_dir}" symbols="VERSION=${project_version}" verbose="false"/> |
24 | <wtkbuild destdir="${build_dir}/classes" srcdir="${preprocessed_src_dir}" target="1.1" preverify="true"/> |
24 | <wtkbuild destdir="${build_dir}/classes" srcdir="${preprocessed_src_dir}" target="1.1" preverify="true"/> |
25 | <wtkjad |
25 | <wtkjad |
26 | jadfile="${build_dir}/bin/${project_name}_${screensize}.jad" |
26 | jadfile="${build_dir}/bin/${basename}.jad" |
27 | jarfile="${build_dir}/bin/${project_name}_${screensize}.jar" |
27 | jarfile="${build_dir}/bin/${basename}.jar" |
28 | update="false" |
28 | update="false" |
29 | manifest="${build_dir}/bin/MANIFEST.MF" |
29 | manifest="${build_dir}/bin/MANIFEST.MF" |
30 | name="${project_name}" |
30 | name="${project_name}" |
31 | vendor="LiGi" |
31 | vendor="LiGi" |
Line 36... | Line 36... | ||
36 | 36 | ||
37 | <!-- !!TODO!! Remove Icon JAD entry if no icon is there --> |
37 | <!-- !!TODO!! Remove Icon JAD entry if no icon is there --> |
Line 38... | Line 38... | ||
38 | </wtkjad> |
38 | </wtkjad> |
39 | 39 | ||
40 | <wtkpackage |
40 | <wtkpackage |
41 | jarfile="${build_dir}/bin/${project_name}_${screensize}.jar" |
41 | jarfile="${build_dir}/bin/${basename}.jar" |
42 | jadfile="${build_dir}/bin/${project_name}_${screensize}.jad" |
42 | jadfile="${build_dir}/bin/${basename}.jad" |
43 | basedir="${build_dir}/classes" |
43 | basedir="${build_dir}/classes" |
44 | manifest="${build_dir}/bin/MANIFEST.MF" |
44 | manifest="${build_dir}/bin/MANIFEST.MF" |
45 | obfuscate="true" |
45 | obfuscate="true" |