On Sun, Feb 13, 2011 at 3:33 PM, Andreas Tille <andr...@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.

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]


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/



showard@sk1m:~/debian-med-java/jebl2-0.0.r6/figtree-1.3.1$ ls -l
/usr/share/java/freehep-graphicsio-{emf,svg,swf,ps,pdf}*
lrwxrwxrwx 1 root root 87 2011-02-13 17:44
/usr/share/java/freehep-graphicsio-emf-2.1.1.jar ->
../maven-repo/org/freehep/freehep-graphicsio-emf/2.1.1/freehep-graphicsio-emf-2.1.1.jar

lrwxrwxrwx 1 root root 87 2011-02-13 17:44
/usr/share/java/freehep-graphicsio-emf.jar ->
../maven-repo/org/freehep/freehep-graphicsio-emf/2.1.1/freehep-graphicsio-emf-2.1.1.jar

lrwxrwxrwx 1 root root 87 2011-02-13 17:44
/usr/share/java/freehep-graphicsio-pdf-2.1.1.jar ->
../maven-repo/org/freehep/freehep-graphicsio-pdf/2.1.1/freehep-graphicsio-pdf-2.1.1.jar

lrwxrwxrwx 1 root root 87 2011-02-13 17:44
/usr/share/java/freehep-graphicsio-pdf.jar ->
../maven-repo/org/freehep/freehep-graphicsio-pdf/2.1.1/freehep-graphicsio-pdf-2.1.1.jar

lrwxrwxrwx 1 root root 85 2011-02-13 17:44
/usr/share/java/freehep-graphicsio-ps-2.1.1.jar ->
../maven-repo/org/freehep/freehep-graphicsio-ps/2.1.1/freehep-graphicsio-ps-2.1.1.jar

lrwxrwxrwx 1 root root 85 2011-02-13 17:44
/usr/share/java/freehep-graphicsio-ps.jar ->
../maven-repo/org/freehep/freehep-graphicsio-ps/2.1.1/freehep-graphicsio-ps-2.1.1.jar

lrwxrwxrwx 1 root root 87 2011-02-13 17:44
/usr/share/java/freehep-graphicsio-svg-2.1.1.jar ->
../maven-repo/org/freehep/freehep-graphicsio-svg/2.1.1/freehep-graphicsio-svg-2.1.1.jar

lrwxrwxrwx 1 root root 87 2011-02-13 17:44
/usr/share/java/freehep-graphicsio-svg.jar ->
../maven-repo/org/freehep/freehep-graphicsio-svg/2.1.1/freehep-graphicsio-svg-2.1.1.jar

lrwxrwxrwx 1 root root 87 2011-02-13 17:44
/usr/share/java/freehep-graphicsio-swf-2.1.1.jar ->
../maven-repo/org/freehep/freehep-graphicsio-swf/2.1.1/freehep-graphicsio-swf-2.1.1.jar

lrwxrwxrwx 1 root root 87 2011-02-13 17:44
/usr/share/java/freehep-graphicsio-swf.jar ->
../maven-repo/org/freehep/freehep-graphicsio-swf/2.1.1/freehep-graphicsio-swf-2.1.1.jar




[1]
--- figtree-1.3.1.orig/build.xml
+++ figtree-1.3.1/build.xml
@@ -36,7 +36,7 @@
        <target name="compile" depends="init">
                <!-- Compile the java code from ${src} into ${build} -->
                <javac source="1.5" target="1.5" srcdir="${src}" 
destdir="${build}"
-                      
classpath="${deblib}/jebl.jar:${deblib}/jam.jar:${deblib}/freehep-graphics2d.jar:${deblib}/freehep-graphicsio.jar:${deblib}/freehep-graphicsio-pdf.jar:${deblib}/freehep-graphicsio-ps.jar:${deblib}/libfreehep-graphicsio-emf.jar:${deblib}/libfreehep-graphicsio-swf.jar:${deblib}/libfreehep-graphicsio-svg.jar:${deblib}/freehep-export.jar:${lib}/iText.jar">
+                      
classpath="${deblib}/jebl.jar:${deblib}/jam.jar:${deblib}/freehep-graphics2d.jar:${deblib}/freehep-graphicsio.jar:${deblib}/freehep-graphicsio-pdf.jar:${deblib}/freehep-graphicsio-ps.jar:${deblib}/libfreehep-graphicsio-emf.jar:/usr/share/maven-repo/org/freehep/freehep-graphicsio-emf/2.1.1/freehep-graphicsio-emf-2.1.1.jar:${deblib}/libfreehep-graphicsio-swf.jar:${deblib}/libfreehep-graphicsio-svg.jar:${deblib}/freehep-export.jar:${lib}/iText.jar:/usr/share/maven-repo/org/freehep/freehep-graphicsio-svg/2.1.1/freehep-graphicsio-svg-2.1.1.jar:/usr/share/maven-repo/org/freehep/freehep-graphicsio-swf/2.1.1/freehep-graphicsio-swf-2.1.1.jar">
                        <include name="figtree/**"/>
                </javac>
                <copy todir="${build}" verbose="true">


--
To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/AANLkTimsKa8A_WTGxW1Ahf=wx6cnf49_yzozbumem...@mail.gmail.com

Reply via email to