this is likely because the files delivered in the release are in DOS
ormat.  I was receiving this same message.

Just run dos2unix on the file (you'll also need to do this to antRun)

e.g. (from within the bin directory)
dos2unix ant ant
dos2unix antRun antRun

This will update the files from DOS format to ISO format.  

thanks,
cass


--- Ryan Worley <[EMAIL PROTECTED]> wrote:
> I'm trying to build cocoon.war from Cocoon 2.0b2 and keep getting
> the error:
> /usr/local/src/Cocoon/bin/ant - No such file or directory.  So I
> went
> directly to the bin directory, `cat ant` - displays the file,
> `./ant` - No
> such file or directory .... what's going on?  When I `vi ant` there
> is a
> '[dos]' at the bottom of the screen.  Might the dos formatted file
> have
> something to do with bash not finding and executing it?
> 
> Thanks for any help,
> 
> Ryan
> 
> 
>
---------------------------------------------------------------------
> Please check that your question has not already been answered in
> the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to