Attached is an ebuild for the latest version of dev-java/jgraph as the latest version in portage is somehow out of date.
Created attachment 84470 [details] ebuild for jgraph-5.8.0.0
btw: I'm allready using jgraph-5.8.0.0 with this ebuild on two boxes and it seems to work fine (with sun-jdk-1.5.0.06-r2).
I just renamed to 5.9.2.0 and that worked fine as well.
(In reply to comment #3) > I just renamed to 5.9.2.0 and that worked fine as well. same for me ...
Created attachment 96048 [details] ebuild for jgraph-5.9.2.0 this ebuild inherits java-pkg-2 instead of java-pkg; thus a generation 2 compiler (aka java-1.5) will be used by default ... (don't ask me if this is a good idea, but at the moment i like it)
Commited to CVS, thanks everyone. Some notes on generation-2 ebuild from here: - you need to add java-ant-2 in inherit to get proper bytecode in cases where build.xml doesn't specify source and target arguments to <javac> itself - use doc && antflags="${antflags} doc" can be rewritten to $(use_doc apidoc) - call eant instead of ant, and you don't need || die ... error handling is in eant itself - you can stuff everything to one line instead of building $antflags - specify S="${WORKDIR}" (in this case) and you don't need to prefix everything with WORKDIR or work... that's bad
well, thanks for your tipps and thanks for adding jgraph-5.9.2.0 to the tree ... btw.: i think "src" should be substituted with "source" in line 43 of the ebuild ...
Whoops, thanks, fixed.