You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Kai Bartels <ka...@picturesafe.de> on 2001/03/22 12:42:13 UTC

fileset to gen args for java task ?

Hi there!

(NB: I searched the ml archive for an answer but didn't find one.)

Background: I'd like to have the aspectj compiler started by ant.

I thought about using the java task to start the aspectj compiler. The compiler
needs a full list of source files to compile as command line arguments.
After reading the docs over and over I still see no way to get the result of
a fileset into the arguments of a java task (it's a lot of files!); <arg>
takes no embedded fileset and property doesn't do so, either.

Anyone a good idea how to manage this? I's like to avoid writing my own
ajc task! I feel there must be a way, but I can't see it.

Thanks, Kai
-- 
"I like to sound big, You like to sound big, Bigger than I do"     <Fisher-Z>
KBartels@picturesafe.de                  +                 www.picturesafe.de
picturesafe GmbH, Lueerstr. 3, D-30175 Hannover          fon:+49 511 85620 56
++ PGP Key fingerprint =  D2 B9 58 DC 36 52 DB 6C  18 CC 43 9F 68 E0 21 97 ++

Re: fileset to gen args for java task ?

Posted by Diane Holt <ho...@yahoo.com>.
Kai,

If you're using Ant1.3, you should look into just adding support for the
aspectj compiler to the reworked <javac> task -- take a look at Jikes.java
and Jvc.java in the CVS tree (in .../taskdefs/compilers).

Diane

--- Kai Bartels <ka...@picturesafe.de> wrote:
> Hi there!
> 
> (NB: I searched the ml archive for an answer but didn't find one.)
> 
> Background: I'd like to have the aspectj compiler started by ant.
> 
> I thought about using the java task to start the aspectj compiler. The
> compiler
> needs a full list of source files to compile as command line arguments.
> After reading the docs over and over I still see no way to get the
> result of
> a fileset into the arguments of a java task (it's a lot of files!);
> <arg>
> takes no embedded fileset and property doesn't do so, either.
> 
> Anyone a good idea how to manage this? I's like to avoid writing my own
> ajc task! I feel there must be a way, but I can't see it.
> 
> Thanks, Kai
> -- 
> "I like to sound big, You like to sound big, Bigger than I do"    
> <Fisher-Z>
> KBartels@picturesafe.de                  +                
> www.picturesafe.de
> picturesafe GmbH, Lueerstr. 3, D-30175 Hannover          fon:+49 511
> 85620 56
> ++ PGP Key fingerprint =  D2 B9 58 DC 36 52 DB 6C  18 CC 43 9F 68 E0 21
> 97 ++


=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/