ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albrecht, Matt" <matt.albre...@zilliant.com>
Subject RE: JDK 1.1 question
Date Fri, 24 Jan 2003 19:59:05 GMT
String[] names = new String[ namesVector.size() ];
namesVector.copyInto( names );


-Matt
There are 10 kinds of people in this world. Those who think in binary, and
those who don't. 

> -----Original Message-----
> From: Dominique Devienne [mailto:DDevienne@lgc.com]
> Sent: Friday, January 24, 2003 1:57 PM
> To: Ant Developers List
> Subject: JDK 1.1 question
> 
> 
> What's one to use in Ant to be JDK 1.1 equivalent to this:
> 
> String[] names = (String[]) namesVector.toArray(new
> String[namesVector.size()]);
> 
> And I hope it's not a manual enumeration... I don't see it in
> CollectionsUtil.
> 
> Thanks, --DD
> 
> PS: JDK 1.1 is really a PITA IMHO. Lets go Java 2 at least!!!
> 
> --
> To unsubscribe, e-mail:   
> <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:ant-dev-help@jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message