Thomas

Thank's again Thomas
I got it yesterday on the Sun web site.
The Antonio link is the good one.

To keep going I will download the 1.0.

Cheers

Andre

Thomas Mahler wrote:

Hi again Andre,

Where exactly di you get this 1.0.1 version?

Our stuff was build against the 1.0 version (jdori-1_0-fcs-src-04_Mar_2002.zip):
http://jcp.org/aboutJava/communityprocess/final/jsr012/index.html


Please point me to the 1.0.1 release and I'll check if there are any compilation problems.

cu,
Thomas

A Leg wrote:

Hi

I am learning ojb and for that, first looking tutorials and running examples.

I have dowladed from Sun jdo-1_0_1-ri.zip
And copy all jar under db-ojb-1.0.rc4/lib

When I want to compile the JDO example I get :

bin/build.sh with-jdori prepare-tutorials enhance-jdori
Buildfile: build.xml

splash:

set-archive-name:

set-archive-name-date:

detect-jdk:

check-jdk12proxy-classes:

check-jndi-classes:

use-jdk12:

use-jdk13:

use-jdk14:
[echo] detected JDK 1.4

init:

prepare:
[copy] Copying 4 files to /home/rcs/Master/extern/java/ojb/db-ojb-1.0.rc4/target/srctest


check-jdo-classes:

check-jdori-classes:

with-jdori:
[copy] Copying 16 files to /home/rcs/Master/extern/java/ojb/db-ojb-1.0.rc4/target/src
[copy] Copying 1 file to /home/rcs/Master/extern/java/ojb/db-ojb-1.0.rc4/target/src/org/apache/ojb/tutorial5



splash:


set-archive-name:

set-archive-name-date:

detect-jdk:

check-jdk12proxy-classes:

check-jndi-classes:

use-jdk12:

use-jdk13:

use-jdk14:
[echo] detected JDK 1.4

init:

prepare:

check-j2ee-classes:

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


[java] ...................................................................................................................................................................................................................................................................


main:
[javac] Compiling 564 source files to /home/rcs/Master/extern/java/ojb/db-ojb-1.0.rc4/target/classes
[javac] /home/rcs/Master/extern/java/ojb/db-ojb-1.0.rc4/target/src/org/apache/ojb/jdori/sql/OjbStoreManager.java:76: cannot resolve symbol
[javac] symbol : class RuntimeJDOModelFactoryImpl
[javac] location: package jdo
[javac] import com.sun.jdori.common.model.jdo.RuntimeJDOModelFactoryImpl;
[javac] ^
[javac] /home/rcs/Master/extern/java/ojb/db-ojb-1.0.rc4/target/src/org/apache/ojb/jdori/sql/OjbStoreManager.java:80: cannot resolve symbol
[javac] symbol : class JDOModelException
[javac] location: package jdo
[javac] import com.sun.jdori.model.jdo.JDOModelException;
[javac] ^
[javac] /home/rcs/Master/extern/java/ojb/db-ojb-1.0.rc4/target/src/org/apache/ojb/jdori/sql/OjbFieldManager.java:64: cannot resolve symbol
[javac] symbol : class RuntimeJDOModelFactoryImpl
[javac] location: package jdo
[javac] import com.sun.jdori.common.model.jdo.RuntimeJDOModelFactoryImpl;
[javac] ^
[javac] /home/rcs/Master/extern/java/ojb/db-ojb-1.0.rc4/target/src/org/apache/ojb/jdori/sql/OjbFieldManager.java:68: cannot resolve symbol
[javac] symbol : class JDOModelException
[javac] location: package jdo
[javac] import com.sun.jdori.model.jdo.JDOModelException;
[javac] ^
[javac] /home/rcs/Master/extern/java/ojb/db-ojb-1.0.rc4/target/src/org/apache/ojb/jdori/sql/OjbStoreManager.java:252: cannot resolve symbol
[javac] symbol : variable RuntimeJDOModelFactoryImpl
[javac] location: class org.apache.ojb.jdori.sql.OjbStoreManager
[javac] JDOModel m = RuntimeJDOModelFactoryImpl.getInstance().getJDOModel(cl);
[javac] ^
[javac] /home/rcs/Master/extern/java/ojb/db-ojb-1.0.rc4/target/src/org/apache/ojb/jdori/sql/OjbStoreManager.java:255: cannot resolve symbol
[javac] symbol : class JDOModelException
[javac] location: class org.apache.ojb.jdori.sql.OjbStoreManager
[javac] catch (JDOModelException ex)
[javac] ^
[javac] /home/rcs/Master/extern/java/ojb/db-ojb-1.0.rc4/target/src/org/apache/ojb/jdori/sql/OjbFieldManager.java:289: cannot resolve symbol
[javac] symbol : variable RuntimeJDOModelFactoryImpl
[javac] location: class org.apache.ojb.jdori.sql.OjbFieldManager
[javac] JDOModel m = RuntimeJDOModelFactoryImpl.getInstance().getJDOModel(cl);
[javac] ^
[javac] /home/rcs/Master/extern/java/ojb/db-ojb-1.0.rc4/target/src/org/apache/ojb/jdori/sql/OjbFieldManager.java:292: cannot resolve symbol
[javac] symbol : class JDOModelException
[javac] location: class org.apache.ojb.jdori.sql.OjbFieldManager
[javac] catch (JDOModelException ex)
[javac] ^
[javac] 8 errors


BUILD FAILED
file:/home/rcs/Master/extern/java/ojb/db-ojb-1.0.rc4/build.xml:218: Compile failed; see the compiler error output for details.


Total time: 1 minute 39 seconds

Thanks for any help

Andre Legendre



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




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




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



Reply via email to