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 2008/03/18 18:53:30 UTC

DO NOT REPLY [Bug 44630] New: Small error in doc (due to variable expansion ?)

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

           Summary: Small error in doc (due to variable expansion?)
           Product: Ant
           Version: 1.7.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Documentation
        AssignedTo: notifications@ant.apache.org
        ReportedBy: pv7721@yahoo.com


Take this snippet of the delete target doc in ANT 1.6.2:

"WARNING: Do not set dir to ".", "${basedir}", or the full-pathname equivalent
unless you truly intend to recursively remove the entire contents of the
current base directory (and the base directory itself, if different from the
current working directory)."

The same snippet in ANT 1.7.0 has become:

"WARNING: Do not set dir to ".", "/Users/antoine/dev/asf/ant-core", or the
full-pathname equivalent unless you truly intend to recursively remove the
entire contents of the current base directory (and the base directory itself,
if different from the current working directory)."

It looks like the ${basedir} variable has been expanded to its respective value
for the user that has built the doc, when it should have stayed non expanded.


-- 
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 44630] Small error in doc (due to variable expansion?)

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


Vladimir Mihai Pacuraru <pv...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pv7721@yahoo.com




--- Comment #1 from Vladimir Mihai Pacuraru <pv...@yahoo.com>  2008-03-18 11:13:06 PST ---
I think that this might be an issue with the doc building as I've searched for
the "/Users/antoine/dev/asf/ant-core" string and it appears in 29 different
files in the docs folder: in the faq.html and in the manual). I'm pretty sure
that in older versions this was the not-expanded ${basedir}.


-- 
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 44630] Small error in doc (due to variable expansion?)

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


Peter Reilly <pe...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




--- Comment #2 from Peter Reilly <pe...@apache.org>  2008-03-18 11:30:28 PST ---
Good catch.
This problem is in the docs directory of the tar.* (or zip) file of
the release and not on the manual page in the web site or in
the svn head or trunk.

Just checked the current beta for ant 1.7.1 - beta 2
(http://people.apache.org/~kevj/ant/ant-1.7.1beta2.tar.gz)
and the problem exists there as well..

- looks like an artifact of the ant release process.


-- 
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 44630] Small error in doc (due to variable expansion?)

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





--- Comment #4 from Sebb <se...@apache.org>  2008-05-25 05:45:39 PST ---
A comparison of the docs tree in the source and binary zips for 1.7.0 show that
at least one image file is also affected:

docs/images/beta.png


-- 
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 44630] Small error in doc (due to variable expansion?)

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


Peter Reilly <pe...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|trivial                     |minor
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |1.8.0




--- Comment #3 from Peter Reilly <pe...@apache.org>  2008-03-18 15:49:16 PST ---
The bug was introduced in 
http://svn.apache.org/viewvc?view=rev&revision=466856
the change from using filter codes to property expansion affected
all the files in the copy to the distribution - including
html files.

The expansion should only affect the files defaultManifest.mf and version.txt
so I will change the build.xml file to only property expand thes two files.

It will be up to kev to see if this should go into ant 1.7.1


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