Revision 4906 trunk/frameworks/_fwAndami/build.xml

View differences:

build.xml
4 4
	<property name="build" location="bin" />
5 5
	<property name="dist" location="dist" />
6 6
	<property name="lib" location="lib" />
7
	<property name="extensiones" location="gvSIG/extensiones" />
7
	<property name="appDir" location="gvSIG" />
8
	<property name="extensiones" location="${appDir}/extensiones" />
8 9
	<property name="build-doc" value="build-doc"/>
10
	<property name="jarName" value="andami.jar"/>
9 11
	<property name="compile-classpath" value="${lib}/castor-0.9.5.3-xml.jar:${lib}/iver-utiles.jar:${lib}/tempFileManager.jar:${lib}/xml-apis.jar:${li
10 12
		b}/crimson.jar:${lib}/javaws.jar:${lib}/log4j-1.2.8.jar:${lib}/xercesImpl.jar:${lib}/gvsig-i18n.jar" />
11 13
	<property name="webapps" location="c:\webservers\jakarta-tomcat-5.0.25\webapps\" />
......
19 21
	</target>
20 22

  
21 23
    <target name="batch-build"
22
    	    description="compile the sources, create the jar file"
24
    	    description="compile the sources, create the jar file for Andami framework"
23 25
    	    depends="compile,create-jar">
24 26
    </target>
25 27
	
......
115 117
	
116 118
	<target name="create-jar" description="Crea el jar de la aplicacion">
117 119
		<mkdir dir="${dist}"/>
118
		<jar destfile="${dist}/andami.jar" basedir="${build}" />
120
    	<mkdir dir="${appDir}" />
121
		<jar destfile="${jarName}" basedir="${build}" />
119 122
	</target>
120 123

  
121 124
	  <target name="clean" description="delete binaries and jar files" >
122 125
	    <!-- Delete the ${build} and ${dist} directory trees -->
123 126
	    <delete dir="${build}"/>
124 127
	    <delete dir="${dist}"/>
128
	    <delete file="${jarName}"/>
129
	    <delete dir="${appDir}"/>
125 130
	  </target>
126 131

  
127 132
	<!--Copia los jar que hay en el subdirectorio lib al directorio web-->

Also available in: Unified diff