[jira] [Created] (BATIK-1235) ext-jar target in build.xml fails to copy some classes into jar (-> ClassCastException)
"Alexander Hars (JIRA)" <[email protected]> Fri, 29 Jun 2018 12:04:00 +0000 (UTC)
| Newsgroups | gmane.text.xml.batik.devel |
|---|---|
| Message-ID | <[email protected]> |
Alexander Hars created BATIK-1235:
-------------------------------------
Summary: ext-jar target in build.xml fails to copy some classes into jar (-> ClassCastException)
Key: BATIK-1235
URL: https://issues.apache.org/jira/browse/BATIK-1235
Project: Batik
Issue Type: Bug
Affects Versions: 1.10
Reporter: Alexander Hars
Revision 1830543 moved some classes (for example ElementTraversal) from *org.w3c.dom* to *org.apache.batik.w3c.dom*
But the packaging configuration for the ext-jar target was not updated. It still is:
{{ <fileset dir="${dest}">}}
{{ <include name="org/w3c/**"/>}}
{{ </fileset>}}
this should be changed to something like:
{{ <fileset dir="${dest}">}}
{{ <include name="${package-prefix}/w3c/dom/**"/> }}
{{ <include name="org/w3c/**"/>}}
{{ </fileset>}}
Currently this means that 7 files that were moved are missing from batik-ext.jar.
Downloading the source, then building and running Squiggle leads to a ClassNotFoundException for org.apache.batik.w3c.dom.ElementTraversal.
This problem does not affect the all-jar target.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)