| Location attribute in property not resolving correctly | Location attribute in property not resolving correctly 2006-09-25 - By William Lopez
Oh my! Sorry!! It's been 3 years since I've coded in Java. I've been developing in .Net since then and I have a need for Ant's functionality. Most of it came back, the obvious has not.
I'm very sorry for wasting your time.
Thanks!
-----Original Message----- From: Matt Benson [mailto:gudnabrsam@(protected)] Sent: Monday, September 25, 2006 2:42 PM To: Ant Users List Subject: Re: Location attribute in property not resolving correctly
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)
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|
 |