Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Location attribute in property not resolving correctly

Location attribute in property not resolving correctly

2006-09-25       - By Matt Benson
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

uh, it's part of the Java property file spec that
backslashes must be escaped:

dir.src=C:\\Temp\\compare_cmp
dir.dest=C:\\Work\\Dev\\projects\\Installer\\code\\Installer_c1.0.latest\\cmp

-Matt

--- William Lopez <W.Lopez@(protected)> wrote:

> Ant: 1.6.5
> Java: 1.5.0_07
> OS: WinXP
>  
> I have a build.properties with the following props
> defined:
>  
> dir.src=C:\Temp\compare_cmp
>
dir.dest=C:\Work\Dev\projects\Installer\code\Installer_c1.0.latest\cmp
>  
> The build is failing because the props are being
> resolved without the
> backslashes. Here are the <echo>s:
>   [echo] Source:C:Tempcompare_cmp
>   [echo]
>
Target:C:WorkDevprojectsInstallercodeInstaller_c1.0.latestcmp
>  
> I'm stumped.
>  
> Thanks,
> -Will
>  
>


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.