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/cglib/files/cglib-2.2.3-build.patch

45 lines
2.0 KiB

--- cglib.2.2.3/build.xml
+++ cglib.2.2.3/build.xml
@@ -73,7 +73,7 @@
<target depends="prepare" description="Compile shareable components"
name="compile">
<javac debug="${compile.debug}" deprecation="${compile.deprecation}" destdir="${build.home}/classes" optimize="${compile.optimize}" srcdir="${source.home}"
- target="${compile.target}" bootclasspath="${compile.bootclasspath}" extdirs="${compile.extdirs}" source="${compile.source}">
+ target="${compile.target}" extdirs="${compile.extdirs}" source="${compile.source}">
<classpath refid="compile.classpath"/>
<compilerarg compiler="jikes" value="-nowarn"/>
</javac>
@@ -123,15 +123,6 @@
<include name="**/*"/>
<exclude name="samples/**" />
</jar>
-
- <taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" classpathref="compile.classpath"/>
- <jarjar basedir="${build.home}/classes" jarfile="${dist.home}/${component.name}-nodep-${component.version}.jar" >
- <zipfileset dir="lib" includes="asm*.txt"/>
- <zipfileset src="lib/asm-3.1.jar" excludes="META-INF"/>
- <rule pattern="org.objectweb.asm.**" result="net.sf.cglib.asm.@1"/>
- <include name="**/*"/>
- <exclude name="samples/**"/>
- </jarjar>
</target>
<target depends="compile,javadoc" description="Create docs and source distribution" name="srcjar">
@@ -240,15 +231,7 @@
fork="yes"
>
- <!-- jvmarg value="-Xrunhprof:heap=all,file=debug.txt"/ -->
- <!-- <jvmarg value="-verbose:gc"/> -->
- <!-- <jvmarg value="-verbose:class"/> -->
- <!-- <jvmarg value="-Xprof"/> -->
- <!-- <jvmarg value="-server"/> -->
- <!-- <sysproperty key="cglib.debugLocation" value="debug"/> -->
- <!-- <jvmarg value="-Djava.security.policy==java.policy" /> -->
- <!-- <jvmarg value="-Djava.security.manager" /> -->
-
+ <sysproperty key="cglib.debugLocation" value="${debugLocation}"/>
<arg value="${test.entry}"/>
<classpath>
<pathelement path="${build.home}/classes"/>