ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rhino" <rhi...@sympatico.ca>
Subject Re: Need to expand *.txt in java task
Date Fri, 28 Oct 2005 19:31:58 GMT
I'm sure it's obvious to you but it sure isn't to me: what is it that you're
trying to do?

Also what Ant version are you using and how much experience do you have with
Ant? I'm inclined to guess that you're just getting started with Ant but I
could be wrong....

Rhino

----- Original Message ----- 
From: "Bob Noonan" <noonan@cs.wm.edu>
To: <user@ant.apache.org>
Sent: Friday, October 28, 2005 2:17 PM
Subject: Need to expand *.txt in java task


> Hi,
>
> Please forgive my stupidity, but I have spent hours on this ...
>
> Given the following Unix/Linux command line:
>
>          java  Test.Main  -all  *.txt
>
> I wrote the following ant task:
>
>          <java  classname="Test.Main">
>              <arg value="-all" />
>              <arg value="*.java" />
>          </java>
>
> Test.Main reports it cannot find file *.java.
>
> So I replaced the 2nd arg with a <fileset ... />.
> The ant java task reports that it does not accept <fileset>'s.
>
> Similarly, I tried nesting a fileset within an arg.  Illegal.
>
> I checked the O'Reilly Ant book and ant.apache.org
> without finidng a solution.
> I am clearly missing something.  It should not be this hard.
>
> Thanks,
> Bob
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.362 / Virus Database: 267.12.5/150 - Release Date: 27/10/2005
>
>



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.12.5/150 - Release Date: 27/10/2005


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message