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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >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: [EMAIL PROTECTED] For >additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]