db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Dudziak <to...@first.fhg.de>
Subject Re: OJB fail under J2SDk 1.3?
Date Sun, 20 Jun 2004 10:23:07 GMT
Antonio Gallardo wrote:
> Hi:
> 
> I was tried to compile using Sun Java 1.3.1_12 and failed. Here is the
> output:

<snip/>

> preprocess:
>      [echo] using switches: +JDK13, -JDBC30
>      [java]
> ..........................................................................................
>      [java] ERROR: null
>      [java] in file
> /home/agallardo/workspace/db-ojb/target/src/org/apache/ojb/broker/util/BrokerHelper.java
> !
>      [java]
> ...........................................................................................................................................................................................................................................................................................
>      [java] ERROR: null
>      [java] in file
> /home/agallardo/workspace/db-ojb/target/src/org/apache/ojb/broker/platforms/PlatformMySQLImpl.java
> !
>      [java] ...........
>      [java] ERROR: null
>      [java] in file
> /home/agallardo/workspace/db-ojb/target/src/org/apache/ojb/broker/platforms/PlatformMsAccessImpl.java
> !
>      [java]
> .....................................................................................................................................................
>      [java] ERROR: null
>      [java] in file
> /home/agallardo/workspace/db-ojb/target/src/org/odmg/Transaction.java
> !
>      [java] ........
>      [java] ERROR: null
>      [java] in file
> /home/agallardo/workspace/db-ojb/target/src/org/odmg/DCollection.java
> !
>      [java] ............
>      [java]
> ..........................................................................................................................................................................................................................................................................
>      [java]
> .....................................................................................
> 
> BUILD FAILED
> /home/agallardo/workspace/db-ojb/build.xml:408: Following error occured
> while executing this line
> /home/agallardo/workspace/db-ojb/build.xml:198: IOException in
> /home/agallardo/workspace/db-ojb/target/src/org/apache/ojb/broker/cache/package.gif
> - sun.io.MalformedInputException:null

Don't know about the "ERROR: null" problem (never seen that before, 
perhaps some problem in your environment ?), but OJB won't compile with 
JDK 1.3 (or 1.2 for that matter) due to the following problems:

     [javac] 
E:\projects\ojb\DB-OJB~1\target\src\org\apache\ojb\broker\accesslaye
r\conversions\Calendar2DateFieldConversion.java:40: getTimeInMillis() 
has protected access in java.util.Calendar
     [javac]             return new Date(((Calendar) 
source).getTimeInMillis());
     [javac]                             ^
     [javac] 
E:\projects\ojb\DB-OJB~1\target\src\org\apache\ojb\broker\accesslaye
r\conversions\Calendar2DateFieldConversion.java:56: 
setTimeInMillis(long) has protected access in java.util.Calendar
     [javac]             cal.setTimeInMillis(((Date) source).getTime());
     [javac]                ^
     [javac] 
E:\projects\ojb\DB-OJB~1\target\src\org\apache\ojb\broker\accesslaye
r\conversions\Calendar2TimestampFieldConversion.java:40: 
getTimeInMillis() has protected access in java.util.Calendar
     [javac]             return new Timestamp(((Calendar) 
source).getTimeInMillis());
     [javac]                                  ^
     [javac] 
E:\projects\ojb\DB-OJB~1\target\src\org\apache\ojb\broker\accesslaye
r\conversions\Calendar2TimestampFieldConversion.java:56: 
setTimeInMillis(long) has protected access in java.util.Calendar
     [javac]             cal.setTimeInMillis(((Timestamp) 
source).getTime());
     [javac]                ^
     [javac] 
E:\projects\ojb\DB-OJB~1\target\src\org\apache\ojb\broker\accesslaye
r\conversions\IntList2VarcharFieldConversion.java:62: cannot resolve symbol
     [javac] symbol  : method replaceAll (java.lang.String,java.lang.String)
     [javac] location: class java.lang.String
     [javac]                 newSt = newSt.replaceAll("#", "##");
     [javac]                              ^
     [javac] 
E:\projects\ojb\DB-OJB~1\target\src\org\apache\ojb\broker\accesslaye
r\conversions\StringList2VarcharFieldConversion.java:64: cannot resolve 
symbol
     [javac] symbol  : method replaceAll 
(java.lang.String,java.lang.String)
     [javac] location: class java.lang.String
     [javac]                 newSt = newSt.replaceAll("#", "##");
     [javac]                              ^
     [javac] 
E:\projects\ojb\DB-OJB~1\target\src\org\apache\ojb\broker\accesslaye
r\conversions\TimeList2VarcharFieldConversion.java:63: cannot resolve symbol
     [javac] symbol  : method replaceAll 
(java.lang.String,java.lang.String)
     [javac] location: class java.lang.String
     [javac]                 newSt = newSt.replaceAll("#", "##");

(tested on Windows, JDK 1.3.1_11)

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message