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]