You could use the task to set a variable with as a
subtask within it.
Then actually do the control-flow check in a target's "if" or "unless"
attribute.
moran
> -Original Message-
> From: Darryl L. Miles [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 09, 2005 5:23 AM
> To: user@ant
src="cleanDB.sql"
> />
>
>
> Is there any way I can generalize the above script to delete *ANY*
> database
> on the server by sending a parameter to the cleanDB.sql file? So
> basically,
> instead of specifying the database name u
Sounds like you're issue is with the SQL Server connection properties.
Query Analyzer tends to have different defaults for the connection settings
than your Ant initiated connections.
Look up the error in a sql site like "www.sqlmag.com", I'm sure there will
be an explanation like set AutoCommit o
Look for the task in ant-contrib:
http://ant-contrib.sourceforge.net/
moran
> -Original Message-
> From: Paul Munsey (pmunsey) [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 16, 2005 3:28 PM
> To: 'Ant Users List'
> Subject: Conditional tasks
>
> I'm trying to figure out how to call
I mean.. I did the following (just for the records of this archive for
anyone searching):
Thanks, again,
moran
> -Original Message-
> From: Moran Ben-David [mailto:[EMAIL PROTECTED]
> Sent:
jar
> > (/home/me/custom.jar) in its classpath from my build.xml?
> >
> > I don't want to copy the file to the ant/lib directory. Instead, I just
> > want to expose it for my script alone.
> >
> > Thanks in
build.xml?
I don't want to copy the file to the ant/lib directory. Instead, I just
want to expose it for my script alone.
Thanks in advance,
Moran Ben-David
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman