ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Extension of the Javah-Task
Date Wed, 20 Apr 2005 09:03:09 GMT
Hash: SHA1

On Wed, 20 Apr 2005, Karsten Klohs <> 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, see the answer to 3.

Ant 1.6.3 will allow you to specify multiple classes (using nested
<class> elements), but that won't solve the problem of getting there
from a fileset.

> 2.  Is there any way to transform a given fileset into a list of
> attributes for a task

Yes, <pathconvert> is your friend.  Translate the fileset into a
property and use that.  Use "," as pathsep.

> 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 filenames internally to classnames
> and use the existing functionality to run javah for all classes
> corresponding to the given filenames.

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 supplies a patch ;-)

> To limit the traffic on the list, you can also contact me directly
> at the adress taiko<at> and I will summarize the outcome
> later.

This lists isn't that high volume ATM, let's keep discussion here so it
gets into the archives.



- --
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <>


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message