incubator-imperius-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Re: Build errors
Date Sat, 30 Aug 2008 19:38:57 GMT
So, mvn clean install worked. I wonder if the rules for generated code  
are correct, since the testCompile and parser/compiler tasks didn't  
decide to recompile anything.

Craig

On Aug 30, 2008, at 12:23 PM, Craig L Russell wrote:

> Hi,
>
> I'm trying to build from trunk via mvn install and get errors.  
> Something I'm doing wrong, I suppose...
>
> [CraigRussell:~/apache/imperius/trunk] clr% svn up
> At revision 690555.
> [CraigRussell:~/apache/imperius/trunk] clr% mvn install
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   imperius-splcore
> [INFO]   imperius-javaspl
> [INFO]   javaspl-samples
> [INFO]   Apache imperius
> [INFO]  
> ----------------------------------------------------------------------------
> [INFO] Building imperius-splcore
> [INFO]    task-segment: [install]
> [INFO]  
> ----------------------------------------------------------------------------
> [INFO] [antlr:generate {execution: default}]
> [INFO] Using Antlr grammar: /Users/clr/apache/imperius/trunk/ 
> imperius-splcore/src/main/antlr/org/apache/imperius/spl/parser/ 
> compiler/cimspl.g
> [INFO] The grammar is already generated.
> [INFO] Using Antlr grammar: /Users/clr/apache/imperius/trunk/ 
> imperius-splcore/src/main/antlr/org/apache/imperius/spl/parser/ 
> compiler/cimspl.tree.g
> [INFO] The grammar is already generated.
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [surefire:test]
> [INFO] Surefire report directory: /Users/clr/apache/imperius/trunk/ 
> imperius-splcore/target/surefire-reports
> org.apache.maven.surefire.booter.SurefireExecutionException:  
> org.apache.imperius.util.SPLLogger.getLogger()Ljava/util/logging/ 
> Logger;; nested exception is java.lang.NoSuchMethodError:  
> org.apache.imperius.util.SPLLogger.getLogger()Ljava/util/logging/ 
> Logger;
> java.lang.NoSuchMethodError:  
> org.apache.imperius.util.SPLLogger.getLogger()Ljava/util/logging/ 
> Logger;
> 	at  
> org 
> .apache 
> .imperius 
> .spl.tests.BooleanExpressionTest.<clinit>(BooleanExpressionTest.java: 
> 69)
> 	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:585)
> 	at  
> org 
> .apache 
> .maven 
> .surefire 
> .junit.JUnitTestSet.createInstanceFromSuiteMethod(JUnitTestSet.java: 
> 177)
> 	at  
> org 
> .apache 
> .maven 
> .surefire.junit.JUnitTestSet.constructTestObject(JUnitTestSet.java: 
> 137)
> 	at  
> org 
> .apache 
> .maven.surefire.junit.JUnitTestSet.getTestCount(JUnitTestSet.java:244)
> 	at  
> org 
> .apache 
> .maven 
> .surefire 
> .suite 
> .AbstractDirectoryTestSuite 
> .locateTestSets(AbstractDirectoryTestSuite.java:101)
> 	at  
> org 
> .apache 
> .maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:147)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.java:108)
> 	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:585)
> 	at  
> org 
> .apache 
> .maven 
> .surefire 
> .booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
> 	at  
> org 
> .apache 
> .maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
> [INFO]  
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Sat Aug 30 12:22:22 PDT 2008
> [INFO] Final Memory: 5M/10M
> [INFO]  
> ------------------------------------------------------------------------
> [CraigRussell:~/apache/imperius/trunk] clr%
>
> Craig L Russell
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
> 408 276-5638 mailto:Craig.Russell@sun.com
> P.S. A good JDO? O, Gasp!
>

Craig L Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


Mime
View raw message