Re: JDO Tutorial

2004-02-17 Thread Daniel R. Ambrosio
Hi Brian and Thomas,

You were right!!
After reinstallation I missed this step!

Nos it is working!

Thanks,
Daniel


- Original Message - 
From: "Brian McCallister" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 17, 2004 11:37 AM
Subject: Re: JDO Tutorial


> Hmm, I modified a number of the tutorials, but specifically not the JDO 
> as I don't fully grok the JDORI plugin.
> 
> This is voodoo debugging (I am not sure off top of my head what it will 
> do ;-) but re-run the build with with-jdori in the ant line and see 
> what it does.
> 
> ant with-jdori jar
> 
> -Brian
> 
> On Feb 17, 2004, at 1:44 AM, Thomas Mahler wrote:
> 
> > Hi Daniel,
> >
> > Please foolow the Tutorial step by step.
> > It' not suffient to launch the prepare-tutorials target.
> >
> > as mentioned in the tutorial you must call
> > ant with-jdori prepare-tutorials enhance-jdori
> >
> > cheers,
> > Thomas
> >
> > Daniel R. Ambrosio wrote:
> >> Hello everybody,
> >> I could not find any reference to the following problem in the OJB 
> >> Knowledge
> >> Base.
> >> I am trying to execute the Tutorial number 5 thati ships with the src
> >> distribution of OJB, but I am running into trouble.
> >> I did the "prepare-tutorials" step, and everything went fine.
> >> Afterwards, I tried to execute the tutorial and I get the following 
> >> error:
> >> D:\projects\ojb\db-ojb-1.0.rc5-srcdist>bin\tutorial5.bat
> >> Exception in thread "main" java.lang.NoClassDefFoundError:
> >> org/apache/ojb/tutorial5/Application
> >> This class in fact does not exist in the distribution.
> >> Is this problem already solved by someone else? I was looking into a 
> >> way to
> >> use JDO API implementation oj OJB.
> >> Thanks in advance,
> >> Daniel
> >> -
> >> 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]



Re: JDO Tutorial

2004-02-17 Thread Brian McCallister
Hmm, I modified a number of the tutorials, but specifically not the JDO 
as I don't fully grok the JDORI plugin.

This is voodoo debugging (I am not sure off top of my head what it will 
do ;-) but re-run the build with with-jdori in the ant line and see 
what it does.

ant with-jdori jar

-Brian

On Feb 17, 2004, at 1:44 AM, Thomas Mahler wrote:

Hi Daniel,

Please foolow the Tutorial step by step.
It' not suffient to launch the prepare-tutorials target.
as mentioned in the tutorial you must call
ant with-jdori prepare-tutorials enhance-jdori
cheers,
Thomas
Daniel R. Ambrosio wrote:
Hello everybody,
I could not find any reference to the following problem in the OJB 
Knowledge
Base.
I am trying to execute the Tutorial number 5 thati ships with the src
distribution of OJB, but I am running into trouble.
I did the "prepare-tutorials" step, and everything went fine.
Afterwards, I tried to execute the tutorial and I get the following 
error:
D:\projects\ojb\db-ojb-1.0.rc5-srcdist>bin\tutorial5.bat
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/ojb/tutorial5/Application
This class in fact does not exist in the distribution.
Is this problem already solved by someone else? I was looking into a 
way to
use JDO API implementation oj OJB.
Thanks in advance,
Daniel
-
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]


Re: JDO Tutorial

2004-02-16 Thread Thomas Mahler
Hi Daniel,

Please foolow the Tutorial step by step.
It' not suffient to launch the prepare-tutorials target.
as mentioned in the tutorial you must call
ant with-jdori prepare-tutorials enhance-jdori
cheers,
Thomas
Daniel R. Ambrosio wrote:
Hello everybody,

I could not find any reference to the following problem in the OJB Knowledge
Base.
I am trying to execute the Tutorial number 5 thati ships with the src
distribution of OJB, but I am running into trouble.
I did the "prepare-tutorials" step, and everything went fine.

Afterwards, I tried to execute the tutorial and I get the following error:

