Re: exec unix script not working for me

2009-07-22 Thread Amy Davis
e. On Tue, Jul 21, 2009 at 3:09 PM, Amy Davis wrote: > > The unix script file is pulled from SVN into TeamCity's work area. The ant > script copies it to the location where I want it to run, does a chmod on it, > and then tries to execute it. The ${sql.deploy.script} argument just

Re: exec unix script not working for me

2009-07-21 Thread Amy Davis
on't have to specify the shell. HOWEVER, if you do use the shell, you need to put the full directory name where your script can be found: By the way, is ${sql.deploy.script} a directory or script? You're using it as both. Maybe this is what you need: On Tue, Ju

Re: exec unix script not working for me

2009-07-21 Thread Amy Davis
-- From: robert lazarski To: Ant Users List Sent: Tuesday, July 21, 2009 9:25:56 AM Subject: Re: exec unix script not working for me On Tue, Jul 21, 2009 at 11:21 AM, Amy Davis wrote: > > I'm having trouble getting a unix script to execute through my ant script. > What am I

exec unix script not working for me

2009-07-21 Thread Amy Davis
I'm having trouble getting a unix script to execute through my ant script. What am I doing wrong? Attempt 1 ant script snippet: Attempt 1 verbose output: [if] copy [copy] Copying 1 file to /u01/ossint/TeamCityBuildAgent/work/ba331bf4546cf0c1/sql/deployment/r1-0 [if] chmod