Better Than Nothing
The documentation below can be improoved, plus you need to adjust it to your own project
etc. A sample Ant-based project will be available soon to help you get started with MD4J
within 10 minutes or less. The seriously impatient should consider sending a check.
Runtime
Right now my EJB jar and WAR MANIFEST.MF files have the following (Please not i have a lib
directory in my EAR):
- lib/antlr-2.7.6rc1.jar
- lib/app-ejb-client.jar (my EJB client jar, created by my Ant build using
"
**/business/interfaces/**/*.class
" on XDoclet generated EJB code)
- lib/app-pojos.jar (Hibernate POJOs created by the hibernatetool Ant task)
- lib/asm-attrs.jar
- lib/asm.jar
- lib/cglib-2.1.3.jar
- lib/commons-beanutils.jar
- lib/commons-collections-3.1.jar
- lib/commons-configuration-1.1.jar
- lib/commons-digester.jar
- lib/commons-fileupload.jar
- lib/commons-lang-2.1.jar
- lib/commons-logging-1.0.4.jar
- lib/commons-validator.jar
- lib/ehcache-1.1.jar
- lib/md4j-0.1-SNAPSHOT.jar (obviously)
- lib/JDBC_DRIVER_FOR_YOUR_DB.jar
I will update this to two difference JAR sets for WAR and EJB jar soon (err, currently my
WEB-INF/lib is empty as i use a common manifest file to keep all the jars in one place in
the EAR).
Buildtime
The following are also in the classpath on build time:
- A directory with all JARs distributed with Hibernate
- A directory with all JARs distributed with XDoclet 1
- A directory with all JARs distributed with Struts 1
- A pathelement for "${build.dir}/classes" that contains all compiled code