[
https://issues.apache.org/jira/browse/XALANJ-2370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17772050#comment-17772050
]
Joe Kesselman commented on XALANJ-2370:
---------------------------------------
The maven build (in progress) now uses the maven java-cup and jflex plugins
during build, and I *think* leaves them out of the jarfiles. So when we're
ready to cut over to mvn, this issue should be solved as a side effect. Caveat:
This may mean that using xsltc (compiled) mode will have a dependency on those
packages; we'll find out.
> java_cup - duplicate classes in classpath
> -----------------------------------------
>
> Key: XALANJ-2370
> URL: https://issues.apache.org/jira/browse/XALANJ-2370
> Project: XalanJ2
> Issue Type: Bug
> Components: Xalan, XSLTC
> Affects Versions: 2.7.1
> Reporter: Thomas Spiegl
> Priority: Blocker
>
> xalan.jar contains java cup classes http://www2.cs.tum.edu/projects/cup/
> without changing the namespace (package name). This leads to duplicate class
> problems, if someone is using a different cup version in his project.
> Just stumbled on this issue as my generated parser did not compile, because
> my IDE loaded xalan's cup classes first.
> I can work around this issue by refactoring cup classes by myself. But this
> should only be a temporary solution.
> To be done: refactor cup package names when delivering with xalan.jar
> Thanks!
> Thomas
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]