ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paul.ar...@sadalbari.com
Subject how to access/iterate id in <script>
Date Thu, 04 Jan 2007 09:13:40 GMT
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


Mime
View raw message