You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by Kevin Menard <km...@servprise.com> on 2007/10/19 16:57:49 UTC

Trunk failing to build

Anyone else having difficulty getting trunk to build?  It looks like it may
be related to recent EJBQL work.  A brief perusal through the commit logs
didn't cause any alarms though.

-- 
Kevin


Re: Trunk failing to build

Posted by Andrus Adamchik <an...@objectstyle.org>.
On Oct 20, 2007, at 11:48 PM, Kevin Menard wrote:

> If that be the case, it's a pretty easy fix.  But, if I'm the only one
> exhibiting it, I don't want to break trunk for everyone else . . .

At least for me it is different. Have no idea why...


Mine:


[INFO] [javacc:jjtree {execution: jjtree-jpql}]
Java Compiler Compiler Version 4.0 (Tree Builder)
(type "jjtree" with no arguments for help)
Reading from file /Users/andrus/work/cayenne-release-tag/framework/ 
cayenne-jdk1.4-unpublished/src/main/jjtree/org/apache/cayenne/ejbql/ 
EJBQLParser.jjt . . .
File "/Users/andrus/work/cayenne-release-tag/framework/cayenne-jdk1.4- 
unpublished/target/generated-sources/jjtree/org/apache/cayenne/ejbql/ 
Node.java" does not exist.  Will create one.
Annotated grammar generated successfully in /Users/andrus/work/ 
cayenne-release-tag/framework/cayenne-jdk1.4-unpublished/target/ 
generated-sources/jjtree/org/apache/cayenne/ejbql/EJBQLParser.jj
[INFO] [javacc:javacc {execution: javacc-ejbql}]
Java Compiler Compiler Version 4.0 (Parser Generator)
(type "javacc" with no arguments for help)
Reading from file /Users/andrus/work/cayenne-release-tag/framework/ 
cayenne-jdk1.4-unpublished/target/generated-sources/jjtree/org/apache/ 
cayenne/ejbql/EJBQLParser.jj . . .
Warning: Choice conflict in (...)* construct at line 818, column 17.
          Expansion nested within construct and expansion following  
construct
          have common prefixes, one of which is: "+"
          Consider using a lookahead of 2 or more for nested expansion.
Warning: Choice conflict in (...)* construct at line 827, column 17.
          Expansion nested within construct and expansion following  
construct
          have common prefixes, one of which is: "*"
          Consider using a lookahead of 2 or more for nested expansion.
File "TokenMgrError.java" does not exist.  Will create one.
File "ParseException.java" does not exist.  Will create one.
File "Token.java" does not exist.  Will create one.
File "JavaCharStream.java" does not exist.  Will create one.
Parser generated with 0 errors and 2 warnings.
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
    [delete] Deleting: /Users/andrus/work/cayenne-release-tag/ 
framework/cayenne-jdk1.4-unpublished/target/generated-sources/jjtree/ 
org/apache/cayenne/ejbql/Node.java


Yours:

[INFO] [javacc:jjtree {execution: jjtree-jpql}]
Java Compiler Compiler Version 4.0 (Tree Builder)
(type "jjtree" with no arguments for help)
Warning: Output directory
"/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/ 
target/gene
rated-sources/jjtree/org/apache/cayenne/ejbql/org/apache/cayenne/ 
ejbql/parse
r" does not exist. Creating the directory.
Reading from file
/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/src/ 
main/jjt
ree/org/apache/cayenne/ejbql/EJBQLParser.jjt . . .
File
"/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/ 
target/gene
rated-sources/jjtree/org/apache/cayenne/ejbql/org/apache/cayenne/ 
ejbql/parse
r/Node.java" does not exist.  Will create one.
Annotated grammar generated successfully in
/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/ 
target/gener
ated-sources/jjtree/org/apache/cayenne/ejbql/org/apache/cayenne/ejbql/ 
parser
/EJBQLParser.jj
[INFO] [javacc:javacc {execution: javacc-ejbql}]
Java Compiler Compiler Version 4.0 (Parser Generator)
(type "javacc" with no arguments for help)
Reading from file
/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/ 
target/gener
ated-sources/jjtree/org/apache/cayenne/ejbql/org/apache/cayenne/ejbql/ 
parser
/EJBQLParser.jj . . .
Warning: Output directory
"/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/ 
target/gene
rated-sources/javacc/org/apache/cayenne/ejbql/org/apache/cayenne/ 
ejbql/parse
r" does not exist. Creating the directory.
Warning: Choice conflict in (...)* construct at line 818, column 17.
          Expansion nested within construct and expansion following  
