source: trunk/org.etsi.common/build.xml @ 26

Last change on this file since 26 was 7, checked in by phdmakk, 14 years ago
  • Property svn:mime-type set to text/plain
File size: 1.3 KB
Line 
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<project basedir="." default="compile" name="org.etsi.common">
3    <property name="src" value="src"/>
4    <property name="bin" value="bin"/>
5    <property name="lib" value="lib"/>
6    <property name="dist" value="dist"/>
7    <property name="antlib" value="antlib"/>
8    <property name="nsis" value="nsis"/>
9        <property name="cp" value="${lib}/xstream-1.3.1.jar:${lib}/commons-cli-1.2.jar:"/>
10
11    <target name="init">
12        <mkdir dir="${bin}"/>
13    </target>
14
15    <target name="clean" description="Removes previous build">
16      <delete includeEmptyDirs="true">
17        <fileset dir="${bin}"/>
18      </delete>
19    </target>
20
21        <target name="compile" depends="init">
22        <javac srcdir="${src}" destdir="${bin}" classpath="${cp}"/>
23    </target>
24       
25    <target name="make-dist" depends="compile" description="Creates an ETSI MiscTools distribution directory">
26        <echo>Building ETSI MiscTools Distribution in ${dist}...</echo>
27        <delete includeEmptyDirs="true">
28            <fileset dir="${dist}"/>
29        </delete>
30        <jar destfile="${lib}/org.etsi.common.jar" basedir="${bin}/"/>
31        <mkdir dir="${dist}"/>
32        <mkdir dir="${dist}/lib"/>
33        <copy todir="${dist}/lib">
34                <fileset dir="${lib}"/>
35        </copy>
36    </target>
37
38
39</project>
Note: See TracBrowser for help on using the repository browser.