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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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.

Reply via email to