construct
          have common prefixes, one of which is: "+"
          Consider using a lookahead of 2 or more for nested expansion.
Warning: Choice conflict in (...)* construct at line 827, column 17.
          Expansion nested within construct and expansion following  
construct
          have common prefixes, one of which is: "*"
          Consider using a lookahead of 2 or more for nested expansion.
File "TokenMgrError.java" does not exist.  Will create one.
File "ParseException.java" does not exist.  Will create one.
File "Token.java" does not exist.  Will create one.
File "JavaCharStream.java" does not exist.  Will create one.
Parser generated with 0 errors and 3 warnings.
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[INFO] Executed tasks


Re: Trunk failing to build

Posted by Kevin Menard <km...@servprise.com>.
On 10/20/07 3:24 PM, "Andrus Adamchik" <an...@objectstyle.org> wrote:

> 
> Not sure why javacc places Node.java under "...org/apache/cayenne/
> ejbql/org/apache/cayenne/ejbql/parser/"?

Interesting.

My guess is because the output directory is
${project.build.directory}/generated-sources/javacc/org/apache/cayenne/ejbql
and the generator creates the intermediary directories to build up the path.

If that be the case, it's a pretty easy fix.  But, if I'm the only one
exhibiting it, I don't want to break trunk for everyone else . . .

-- 
Kevin


Re: Trunk failing to build

Posted by Andrus Adamchik <an...@objectstyle.org>.
I see the mismatch in that file path:


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

vs.

> file="${project.build.directory}/generated-sources/jjtree/org/ 
> apache/cayenne/ejbql/Node.java"

Not sure why javacc places Node.java under "...org/apache/cayenne/ 
ejbql/org/apache/cayenne/ejbql/parser/"?

Andrus


Re: Trunk failing to build

Posted by Andrus Adamchik <an...@objectstyle.org>.
On Oct 20, 2007, at 10:08 PM, Kevin Menard wrote:

> 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"

Ah ok... We have this (pretty old) hack in the pom to clean it up.  
Wonder why it doesn't work for you:

<plugin>
                 <artifactId>maven-antrun-plugin</artifactId>
                 <executions>
                     <execution>
                         <phase>process-sources</phase>
                         <configuration>
                             <tasks>
                                 <delete
                                     file="${project.build.directory}/ 
generated-sources/jjtree/org/apache/cayenne/ejbql/Node.java"/>
                             </tasks>
                         </configuration>
                         <goals>
                             <goal>run</goal>
                         </goals>
                     </execution>
                 </executions>
             </plugin>

Andrus

Re: Trunk failing to build

Posted by Andrus Adamchik <an...@objectstyle.org>.
On Oct 20, 2007, at 10:08 PM, Kevin Menard wrote:

>>
>> 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.

Fixed on trunk and M2 tag.

Andrus


Re: Trunk failing to build

Posted by Kevin Menard <km...@servprise.com>.
On 10/20/07 2:36 PM, "Andrus Adamchik" <an...@objectstyle.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


Re: Trunk failing to build

Posted by Andrus Adamchik <an...@objectstyle.org>.
> 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:

21:30:54,858 FATAL [startup] OpenEJB has encountered a fatal error  
and cannot be started: The Assembler encountered an unexpected error  
while attempting to build the container system.
java.lang.NoSuchMethodError:  
org.apache.geronimo.connector.outbound.GenericConnectionManager.<init> 
(Lorg/apache/geronimo/connector/outbound/connectionmanagerconfig/ 
TransactionSupport;Lorg/apache/geronimo/connector/outbound/ 
connectionmanagerconfig/PoolingSupport;ZLorg/apache/geronimo/ 
connector/outbound/connectiontracking/ConnectionTracker;Ljavax/ 
transaction/TransactionManager;Ljava/lang/String;Ljava/lang/ 
ClassLoader;)V
         at  
