Thanks for the reply. It's now working for one file, using name=value (ie
ndtComponents=blah), but getting it's not working for multiple files (either comma
or semi-colon seperated lists).
If written in XML is the properties file structured the same way as the
build.xml file?
Thanks again,
Neil
On Tue, Jun 17, 2003 at 05:08:14PM +0100, Keith Hatton wrote:
> Your properties should either be in Java properties file format (name=value) or XML format.
The example you give below is neither.
>
> If that doesn't help, suggest you post the properties file and build.xml for us to look
at.
>
> Hope this helps
> Keith
>
>
> -----Original Message-----
> From: Neil Walsh [mailto:marvin@Redbrick.DCU.IE]
> Sent: 17 June 2003 17:04
> To: user@ant.apache.org
> Subject: Ant newbie fun
>
>
>
> Hi,
>
> I'm trying to specify a property file on the command line (ie ant
> -propertyfile properties.txt). So far my properites file has one line in it
>
> <fileset id="ndtComponents" dir="NDTComponents/constant">
>
> Running ant with debug on the following line is outputted
>
> Setting ro project property: <fileset -> id="ndtComponents"
> dir="NDTComponents/constant">
>
> But further down the debug:
>
> file:c:\Program Files\blah\build1606.xml:566: Reference ndtComponents
> not found.
>
> Could anyone point me to where I'm going wrong?
>
> Thanks,
> Neil
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
--
"And we used to sleep on the beach,
they don't do it anymore.
Things change."
GYBE! - murray ostril: "...they don't sleep anymore on the beach..."
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
|