Hi Rahul,
Hmmm... Try a file that looks like a java properties file. I think this
would do what you want:
foo=bar
foo.name=${foo}
If that doesn't work, try asking on the ant-user mailing list. There'll
be someone there who's used this feature in the last day or two who can
help you.
Hope that helps,
Dave
[EMAIL PROTECTED] wrote:
>Hi,
>I am trying to read a property file & use the properties to compile a list of
>java files.
>
> <target name="compile-shared" depends="BNPhase2-prepare">
>
> <echo message=" " />
> <echo message=" Compile files for shared ... ${projectclient.name} "
>/>
> <echo message=" " />
> <property file="shared_jar.cfg" />
>
> <echo message="${foo.name}" />
>
> </target>
>
>shared_jar.cfg has
>
>name="foo" value="bar"
>name="foo.name" value="${foo}"
>
>I cannot get the ant to use the read property file. It reads it without any
>errors but how do I use them ( the properties I mean )
>
>
>Regards
>Rahul Nagpurkar
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>