Re: Trunk failing to build

From: Kevin Menard (kmenar..ervprise.com)
Date: Sat Oct 20 2007 - 15:08:39 EDT

  • Next message: Andrus Adamchik: "Re: Trunk failing to build"

    On 10/20/07 2:36 PM, "Andrus Adamchik" <andru..bjectstyle.org> wrote:

    >> MacOS X 10.4 (intel) Java 5
    >> Maven 2.0.7
    >
    > Same here. I was still on mvn 2.0.6, but I upgraded. I can get past
    > compiling cayenne-jdk1.4-unpublished, although now my build fails in
    > itests in jpa-chapter5, something related to the forced upgrade of
    > OpenEJB/Geronimo. So I have that new error to figure out:

    That was the test failure I was seeing last week. I hadn't bothered to look
    into it too much though. I just figured it'd work itself out eventually.

    >> /Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/src/
    >> main/jav
    >> a/org/apache/cayenne/ejbql/parser/Node.java:[29,7] duplicate class:
    >> org.apache.cayenne.ejbql.parser.Node
    >
    > Could you check where this is coming from? It seems to be the root
    > cause messing up everything else...

    It looks like the Node interface is being defined in two places, one in the
    main sources and one generated by javacc:

    src/main/java/org/apache/cayenne/ejbql/parser/Node.java

    target/generated-sources/jjtree/org/apache/cayenne/ejbql/org/apache/cayenne/
    ejbql/parser/Node.java

    These both define a "Node" interface in the package
    "org.apache.cayenne.ejbql.parser"

    -- 
    Kevin
    



    This archive was generated by hypermail 2.0.0 : Sat Oct 20 2007 - 15:09:35 EDT