|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 |
|
3 | | -<!--build.xml generated by maven from project.xml version 2.0-SNAPSHOT |
4 | | - on date March 3 2006, time 1447--> |
| 3 | +<!--build.xml generated by maven from project.xml version 1.1-SNAPSHOT |
| 4 | + on date May 14 2007, time 1658--> |
5 | 5 |
|
6 | 6 | <project default="jar" name="commons-cli" basedir="."> |
7 | 7 | <!--Load local and user build preferences--> |
|
26 | 26 | </property> |
27 | 27 | <property name="javadocdir" value="${basedir}/dist/docs/api"> |
28 | 28 | </property> |
29 | | - <property name="final.name" value="commons-cli-2.0-SNAPSHOT"> |
| 29 | + <property name="final.name" value="commons-cli-1.1-SNAPSHOT"> |
30 | 30 | </property> |
31 | 31 | <property name="proxy.host" value=""> |
32 | 32 | </property> |
|
41 | 41 | </pathelement> |
42 | 42 | <pathelement location="${libdir}/junit/jars/junit-3.8.1.jar"> |
43 | 43 | </pathelement> |
44 | | - <pathelement location="${libdir}/jdepend/jars/jdepend-2.5.jar"> |
45 | | - </pathelement> |
46 | 44 | </path> |
47 | 45 | <target name="init" description="o Initializes some properties"> |
48 | 46 | <mkdir dir="${libdir}"> |
|
79 | 77 | <classpath refid="build.classpath"> |
80 | 78 | </classpath> |
81 | 79 | </javac> |
82 | | - <mkdir dir="${classesdir}/org/apache/commons/cli2"> |
83 | | - </mkdir> |
84 | | - <copy todir="${classesdir}/org/apache/commons/cli2"> |
85 | | - <fileset dir="${basedir}/src/java/org/apache/commons/cli2"> |
86 | | - <include name="**/*.properties"> |
87 | | - </include> |
88 | | - </fileset> |
89 | | - </copy> |
90 | 80 | </target> |
91 | 81 | <target name="jar" description="o Create the jar" depends="compile,test"> |
92 | 82 | <jar jarfile="${defaulttargetdir}/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}"> |
|
160 | 150 | </pathelement> |
161 | 151 | </classpath> |
162 | 152 | </javac> |
163 | | - <copy todir="${testclassesdir}/org/apache/commons/cli2"> |
164 | | - <fileset dir="${basedir}/src/test/org/apache/commons/cli2"> |
165 | | - <include name="**/*.properties"> |
166 | | - </include> |
167 | | - </fileset> |
168 | | - </copy> |
169 | 153 | </target> |
170 | 154 | <target name="javadoc" description="o Generate javadoc" depends="get-deps"> |
171 | 155 | <mkdir dir="${javadocdir}"> |
|
176 | 160 | </tstamp> |
177 | 161 | <property name="copyright" value="Copyright &copy; Apache Software Foundation. All Rights Reserved."> |
178 | 162 | </property> |
179 | | - <property name="title" value="CLI 2.0-SNAPSHOT API"> |
| 163 | + <property name="title" value="CLI 1.1-SNAPSHOT API"> |
180 | 164 | </property> |
181 | 165 | <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true" sourcepath="${basedir}/src/java" packagenames="org.apache.commons.*"> |
182 | 166 | <classpath> |
|
188 | 172 | <target name="get-dep-commons-lang.jar" description="o Download the dependency : commons-lang.jar" unless="commons-lang.jar" depends="init,setProxy,noProxy,get-custom-dep-commons-lang.jar"> |
189 | 173 | <mkdir dir="${libdir}/commons-lang/jars/"> |
190 | 174 | </mkdir> |
191 | | - <get dest="${libdir}/commons-lang/jars/commons-lang-2.1.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/commons-lang/jars/commons-lang-2.1.jar"> |
| 175 | + <get dest="${libdir}/commons-lang/jars/commons-lang-2.1.jar" usetimestamp="true" ignoreerrors="true" src="http://repo1.maven.org/maven/commons-lang/jars/commons-lang-2.1.jar"> |
192 | 176 | </get> |
193 | 177 | </target> |
194 | 178 | <target name="get-custom-dep-commons-lang.jar" if="commons-lang.jar" depends="init,setProxy,noProxy"> |
|
200 | 184 | <target name="get-dep-junit.jar" description="o Download the dependency : junit.jar" unless="junit.jar" depends="init,setProxy,noProxy,get-custom-dep-junit.jar"> |
201 | 185 | <mkdir dir="${libdir}/junit/jars/"> |
202 | 186 | </mkdir> |
203 | | - <get dest="${libdir}/junit/jars/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/junit/jars/junit-3.8.1.jar"> |
| 187 | + <get dest="${libdir}/junit/jars/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true" src="http://repo1.maven.org/maven/junit/jars/junit-3.8.1.jar"> |
204 | 188 | </get> |
205 | 189 | </target> |
206 | 190 | <target name="get-custom-dep-junit.jar" if="junit.jar" depends="init,setProxy,noProxy"> |
|
209 | 193 | <get dest="${libdir}/junit/jars/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true" src="${junit.jar}"> |
210 | 194 | </get> |
211 | 195 | </target> |
212 | | - <target name="get-dep-jdepend.jar" description="o Download the dependency : jdepend.jar" unless="jdepend.jar" depends="init,setProxy,noProxy,get-custom-dep-jdepend.jar"> |
213 | | - <mkdir dir="${libdir}/jdepend/jars/"> |
214 | | - </mkdir> |
215 | | - <get dest="${libdir}/jdepend/jars/jdepend-2.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/jdepend/jars/jdepend-2.5.jar"> |
216 | | - </get> |
217 | | - </target> |
218 | | - <target name="get-custom-dep-jdepend.jar" if="jdepend.jar" depends="init,setProxy,noProxy"> |
219 | | - <mkdir dir="${libdir}/jdepend/jars/"> |
220 | | - </mkdir> |
221 | | - <get dest="${libdir}/jdepend/jars/jdepend-2.5.jar" usetimestamp="true" ignoreerrors="true" src="${jdepend.jar}"> |
222 | | - </get> |
223 | | - </target> |
224 | | - <target name="get-deps" unless="noget" depends="get-dep-commons-lang.jar,get-dep-junit.jar,get-dep-jdepend.jar"> |
| 196 | + <target name="get-deps" unless="noget" depends="get-dep-commons-lang.jar,get-dep-junit.jar"> |
225 | 197 | </target> |
226 | 198 | <target name="setProxy" if="useProxy" depends="init"> |
227 | 199 | <!--Proxy settings works only with a JDK 1.2 and higher.--> |
|
0 commit comments