Revision 25435

View differences:

trunk/extensions/extGeoreferencing/build.xml
45 45
	  	</copy>
46 46
	  </target>
47 47

  
48
  <target name="generate-without-source"
48
	<target name="generate-without-source"
49
	  		description="generate the distribution without the source file"
50
			depends="create-jar,copy-data-files,copy-libs,move-to-andami"/>
51

  
52
  <target name="generate-without-source_old"
49 53
  		description="generate the distribution without the source file">
50 54

  
51 55
    <!-- Create the distribution directory -->
......
67 71
  		<fileset dir="images" includes="*"/>
68 72
 	</copy>
69 73

  
70
  	
74

  
71 75
  	<copy todir="${extensionsDir}/${mainplugin}/images">
72 76
  	  		<fileset dir="images" includes="*.gif"/>
73 77
  	 </copy>
......
89 93

  
90 94
	<target name="batch-build"
91 95
			description="compile the sources, create the jar file"
92
			depends="compile,create-jar,copy-data-files,move-to-andami">
96
			depends="compile,create-jar,copy-data-files,copy-libs,move-to-andami">
93 97
	</target>
94 98

  
95 99
	<target name="compile" description="compile the source" >
......
106 110
			description="Creates the plugin jar">
107 111
		<mkdir dir="${dist}"/>
108 112
	  	<jar jarfile="${dist}/${plugin}.jar" basedir="${build}"
109
	  	    	includes="org/gvsig/georeferencing/**" excludes="com/iver/cit/gvsig/fmap/**"/>
110
	  	<jar jarfile="${dist}/${fmap-plugin}.jar" basedir="${build}"
111
	  	  	    	includes="com/iver/cit/gvsig/fmap/**"/>
113
	  	    	includes="org/gvsig/georeferencing/**" />
112 114
	</target>
113 115

  
114 116
	<target name="copy-data-files">
115
	    <copy file="config/config.xml" todir="${dist}"/>
116
		<copy file="build.number" todir="${dist}"/>
117
	  	<copy file="config/config.xml" todir="${dist}"/>
118
	  	<copy file="build.number" todir="${dist}"/>
117 119
	    <copy file="config/plugin.dtd" todir="${dist}"/>
118
		<copy todir="${dist}">
119
			<fileset dir="config/" includes="text*.properties"/>
120
		</copy>
121
		<copy todir="${dist}/images">
122
			<fileset dir="images/" includes="*"/>
123
		</copy>
120
	    <copy todir="${dist}">
121
	    	<fileset dir="config/" includes="text*.properties"/>
122
	    </copy>
123
	  	<mkdir dir="${dist}/images" />
124
	  	<copy todir="${dist}/images">
125
	  		<fileset dir="images" includes="*"/>
126
	 	</copy>
124 127
	</target>
125 128

  
126 129
	<target name="copy-libs">
127
	  	<copy todir="${dist}">
128
	  	    	<fileset dir="lib" includes="*.*"/>
129
	  	</copy>
130
	  	<copy file="lib/jama.jar" todir="${extensionsDir}/com.iver.cit.gvsig/lib/"/>
131
		<copy file="lib/flanagan.jar" todir="${extensionsDir}/com.iver.cit.gvsig/lib/"/>
130 132
	</target>
131 133

  
132 134
	<target name="move-to-andami">
133 135
	  	<copy todir="${extensionsDir}/${mainplugin}/images">
134
	  	  		<fileset dir="images" includes="*Cursor.gif"/>
136
	  	  		<fileset dir="images" includes="*.gif"/>
135 137
	  	 </copy>
136
	  	<move todir="${extensionsDir}/${mainplugin}/lib">
137
	  			<fileset dir="${dist}" includes="${fmap-plugin}.jar"/>
138
	  	</move>
139 138

  
139
	  	<copy todir="${extensionsDir}/${mainplugin}/images">
140
	  	  		<fileset dir="images" includes="*.png"/>
141
	  	 </copy>
140 142
	  	<move todir="${extensionsDir}/${plugin}/">
141 143
			<fileset dir="${dist}" includes="**/**"/>
142 144
	  	</move>

Also available in: Unified diff