Группа :: Разработка/Java
Пакет: jakarta-commons-fileupload
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: jakarta-commons-fileupload-build.xml.patch
--- build.xml.orig 2003-06-26 19:12:13 +1300
+++ build.xml 2005-05-04 00:00:25 +1300
@@ -8,7 +8,7 @@
<project default="jar" name="commons-fileupload" basedir=".">
<property name="defaulttargetdir" value="target">
</property>
- <property name="libdir" value="target/lib">
+ <property name="libdir" value="/usr/share/java">
</property>
<property name="classesdir" value="target/classes">
</property>
@@ -20,33 +20,33 @@
</property>
<property name="javadocdir" value="dist/docs/api">
</property>
- <property name="final.name" value="commons-fileupload-1.0">
+ <property name="final.name" value="commons-fileupload">
</property>
<target name="init" description="o Initializes some properties">
- <mkdir dir="${libdir}">
- </mkdir>
<condition property="noget">
<equals arg2="only" arg1="${build.sysclasspath}">
</equals>
</condition>
</target>
- <target name="compile" description="o Compile the code" depends="get-deps">
+ <target name="compile" description="o Compile the code">
<mkdir dir="${classesdir}">
</mkdir>
- <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
+ <javac destdir="${classesdir}" deprecation="true" debug="false" optimize="true" excludes="**/package.html">
<src>
<pathelement location="src/java">
</pathelement>
</src>
<classpath>
<fileset dir="${libdir}">
- <include name="*.jar">
- </include>
- </fileset>
+ <include name="junit.jar"/>
+ </fileset>
+ <fileset dir="${libdir}/jakarta-servletapi5">
+ <include name="jakarta-servletapi5-servlet-api.jar"/>
+ </fileset>
</classpath>
</javac>
</target>
- <target name="jar" description="o Create the jar" depends="compile,test">
+ <target name="jar" description="o Create the jar" depends="compile">
<jar jarfile="target/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}">
</jar>
</target>
@@ -129,7 +129,7 @@
</property>
<javadoc bottom="Copyright &copy; 2002-2003 Apache Software Foundation. All Rights Reserved." windowtitle="FileUpload 1.0 API" use="true" private="true" destdir="${javadocdir}" author="true" doctitle="FileUpload 1.0 API" version="true" sourcepath="src/java" packagenames="org.apache.commons.fileupload.*">
<classpath>
- <fileset dir="${libdir}">
+ <fileset dir="${libdir}/jakarta-servletapi5">
<include name="*.jar">
</include>
</fileset>
@@ -156,4 +156,5 @@
<unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar">
</unjar>
</target>
-</project>
\ В конце файла нет новой строки
+</project>
+