Suppose that you want build the EJB-APP "MYAPP.EAR"
packed in MYAPP.jar which needs MYLIB.jar.

To obtain a functional EAR you must build this
structure:

MYAPP.EAR
 |
 |-> META-INF/
 |........|-> APPLICATION.XML
 |........|-> MANIFEST.MF
 |
 |-> MYAPP.jar
 |........|-> META-INF/
 |............|-> APPLICATION.XML
 |............|-> MANIFEST.MF
 |
 |-> MYLIB.jar
 

The reference to MYLIB.JAR must be put in
MYAPP.EAR/MYAPP.JAR/META-INF/MANIFEST.MF
as this sample:

------- MYAPP.EAR/MYAPP.JAR/META-INF/MANIFEST.MF ----
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.1
Created-By: 1.4.2_06-b03 (Sun Microsystems Inc.)
Class-Path: MYLIB.jar
-----------------------------------------------------

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853859#3853859

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853859


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to