Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Java in General
Launch ant from cygwin
Nick Sher
Ranch Hand
Posts: 78
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I tried running
ant
build file from cygwin and this is what I am getting:
$ ant clean start.build /cygdrive/c/ant/1.7.1/bin/ant: line 2: $'\r': command not found /cygdrive/c/ant/1.7.1/bin/ant: line 17: $'\r': command not found /cygdrive/c/ant/1.7.1/bin/ant: line 24: syntax error near unexpected token `$'do\r'' 'cygdrive/c/ant/1.7.1/bin/ant: line 24: `for arg in "$@" ; do
Can someone help me troubleshoot this problem? I don't how to fix this?
Nick
David O'Meara
Rancher
Posts: 13459
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
do you have a text editor that can easily transform the file type for you (textpad by choice)
My suggestion is load the build file, save-as in Unix format to terminate the lines with \n rather than \r\n
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
compile problem w/ code in HFS book
ant is not working
java on cygwin
NX: Cygwin?
More...