[SOLVED] Problems packaging a java application using groovy

This forum is dedicated to packaging and translating :

On those activities rely the making of Mageia Linux Distribution.

Post all questions and information about packaging and translating : feedbacks, discussion about guidelines, packaging practices...

[SOLVED] Problems packaging a java application using groovy

Postby htgoebel » May 12th, '13, 12:08

Hi,

I'm working on packaging Freeplane (an important freemind clone).You can follow my work on https://github.com/htgoebel/freeplane-mageia

Now I have some problems with groovy: Freeplane is raising a java.lang.NoClassDefFoundError: org/objectweb/asm/Opcodes. This class seams to be in objectweb-asm/asm-all.jar. But adding this to the classpath does not help.

Freeplane originally comes with groovy 1.8.6 (while I'm using 1.8.7 from claudron), which is including a groovyjarjarasm which I can not find anywhere.

Code: Select all
  $ unzip -l workspace/freeplane/freeplane/freeplane_plugin_script/lib/groovy-all.jar | grep Opcodes
     6445 2009-07-07 00:05 groovyjarjarasm/asm/Opcodes.class


Any hints?
htgoebel
 
Posts: 15
Joined: Sep 9th, '11, 20:36

Re: [solved] Problems packaging a java application using gro

Postby htgoebel » May 12th, '13, 14:52

I solved this.

Freeplane - like freemind - uses the knopflerfish framework which is ignoring the CLASSPATH. jars have to be listed in the META-INF/MANIFEST.MF files.
htgoebel
 
Posts: 15
Joined: Sep 9th, '11, 20:36


Return to Packaging and translating for Mageia

Who is online

Users browsing this forum: No registered users and 1 guest

cron