[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 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.
 
> --- 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">

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


Reply to: