You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by China Creatxr <cr...@hotmail.com> on 2009/06/16 20:28:43 UTC

about scriptdef

<scriptdef name="fixbom" language="javascript">
<attribute name="desc" />
<element name="fileset" type="fileset">
<![CDATA[[
--------------------------------------
fileset = elements.get("fileset");
--------------------------------------
?: how can i iterate the files in fileset?

where can i find the docs about API that I can use in it?
thanks




_________________________________________________________________
下載 Windows Live Messenger 9.0,多元溝通、盡情分享,和即時傳訊好友線上同樂!— 立即下載
http://download.live.com/messenger

Re: about scriptdef

Posted by Avlesh Singh <av...@gmail.com>.
This might help - http://www.sitepen.com/blog/2001/09/25/javascript-and-ant/
You can use simple javascript for control structure in your case.

Cheers
Avlesh

2009/6/16 China Creatxr <cr...@hotmail.com>

>
> <scriptdef name="fixbom" language="javascript">
> <attribute name="desc" />
> <element name="fileset" type="fileset">
> <![CDATA[[
> --------------------------------------
> fileset = elements.get("fileset");
> --------------------------------------
> ?: how can i iterate the files in fileset?
>
> where can i find the docs about API that I can use in it?
> thanks
>
>
>
>
> _________________________________________________________________
> 下載 Windows Live Messenger 9.0,多元溝通、盡情分享,和即時傳訊好友線上同樂!— 立即下載
> http://download.live.com/messenger