Re: Changing method signatures WAS Re: Extension of the Javah-Task

2005-04-20 Thread Stefan Bodewig
On Wed, 20 Apr 2005, Matt Benson <[EMAIL PROTECTED]> wrote: >> True, a good place to turn it into add(ResourceCollection) later. > > Where do we stand on that? i.e. the above requires 3rd-party code to > recompile, or we can be nice We have to be nice, I'd say. > Also, for tasks like this where

Changing method signatures WAS Re: Extension of the Javah-Task

2005-04-20 Thread Matt Benson
--- Stefan Bodewig <[EMAIL PROTECTED]> wrote: > On Wed, 20 Apr 2005, Matt Benson > <[EMAIL PROTECTED]> wrote: > > >> (2) Use addFileset(FileSet fs) and add fs to > collection on each > >> invocation, you get support for multiple FileSets > for free. > > > > Better yet, use add(FileSet fs) just be

Re: Extension of the Javah-Task

2005-04-20 Thread Stefan Bodewig
On Wed, 20 Apr 2005, Matt Benson <[EMAIL PROTECTED]> wrote: >> (2) Use addFileset(FileSet fs) and add fs to collection on each >> invocation, you get support for multiple FileSets for free. > > Better yet, use add(FileSet fs) just because you can. True, a good place to turn it into add(ResourceC

Re: Extension of the Javah-Task

2005-04-20 Thread Matt Benson
--- Stefan Bodewig <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Wed, 20 Apr 2005, Karsten Klohs <[EMAIL PROTECTED]> > wrote: > > > | I agree. Native support for filesets would be > the cleanest > > | solution. [SNIP] > (2) Use addFileset(FileSet fs) and add

Re: Extension of the Javah-Task

2005-04-20 Thread Stefan Bodewig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 20 Apr 2005, Karsten Klohs <[EMAIL PROTECTED]> wrote: > | I agree. Native support for filesets would be the cleanest > | solution. > |>>I appreciate any comments to this idea. > | > | > | All it takes is somebody who does the coding and suppl

Re: Extension of the Javah-Task

2005-04-20 Thread Matt Benson
--- Karsten Klohs <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 [SNIP] The implicit convention, is that the full file > name exactly corresponds to > the full class name. How can this restriction be > relaxed? One idea is to > investigate the files' contents to find

Re: Extension of the Javah-Task

2005-04-20 Thread Karsten Klohs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi again, |>>3. I took a brief look at the development of Ant tasks and |>>implementation of the javah-task. I think that it should be quite |>>easy (famous last words ;-)) to extend the javah-task, so that it |>>can take a fileset, transform the filena

Re: Extension of the Javah-Task

2005-04-20 Thread Stefan Bodewig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 20 Apr 2005, Karsten Klohs <[EMAIL PROTECTED]> wrote: > I am new to the list, so forgive me if I am asking the obvious ;-) I don't think you did. > 1. Has anyone solved the problem already? Yes and no. For yes, see my answer to 2, for no,

Extension of the Javah-Task

2005-04-20 Thread Karsten Klohs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I am new to the list, so forgive me if I am asking the obvious ;-) I have the following problem: I need to run javah for a quite large amount of classes. These classes can be easily collected into a fileset from my project directory tree. However, t