Revision 4866 trunk/libraries/libIverUtiles/build.xml

View differences:

build.xml
1
<project name="MyProject" default="jar" basedir=".">
2
  <!-- set global properties for this build -->
3
  <property name="bin"  location="bin"/>
1
<project name="MyProject" default="create-jar" basedir=".">
2
  	<!-- set global properties for this build -->
3
	<property name="src"  location="src"/>
4
	<property name="build"  location="bin"/>
5
	<property name="dist"  location="dist"/>
6
	<property name="targetDir" location="../_fwAndami/lib"/>
7
	<property name="jarName" value="iver-utiles"/>
8
	<property name="andamiLibs" location="../_fwAndami/lib" />
9
	<property name="fmapLibs" location="../libFMap" />	
10
	<property name="compile-classpath" value="${andamiLibs}/castor-0.9.5.3-xml.jar:${andamiLibs}/commons-collections-3.1.zip:${andamiLibs}/commons-dbcp-1.0-dev-20020806.zip:${andamiLibs}/commons-pool-1.2.zip:${fmapLibs}/mysql-connector-java-3.1.7-bin.jar:${fmapLibs}/postgis-jdbc-driver.jar:${fmapLibs}/postgresql-74.213.jar" />
4 11

  
5 12
  <target name="init">
6 13
    <!-- Create the time stamp -->
7 14
    <tstamp/>
8 15
  </target>
9 16

  
10
  <target name="jar">
11
  	<jar jarfile="../_fwAndami/lib/iver-utiles.jar" basedir="${bin}"/>
12
  </target>
17
	<target name="batch-build"
18
				description="compile the sources, create the jar file"
19
				depends="compile,create-jar">
20
	</target>
13 21

  
22
	<target name="compile" description="compile the source">
23
		<!-- Compile the Java code from ${src} to ${build} -->
24
		<mkdir dir="${build}" />
25
		<javac	srcdir="${src}"
26
				destdir="${build}"
27
				classpath="${compile-classpath}"/>
28
	</target>
29

  
30
	<target name="create-jar" description="Crea el jar de la aplicacion">
31
		<!--<mkdir dir="${dist}" />-->
32
	  	<jar jarfile="${targetDir}/${jarName}.jar" basedir="${build}"/>
33
	</target>
34

  
35
	<target name="clean" description="clean up">
36
		<!-- Delete the ${build} and ${dist} directory trees -->
37
		<delete dir="${build}" />
38
		<delete dir="${dist}" />
39
	</target>
14 40
  
15 41
</project>

Also available in: Unified diff