ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18695] New: - Fix ant startup script to fully suport a relative link to it.
Date Fri, 04 Apr 2003 07:59:35 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18695>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18695

Fix ant startup script to fully suport a relative link to it.

           Summary: Fix ant startup script to fully suport a relative link
                    to it.
           Product: Ant
           Version: 1.5.1
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Wrapper scripts
        AssignedTo: dev@ant.apache.org
        ReportedBy: cawreck@gmx.net


Currently the ant startup script has some provision to cope with
a link from within the PATH to be resoved to ANT_HOME. It does
not work when the link itself is relative. Change the position of
the:
  cd "$saveddir"
statement to be after after the next statement:
  # make it fully qualified
  ANT_HOME=`cd "$ANT_HOME" && pwd`
to make it also work when it is a relative link.

Mime
View raw message