You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Holger Engels <he...@mercatis.de> on 2001/07/31 13:58:48 UTC

ejbjar: find helper classes

EJBs do often use several helper classes, that apper as exceptions,
arguments and return values in their signatures. With a little more
reflection, we can find most of them.

.. attached is a diff, that could be applied to revision 1.20 of
GenericDeployTool.java

Holger

Re: ejbjar: find helper classes

Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
Holger,

I'm going to hold this over till after the 1.4 release. I have been
considering an alternative approach for a while now and believe it will
give better results. That approach is to use the class dependency
information in much the same was as the <depend> task does. This has two
advantages. It doesn't require the bean classes to be loaded into Ant's VM
and it should add all required classes. The approach you have taken will
add some more classes but not them all (internal classes, the classes used
by the classes that are method parameters, exceptions, etc will not be
included)

Thanks for submitting this.

Conor


----- Original Message -----
From: "Holger Engels" <he...@mercatis.de>
To: <an...@jakarta.apache.org>
Sent: Tuesday, July 31, 2001 9:58 PM
Subject: ejbjar: find helper classes


>
> EJBs do often use several helper classes, that apper as exceptions,
> arguments and return values in their signatures. With a little more
> reflection, we can find most of them.
>
> .. attached is a diff, that could be applied to revision 1.20 of
> GenericDeployTool.java
>
> Holger
>