RoyZeng / jarjar

Automatically exported from code.google.com/p/jarjar
0 stars 0 forks source link

jarjar-1.0rc7 fails build #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. ant clean jar

What is the expected output? What do you see instead?

I expect jarjar-1.0rc7.jar to be properly build. Instead I see:

Buildfile: build.xml

clean:

init:
     [echo] bootclasspath 

compile:
    [mkdir] Created dir: /home/jieryn/jarjar/build/main
     [copy] Copying 1 file to /home/jieryn/jarjar/build/main
     [copy] Copied 4 empty directories to 1 empty directory under
/home/jieryn/jarjar/build/main
    [javac] Compiling 38 source files to /home/jieryn/jarjar/build/main

jar:
    [mkdir] Created dir: /home/jieryn/jarjar/dist
   [jarjar] Building jar: /home/jieryn/jarjar/dist/jarjar-1.0rc7.jar

BUILD FAILED
java.lang.NoSuchMethodError:
org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V
        at com.tonicsystems.jarjar.KeepProcessor.process(KeepProcessor.java:73)
        at
com.tonicsystems.jarjar.util.JarProcessorChain.process(JarProcessorChain.java:31
)
        at com.tonicsystems.jarjar.MainProcessor.process(MainProcessor.java:82)
        at
com.tonicsystems.jarjar.util.AntJarProcessor.zipFile(AntJarProcessor.java:55)
        at org.apache.tools.ant.taskdefs.Zip.zipFile(Zip.java:1551)
        at org.apache.tools.ant.taskdefs.Zip.addResources(Zip.java:792)
        at org.apache.tools.ant.taskdefs.Zip.addResources(Zip.java:853)
        at org.apache.tools.ant.taskdefs.Zip.executeMain(Zip.java:499)
        at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:416)
        at
com.tonicsystems.jarjar.util.AntJarProcessor.execute(AntJarProcessor.java:42)
        at com.tonicsystems.jarjar.JarJarTask.execute(JarJarTask.java:50)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:
41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.Main.runBuild(Main.java:758)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Total time: 1 second

What version of the product are you using? On what operating system?

1.0-rc7, Linux.

Please provide any additional information below.

Original issue reported on code.google.com by jie...@gmail.com on 12 Aug 2008 at 6:10

GoogleCodeExporter commented 8 years ago
I cannot reproduce this, is this using a fresh checkout from SVN?

Original comment by chris.no...@gmail.com on 30 Aug 2008 at 5:24

GoogleCodeExporter commented 8 years ago

Original comment by chris.no...@gmail.com on 13 Sep 2008 at 8:22