|
Last change
on this file since 36415 was 36415, checked in by stoecker, 8 months ago |
|
some cleanup
|
-
Property svn:mime-type
set to
text/xml
|
|
File size:
1.6 KB
|
| Rev | Line | |
|---|
| [30894] | 1 | <project name="jicons" default="dist" basedir=".">
|
|---|
| 2 | <property name="src" location="src"/>
|
|---|
| [32368] | 3 | <property name="srcmain" location="../src"/>
|
|---|
| [30894] | 4 | <property name="build" location="build"/>
|
|---|
| 5 | <property name="jarfile" location="./jicons.jar"/>
|
|---|
| [32368] | 6 | <property name="batik.dir" value="../libs/"/>
|
|---|
| [30894] | 7 | <path id="classpath">
|
|---|
| 8 | <fileset dir="${batik.dir}" includes="**/batik*.jar"/>
|
|---|
| 9 | </path>
|
|---|
| [32368] | 10 |
|
|---|
| [30894] | 11 | <target name="init">
|
|---|
| 12 | <mkdir dir="${build}"/>
|
|---|
| 13 | </target>
|
|---|
| 14 |
|
|---|
| 15 | <target name="compile" depends="init" description="compile the source " >
|
|---|
| [32368] | 16 | <javac includeantruntime="false" sourcepath="${srcmain}" srcdir="${src}" destdir="${build}" classpathref="classpath" encoding="UTF-8" />
|
|---|
| [30894] | 17 | </target>
|
|---|
| 18 |
|
|---|
| 19 | <target name="dist" depends="compile" description="generate the distribution" >
|
|---|
| [31768] | 20 | <jar jarfile="${jarfile}" basedir="${build}" manifestencoding="UTF-8">
|
|---|
| [30894] | 21 | <manifest>
|
|---|
| 22 | <attribute name="Main-Class" value="jicons.Jicons"/>
|
|---|
| 23 | <attribute name="Class-Path" value="$jarfile"/>
|
|---|
| 24 | </manifest>
|
|---|
| [32368] | 25 | <zipgroupfileset dir="${batik.dir}" includes="**/batik-svggen-1.8.jar" />
|
|---|
| 26 | <zipgroupfileset dir="${batik.dir}" includes="**/batik-dom-1.8.jar" />
|
|---|
| 27 | <zipgroupfileset dir="${batik.dir}" includes="**/batik-util-1.8.jar" />
|
|---|
| 28 | <zipgroupfileset dir="${batik.dir}" includes="**/batik-awt-util-1.8.jar" />
|
|---|
| 29 | <zipgroupfileset dir="${batik.dir}" includes="**/batik-ext-1.8.jar" />
|
|---|
| 30 | <zipgroupfileset dir="${batik.dir}" includes="**/batik-xml-1.8.jar" />
|
|---|
| [30894] | 31 | </jar>
|
|---|
| 32 | </target>
|
|---|
| 33 |
|
|---|
| 34 | <target name="clean" description="clean up" >
|
|---|
| 35 | <delete dir="${build}"/>
|
|---|
| 36 | <delete file="${jarfile}"/>
|
|---|
| 37 | </target>
|
|---|
| 38 | </project>
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.