You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2017/03/16 16:03:21 UTC

[Bug 60877] New: The ant.cmd contains invalid comment which makes it essentially unusable

https://bz.apache.org/bugzilla/show_bug.cgi?id=60877

            Bug ID: 60877
           Summary: The ant.cmd contains invalid comment which makes it
                    essentially unusable
           Product: Ant
           Version: 1.10.1
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: notifications@ant.apache.org
          Reporter: gabriel.szabo@sk.ibm.com
  Target Milestone: ---

The ant.cmd file located in the bin folder contains an invalid comment on the
beginning of the file. It is a multiline, C-like command using the /* and */
notation.

Since the cmd file itself is essentially a bat file, the command should be
entered via REM (exactly like in ant.bat).

When the ant.cmd is started, for each line, which are meant as comments are
handled as if they were commands, and you get a listing of errors for the first
word on each line.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 60877] The ant.cmd contains invalid comment which makes it essentially unusable

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60877

gabriel.szabo@sk.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #3 from gabriel.szabo@sk.ibm.com ---
No, I was not aware of that, that it was meant to work on OS/2. Thanks anyway,
I closed it as a duplicate.

*** This bug has been marked as a duplicate of bug 60011 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 60877] The ant.cmd contains invalid comment which makes it essentially unusable

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60877

--- Comment #2 from Stefan Bodewig <bo...@apache.org> ---
see also Bug 60011

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 60877] The ant.cmd contains invalid comment which makes it essentially unusable

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60877

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Stefan Bodewig <bo...@apache.org> ---
I hope you realize ant.cmd ist the launcher script for OS/2. ant.bat is
supposed to be used on any version of Windows.

If I'm not mistaken it uses REXX where /* */ block comments are supported.

-- 
You are receiving this mail because:
You are the assignee for the bug.