D:\projects\ojb\db-ojb-1.0.rc5-srcdist>bin\tutorial5.bat
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/ojb/tutorial5/Application
This class in fact does not exist in the distribution.

Is this problem already solved by someone else? I was looking into a way to
use JDO API implementation oj OJB.
Thanks in advance,
Daniel
-
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]


JDO Tutorial

2004-02-16 Thread Daniel R. Ambrosio
Hello everybody,

I could not find any reference to the following problem in the OJB Knowledge
Base.
I am trying to execute the Tutorial number 5 thati ships with the src
distribution of OJB, but I am running into trouble.

I did the "prepare-tutorials" step, and everything went fine.

Afterwards, I tried to execute the tutorial and I get the following error:

D:\projects\ojb\db-ojb-1.0.rc5-srcdist>bin\tutorial5.bat
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/ojb/tutorial5/Application


This class in fact does not exist in the distribution.

Is this problem already solved by someone else? I was looking into a way to
use JDO API implementation oj OJB.

Thanks in advance,
Daniel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: jars needed for JDO (tutorial 5) with PostgreSQL.

2003-07-25 Thread Antonio Gallardo
Sorry, with the list below in Eclipse the example compile, but does not
run. To run the example we also need:

antlr.jar
commons-collections.jar
commons-dbcp.jar
commons-pool.jar

Antonio Gallardo

Antonio Gallardo dijo:
> Hi:
>
> I already separate the tutorial 5 (JDO). I also deleted all the jars not
> needed to use OJB-JDO. Here is the list of files you really need:
>
> commons-lang-1.0.1.jar
> db-ojb-1.0.rc4.jar
> jdo.jar
> jdori.jar
> pg73jdbc3.jar  (I am using PostgreSQL).
>
> My config is:
>
> J2SDK 1.4.2
> Red Hat Linux 9
> PostgreSQL 7.3.2
> OJB 1.0-RC4 (CVS version of today)
>
> Please comments,
>
> Best Regards,
>
> Antonio Gallardo.
>
>
>
> - 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]



jars needed for JDO (tutorial 5) with PostgreSQL.

2003-07-25 Thread Antonio Gallardo
Hi:

I already separate the tutorial 5 (JDO). I also deleted all the jars not
needed to use OJB-JDO. Here is the list of files you really need:

commons-lang-1.0.1.jar
db-ojb-1.0.rc4.jar
jdo.jar
jdori.jar
pg73jdbc3.jar  (I am using PostgreSQL).

My config is:

J2SDK 1.4.2
Red Hat Linux 9
PostgreSQL 7.3.2
OJB 1.0-RC4 (CVS version of today)

Please comments,

Best Regards,

Antonio Gallardo.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JDO tutorial build error

2003-02-09 Thread Rice Yeh
Hi Thomas,
  I do use your command but the same error still
occurs . Maybe I should go checking step by step now.

Regards,
Rice

--- Thomas Mahler <[EMAIL PROTECTED]> wrote:
> Hi again,
> 
> please use
> ant with-jdori prepare-tutorials enhance-jdori
> 
> Works fine on my machine!
> 
> I just noticed a little problem when I tried to
> start the tutorial5.sh 
> (or .bat).
> 
> I get a ClassNotPersistenceCapable exception.
> 
> This is a problem in the file
> src/test/org/apache/ojb/repository.xml.
> 
> You have to uncomment the repository_user entry to
> make it work.
> 
> cheers,
> Thomas
> 
> Rice Yeh wrote:
> > Hi,
> >   While building OBJ tutorial for JDO API, I get
> the
> > following error, what is worng?
> > 
> > prepare-tutorials:
> > 
> > enhance-jdori:
> > 
> > BUILD FAILED
> >
>
file:D:/coffee/jakarta/jakarta-ojb-0.9.9/build.xml:901:
> > Warning: Could not find
> > file
> >
>
D:\coffee\jakarta\jakarta-ojb-0.9.9\src\jdori\org\apache\ojb\tutorial5\Prod
> > uct.jdo to copy.
> > 
> > Regards,
> > Rice
> > 
> > __
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> > http://mailplus.yahoo.com
> > 
> >
>
-
> > 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]
> 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Where is jdori-enhancer.jar in JDO tutorial?

