Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 911054 - Unable to use Antlr preprocessor to read grammar file: antlr.CommonToken cannot be cast to antlr.Token
Summary: Unable to use Antlr preprocessor to read grammar file: antlr.CommonToken cann...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: antlr-maven-plugin
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Stanislav Ochotnicky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 914612
TreeView+ depends on / blocked
 
Reported: 2013-02-14 09:50 UTC by gil cattaneo
Modified: 2013-03-04 09:31 UTC (History)
3 users (show)

Fixed In Version: antlr-maven-plugin-2.2-9.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-04 09:31:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description gil cattaneo 2013-02-14 09:50:28 UTC
Description of problem:

apacheds-shared fails to build in f19/rawhide

[ERROR] Failed to execute goal org.codehaus.mojo:antlr-maven-plugin:2.2:generate (default) on project shared-ldap: Unable to use Antlr preprocessor to read grammar file: antlr.CommonToken cannot be cast to antlr.Token -> [Help 1]

http://koji.fedoraproject.org/koji/getfile?taskID=4961261&name=build.log
http://koji.fedoraproject.org/koji/getfile?taskID=4961261&name=mock_output.log
http://koji.fedoraproject.org/koji/getfile?taskID=4961261&name=root.log
http://koji.fedoraproject.org/koji/getfile?taskID=4961261&name=state.log

mvn-rpmbuild -X install javadoc:aggregate
http://kojipkgs.fedoraproject.org//work/tasks/7753/4967753/build.log
http://kojipkgs.fedoraproject.org//work/tasks/7753/4967753/mock_output.log
http://kojipkgs.fedoraproject.org//work/tasks/7753/4967753/root.log
http://kojipkgs.fedoraproject.org//work/tasks/7753/4967753/state.log
in my sistem (f18) build without problems

How reproducible:
in f19 only (?)

Comment 2 Stanislav Ochotnicky 2013-03-04 08:17:24 UTC
I'll create a bugfix, it's classloader clashes of antlr within antlr-maven-plugin. Simple exclusion should fix it

Comment 3 Stanislav Ochotnicky 2013-03-04 09:31:39 UTC
This build should fix the issue once it gets into buildroots. 
http://koji.fedoraproject.org/koji/taskinfo?taskID=5075191

If the problem persists feel free to reopen


Note You need to log in before you can comment on or make changes to this bug.