pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gk_br...@verizon.net>
Subject Re: Move Wtk classes related to SVGSalamander in a dedicated wtk-svg (or similar) subproject inside Pivot
Date Thu, 08 Sep 2011 14:36:13 GMT
> I have only scanned this thread quickly and haven't examined the code,
> but couldn't the SVG stuff be moved into a separate JAR as Sandro
> suggested, after modifying the relevant
> BXMLSerializer/Image/Drawing/whatever classes to find the SVG jar via
> Pivot/Java service loaders?

The actual SVG stuff is already in a separate JAR (svgSalamander-tiny.jar), which isn't included
with the distribution. The only Pivot class that has a dependency on it is Drawing, but if
an app doesn't use the Drawing class, then the SVG Salamander classes aren't loaded. So there's
no need to use a service provider - the JVM already takes care of that.

G


Mime
View raw message