or does not work in Ant 1.3 on Unix

  • Share
  • Share

Applies to:
Ant 1.3, Unix

Description:
Occurs while using Apache Ant.

Cause:
The antRun script in ANT_HOME/bin has DOS instead of Unix line endings.

JAVA-Tools

  1. admin
    March 20th, 2009 at 10:28 | #1

    You must remove the carriage-return characters from this file. This can be done by using Ant’s task or something like:
    tr -d ‘\r’ < $ANT_HOME/bin/antRun > /tmp/foo
    mv /tmp/foo $ANT_HOME/bin/antRun

  1. No trackbacks yet.