"LE-RUBRUS,BENOIT (Non-HP-France,ex1)" wrote:
> 
> hi all
> I'm using ant1.3 on windows2000 with jdk1.3.
> I'm trying to set properties to a file using propertyfile optional task.
> I'd like to set a windows absolute path to a variable:
> here is what I'm expecting in the test.properties file:
> 
> myvariable=c:\\mydir
> 
> ************** here is my first target:
> 
> <target name="set1">
>    <propertyfile file="test.properties">
>         <entry key="myvariable" value="c:\\mydir"/>
>    </propertyfile>
> </target>

Do you really want two backslashes in the XML file?  That will yield two
backslashes in the attribute value and the default property value, not one. 

Daniel
-- 
Daniel Barclay
Digital Focus
[EMAIL PROTECTED]

Reply via email to