[jira] [Resolved] (BATIK-1235) ext-jar target in build.xml fails to copy some classes into jar (-> ClassCastException)

"simon steiner (JIRA)" <[email protected]> Fri, 29 Jun 2018 12:17:00 +0000 (UTC)
Newsgroups gmane.text.xml.batik.devel
Message-ID <[email protected]>
     [ https://issues.apache.org/jira/browse/BATIK-1235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

simon steiner resolved BATIK-1235.
----------------------------------
    Resolution: Duplicate

|| |BATIK-1232|

> 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
>            Priority: Minor
>
> 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)