This is probably a better question for a Java Cup mailing list. Justin
On Feb 24, 2010, at 3:13 PM, Sean Smitz <[email protected]> wrote: > I have a project that I'm working on and we have been using the > following code to get the java_cup package: > > <dependency> > <groupId>java_cup</groupId> > <artifactId>cup</artifactId> > <version>11</version> > </dependency> > > Unfortunately, this does not appear to be in any of the following > repositories: > > central (http://repo1.maven.org/maven2), > maven2-repository.dev.java.net (http://download.java.net/maven/2), > maven-repository.dev.java.net (http://download.java.net/maven/1) > > I did find a repository that had what I thought was the same jar: > > <repository> > <id>nuxeo</id> > <name>Nuxeo Repository</name> > <url>http://svn.nuxeo.org/maven/repo</url> > </repository> > > <dependency> > <groupId>cup</groupId> > <artifactId>java-cup</artifactId> > <version>0.11a</version> > </dependency> > > However, when I attempted to use it I get the following compile error: > > /home/stsmitz/projects/itos_trunk/src/Record/record_framework/src/ > main/java/gov/nasa/gsfc/itos/record/parse/CustomSymbol.java:[33,2] > cannot find symbol > symbol : constructor Symbol > (int,java_cup.runtime.Symbol,java_cup.runtime.Symbol) > location: class java_cup.runtime.Symbol > > /home/stsmitz/projects/itos_trunk/src/Record/record_framework/src/ > main/java/gov/nasa/gsfc/itos/record/parse/CUPGrammarParser.java: > [23,25] cannot find symbol > symbol : constructor GrammarParser > (gov.nasa.gsfc.itos.record.parse.Yylex, > gov.nasa.gsfc.itos.record.parse.CustomSymbolFactory) > location: class gov.nasa.gsfc.itos.record.parse.GrammarParser > > > [INFO] > --- > --------------------------------------------------------------------- > [INFO] Trace > org.apache.maven.BuildFailureException: Compilation failure > 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.CompilationFailureException: > Compilation failure > at org.apache.maven.plugin.AbstractCompilerMojo.execute > (AbstractCompilerMojo.java:516) > at org.apache.maven.plugin.CompilerMojo.execute > (CompilerMojo.java:114) > 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: Wed Feb 24 14:24:14 EST 2010 > [INFO] Final Memory: 14M/35M > [INFO] > --- > --------------------------------------------------------------------- > make[1]: *** [maven-plugin] Error 1 > make[1]: Leaving directory `/home/stsmitz/projects/itos_trunk/src/ > Record' > make: *** [all-recursive] Error 1 > > So this version of java_cup does not have the class Symbol defined. > Can someone point me to where the correct jar file is being stored > or do we need to transition to something else? > > Thank you in advance, > > > --- > Sean Smitz > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
