----- Original Message -----
From: "Diane Holt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 21, 2000 12:29 AM
Subject: "resource" vs. "file" in <property> task


> From the doc:
>   <property file="foo.properties" />
> reads a set of properties from a file called "foo.properties".
>
>   <property resource="foo.properties" />
> reads a set of properties from a resource called "foo.properties".
>
> What's the difference between a "resource" and "file"?
>
A file is read using normal file-handling, a resource is opened using the
classloader and must be present in the classpath.

Nico


Reply via email to