2003-02-09 Thread Rice Yeh
Hi Thomas,
  Thank you. I have found it. But I also posted
another question about obj tutorial building error.
This error does not vanish even I have added
jdori-enhancer.jar to lib directory. Do you have any
clue? Its error message is as follows:

prepare-tutorials:

enhance-jdori:

BUILD FAILED
file:D:/coffee/jakarta/jakarta-ojb-0.9.9/build.xml:901:
Warning: Could not find
file
D:\coffee\jakarta\jakarta-ojb-0.9.9\src\jdori\org\apache\ojb\tutorial5\Prod
uct.jdo to copy.

Regards,
Rice


--- Thomas Mahler <[EMAIL PROTECTED]> wrote:
> Hi Rice,
> 
> That's one of the funny things about the JDO RI.
> The reference enhancer is contained in the finally
> shipped JDO 
> specification, but not in the JDORI itself.
> 
> The best thing will be to load down the spec as
> well.
> 
> cheers,
> Thomas
> 
> Rice Yeh wrote:
> > Hi,
> >   I followed the instruction on tutorial about
> jdo,
> > wherein it is stated to download jdori from sun
> and
> > get three jars, one of them is jdori-enhancer.jar.
> But
> > I can NOT find this one but the other two jars are
> ok.
> > In jdori.jar, there is a package 'enhancer'.
> Should I
> > extract it out as another jar?
> > 
> > Regards,
> > Rice
> > 
> > __
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> > http://mailplus.yahoo.com
> > 
> >
>
-
> > 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]
> 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: JDO tutorial build error

2003-02-09 Thread Thomas Mahler
Hi again,

please use
ant with-jdori prepare-tutorials enhance-jdori

Works fine on my machine!

I just noticed a little problem when I tried to start the tutorial5.sh 
(or .bat).

I get a ClassNotPersistenceCapable exception.

This is a problem in the file src/test/org/apache/ojb/repository.xml.

You have to uncomment the repository_user entry to make it work.

cheers,
Thomas

Rice Yeh wrote:
Hi,
  While building OBJ tutorial for JDO API, I get the
following error, what is worng?

prepare-tutorials:

enhance-jdori:

BUILD FAILED
file:D:/coffee/jakarta/jakarta-ojb-0.9.9/build.xml:901:
Warning: Could not find
file
D:\coffee\jakarta\jakarta-ojb-0.9.9\src\jdori\org\apache\ojb\tutorial5\Prod
uct.jdo to copy.

Regards,
Rice

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-
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]




Re: Where is jdori-enhancer.jar in JDO tutorial?

2003-02-09 Thread Thomas Mahler
Hi Rice,

That's one of the funny things about the JDO RI.
The reference enhancer is contained in the finally shipped JDO 
specification, but not in the JDORI itself.

The best thing will be to load down the spec as well.

cheers,
Thomas

Rice Yeh wrote:
Hi,
  I followed the instruction on tutorial about jdo,
wherein it is stated to download jdori from sun and
get three jars, one of them is jdori-enhancer.jar. But
I can NOT find this one but the other two jars are ok.
In jdori.jar, there is a package 'enhancer'. Should I
extract it out as another jar?

Regards,
Rice

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-
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]




JDO tutorial build error

2003-02-09 Thread Rice Yeh
Hi,
  While building OBJ tutorial for JDO API, I get the
following error, what is worng?

prepare-tutorials:

enhance-jdori:

BUILD FAILED
file:D:/coffee/jakarta/jakarta-ojb-0.9.9/build.xml:901:
Warning: Could not find
file
D:\coffee\jakarta\jakarta-ojb-0.9.9\src\jdori\org\apache\ojb\tutorial5\Prod
uct.jdo to copy.

Regards,
Rice

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Where is jdori-enhancer.jar in JDO tutorial?

2003-02-09 Thread Rice Yeh
Hi,
  I followed the instruction on tutorial about jdo,
wherein it is stated to download jdori from sun and
get three jars, one of them is jdori-enhancer.jar. But
I can NOT find this one but the other two jars are ok.
In jdori.jar, there is a package 'enhancer'. Should I
extract it out as another jar?

Regards,
Rice

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]