Thanks for the effort! I have backed out the change; and attached a patch of the work to the original bug report.
Jody On 29/06/2010, at 5:13 PM, Mª®k wrote: > just for the heck of it, not sure if it's useful, I did a run with the > "stock" 2.6 javacc plugin; it fails with the same error on the line > containing: > > < DATE_TIME : <FULL_DATE>"T"<UTC_TIME> > | > > Java Compiler Compiler Version 5.0 (Parser Generator) > (type "javacc" with no arguments for help) > Reading from file > C:\workspace\org.geotools.geotools-TRUNK\modules\library\cql\target\javacc-1277795306015\node\ECQLGrammar.jj > . . . > Error: Line 260, Column 45: String in character list may contain only > one character. > Detected 1 errors and 0 warnings. > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] JavaCC reported exit code 1: > [-OUTPUT_DIRECTORY=C:\workspace\org.geotools.geotools-TRUNK\modules\library\cql\target\javacc-1277795306 > 015\parser, > C:\workspace\org.geotools.geotools-TRUNK\modules\library\cql\target\javacc-1277795306015\node\ECQLGrammar.jj] > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > org.apache.maven.BuildFailureException: JavaCC reported exit code 1: > [-OUTPUT_DIRECTORY=C:\workspace\org.geotools.geotools-TRUNK\modules\lib > rary\cql\target\javacc-1277795306015\parser, > C:\workspace\org.geotools.geotools-TRUNK\modules\library\cql\target\javacc-1277795306015\node\E > CQLGrammar.jj] > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) > at > org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > Caused by: org.apache.maven.plugin.MojoFailureException: JavaCC > reported exit code 1: > [-OUTPUT_DIRECTORY=C:\workspace\org.geotools.geotools- > TRUNK\modules\library\cql\target\javacc-1277795306015\parser, > C:\workspace\org.geotools.geotools-TRUNK\modules\library\cql\target\javacc-127 > 7795306015\node\ECQLGrammar.jj] > at org.codehaus.mojo.javacc.ToolFacade.run(ToolFacade.java:100) > at > org.codehaus.mojo.javacc.JJTreeJavaCCMojo.processGrammar(JJTreeJavaCCMojo.java:311) > at > org.codehaus.mojo.javacc.AbstractJavaCCMojo.execute(AbstractJavaCCMojo.java:411) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) > ... 17 more > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 3 seconds > [INFO] Finished at: Tue Jun 29 09:08:26 CEST 2010 > [INFO] Final Memory: 13M/32M > [INFO] > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Geotools-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-devel ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
