[Debian-med-packaging] Solved (Was: Where to find graphics2D.stream)

Andreas Tille andreas at an3as.eu
Fri Nov 27 17:04:08 UTC 2015


Hi,

just for the record: My question was simply demonstrating how less
my Java competence is.  I've found the solution now myself:

   https://anonscm.debian.org/cgit/debian-med/cgview.git/tree/debian/patches/fix_batic-svggen_SVGGraphics2D_call.patch

Sorry for the noise

      Andreas.

On Fri, Nov 27, 2015 at 11:24:49AM +0100, Andreas Tille wrote:
> Hi,
> 
> I'm trying to package CGView[1] and was running into the error:
> 
> 
> ca/ualberta/stothard/cgview/CgviewIO.java:304: error: no suitable method found for stream(Element,Writer,boolean)
>                 graphics2D.stream(root, out, useCSS);
>                           ^
>     method SVGGraphics2D.stream(Element,Writer,boolean,boolean) is not applicable
>       (actual and formal argument lists differ in length)
>     method SVGGraphics2D.stream(Element,Writer) is not applicable
>       (actual and formal argument lists differ in length)
>     method SVGGraphics2D.stream(Writer,boolean) is not applicable
>       (actual and formal argument lists differ in length)
>     method SVGGraphics2D.stream(Writer,boolean,boolean) is not applicable
>       (actual argument Element cannot be converted to Writer by method invocation conversion)
>     method SVGGraphics2D.stream(Writer) is not applicable
>       (actual and formal argument lists differ in length)
>     method SVGGraphics2D.stream(String,boolean) is not applicable
>       (actual and formal argument lists differ in length)
>     method SVGGraphics2D.stream(String) is not applicable
>       (actual and formal argument lists differ in length)
> ca/ualberta/stothard/cgview/CgviewIO.java:312: error: no suitable method found for stream(Element,Writer,boolean)
>                 graphics2D.stream(root, out, useCSS);
>                           ^
> 
> Any hint in what class this one might be?
> 
> Thanks for any help
> 
>      Andreas.
> 
> [1]  git://anonscm.debian.org/debian-med/cgview.git
> 
> -- 
> http://fam-tille.de

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list