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: Parsing XML
Date Mon, 31 Jan 2005 12:22:27 GMT
Depends on what you want to do later ...
A Vector is only a list and a hashtable contains key-value pairs.
Use a Vector if you only want to store the targets.
Use a hashtable if you want to store the targetName-target pair.

Jan

> -----Urspr√ľngliche Nachricht-----
> Von: Longie [mailto:longie@esatclear.ie]
> Gesendet am: Montag, 31. Januar 2005 12:14
> An: user@ant.apache.org
> Betreff: Parsing XML
> 
> Hello
> 
> I am not sure if this is the correct place to post this but i am sure
> somebody can help.
> 
> I have a GUI written in java and i am parsing the build.xml for ant. I
> can parse through it and print out the different targets. The 
> next step
> is to put each target into a vector or hashtable. SO i have 
> two questios
> 
> 1) Is it better to load the xml file into a vector or 
> hashtable so that
> i can read the  varsious targets set in the build.xml file
> 
> Any advice is appreciated.
> 
> Regards 
> 
> John
> 
> 
> 
> -- 
> ------------------------
> U: http://www.dingleonline.com
> E: sales@dingleonline.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message