You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Conor MacNeill <co...@cortexebusiness.com.au> on 2001/09/03 01:39:02 UTC

RE: [PATCH] fix EjbJar to process descriptors in order

Paul,

<ejbjar> should never process weblogic deployment descriptors directly.
These should be excluded from the selection fo deployment descriptors given
to <ejbjar>. Check out the example in the manual. The task manipulates the
weblogic descrptors only by their association with the standard deployment
descriptor.

If you patch stops errors, frankly I can't understand why.

Conor


> -----Original Message-----
> From: Paul Krause [mailto:pkrause@soundbite.com]
> Sent: Saturday, 1 September 2001 1:09 AM
> To: ant-dev@jakarta.apache.org
> Subject: [PATCH] fix EjbJar to process descriptors in order
>
>
> I apologize if you received an earlier version of this message.  I am
> resubmitting it because the earlier ones do not seem to have gone
> through.
>
> Apparently, WebLogicDeploymentTool has a dependency on the order of
> deployment descriptors: it fails if weblogic-ejb-jar.xml precedes
> ejb-jar.xml.  On some platforms, this never happens, because
> DirectoryScanner returns matching files in alphabetic order, but on
> Unix, they are returned in inode order.
>
> This patch orders the files returned by DirectoryScanner so that they
> work with WebLogicDeploymentTool.
>