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 2009/01/24 23:36:28 UTC

DO NOT REPLY [Bug 46595] New: incorrect case for Ant variable VERSION

https://issues.apache.org/bugzilla/show_bug.cgi?id=46595

           Summary: incorrect case for Ant variable VERSION
           Product: Ant
           Version: 1.7.1
          Platform: All
               URL: http://ant.apache.org/manual/CoreTasks/manifest.html
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P4
         Component: Documentation
        AssignedTo: notifications@ant.apache.org
        ReportedBy: gthomas.cs02@gtalumni.org


The first example in the "Examples" section for the documentation of the
manifest task references the Ant variable VERSION but in lower case; it should
say ${VERSION} and not ${version}.

It might also be a good idea to add a note that VERSION can be set using 
<property resource="org/apache/tools/ant/version.txt"/> and that TODAY is set
using the tstamp task.


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

DO NOT REPLY [Bug 46595] incorrect case for Ant variable VERSION in the documentation for the manifest task

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


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

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




--- Comment #1 from Stefan Bodewig <bo...@apache.org>  2009-01-26 21:04:46 PST ---
the ${version} in the example is supposed to be the version of the JAR that
will contain the manifest, not Ant's version.  You can see this when you look
at the way it is used (in Specification-Version of the generated manifest).


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

DO NOT REPLY [Bug 46595] incorrect case for Ant variable VERSION in the documentation for the manifest task

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





--- Comment #2 from George Thomas <gt...@gtalumni.org>  2009-01-26 21:36:23 PST ---
(In reply to comment #1)
> the ${version} in the example is supposed to be the version of the JAR that
> will contain the manifest, not Ant's version.  You can see this when you look
> at the way it is used (in Specification-Version of the generated manifest).
> 

Indeed; serves me right for not looking closely; I think I was confused by the
second sentence in the paragraph following the example: "Creates or replaces
the file MANIFEST.MF. Note that the Built-By attribute will take the value of
the Ant property ${user.name}. The same is true for the ${version} and ${TODAY}
properties."

Thanks for clearing that up Stefan.


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

DO NOT REPLY [Bug 46595] incorrect case for Ant variable VERSION in the documentation for the manifest task

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


George Thomas <gt...@gtalumni.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|incorrect case for Ant      |incorrect case for Ant
                   |variable VERSION            |variable VERSION in the
                   |                            |documentation for the
                   |                            |manifest task




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