GANT shell script execution

Doooh Head doooh_head at hotmail.com
Sat Oct 4 16:31:17 UTC 2008


No my script does not begin that way.  Why should it?  What does that do? 

I don't have access to the script right now, I was doing all of this at work yesterday and I was unable to resolve it.  The error indicated that the directory was inaccessible.  I did try and copy each line into a shell and execute each one and each completed successfully, so the directory was there, the maven command completed, etc.


Doooh 

________________________________
> Date: Sat, 4 Oct 2008 12:25:06 -0400
> From: david at ngowiki.net
> To: ubuntu-ca at lists.ubuntu.com
> Subject: Re: GANT shell script execution
> 
> 
> 
> On Sat, Oct 4, 2008 at 12:12 PM, Doooh Head  wrote:
> 
> Hi All,
> 
> I have a very "Linux-newbie" question for you.  I have a very simple shell script (execute.sh):
> 
> cd ~/workspace/trunk/time
> maven clean jar:install
> cd ~/workspace/start/point
> 
> I am trying to make this script execute by some GANT (Groovy+ANT) code.  The GANT code that calls the script is fine and I can tell it is calling it, but I get an error when this script attempts to execute the first cd command saying that it is unable to execute it.
> 
> 
> I have tried relative directory references, I have tried specific directory references.  I have made sure I have all of the necessary permissions.  This is all happening within the confines of my "home" folder.
> 
> Anybody have any ideas, or suggestions?
> 
> 
> Does your script start by
> 
> #!/bin/sh
> 
> If you do it manually do you have the same error and what is the error again ?
> 
> 
> 
> --
> David Tremblay
> 
> IT analyst
> mob: 418-208-3631
> jabber: ict4ngo
> skype : ict4ngo
> 
> Blog : http://blog.ngowiki.net

_________________________________________________________________





More information about the ubuntu-ca mailing list