ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Help with Ant
Date Thu, 17 Feb 2005 03:11:50 GMT
See if the built-in <apply> task will do the trick.

	Erik

On Feb 16, 2005, at 4:19 PM, Michael Wang (IT) wrote:

> Hi,
>
> Is there some if/while control structure in Ant?
>
> Here is what I am trying to do with Ant.
>
> I want to write a built script for ant. This script is used to compile 
> some oracle forms on Unix.
>
> For example, for /usr/local/myproject/src. I have some *.fmb file and 
> I want to convert them using f90genm.sh to *.fmx files. The command to 
> be used will be like
>
> 	f90genm.sh userid/password@sid module="file_base_name"
>
> Is there a way to loop through each file under one folder and extract 
> its basename and feed it to this command?
>
> Or I'd better have some shell script to do it?
>
> Thanks a lot.


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


Mime
View raw message