Revision 13236 trunk/libraries/libJCRS/build.xml

View differences:

build.xml
5 5
  <!-- set global properties for this build -->
6 6
  <property name="src" location="src"/>
7 7
  <property name="build" location="bin"/>
8
  <property name="lib" location="lib" />
8 9
  <property name="dist"  location="dist"/>
9 10
  <property name="plugin" value="jcrs"/>
10
  <property name="extension-dir" location="../_fwAndami/gvSIG/extensiones"/>
11
  <property name="andami" location="../_fwAndami"/>
12
  <property name="andamiLibs" location="${andami}/lib"/>
13
  <property name="extension-dir" location="${andami}/gvSIG/extensiones"/>
11 14
  <property name="targetDir" location="../libFMap/lib" />
15
  <property name="installDir" location="${extension-dir}/com.iver.cit.gvsig/lib" />
12 16
	<property name="JavaSourceVersion" value="1.5"/>
13 17
	<property name="JavaTargetVersion" value="1.5"/>
14 18
	<property name="encoding" value="ISO_8859_1"/>
15 19
	<property name="debug" value="on"/>
16 20
	<property name="debuglevel" value="lines, vars"/>
17
	<import file="../binaries/ant/utils.xml"/>
21
	<import file="../binaries/ant/utilities.xml"/>
18 22

  
19 23

  
20 24
  <target name="init">
......
63 67

  
64 68
	<target name="batch-build"
65 69
			description="compile the sources, create the jar file"
66
			depends="init,compile,generate-without-source">
70
			depends="init,compile,generate-without-source,install-to-andami">
67 71
	</target>
68

  
72
	
73
	<target name="install-to-andami">
74
	  	<copy todir="${installDir}">
75
	  	  				<fileset dir="./lib" includes="*.jar" />
76
		</copy>
77
	  	<copy file="${dist}/${plugin}.jar" todir="${installDir}"/>
78
	</target>
79
	
69 80
	<target name="clean"
70 81
		    description="cleans the build directories">
71 82
		<delete dir="${build}"/>

Also available in: Unified diff