Yes, I'd rather not explode, but keep everything compact in aar.  I tried it 
out and it works nicely.  I was confused about where to put lose classes.  
Originally, I put them in a "classes/" directory when trying the exploded way.  
I repackaged everything in an aar file as follows:

test.aar
  meta-inf/services.xml
           services.wsdl
  com.sas.mySkeleton.class
  lib/support1.jar
      support2.jar
         ...

Everything deploys and works cleanly.  I was hoping that each service would 
have its own classloading hierarchy.  Thanks for clearing that up.

Thanks!


-----Original Message-----
From: Sanjiva Weerawarana [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 22, 2005 10:35 AM
To: [email protected]
Cc: [EMAIL PROTECTED]
Subject: RE: [Axis2] Deployment packaging

On Tue, 2005-11-22 at 10:20 -0500, Tony Dean wrote:
> Dims,
> 
> Just tried it and it appears to work... at least partly.
> 
> - I add classes to exploded/classes/ but they were NOT successfully 
> loaded by the classloader

You need to put the classes in classes/ .. the idea of exploded deployment is 
simply to not force you to jar up a directory into a foo.aar file. You can copy 
your "foo" directory containing the stuff (including service.xml, classes/ 
etc.) to the services/ directory and it should do the right thing.

Sanjiva.


Reply via email to