/[pkgs]/devel/OmegaT/OmegaT-lib-mnemonics-build.xml
ViewVC logotype

Contents of /devel/OmegaT/OmegaT-lib-mnemonics-build.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Mon Oct 6 15:26:59 2008 UTC (13 months, 2 weeks ago) by olea
Branch: MAIN
CVS Tags: OmegaT-1_7_3_03-5_fc10, F-12-split, OmegaT-1_7_3_03-6_fc11, F-10-split, OmegaT-1_7_3_04-3_fc11, F-11-split, OmegaT-1_7_3_04-4_fc12, OmegaT-1_7_3_04-2_fc11, OmegaT-1_7_3_04-5_fc12, HEAD
File MIME type: text/xml
uploading package
1 <project name="lib-mnemonics" default="jar" basedir=".">
2 <description>
3 OmegaT lib-mnemonics library
4 </description>
5 <!-- set global properties for this build -->
6 <property name="src" location="src"/>
7 <property name="build" location="build"/>
8 <property name="jar" location="dist"/>
9 <property name="dist" location="dist"/>
10
11 <target name="init">
12 <!-- Create the time stamp -->
13 <tstamp/>
14 <!-- Create the build directory structure used by compile -->
15 <mkdir dir="${build}"/>
16 </target>
17
18 <target name="compile" depends="init"
19 description="compile the source " >
20 <!-- Compile the java code from ${src} into ${build} -->
21 <javac srcdir="${src}" destdir="${build}"/>
22 </target>
23
24 <target name="dist" depends="jar"/>
25
26 <target name="jar" depends="compile"
27 description="generate the distribution" >
28 <!-- Create the distribution directory -->
29 <mkdir dir="${dist}"/>
30 <copy todir="${build}" >
31 <fileset dir="${src}">
32 <include name="**/*.properties"/>
33 </fileset>
34 </copy>
35 <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
36 <jar jarfile="${dist}/lib-mnemonics.jar"
37 basedir="${build}"
38 />
39 </target>
40
41 <target name="clean"
42 description="clean up" >
43 <!-- Delete the ${build} and ${dist} directory trees -->
44 <delete dir="${build}"/>
45 <delete dir="${dist}"/>
46 </target>
47 </project>

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2