https://issues.apache.org/bugzilla/show_bug.cgi?id=48541
Summary: JarJar task silently behaves in incorrect way
Product: Ant
Version: 1.8.0RC1
Platform: PC
OS/Version: Mac System 7
Status: NEW
Severity: regression
Priority: P2
Component: Core
AssignedTo: [email protected]
ReportedBy: [email protected]
In JRuby build, we use JarJar to bundle multiple JARs into a single one, plus
tweak the package names. We have the following:
<rule pattern="org.objectweb.asm.**" result="jruby.objectweb.a...@1"/>
to replace org.objectweb.asm package with jruby.objectweb.asm one.
And it works just fine with Ant 1.7.0 and 1.7.1. But with 1.8.0RC1 the things
are broken and jarjar just silently skips this step of renaming the package.
If you'd like a test for this, then from JRuby repository:
1. ant jar-complete
2. java -cp lib\jruby-complete.jar org.jruby.Main -v
leads to crash (due to missing classes).
I bisected Ant repo, and it seems that the commit that introduced this problem
is:
rev 794204:
Author: Stefan Bodewig <[email protected]>
Date: Wed Jul 15 09:01:48 2009 +0000
preserve ZIP extra fields
So, this is a regression that breaks important and popular JarJar task and
makes JRuby build completely broken.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.