ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject RE: Reading Property from archived Property file
Date Thu, 26 Jul 2001 00:00:50 GMT
The resource approach would be the best bet. I can't say if you are using
the task incorrectly because you haven't given any details.

Conor


> -----Original Message-----
> From: jjcantri@thoughtworks.com [mailto:jjcantri@thoughtworks.com]
> Sent: Thursday, 26 July 2001 6:51 AM
> To: ant-user@jakarta.apache.org
> Subject: Reading Property from archived Property file
>
>
> I'm trying to read a property file that is archived in a jar file.  I have
> tried various combinations of the location, file,resource, and classpath
> attributes of the Property task to no avail.  The only way I have found to
> read a property is to unzip the jar and then read it using the file
> attribute.  Is there a bug?  Are we using the task incorrectly?
>
> Any assistance would be appreciated.
>
> Jeff Cantrill
> Software Developer
> Thoughtworks, Inc.
> (312) 373-8608
>
>


Mime
View raw message