openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dick <>
Subject Re: Files in package org.apache.openjpa.kernel.jpql.
Date Tue, 28 Apr 2009 15:20:59 GMT
Hi Ashish,

You need to add the target/generated-sources/javacc directory to your build
path in eclipse. The JPQL parser is generated by javacc and the required
java files go to the target directory above.

I don't think any of the maven plugins for eclipse handle this automatically
(I use mvn eclipse:eclipse and I have to manually add it to the path). Maybe
the newer plugins will though..

Hope this helps,


On Tue, Apr 28, 2009 at 10:01 AM, ashish paliwal <> wrote:

> Hi,
> I downloaded the latest code using -- svn co
> mydir and then build it
> successfully using maven. After importing all the source into eclipse
> I was encountering few errors in package
> /org/apache/openjpa/kernel/jpql. For instance in class
> JPQLExpressionBuilder it couldn't find JPQLTreeConstants, and there
> were many others. I then downloaded the nightly build
> and in this in
> openjpa-2.0.0-SNAPSHOT.jar file inside the package
> org.apache.openjpa.kernel.jpql there were more files(e.g
> JPQLTreeConstants.class) than what I had after downloading code using
> svn.
> Now I am not able to understand where are these files in my code that
> I have taken from svn. Am I looking in some wrong package or do I need
> to include some jar in my build path in eclipse? It will be of great
> help to me if someone can throw some light on this.
> Thanks and regards
> Ashish Paliwal
> Mobile : 9305128367
> IIT Kanpur
> India

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message