On Sun, Feb 13, 2011 at 3:33 PM, Andreas Tille <andreas@an3as.eu> wrote:
> I did so and this has solved 4 out of 10 errors. *The remaining ones are
> concerning EMF, SVG and SWF (see build log at the URL above). I tried to
> fix it in an analogue manner as for PS and PDF ... but failed. *I gazed
> for hours on the bits of code but failed to find the reason why PS and
> PDF now are OK but EMF, SVG and SWF are not working the same way.
>
> Hope this will be the last iteration of this problem and thanks for your
> help in any case
I got it to build by including the full path to the jars (didn't use
the symlinks in /usr/share/java). For some reason it doesn't like the
symlinks for the -emf -svg and -swf packages.
to the classpath (which is not ideal as any change in version number
will break your app) [1]
Giovanni: can you help me out with this? Do you know why the links for
-swf -emf -svg don't work but the links for -pdf -ps do work?
The libraries you are looking for are located at:
http://people.debian.org/~tille/packages/figtree-help-wanted/
svn checkout svn://svn.debian.org/svn/debian-med/trunk/packages/libjam-java/trunk/
--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTimsKa8A_WTGxW1Ahf=wx6cNf49_YZozbuMEMneo@mail .gmail.com">http://lists.debian.org/AANLkTimsKa8A_WTGxW1Ahf=wx6cNf49_YZozbuMEMneo@mail .gmail.com
02-14-2011, 08:12 AM
Andreas Tille
Help wanted in Java library packaging (JEBL2)
On Sun, Feb 13, 2011 at 07:46:27PM -0500, Scott Howard wrote:
> I added:
>
> /usr/share/maven-repo/org/freehep/freehep-graphicsio-swf/2.1.1/freehep-graphicsio-swf-2.1.1.jar
> /usr/share/maven-repo/org/freehep/freehep-graphicsio-emf/2.1.1/freehep-graphicsio-emf-2.1.1.jar
> /usr/share/maven-repo/org/freehep/freehep-graphicsio-svg/2.1.1/freehep-graphicsio-svg-2.1.1.jar
>
> to the classpath (which is not ideal as any change in version number
> will break your app) [1]
Uhmm. Not ideal? I'd call this really hackish workaround. Something
seems to be very broken in the freehep-graphicsio-* packages. Some of
the work as expected and some don't.
> Giovanni: can you help me out with this? Do you know why the links for
> -swf -emf -svg don't work but the links for -pdf -ps do work?
> The libraries you are looking for are located at:
> http://people.debian.org/~tille/packages/figtree-help-wanted/
> svn checkout svn://svn.debian.org/svn/debian-med/trunk/packages/libjam-java/trunk/
Just provided them at the same place - no need for checking out and getting
source package.
Thanks for this workaround I would never have imagined. Any real
solution would be helpful - at least I can now finally test jam-lib and
jebl and upload them to new. Meanwhile I hope that freehep will be
fixed (I fo not even have an idea how to properly do a bug report).
Kind regards
Andreas.
--
http://fam-tille.de
--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110214091259.GC15947@an3as.eu">http://lists.debian.org/20110214091259.GC15947@an3as.eu
02-14-2011, 11:45 AM
Andreas Tille
Help wanted in Java library packaging (JEBL2)
On Sun, Feb 13, 2011 at 07:46:27PM -0500, Scott Howard wrote:
> Giovanni: can you help me out with this? Do you know why the links for
> -swf -emf -svg don't work but the links for -pdf -ps do work?
> The libraries you are looking for are located at:
> http://people.debian.org/~tille/packages/figtree-help-wanted/
I followed Scott's hint and finally got a figtree deb package with the
quite ugly hack to specify the direct location of the jars in question.
I mentioned this very version in the Build-Depends to at least have a
chance that this works. However I seem to have not understood the
library building process yet because when trying to run figtree the
jam-lib (and probably others) are not found:
$ figtree
Exception in thread "main" java.lang.NoClassDefFoundError: jam/framework/MultiDocApplication
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :634)
at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader .java:277)
at java.net.URLClassLoader.access$000(URLClassLoader. java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java: 212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 21)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 66)
Caused by: java.lang.ClassNotFoundException: jam.framework.MultiDocApplication
at java.net.URLClassLoader$1.run(URLClassLoader.java: 217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 21)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 66)
... 11 more
All *.debs I used are at the location mentioned above.
Thanks for any help
Andreas.
--
http://fam-tille.de
--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110214124521.GD15947@an3as.eu">http://lists.debian.org/20110214124521.GD15947@an3as.eu