ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Glick <Jesse.Gl...@netbeans.com>
Subject [PATCH] permit ant command to accept -Dkey="value with spaces"
Date Thu, 25 Jan 2001 09:38:26 GMT
Trivial (2-character!) patch to the Bourne shell launcher. Using "$@"
rather than $@ means that you can pass in arguments with embedded spaces
and it will work naturally; otherwise ${key} will be set to "value" and
"with" and "spaces" will be treated as targets, for example. Seems to
work on Linux at least. antRun already uses it. I have no idea if
ant.bat works with spaces, or could be made to work.

-Jesse

-- 
Jesse Glick   <mailto:Jesse.Glick@netbeans.com>
NetBeans, Open APIs  <http://www.netbeans.org/>
tel (+4202) 3300-9161 Sun Micro x49161 Praha CR
Mime
View raw message