You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Dupont, Stephane" <St...@getronics.com> on 2005/02/25 12:18:09 UTC

Sources dont compile !

Hi,

I checkout the latest sources, but the compilation failed !
I have problems with classes in "sql" and "xpath" packages.
Principaly :
  * classes are missing (JCRSQLParserVisitor, ParseException, ASTQuery,
SimpleNode... in sql package,
XPathVisitor, XPathTreeConstants in xpath package...),
  * imports are missing (Node, Xpath, Token in xpath.SimpleNode
class...).

What's wrong ?
Is there a specific revision to checkout ?

Stephane

Re: Sources dont compile !

Posted by Oliver Kiessler <ol...@gmail.com>.
Sounds like you are using JDK 5. If so, that will not work correctly.
Try putting

maven.compile.source=1.4

in your project.properties.

cheers, oliver 


On Fri, 25 Feb 2005 12:18:09 +0100, Dupont, Stephane
<St...@getronics.com> wrote:
> Hi,
> 
> I checkout the latest sources, but the compilation failed !
> I have problems with classes in "sql" and "xpath" packages.
> Principaly :
>   * classes are missing (JCRSQLParserVisitor, ParseException, ASTQuery,
> SimpleNode... in sql package,
> XPathVisitor, XPathTreeConstants in xpath package...),
>   * imports are missing (Node, Xpath, Token in xpath.SimpleNode
> class...).
> 
> What's wrong ?
> Is there a specific revision to checkout ?
> 
> Stephane
>

AW: Sources dont compile !

Posted by Daniel Florey <da...@web.de>.
Are you using maven for building jackrabbit?
As far as I understand so far the missing files get generated from some
grammar files when you do a maven build.
So if you are using eclipse to build the sources make sure to run maven once
to generate the missing java files. After doing so you can use eclipse to
build the project (just make sure to add the required libs from your local
maven repository to the build classpath).
Good luck!
Daniel


> -----Ursprüngliche Nachricht-----
> Von: jackrabbit-dev-return-852-daniel.florey=web.de@incubator.apache.org
> [mailto:jackrabbit-dev-return-852-
> daniel.florey=web.de@incubator.apache.org] Im Auftrag von Dupont, Stephane
> Gesendet: Freitag, 25. Februar 2005 12:18
> An: jackrabbit-dev@incubator.apache.org
> Betreff: Sources dont compile !
> 
> Hi,
> 
> I checkout the latest sources, but the compilation failed !
> I have problems with classes in "sql" and "xpath" packages.
> Principaly :
>   * classes are missing (JCRSQLParserVisitor, ParseException, ASTQuery,
> SimpleNode... in sql package,
> XPathVisitor, XPathTreeConstants in xpath package...),
>   * imports are missing (Node, Xpath, Token in xpath.SimpleNode
> class...).
> 
> What's wrong ?
> Is there a specific revision to checkout ?
> 
> Stephane