On Dec 3, 2007 12:43 PM, Hari Krishna Korrapati <[EMAIL PROTECTED]> wrote:
> Is there any way i can use the util-cv.jar directly from ear instead having > it explicitly in geronimo repository. Hi, The util(java project) should be placed in EAR's libs or use MANIFEST.MF's Class-Path element. According to Java EE 5 spec - EE.8.2.1Bundled Libraries (p. 155): Libraries bundled with an application may be referenced in the following ways: 1. A JAR format file (such as a .jar file, .war file, or .rar file) may reference a .jar file or directory by naming the referenced .jar file or directory in a Class-Path header in the referencing JAR file's Manifest file. 2. A .ear file may contain a directory that contains libraries packaged in JAR files. The library-directory element of the .ear file's deployment descriptor contains the name of this directory. If a library-directory element isn't specified, or if the .ear file does not contain a deployment descriptor, the directory named lib is used. 3. A web application may include libraries in the WEB-INF/lib directory. See the Servlet specification for details. Let us know what worked eventually. Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl
