ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45245] New: Startup script produces error on Cygwin if JAVA_HOME is undefined
Date Fri, 20 Jun 2008 15:59:28 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45245

           Summary: Startup script produces error on Cygwin if JAVA_HOME is
                    undefined
           Product: Ant
           Version: 1.7.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: minor
          Priority: P3
         Component: Wrapper scripts
        AssignedTo: notifications@ant.apache.org
        ReportedBy: gordon.prieur@sun.com


The startup script in ant 1.7 uses the cygpath program to convert
JAVA_HOME several times. The 1st time it checks that JAVA_HOME is
set before calling cygpath, but the 2nd time it doesn't.

As a result, the 2nd time always gets the warning 

    cygpath: can't convert empty path

It looks like this line can probably be removed (line 256 in
ant 1.7.0) because the ant script uses JAVACMD and its already
been set (I didn't test this, although I did test that setting
JAVA_HOME resolved the problem).


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message