Hi Ede,

I finally found some time and get noticeable differences between last revision and 1.15.

I just tested export image to svg and export map to svg from cadplan (I don't know other places where svg is used).

Prepare a map wit a sextante raster and some vectors

Export the view to a file, choose svg :

- get the same thing on 1.15 and last revision : vectors but no image

Export map from cadplan

- cadplan with external renderer : get nothing, file is even not exported (neither in 1.15 nor with last revision)

- cadplan ISA renderer : get vector and raster with a scale problem on 1.15, get nothing with last release

- cadplan core renderer : get vector and raster on 1.15, get nothing with last release

=> I couldn't get svg map from cadplan plugin from last release, did you ?


Michaël

  

envoyé : 6 août 2020 à 14:46
de : edgar.sol...@web.de
à : jump-pilot-devel@lists.sourceforge.net
objet : Re: [JPP-Devel] batik upgraded


a quick test of both did not reveal any bugs. how about on your sides? ..ede

On 05.08.2020 16:14, Giuseppe Aruta wrote:

Thanks Ede,
AFAIR also both print plugins have dependencies  to batik classes
Peppe

Il giorno mer 5 ago 2020 alle ore 15:19 <edgar.sol...@web.de <mailto:edgar.sol...@web.de>> ha scritto:

hey All,

had to touch batik, as it was missing some classes in trunk/lib/batik.jar after Peppe added AdditionalResultsIO. maven already had the proper batik components defined that's why the snapshot builds went fine.

while at it i noticed that we were using a quite old batik version and upgraded it. looks good to me but please test and come back if something breaks horribly.

sunshine all over.. (sweating) ede

-------- Forwarded Message --------
Subject: [JPP-Devel] SVN: [6369] core/trunk
Date: Wed, 05 Aug 2020 12:50:50 +0000
From: jump-pilot-svn--- via Jump-pilot-devel <jump-pilot-devel@lists.sourceforge.net <mailto:jump-pilot-devel@lists.sourceforge.net>>
Reply-To: OpenJump develop and use <jump-pilot-devel@lists.sourceforge.net <mailto:jump-pilot-devel@lists.sourceforge.net>>
To: jump-pilot-devel@lists.sourceforge.net <mailto:jump-pilot-devel@lists.sourceforge.net>
CC: jump-pilot-...@lists.sourceforge.net <mailto:jump-pilot-...@lists.sourceforge.net>

Revision: 6369
          http://sourceforge.net/p/jump-pilot/code/6369
Author:   edso
Date:     2020-08-05 12:50:49 +0000 (Wed, 05 Aug 2020)
Log Message:
-----------
upgrade batik to latest greatest v1.13
minimal fixup of AdditonalResultsIO
fingers crossed, let's see if it breaks something more

Modified Paths:
--------------
    core/trunk/pom.xml
    core/trunk/src/org/openjump/sextante/gui/additionalResults/AdditionalResultsIO.java

Added Paths:
-----------
    core/trunk/lib/batik-all-1.13.jar

Removed Paths:
-------------
    core/trunk/lib/batik-all.jar

Added: core/trunk/lib/batik-all-1.13.jar
===================================================================
(Binary files differ)

Index: core/trunk/lib/batik-all-1.13.jar
===================================================================
--- core/trunk/lib/batik-all-1.13.jar   2020-08-05 12:45:12 UTC (rev 6368)
+++ core/trunk/lib/batik-all-1.13.jar   2020-08-05 12:50:49 UTC (rev 6369)

Property changes on: core/trunk/lib/batik-all-1.13.jar
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Deleted: core/trunk/lib/batik-all.jar
===================================================================
(Binary files differ)

Modified: core/trunk/pom.xml
===================================================================
--- core/trunk/pom.xml  2020-08-05 12:45:12 UTC (rev 6368)
+++ core/trunk/pom.xml  2020-08-05 12:50:49 UTC (rev 6369)
@@ -924,25 +924,25 @@
         <dependency>
             <groupId>batik</groupId>
             <artifactId>batik-awt-util</artifactId>
-            <version>1.6</version>
+            <version>1.13</version>
             <scope>compile</scope>
         </dependency>
         <dependency>
             <groupId>batik</groupId>
             <artifactId>batik-dom</artifactId>
-            <version>1.6</version>
+            <version>1.13</version>
             <scope>compile</scope>
         </dependency>
         <dependency>
             <groupId>batik</groupId>
             <artifactId>batik-svggen</artifactId>
-            <version>1.6</version>
+            <version>1.13</version>
             <scope>compile</scope>
         </dependency>
         <dependency>
             <groupId>batik</groupId>
             <artifactId>batik-squiggle</artifactId>
-            <version>1.6</version>
+            <version>1.13</version>
             <scope>compile</scope>
         </dependency>
         <dependency>

Modified: core/trunk/src/org/openjump/sextante/gui/additionalResults/AdditionalResultsIO.java
===================================================================
--- core/trunk/src/org/openjump/sextante/gui/additionalResults/AdditionalResultsIO.java 2020-08-05 12:45:12 UTC (rev 6368)
+++ core/trunk/src/org/openjump/sextante/gui/additionalResults/AdditionalResultsIO.java 2020-08-05 12:50:49 UTC (rev 6369)
@@ -27,7 +27,7 @@
 import javax.swing.tree.TreePath;
 import javax.xml.namespace.QName;

-import org.apache.batik.dom.svg.SVGDOMImplementation;
+import org.apache.batik.anim.dom.SVGDOMImplementation;
 import org.apache.batik.svggen.SVGGraphics2D;
 import org.apache.log4j.Logger;
 import org.math.plot.PlotPanel;
@@ -37,7 +37,7 @@
 import org.openjump.core.ui.util.LayerableUtil;
 import org.openjump.sextante.core.ObjectAndDescription;
 import org.w3c.dom.DOMImplementation;
-import org.w3c.dom.svg.SVGDocument;
+import org.w3c.dom.Document;

 import com.vividsolutions.jump.I18N;
 import com.vividsolutions.jump.feature.FeatureCollection;
@@ -401,7 +401,7 @@
                // Get a SVGDOMImplementation and create an XML document
                DOMImplementation domImpl = SVGDOMImplementation.getDOMImplementation();
                String svgNS = "http://www.w3.org/2000/svg";
-               SVGDocument svgDocument = (SVGDocument) domImpl.createDocument(svgNS, "svg", null);
+               Document svgDocument = domImpl.createDocument(svgNS, "svg", null);

                // Create an instance of the SVG Generator
                SVGGraphics2D svgGenerator = new SVGGraphics2D(svgDocument);



_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net <mailto:Jump-pilot-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net <mailto:Jump-pilot-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel



_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel



_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to