Open GoogleCodeExporter opened 8 years ago
[deleted comment]
This issue also occurs when running a task on a single file - Main-Class and
Premain-Class attributes in MANIFEST.MF are lost. Using version 1.4.
Tested with http://code.google.com/p/tpalus/ and this task:
<project name="generate-jarjar">
<property name="jarjarfile" value="palus-0.2-nodept-jarjar.jar"/>
<path id="classpath">
<pathelement location="jarjar-1.4.jar"/>
<pathelement location="asm-3.1.jar"/>
</path>
<taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" classpathref="classpath"/>
<delete file="${jarjarfile}"/>
<jarjar destfile="${jarjarfile}">
<zipfileset src="palus-0.2-nodept.jar"/>
<rule pattern="org.**" result="org.jarjar.@1"/>
</jarjar>
</project>
Original comment by jarkko.r...@gmail.com
on 23 Mar 2014 at 9:36
Original issue reported on code.google.com by
simon.m.stewart
on 8 May 2010 at 11:43