root / trunk / libraries / libInternationalization / build.xml @ 6562
History | View | Annotate | Download (2.1 KB)
1 | 4460 | cesar | <project name="i18n (Internationalization)" default="dist" basedir="."> |
---|---|---|---|
2 | <description>
|
||
3 | 4869 | cesar | Construye el jar de la biblioteca gvsig-i18n (libInternationalization) |
4 | 4460 | cesar | </description>
|
5 | <!-- set global properties for this build -->
|
||
6 | <property name="src" location="src"/> |
||
7 | <property name="build" location="bin"/> |
||
8 | 4869 | cesar | <property name="andamiLibs" location="../_fwAndami/lib"/> |
9 | 4460 | cesar | <property name="dist" location="dist"/> |
10 | <property name="plugin" value="org.gvsig.i18n"/> |
||
11 | 4869 | cesar | <property name="jarName" value="gvsig-i18n"/> |
12 | <property name="targetDir" location="../_fwAndami/lib"/> |
||
13 | <property name="build-doc" value="doc"/> |
||
14 | <property name="compile-classpath" value="${andamiLibs}/log4j-1.2.8.jar"/> |
||
15 | 4460 | cesar | |
16 | <target name="init"> |
||
17 | <!-- Create the time stamp -->
|
||
18 | <tstamp /> |
||
19 | </target>
|
||
20 | |||
21 | <target name="build-doc" depends="" description="Genera la documentación"> |
||
22 | <javadoc
|
||
23 | packagenames="org.gvsig.i18n.*" |
||
24 | sourcepath="src" |
||
25 | defaultexcludes="yes" |
||
26 | destdir="${build-doc}/org.gvsig.i18n" |
||
27 | windowtitle="libInternationalization API"> |
||
28 | </javadoc>
|
||
29 | </target>
|
||
30 | |||
31 | 4869 | cesar | <target name="dist" |
32 | description="generate the distribution" depends="create-jar,move-to-andami"> |
||
33 | 4460 | cesar | </target>
|
34 | |||
35 | 4869 | cesar | <target name="batch-build" |
36 | description="compile the sources, create the jar file" |
||
37 | depends="compile,create-jar,move-to-andami"> |
||
38 | 4460 | cesar | </target>
|
39 | |||
40 | 4869 | cesar | <target name="compile" description="compile the source"> |
41 | <!-- Compile the Java code from ${src} to ${build} -->
|
||
42 | <mkdir dir="${build}" /> |
||
43 | <javac srcdir="${src}" |
||
44 | destdir="${build}" |
||
45 | classpath="${compile-classpath}" |
||
46 | 6295 | cesar | debug="${debug}" |
47 | debuglevel="${debuglevel}" |
||
48 | 4869 | cesar | excludes="**/Tests/*.java" /> |
49 | </target>
|
||
50 | |||
51 | <target name="create-jar" description="Crea el jar de la aplicacion"> |
||
52 | <mkdir dir="${dist}"/> |
||
53 | <jar jarfile="${dist}/${jarName}.jar" basedir="${build}"/> |
||
54 | </target>
|
||
55 | |||
56 | <target name="move-to-andami" description="Move jars and required libraries to andami"> |
||
57 | <copy file="dist/${jarName}.jar" todir="${targetDir}"/> |
||
58 | </target>
|
||
59 | |||
60 | 4460 | cesar | <target name="clean" |
61 | description="clean up" > |
||
62 | <!-- Delete the ${build} and ${dist} directory trees -->
|
||
63 | <delete dir="${build}"/> |
||
64 | <delete dir="${dist}"/> |
||
65 | </target>
|
||
66 | </project> |