Revision 16965

View differences:

branches/v10/libraries/libJCRS/build.xml
28 28
    <!-- Create the build directory structure used by compile -->
29 29
    <mkdir dir="${build}"/>
30 30
    <mkdir dir="${dist}"/>
31
  	
31

  
32 32
  </target>
33 33

  
34 34
  <target name="compile"
......
42 42
                  debuglevel="${debuglevel}"
43 43
      	          encoding="${encoding}"
44 44
                  classpath="${andamiLibs}/beans.jar:${andamiLibs}/iver-utiles.jar:${lib}/jGridShiftApi.jar:${extension-dir}/com.iver.cit.gvsig/lib/fmap.jar:${extension-dir}/com.iver.cit.gvsig/lib/com.iver.cit.gvsig.jar:../libFMap/lib/cms.jar:../libFMap/lib/gdbms-0.8-SNAPSHOT.jar:${andami}/andami.jar"/>
45
	<copy todir="${build}">
46
		<fileset
47
			dir="${src}"
48
			excludes="**/*.java"/>
49
	</copy>
50

  
45 51
    </target>
46
						
52

  
47 53
  <target name="generate-without-source" description="generate the distribution without the source file" >
48 54
    <!-- Create the distribution directory -->
49 55
    <mkdir dir="${dist}"/>
50 56

  
51 57
    <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
52 58
    <jar jarfile="${dist}/${plugin}.jar" basedir="${build}"/>
53
  	
59

  
54 60
  	<!-- copy file="${dist}/${plugin}.jar" todir="lib/"/> -->
55 61
  	<copy file="${dist}/${plugin}.jar" todir="${targetDir}"/>
56 62
  	<copy todir="${targetDir}">
......
58 64
	</copy>
59 65
  	<!-- <copy file="${dist}/${plugin}.jar" todir="../extJCRS/lib/"/> -->
60 66
  </target>
61
	
67

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

  
67 73
	<target name="install-to-andami">
68 74
	  	<copy todir="${installDir}">
69 75
	  	  				<fileset dir="./lib" includes="*.jar" />
70 76
		</copy>
71 77
	  	<copy file="${dist}/${plugin}.jar" todir="${installDir}"/>
72 78
	</target>
73
	
79

  
74 80
	<target name="clean"
75 81
		    description="cleans the build directories">
76 82
		<delete dir="${build}"/>

Also available in: Unified diff