ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd McGrath <toddmcgr...@yahoo.com>
Subject quotes in Exec task
Date Thu, 06 Jul 2000 15:52:18 GMT
Hi,

I using an exec task and having problems with quotes. 
I need to run this command: ss get "$/Gen II/JSP/" -R
-W

So, in my build.xml I have the following:

<exec dir="${web}" command="ss get \"$/Gen II/JSP/\"
-R -W" output="sslog.txt" />

See how I need the quotes around the $/Gen II/JSP/.

I'm getting this error:

BUILD CONFIG ERROR

Whitespace required before attributes.
build.xml:56: Whitespace required before attributes.
Exception in thread "main" build.xml:56: Whitespace
require before attributes.
     at
org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:112)
     at org.apache.tools.ant.Main.runBuild(Main.java,
Compiled Code)
     at org.apache.tools.ant.Main.main(Main.java:106)


Any ideas?

Todd



__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

Mime
View raw message