Hi Daniel,

It's a slip with the RC4 releas. we normally provide build compatibility for jdk 1.2, 1.3 and 1.4.
You can either use JDK 1.4
or remove the source package o.a.ojb.otm to work around this issue.
Will be fixed with next public release.


cheers,
Thomas

[EMAIL PROTECTED] wrote:
I am following the quickstart.html directions and trying to run "bin\build
junit" using JDK 1.3.1.  It looks like a targeted effort was made to get
this work with JDKs other than 1.4.  However, the compile fails due to a
dependency on a JDK 1.4 class.  Is this a bug? or must we use JDK 1.4 or
better.

The stack trace is as follows:

C:\db-ojb-1.0.rc4>bin\build junit
Buildfile: build.xml

splash:

set-archive-name:

set-archive-name-date:

detect-jdk:

check-jdk12proxy-classes:

check-jndi-classes:

use-jdk12:

use-jdk13:
     [echo] detected JDK 1.3

use-jdk14:

init:

prepare:
     [copy] Copying 586 files to C:\db-ojb-1.0.rc4\target\src
     [copy] Copying 259 files to C:\db-ojb-1.0.rc4\target\srctest
     [copy] Copying 10 files to C:\db-ojb-1.0.rc4\target\srcjca

check-j2ee-classes:

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

main:
    [javac] Compiling 549 source files to C:\db-ojb-1.0.rc4\target\classes
    [javac]
C:\db-ojb-1.0.rc4\target\src\org\apache\ojb\otm\copy\MetadataObjectC
opyStrategy.java:69: cannot resolve symbol
    [javac] symbol  : class IdentityHashMap
    [javac] location: package util
    [javac] import java.util.IdentityHashMap;
    [javac]                  ^
    [javac]
C:\db-ojb-1.0.rc4\target\src\org\apache\ojb\otm\copy\ReflectiveObjec
tCopyStrategy.java:68: cannot resolve symbol
    [javac] symbol  : class IdentityHashMap
    [javac] location: package util
    [javac] import java.util.IdentityHashMap;
    [javac]                  ^
    [javac]
C:\db-ojb-1.0.rc4\target\src\org\apache\ojb\otm\copy\MetadataObjectC
opyStrategy.java:100: cannot resolve symbol
    [javac] symbol  : class IdentityHashMap
    [javac] location: class
org.apache.ojb.otm.copy.MetadataObjectCopyStrategy
    [javac]         return clone(obj, new IdentityHashMap(), broker);
    [javac]                               ^
    [javac]
C:\db-ojb-1.0.rc4\target\src\org\apache\ojb\otm\copy\ReflectiveObjec
tCopyStrategy.java:108: cannot resolve symbol
    [javac] symbol  : class IdentityHashMap
    [javac] location: class
org.apache.ojb.otm.copy.ReflectiveObjectCopyStrategy

    [javac]             return clone(toCopy, new IdentityHashMap(), new
HashMap(
));
    [javac]                                          ^
    [javac] 4 errors

BUILD FAILED
file:C:/db-ojb-1.0.rc4/build.xml:218: Compile failed; see the compiler error
out
put for details.

Total time: 1 minute 9 seconds



__________________________________________________
Daniel B. Brown | WELLS FARGO BANK MINNESOTA, N.A. |
Software Architect | http://www.wellsfargo.com | MAC N2702-011 | 9062 Old Annapolis Road | Columbia | MD | 21045-1951 | p: 410.884.2034 | f: 410.715.2325 | [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