ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <>
Subject Re: Difference between file and resource in property task
Date Thu, 30 Nov 2000 07:54:50 GMT
<property file="... > uses new FileInputStream(yourFile) to read the
properties, <property resource="...> uses
this.getClass().getResourceAsStream(yourResource). (the last one may work if
you to have the current directory on ant's classpath)


View raw message