You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by "Geronimo Ma. Hernandez" <ge...@gmx.de> on 2003/08/11 14:16:09 UTC
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: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org
Re: I get struck at the first step. Please help.
Posted by Armin Waibel <ar...@code-au-lait.de>.
oh, sorry again, seems this does not work
correct!
Armin
----- Original Message -----
From: "Armin Waibel" <ar...@code-au-lait.de>
To: "OJB Users List" <oj...@db.apache.org>; <ge...@gmx.de>
Sent: Monday, August 11, 2003 7:43 PM
Subject: Re: I get struck at the first step. Please help.
> 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" <ge...@gmx.de>
> To: <oj...@db.apache.org>
> 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: ojb-user-unsubscribe@db.apache.org
> > For additional commands, e-mail: ojb-user-help@db.apache.org
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org
Re: I get struck at the first step. Please help.
Posted by Armin Waibel <ar...@code-au-lait.de>.
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" <ge...@gmx.de>
To: <oj...@db.apache.org>
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: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org