ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: how to access/iterate id in <script>
Date Thu, 04 Jan 2007 09:23:51 GMT
project.getProperty("source.dirs"); 

The javadocs are not online at Apache, just on your local harddist - if you have build them
;-)


Jan


>-----Urspr√ľngliche Nachricht-----
>Von: paul.arzul@sadalbari.com [mailto:paul.arzul@sadalbari.com] 
>Gesendet: Donnerstag, 4. Januar 2007 10:14
>An: Ant Users List
>Betreff: how to access/iterate id in <script>
>
>hi all,
>
>if someone could point me to relevant docs i would be 
>grateful-- the ant api appears 404: <http://ant.apache.org/manual/api/>
>
>i'm trying to access an ant id in javascript:
>
><dirset dir="${path.source}" id="source.dirs" />
>
><script language="javascript"><![CDATA[
>  var dirset = project.getId("source.dirs");
>  for (var i in dirset)
>  {
>    ...
>  }
>]]></script>
>
>but .getId is an incorrect guess, and i think it well need 
>more setup than that.
>
>thanks in advance,
>
>- p
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
>additional commands, e-mail: user-help@ant.apache.org
>
>

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


Mime
View raw message