Yvon Thoraval wrote:
Hey all,

new to ojb, i do have some experience with hsqldb and plan to migrate from sql to oql.

then i wanted to follow the quickstart at your web site and install db-ojb-1.0.rc2.

First off, two things:

If you're about to quickstart with OJB, it would be best if you start with the newest stable version which is 1.0.1 (rc2 is quite old btw).
Also, with this version you should not need to build OJB from source. Simply download the bin version (with dependencies) from the OJB website. Also helpful is the ojb-blank.jar which contains a blank OJB project to play around with. The beginner's tutorial on the OJB website uses this to introduce you to OJB.


however i get stuck here about this error message after a :

nord-2-81-57-96-20:~/Desktop/db-ojb-1.0.rc2> sh bin/build.sh

raising this :

    preprocess:
    [echo] using switches: +JDK13, +JDBC30



    oql:

    BUILD FAILED
    file:/Users/yvon/Desktop/db-ojb-1.0.rc2/build.xml:983:
    /Users/yvon/Desktop/db-ojb-1.0.rc2/src/java/org/apache/ojb/odmg/oql
    is not a valid directory


the lines around 983 are :

<!-- ================================================================== -->
<!-- build OQL Parser classes from oql-ojb.g grammar -->
<!-- ================================================================== -->
<target name="oql" depends="init"
description="Builds OQL parser sources from ANTLR grammar file.">
<java fork="yes" classname="antlr.Tool" dir="${src.java}/org/apache/ojb/odmg/oql"
taskname="build oql parser" failonerror="true" > <<<<<-----THIS ONE
<classpath refid="compilation-classpath"/>
<arg value="oql-ojb.g" />
</java>
</target>


i should say i had to make a "mkdir -p src/java/org/apache/ojb/odmg/oql into "ojb home" from a previous error message.

the perms are the following drwxrwxrwx for the whole src and sub dir.

in case you could help jumping from this black hole �;))

This might come from a number of things, e.g. problems when unpacking the dist. What Ant version are you using ? You should use a 1.6 version (current is 1.6.2 if I'm not mistaken).


Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to