You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-java/commons-jelly/files/commons-jelly-1.0-gentoo.patch

60 lines
2.2 KiB

diff -ru commons-jelly-1.0-src/build.xml commons-jelly-1.0-src-patched/build.xml
--- commons-jelly-1.0-src/build.xml 2005-06-16 10:39:44.000000000 -0400
+++ commons-jelly-1.0-src-patched/build.xml 2005-09-04 19:39:19.000000000 -0400
@@ -37,6 +37,8 @@
<property name="proxy.password" value="">
</property>
<path id="build.classpath">
+ <fileset dir="${libdir}" includes="**/*.jar"/>
+ <!--
<pathelement location="${libdir}/servletapi/jars/servletapi-2.3.jar">
</pathelement>
<pathelement location="${libdir}/commons-cli/jars/commons-cli-1.0.jar">
@@ -67,6 +69,7 @@
</pathelement>
<pathelement location="${libdir}/xerces/jars/xerces-2.2.1.jar">
</pathelement>
+ -->
</path>
<target name="init" description="o Initializes some properties">
<mkdir dir="${libdir}">
@@ -92,7 +95,7 @@
</and>
</condition>
</target>
- <target name="compile" description="o Compile the code" depends="get-deps">
+ <target name="compile" description="o Compile the code" depends="">
<mkdir dir="${classesdir}">
</mkdir>
<javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
@@ -120,10 +123,12 @@
<copy todir="${classesdir}/META-INF" file="${basedir}/LICENSE.txt">
</copy>
</target>
- <target name="jar" description="o Create the jar" depends="compile,test">
+
+ <target name="jar" description="o Create the jar" depends="compile">
<jar jarfile="${defaulttargetdir}/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}">
</jar>
</target>
+
<target name="clean" description="o Clean up the generated directories">
<delete dir="${defaulttargetdir}">
</delete>
@@ -213,7 +218,7 @@
</fileset>
</copy>
</target>
- <target name="javadoc" description="o Generate javadoc" depends="get-deps">
+ <target name="javadoc" description="o Generate javadoc" depends="">
<mkdir dir="${javadocdir}">
</mkdir>
<tstamp>
@@ -432,4 +437,4 @@
<unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar">
</unjar>
</target>
-</project>
\ No newline at end of file
+</project>