While I was ultimately successful the OJB documentation was misleading
or downright wrong. I hope you will make the corrections to the
document so that others will not have the same difficulty as I.
Specifically, in the âGetting Startedâ section the instructions state:
âUnpack the source distribution and retrieve the additional required
libaries. Place these jar files in the lib directory of the OJB
distribution.â
After downloading and extracting several versions the source
distribution I still could not find the necessary jar files. Of course
you know the required jar files are not in the distribution.
But the âAdditional jar archivesâ section listed the necessary files.
That section states, âOJB depends on several other jar archives. These
jar files are shipped in the db-ojb-<version>/lib directoryâ.
It goes on to list eleven jar files, ejb.jar being one of them.
Since the error ant displayed was:
main-opt:
[javac] Compiling 553 source files to
C:\Program Files\OJB\db-ojb-1.0.rc7\target\classes
[javac] C:\Program Files\OJB\db-ojb-1.0.rc7
\target\src\org\apache\ojb\broker\core\PersistenceBrokerBean.java:47:
package javax.ejb does not exist
I though that once I got the ejb.jar I would be able to successfully
compile. So I downloaded j2ee SDK and looked for ejb.jar. Of course it
wasnât there what I had to use was j2ee.jar.
Most of the other jars listed as required to compile are actually not
needed.
I hope you can update the documentation to addresses these problems.
Who knows how many simply give up because they couldnât complete this
very first step.
Also note there are a number of deprecated API warnings.
Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]