You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Joe Kesselman (Jira)" <ji...@apache.org> on 2024/01/10 22:18:00 UTC
[jira] [Commented] (XALANJ-2370) java_cup - duplicate classes in classpath
[ https://issues.apache.org/jira/browse/XALANJ-2370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17805306#comment-17805306 ]
Joe Kesselman commented on XALANJ-2370:
---------------------------------------
Should be resolved now I believe JFlex is used only at build time, and that java-cup.runtime is now being renamed when included in the Maven jarfile. We can debate whether the latter should instead be an external dependency (which would be a new Issue), but this solves the immediate bug.
Any objections before I close it as resolved?
> 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: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org