Hi Geronimo,

sorry for the hassle. You don't need the OTM stuff
to make OJB work (used for future OJB versions).
Thus you can exclude it.

See build.xml target
"use-jdk12"
"use-jdk13"
"use-jdk14"
depending on your JDK version and set
excludes tag
<property name="excludes" value="org/apache/ojb/otm/**"/>

Then OJB does not compile the whole OTM stuff.

HTH
regards,
Armin

----- Original Message -----
From: "Geronimo Ma. Hernandez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 11, 2003 2:16 PM
Subject: I get struck at the first step. Please help.


> Hello,
>
> I just downloaded the ojb-packages and installed them locally.
> Doing the prepare-tutorial worked fine and I could run tutorial1.
>
> Now I wanted to follow the guide "getting started with ojb", but I get
compile
> errors on ant jar:
> org/apache/ojb/otm/connector/OTMJCAManagedConnectionFactory.java:79:
> org.apache.ojb.otm.connector.OTMJCAManagedConnectionFactory should be
> declared abstract; it does not define getResourceAdapter() in
> org.apache.ojb.otm.connector.OTMJCAManagedConnectionFactory
>     [javac] public class OTMJCAManagedConnectionFactory
>     [javac]        ^
>     [javac] 1 error
>
> Following the guide, I wanted to work it out for postgres (I switched
the
> setting in build.properties. Also I copied the pg73jdbc3.jar into the
lib
> dir.
>
> Many thanks for any help.
>
> Geronimo
>
> ---------------------------------------------------------------------
> 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