[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help wanted in Java library packaging (JEBL2)



On Sun, Feb 13, 2011 at 09:54:58AM -0500, Scott Howard wrote:
> It looks like you got it working, and in a sane way - that's all that matters!
> 
> > Now to my remaining problem:  If you look at the updated build log
> > at the given URL I ran into
> >
> >    [javac] /home/andreas/debian-maintain/todo/0_debian-med_todo/0phylogeny/figtree/figtree-wo_jam_jebl/figtree-1.3.1/src/figtree/application/FigTreeApplication.java:20: package org.fr
> >    [javac] import org.freehep.graphicsio.ps.PSGraphics2D;
> >    [javac]                                 ^
> >    [javac] /home/andreas/debian-maintain/todo/0_debian-med_todo/0phylogeny/figtree/figtree-wo_jam_jebl/figtree-1.3.1/src/figtree/application/FigTreeApplication.java:21: package org.fr
> >    [javac] import org.freehep.graphicsio.pdf.PDFGraphics2D;
> >    [javac]                                  ^
> >    ...
> >
> > even after having the classpath adapted to include
> >
> >   ${deblib}/freehep-graphics2d.jar
> >
> > (deblib:=/usr/share/java).  Any further ideas?
> 
> You might need to B-D on libfreehep-graphicsio-java [1,2] and include
> ${deblib}/freehep-graphicsio.jar in your classpath.

I did both:

$ grep libfreehep-graphicsio-java debian/control
 libfreehep-graphics2d-java, libfreehep-graphicsio-java, libjebl2-java, libjam-java,

$ grep freehep-graphicsio.jar build.xml 
                       classpath="${deblib}/jebl.jar:${deblib}/jam.jar:${deblib}/freehep-graphics2d.jar:${deblib}/freehep-graphicsio.jar:${deblib}/freehep-export.jar:${lib}/iText.jar">

as I hoped to show at

   http://people.debian.org/~tille/packages/figtree-help-wanted/
 
However, the problem above remained and I have no idea why.

> Also, now that you are properly setting the classpaths for your jars,
> you can make the figtree's Depends in debian/control be:
> 
> Depends: ${shlibs:Depends}, ${misc:Depends}, ${java:Depends}.
> 
> That should add default-jre | sun-java and also try to resolve which
> java libraries you are using.

Fixed in SVN.

Kind regards

     Andreas. 

-- 
http://fam-tille.de


Reply to: