A little late to this discussion, but how about following the OSGi standard?
Section 4.4.9 recommends putting a "Bundle-Classpath" attribute in the
MANIFEST.MF file of the JAR format.
That would explicitly identify where the jar files and "classes" folder
would be, rather than defining yet another approach.
Just an idea.
-Eric.
Glen Daniels wrote:
+1
Should classes just go in the jar at the top level?
/META-INF/module.xml
/lib/some.jar
/com/serendib/modules/funky/FunkyModule.class
Or should we have a "classes/" dir at the top level?
/classes/com/serendib/modules/funky/FunkyModule.class
--Glen
Davanum Srinivas wrote:
Deepal,
So the jar should be like this? Right?
/META-INF/module.xml
/lib/ur.jar
thanks,
dims
On 8/22/05, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote:
Hi Ruchith
if you put your lib files inside .mar file , it should work , I have
implemnted that way :)
META-INF
module.xml
lib
ur.jar
Thanks,
Deepal
................................................................
~Future is Open~
----- Original Message -----
From: "Ruchith Fernando" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, August 21, 2005 3:13 PM
Subject: [Axis2] Libraries used by modules
Hi,
Where should we include the jars that are required by a module?
I tried having them in:
- META-INF/lib/ of the module and
- WEB-INF/lib/ of the repository/axis2 Home
And none of them seems to work
Thanks
--
Ruchith