jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: maven build error
Date Tue, 04 Oct 2005 12:39:48 GMT
those files should be removed by the maven goal:
jackrabbit:generate-sql-parser

which is integrated in the build process.

try the following:

- maven clean jar
(builds jackrabbit again from scratch)

OR
- maven jackrabbit:generate-sql-parser
(should remove the duplicate source files)

regards
  marcel

vpande (sent by Nabble.com) wrote:
> thanks Jukka
> I got past that error by having serializer.ja, but got other compiler errors complaining
about a duplicate class.
> 
> Any help appreciated.
> regards
> vivek
> 
> 
> Attempting to download cqfs-jackrabbit-3.5.6-SNAPSHOT.jar.
> Attempting to download cqfs-3.5.6-SNAPSHOT.jar.
> build:start:
> 
> java:prepare-filesystem:
> 
> java:compile:
>     [echo] Compiling to C:\jackrabbit/target/classes
>     [javac] Compiling 351 source files to C:\jackrabbit\target\classes
> C:\jackrabbit\target\generated-src\main\java\org\apache\jackrabbit\core\query\sq
> l\ASTContainsExpression.java:5: duplicate class: org.apache.jackrabbit.core.quer
> y.sql.ASTContainsExpression
> public class ASTContainsExpression extends SimpleNode {
>        ^
> C:\jackrabbit\target\generated-src\main\java\org\apache\jackrabbit\core\query\sq
> l\ASTIdentifier.java:5: duplicate class: org.apache.jackrabbit.core.query.sql.AS
> TIdentifier
> public class ASTIdentifier extends SimpleNode {
>        ^
> C:\jackrabbit\target\generated-src\main\java\org\apache\jackrabbit\core\query\sq
> l\ASTLiteral.java:5: duplicate class: org.apache.jackrabbit.core.query.sql.ASTLi
> teral
> public class ASTLiteral extends SimpleNode {
>        ^
> C:\jackrabbit\target\generated-src\main\java\org\apache\jackrabbit\core\query\sq
> l\ASTPredicate.java:5: duplicate class: org.apache.jackrabbit.core.query.sql.AST
> Predicate
> public class ASTPredicate extends SimpleNode {
>        ^
> Note: C:\jackrabbit\target\generated-src\main\java\org\apache\jackrabbit\core\qu
> ery\xpath\XPath.java uses or overrides a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> 4 errors
> 
> BUILD FAILED
> File...... C:\Documents and Settings\vivek\.maven\cache\maven-java-plugin-1.5\pl
> ugin.jelly
> Element... ant:javac
> Line...... 63
> Column.... 48
> Compile failed; see the compiler error output for details.
> Total time: 8 seconds
> Finished at: Tue Oct 04 21:27:24 EST 2005
> --
> Sent from the Jackrabbit - Dev forum at Nabble.com:
> http://www.nabble.com/maven-build-error-t372026.html#a1029537
> 

Mime
View raw message