RE: Condition operation based on existance of a file ?

2005-09-09 Thread Moran Ben-David
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

RE: sql task sp_dboptions problem

2005-08-25 Thread Moran Ben-David
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

RE: sql task sp_dboptions problem

2005-08-25 Thread Moran Ben-David
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

RE: Conditional tasks

2005-08-16 Thread Moran Ben-David
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

RE: Adding to ant's classpath from an ant build script

2005-08-03 Thread Moran Ben-David
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:

RE: Adding to ant's classpath from an ant build script

2005-08-03 Thread Moran Ben-David
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

Adding to ant's classpath from an ant build script

2005-08-03 Thread Moran Ben-David
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