org.apache.openejb.resource.GeronimoConnectionManagerFactory.create 
(GeronimoConnectionManagerFactory.java:158)


> /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...

Andrus




On Oct 20, 2007, at 9:12 PM, Kevin Menard wrote:

> MacOS X 10.4 (intel) Java 5
> Maven 2.0.7
>
> This is the exact configuration I was using with everything working  
> fine a
> week ago.  So, the only two things that I think could have happened  
> are a
> change in the code or a change in one of the maven plugins.   
> Unfortunately,
> I don't know exactly what versions of those I was running last week.
>
> Perhaps you could try running "mvn -U clean compile"?  If it  
> breaks, we'll
> have some fun figuring it out, but at least we can either point at  
> a maven
> plugin or a code change.
>
> -- 
> Kevin
>
>
> On 10/20/07 1:40 PM, "Andrus Adamchik" <an...@objectstyle.org> wrote:
>
>> Strange. What Java and Maven version are you using?
>>
>> Andrus
>>
>> On Oct 20, 2007, at 4:51 PM, Kevin Menard wrote:
>>
>
>


Re: Trunk failing to build

Posted by Kevin Menard <km...@servprise.com>.
MacOS X 10.4 (intel) Java 5
Maven 2.0.7

This is the exact configuration I was using with everything working fine a
week ago.  So, the only two things that I think could have happened are a
change in the code or a change in one of the maven plugins.  Unfortunately,
I don't know exactly what versions of those I was running last week.

Perhaps you could try running "mvn -U clean compile"?  If it breaks, we'll
have some fun figuring it out, but at least we can either point at a maven
plugin or a code change.

-- 
Kevin


On 10/20/07 1:40 PM, "Andrus Adamchik" <an...@objectstyle.org> wrote:

> Strange. What Java and Maven version are you using?
> 
> Andrus
> 
> On Oct 20, 2007, at 4:51 PM, Kevin Menard wrote:
> 


Re: Trunk failing to build

Posted by Andrus Adamchik <an...@objectstyle.org>.
Strange. What Java and Maven version are you using?

Andrus

On Oct 20, 2007, at 4:51 PM, Kevin Menard wrote:

> It's not tests that are failing.  I can't get it to compile.  It  
> looks like
> the generated parse tree is wrong.  Below is the output I get when  
> I do "mvn
> clean compile" from the parent directory:
>
> [INFO] [javacc:jjtree {execution: jjtree-jpql}]
> Java Compiler Compiler Version 4.0 (Tree Builder)
> (type "jjtree" with no arguments for help)
> Warning: Output directory
> "/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/ 
> target/gene
> rated-sources/jjtree/org/apache/cayenne/ejbql/org/apache/cayenne/ 
> ejbql/parse
> r" does not exist. Creating the directory.
> Reading from file
> /Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/src/ 
> main/jjt
> ree/org/apache/cayenne/ejbql/EJBQLParser.jjt . . .
> File
> "/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/ 
> target/gene
> rated-sources/jjtree/org/apache/cayenne/ejbql/org/apache/cayenne/ 
> ejbql/parse
> r/Node.java" does not exist.  Will create one.
> Annotated grammar generated successfully in
> /Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/ 
> target/gener
> ated-sources/jjtree/org/apache/cayenne/ejbql/org/apache/cayenne/ 
> ejbql/parser
> /EJBQLParser.jj
> [INFO] [javacc:javacc {execution: javacc-ejbql}]
> Java Compiler Compiler Version 4.0 (Parser Generator)
> (type "javacc" with no arguments for help)
> Reading from file
> /Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/ 
> target/gener
> ated-sources/jjtree/org/apache/cayenne/ejbql/org/apache/cayenne/ 
> ejbql/parser
> /EJBQLParser.jj . . .
> Warning: Output directory
> "/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/ 
> target/gene
> rated-sources/javacc/org/apache/cayenne/ejbql/org/apache/cayenne/ 
> ejbql/parse
> r" does not exist. Creating the directory.
> Warning: Choice conflict in (...)* construct at line 818, column 17.
>          Expansion nested within construct and expansion following  
> construct
>          have common prefixes, one of which is: "+"
>          Consider using a lookahead of 2 or more for nested expansion.
> Warning: Choice conflict in (...)* construct at line 827, column 17.
>          Expansion nested within construct and expansion following  
> construct
>          have common prefixes, one of which is: "*"
>          Consider using a lookahead of 2 or more for nested expansion.
> File "TokenMgrError.java" does not exist.  Will create one.
> File "ParseException.java" does not exist.  Will create one.
> File "Token.java" does not exist.  Will create one.
> File "JavaCharStream.java" does not exist.  Will create one.
> Parser generated with 0 errors and 3 warnings.
> [INFO] [antrun:run {execution: default}]
> [INFO] Executing tasks
> [INFO] Executed tasks
> [INFO] [cayenne-build:date {execution: date}]
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 819 source files to
> /Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/ 
> target/class
> es
> [INFO]
> ---------------------------------------------------------------------- 
> --
> [ERROR] BUILD FAILURE
> [INFO]
> ---------------------------------------------------------------------- 
> --
> [INFO] Compilation failure
>
> /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
>
> /Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/src/ 
> main/jav
> a/org/apache/cayenne/ejbql/parser/EJBQLJoin.java:[44,26] cannot  
> find symbol
> symbol  : method getText()
> location: interface org.apache.cayenne.ejbql.parser.Node
>
> /Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/src/ 
> main/jav
> a/org/apache/cayenne/ejbql/parser/EJBQLFromItem.java:[83,26] cannot  
> find
> symbol
> symbol  : method getText()
> location: interface org.apache.cayenne.ejbql.parser.Node
>
> /Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/ 
> target/gener
> ated-sources/javacc/org/apache/cayenne/ejbql/org/apache/cayenne/ 
> ejbql/parser
> /EJBQL.java:[19,57] incompatible types
> found   : org.apache.cayenne.ejbql.parser.Node
> required: org.apache.cayenne.ejbql.EJBQLExpression
>
> /Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/ 
> target/gener
> ated-sources/javacc/org/apache/cayenne/ejbql/org/apache/cayenne/ 
> ejbql/parser
> /EJBQL.java:[28,21]
> compile(java.lang.String,org.apache.cayenne.ejbql.EJBQLExpression) in
> org.apache.cayenne.ejbql.parser.Compiler cannot be applied to
> (java.lang.String,org.apache.cayenne.ejbql.parser.Node)
>
> /Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/src/ 
> main/jav
> a/org/apache/cayenne/ejbql/parser/EJBQLPath.java:[34,53] cannot  
> find symbol
> symbol  : method getText()
> location: interface org.apache.cayenne.ejbql.parser.Node
>
> /Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/src/ 
> main/jav
> a/org/apache/cayenne/ejbql/parser/EJBQLPath.java:[43,58] cannot  
> find symbol
> symbol  : method getText()
> location: interface org.apache.cayenne.ejbql.parser.Node
>
> /Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/src/ 
> main/jav
> a/org/apache/cayenne/ejbql/parser/EJBQLPath.java:[43,30] internal  
> error;
> cannot instantiate StringBuffer(int) at java.lang.StringBuffer to ()
>
> /Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/src/ 
> main/jav
> a/org/apache/cayenne/ejbql/parser/EJBQLPath.java:[45,49] cannot  
> find symbol
> symbol  : method getText()
> location: interface org.apache.cayenne.ejbql.parser.Node
>
> /Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/src/ 
> main/jav
> a/org/apache/cayenne/ejbql/parser/EJBQLPath.java:[57,58] cannot  
> find symbol
> symbol  : method getText()
> location: interface org.apache.cayenne.ejbql.parser.Node
>
> /Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/src/ 
> main/jav
> a/org/apache/cayenne/ejbql/parser/EJBQLPath.java:[57,30] internal  
> error;
> cannot instantiate StringBuffer(int) at java.lang.StringBuffer to ()
>
> /Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/src/ 
> main/jav
> a/org/apache/cayenne/ejbql/parser/EJBQLPath.java:[59,49] cannot  
> find symbol
> symbol  : method getText()
> location: interface org.apache.cayenne.ejbql.parser.Node
>
> -- 
> Kevin
>
> On 10/20/07 4:40 AM, "Andrus Adamchik" <an...@objectstyle.org> wrote:
>
>> Hi Kevin,
>>
>> a clean build works for me. Could you check which tests have failed.
>> You can find the files with exception traces using this command:
>>
>>     grep FAIL framework/cayenne-jdk1.4-unpublished/target/surefire-
>> reports/*.txt
>>
>> Andrus
>>
>>
>> On Oct 19, 2007, at 5:57 PM, Kevin Menard wrote:
>>
>>> Anyone else having difficulty getting trunk to build?  It looks
>>> like it may
>>> be related to recent EJBQL work.  A brief perusal through the
>>> commit logs
>>> didn't cause any alarms though.
>>>
>>> -- 
>>> Kevin
>>>
>>>
>>
>
>
>


Re: Trunk failing to build

Posted by Kevin Menard <km...@servprise.com>.
It's not tests that are failing.  I can't get it to compile.  It looks like
the generated parse tree is wrong.  Below is the output I get when I do "mvn
clean compile" from the parent directory:

[INFO] [javacc:jjtree {execution: jjtree-jpql}]
Java Compiler Compiler Version 4.0 (Tree Builder)
(type "jjtree" with no arguments for help)
Warning: Output directory
"/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/target/gene
rated-sources/jjtree/org/apache/cayenne/ejbql/org/apache/cayenne/ejbql/parse
r" does not exist. Creating the directory.
Reading from file 
/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/src/main/jjt
ree/org/apache/cayenne/ejbql/EJBQLParser.jjt . . .
File 
"/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/target/gene
rated-sources/jjtree/org/apache/cayenne/ejbql/org/apache/cayenne/ejbql/parse
r/Node.java" does not exist.  Will create one.
Annotated grammar generated successfully in
/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/target/gener
ated-sources/jjtree/org/apache/cayenne/ejbql/org/apache/cayenne/ejbql/parser
/EJBQLParser.jj
[INFO] [javacc:javacc {execution: javacc-ejbql}]
Java Compiler Compiler Version 4.0 (Parser Generator)
(type "javacc" with no arguments for help)
Reading from file 
/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/target/gener
ated-sources/jjtree/org/apache/cayenne/ejbql/org/apache/cayenne/ejbql/parser
/EJBQLParser.jj . . .
Warning: Output directory
"/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/target/gene
rated-sources/javacc/org/apache/cayenne/ejbql/org/apache/cayenne/ejbql/parse
r" does not exist. Creating the directory.
Warning: Choice conflict in (...)* construct at line 818, column 17.
         Expansion nested within construct and expansion following construct
         have common prefixes, one of which is: "+"
         Consider using a lookahead of 2 or more for nested expansion.
Warning: Choice conflict in (...)* construct at line 827, column 17.
         Expansion nested within construct and expansion following construct
         have common prefixes, one of which is: "*"
         Consider using a lookahead of 2 or more for nested expansion.
File "TokenMgrError.java" does not exist.  Will create one.
File "ParseException.java" does not exist.  Will create one.
File "Token.java" does not exist.  Will create one.
File "JavaCharStream.java" does not exist.  Will create one.
Parser generated with 0 errors and 3 warnings.
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] [cayenne-build:date {execution: date}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 819 source files to
/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/target/class
es
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Compilation failure

/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

/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/src/main/jav
a/org/apache/cayenne/ejbql/parser/EJBQLJoin.java:[44,26] cannot find symbol
symbol  : method getText()
location: interface org.apache.cayenne.ejbql.parser.Node

/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/src/main/jav
a/org/apache/cayenne/ejbql/parser/EJBQLFromItem.java:[83,26] cannot find
symbol
symbol  : method getText()
location: interface org.apache.cayenne.ejbql.parser.Node

/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/target/gener
ated-sources/javacc/org/apache/cayenne/ejbql/org/apache/cayenne/ejbql/parser
/EJBQL.java:[19,57] incompatible types
found   : org.apache.cayenne.ejbql.parser.Node
required: org.apache.cayenne.ejbql.EJBQLExpression

/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/target/gener
ated-sources/javacc/org/apache/cayenne/ejbql/org/apache/cayenne/ejbql/parser
/EJBQL.java:[28,21]
compile(java.lang.String,org.apache.cayenne.ejbql.EJBQLExpression) in
org.apache.cayenne.ejbql.parser.Compiler cannot be applied to
(java.lang.String,org.apache.cayenne.ejbql.parser.Node)

/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/src/main/jav
a/org/apache/cayenne/ejbql/parser/EJBQLPath.java:[34,53] cannot find symbol
symbol  : method getText()
location: interface org.apache.cayenne.ejbql.parser.Node

/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/src/main/jav
a/org/apache/cayenne/ejbql/parser/EJBQLPath.java:[43,58] cannot find symbol
symbol  : method getText()
location: interface org.apache.cayenne.ejbql.parser.Node

/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/src/main/jav
a/org/apache/cayenne/ejbql/parser/EJBQLPath.java:[43,30] internal error;
cannot instantiate StringBuffer(int) at java.lang.StringBuffer to ()

/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/src/main/jav
a/org/apache/cayenne/ejbql/parser/EJBQLPath.java:[45,49] cannot find symbol
symbol  : method getText()
location: interface org.apache.cayenne.ejbql.parser.Node

/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/src/main/jav
a/org/apache/cayenne/ejbql/parser/EJBQLPath.java:[57,58] cannot find symbol
symbol  : method getText()
location: interface org.apache.cayenne.ejbql.parser.Node

/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/src/main/jav
a/org/apache/cayenne/ejbql/parser/EJBQLPath.java:[57,30] internal error;
cannot instantiate StringBuffer(int) at java.lang.StringBuffer to ()

/Users/kmenard/dev/cayenne/framework/cayenne-jdk1.4-unpublished/src/main/jav
a/org/apache/cayenne/ejbql/parser/EJBQLPath.java:[59,49] cannot find symbol
symbol  : method getText()
location: interface org.apache.cayenne.ejbql.parser.Node

-- 
Kevin

On 10/20/07 4:40 AM, "Andrus Adamchik" <an...@objectstyle.org> wrote:

> Hi Kevin,
> 
> a clean build works for me. Could you check which tests have failed.
> You can find the files with exception traces using this command:
> 
>     grep FAIL framework/cayenne-jdk1.4-unpublished/target/surefire-
> reports/*.txt
> 
> Andrus
> 
> 
> On Oct 19, 2007, at 5:57 PM, Kevin Menard wrote:
> 
>> Anyone else having difficulty getting trunk to build?  It looks
>> like it may
>> be related to recent EJBQL work.  A brief perusal through the
>> commit logs
>> didn't cause any alarms though.
>> 
>> -- 
>> Kevin
>> 
>> 
> 



Re: Trunk failing to build

Posted by Andrus Adamchik <an...@objectstyle.org>.
Hi Kevin,

a clean build works for me. Could you check which tests have failed.  
You can find the files with exception traces using this command:

    grep FAIL framework/cayenne-jdk1.4-unpublished/target/surefire- 
reports/*.txt

Andrus


On Oct 19, 2007, at 5:57 PM, Kevin Menard wrote:

> Anyone else having difficulty getting trunk to build?  It looks  
> like it may
> be related to recent EJBQL work.  A brief perusal through the  
> commit logs
> didn't cause any alarms though.
>
> -- 
> Kevin
>
>