GANT shell script execution

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


Andy, Ya I made sure the file was executable (but I had to lookup the command!).




Doooh

----------------------------------------
> Date: Sat, 4 Oct 2008 13:07:17 -0400
> From: andy at boersma.ca
> To: ubuntu-ca at lists.ubuntu.com
> Subject: Re: GANT shell script execution
> 
> Hi,
> 
> Did you make the shell executable??
> 
> in terminal:
> sudo chmod +x execute.sh
> 
> Unlike windows a file has to be allowed to execute, and by default it is 
> not.
> 
> Andy
> 
> 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?
>>
>> Doooh
>> _________________________________________________________________
>>
>>
>>   
> 
> -- 
> ubuntu-ca mailing list
> ubuntu-ca at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ca

_________________________________________________________________





More information about the ubuntu-ca mailing list