[
https://issues.apache.org/jira/browse/CASSANDRA-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694992#action_12694992
]
Jonathan Ellis commented on CASSANDRA-40:
-----------------------------------------
I get errors running `ant clean build` after applying this patch:
gen-cli-grammar:
[echo] Building Grammar
/home/jonathan/projects/cassandra-new-svn/src/org/apache/cassandra/cli/Cli.g
....
[java] Exception in thread "main" java.lang.NoClassDefFoundError:
org/antlr/stringtemplate/StringTemplateErrorListener
[java] at org.antlr.Tool.main(Tool.java:67)
[java] Caused by: java.lang.ClassNotFoundException:
org.antlr.stringtemplate.StringTemplateErrorListener
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
[java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
[java] ... 1 more
[java] Java Result: 1
> Build does not handle ANTLR generated code properly
> ---------------------------------------------------
>
> Key: CASSANDRA-40
> URL: https://issues.apache.org/jira/browse/CASSANDRA-40
> Project: Cassandra
> Issue Type: Bug
> Reporter: Per Mellqvist
> Priority: Minor
> Attachments: diff.txt
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> The default ant target does not trigger generation of code from Cli.g and
> Cql.g
> The clean target does not remove generated files
> The targets gen-cli-grammar and gen-cql-grammar do not reference current
> locations of Cli.g and Cql.g
> Generated files are commited in svn repository (by mistake?)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.