Revision 7212 trunk/extensions/extGeoprocessingExtensions/build.xml

View differences:

build.xml
1 1
<!--REHACERLO PARA QUE SE COPIEN BIEN LAS LIBRERIAS-->
2 2

  
3
<project name="GeoprocessingExtensions" default="generate-without-source" basedir=".">
3
<project name="GeoprocessingExtensions"
4
		default="generate-without-source"
5
		basedir=".">
4 6
    <description>
5 7
	Registra las extensiones de geoprocesamiento.
6 8
    </description>
......
9 11
  <property name="build" location="bin"/>
10 12
  <property name="doc"  location="doc"/>
11 13
  <property name="dist"  location="dist"/>
12
  <property name="without_src"  location="without_src"/>
13 14
  <property name="plugin" value="com.iver.cit.gvsig.geoprocessextensions"/>
14 15

  
15 16

  
......
22 23
	<property name="geoprocessingJar" location="${extensionsDir}/com.iver.cit.gvsig.geoprocess/com.iver.cit.gvsig.geoprocess.jar"/>
23 24
	<property name="andamiLibs" location="${andami}/lib"/>
24 25
	<property name="fmapLibs" location="../libFMap/lib" />
25
	<property name="compile-classpath" value="${andamiJar}:${gvsigJar}:${fmapLibs}/cms.jar:${fmapLibs}/driver-manager-1.1.jar:${lib}/ehcache-1.2beta4.jar:${fmapLibs}/fmap.jar:${fmapLibs}/gdbms-0.8-SNAPSHOT.jar:${andamiLibs}/iver-utiles.jar:${fmapLibs}/jts-1.7.jar:${lib}/spatialindex.jar:${geoprocessingJar}"/>
26
	<property name="compile-classpath" value="${andamiJar}:${gvsigJar}:${andamiLibs}/beans.jar:${fmapLibs}/cms.jar:${fmapLibs}/driver-manager-1.1.jar:${lib}/ehcache-1.2beta4.jar:${fmapLibs}/fmap.jar:${fmapLibs}/gdbms-0.8-SNAPSHOT.jar:${andamiLibs}/iver-utiles.jar:${fmapLibs}/jts-1.7.jar:${lib}/spatialindex.jar:${geoprocessingJar}"/>
26 27
	
27 28
	
28 29
  <target name="init">
29 30
    <!-- Create the time stamp -->
30 31
    <tstamp/>
32
	<echo>
33
		Compiling ${ant.project.name}...</echo>
31 34
  </target>
32 35
  
33 36

  
......
96 99
    </delete>
97 100
  </target>
98 101
	
99
  <target name="generate-without-source" depends="clean-orig" description="generate the distribution without the source file" >
100
    <!-- Create the distribution directory -->
101
    <mkdir dir="${without_src}"/>
102

  
103
    <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
104
    <jar jarfile="${without_src}/${plugin}.jar" basedir="${build}"/>
105
    <copy file="config/config.xml" todir="${without_src}"/>
106
    <copy todir="${without_src}">
107
    	<fileset dir="config" includes="text*.properties"/>
108
    </copy>
109
  	<!--
110
  	<copy todir="${without_src}">
111
  	    	<fileset dir="lib" includes="*.*"/>
112
  	    </copy>
113
    <copy todir="${without_src}/images">
114
    	<fileset dir="images/" includes="*"/>
115
    </copy>
116
    -->
117
    <move todir="${extensionsDir}/${plugin}/">
118
    	<fileset dir="${without_src}" includes="**/**"/>
119
    </move>
102
  <target name="generate-without-source" description="generate the distribution without the source file"
103
  	depends="init,create-jar,copy-data-files,move-to-andami">
120 104
  </target>
121 105
	
122 106
	<target name="batch-build"
123 107
			description="compile the sources, create the jar file"
124
			depends="compile,create-jar,copy-data-files,move-to-andami">
108
			depends="init,compile,create-jar,copy-data-files,move-to-andami">
125 109
	</target>
126 110

  
127 111
	<target name="compile" description="compile the source" >

Also available in: Unified diff