Hi Thomas,

Apparently I have got a problem of  j2ee versions. There is a j2ee.jar
on the classpath, but one that is delivered with the release IBM's
websphere we are using and that does not contain the connector API! I
have downloaded the latest j2ee SDK this morning. If I use the j2ee.jar
of the j2ee SDK 1.4 instead of the j2ee.jar of IBM, the obj-blank target
is build as expected.

By the way, for the final release it would be GREAT if targets to build
the repository_user.xml using doclets and to generate a database by
means of torque were included in the build.xml of the ojb-blank project.
It would simplify the life of OJB newbies like me. For the moment I am
struggling with torque... (nicht ganz einfach...)

Many thanks for your help,

Pierre

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, 19 December, 2003 5:37 PM
To: OJB Users List
Subject: Re: Sample ant build files for OJB?


Hi Pierre,

we have a dependency against several j2ee APIs. Our recommendation is to

  have the j2ee.jar on the classpath.
During the build we check against certain classes an print out a warning

to include the j2ee.jar, if those classes are not present.

I guess this should be safe enough for most cases.

Thomas

De Swert Pierre (GFDI) wrote:
> Hi Thomas,
> 
> Many thanks for your help. I have successfully built the ojb-blank.jar

> library to start my project. I needed to add the Sun's 
> connector-api.jar in /lib, otherwise the main-opt target fails.
> Apparently the connector-api.jar library is not listed in the
libraries
> needed to deploy OJB.
> 
> Pierre
> 
> -----Original Message-----
> From: Mahler Thomas [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 17 December, 2003 5:53 PM
> To: 'OJB Users List'
> Subject: RE: Sample ant build files for OJB?
> 
> 
> This should get you started: 
> http://db.apache.org/ojb/getting-started.html
> 
> 
>>-----Original Message-----
>>From: De Swert Pierre (GFDI) [mailto:[EMAIL PROTECTED]
>>Sent: Wednesday, December 17, 2003 10:33 AM
>>To: OJB Users List
>>Subject: Sample ant build files for OJB?
>>
>>
>>Hi all,
>> 
>>I have recently downloaded OJB r5 and I try to apply it to my own
>>project. Running the tutorials was quite simple but deploying OBJ for 
>>my project is not quite straightforward. I am currently loosing
>>my time by
>>adapting the ant build of my project. So I decided to 
>>subscribe to this
>>mailing list... ;) Loads of targets are defined in the ant build files
>>(build.xml, build-torque.xml...) provided with OJB. I would like to
>>extract only the targets required to build the repository.xml 
>>using ojb
>>xdoclet and build the database using the torque stuff. I would be
>>grateful for receiving simple ant builds and the related dot 
>>properties
>>files that I could use as an example. Many thanks for your help.
>> 
>>Pierre
>>[EMAIL PROTECTED] <mailto:[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]

Reply via email to