Copying list (replied directly by mistake).

<echo message="${sqlCmd.exe}" commandline='-s ${sqlCmd.server.name} -d
${sqlCmd.database.name} -U
                        ${sqlCmd.user.name} -P ${sqlCmd.password} -i
"${sqlCmd.scripts.dir}${sqlCmd.script.file}"' />


Has a closing "double quote" immediately after ${sqlCmd.exe}, which will
terminate the "message" string.
You have another one just in front of ${sqlCmd.scripts.dir} too.


-----Original Message-----
From: suedeuno [mailto:suede...@yahoo.com] 
Sent: Wednesday, March 04, 2009 9:41 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Unexpected attribute "commandline" on element <echo>.


What am I missing here?

<target name="exec.sql">
                <property name="sql.tools.dir" value="C:\Program
Files\Microsoft SQL
Server\90\Tools\Binn" />
                <property name="sqlCmd.exe"
value="${sql.tools.dir}\SQLCMD.EXE" />

                <echo message="${sqlCmd.exe}" commandline='-s
${sqlCmd.server.name} -d
${sqlCmd.database.name} -U
                        ${sqlCmd.user.name} -P ${sqlCmd.password} -i
"${sqlCmd.scripts.dir}${sqlCmd.script.file}"' />
        </target>
-- 
View this message in context:
http://www.nabble.com/Unexpected-attribute-%22commandline%22-on-element-%3Ce
cho%3E.-tp22331353p22331353.html
Sent from the NAnt - Users mailing list archive at Nabble.com.


----------------------------------------------------------------------------
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to