Hi Ron, arrgh! Types.BOOLEAN (and DATALINK too) introduced since 1.4, so we need a code switcher entry here. I will fix this ASAP.
regards, Armin ----- Original Message ----- From: "Ron Gallagher" <[EMAIL PROTECTED]> To: "OJB Users List" <[EMAIL PROTECTED]> Sent: Sunday, August 10, 2003 2:52 AM Subject: RE: Compile for JDK 1.3? > There's another jdk 1.3 compile problem related to the recent changes to > FieldDescriptor: > > preprocess: > [echo] using switches: +JDK13, -JDBC30 > [java] > ........................................................................ .... > ................................ > main: > [javac] Compiling 502 source files to > C:\temp\OpenSource\db-ojb\target\classes > [javac] > C:\temp\OpenSource\db-ojb\target\src\org\apache\ojb\broker\metadata\Fiel dDes > criptor.java:218: cannot resolve symbol > [javac] symbol : variable BOOLEAN > [javac] location: class java.sql.Types > [javac] result = Types.BOOLEAN; > [javac] ^ > [javac] 1 error > > Ron Gallagher > Atlanta, GA > [EMAIL PROTECTED] > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Saturday, August 09, 2003 11:58 AM > To: OJB Users List > Subject: Re: Compile for JDK 1.3? > > > 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] > > > > --------------------------------------------------------------------- > 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]
