You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2006/04/13 14:15:01 UTC

DO NOT REPLY [Bug 39298] New: - %HOME% should be %HOMEPATH% in ant.bat on XP

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39298>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39298

           Summary: %HOME% should be %HOMEPATH% in ant.bat on XP
           Product: Ant
           Version: 1.6.5
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Wrapper scripts
        AssignedTo: dev@ant.apache.org
        ReportedBy: Vampire@Masters-of-Disaster.de


At least on Windows XP (Home and Professional) there is no %HOME% specifying 
the users homedirectory, but a %HOMEPATH%. So for antrc_pre.bat and 
antrc_post.bat to be found, the occurences of %HOME% in ant.bat have to be 
replaces by %HOMEPATH%.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: DO NOT REPLY [Bug 39298] - %HOME% should be %HOMEPATH% in ant.bat on XP

Posted by Peter Reilly <pe...@gmail.com>.
> ------- Additional Comments From gudnabrsam@yahoo.com  2006-10-10 09:14 -------
> to hell with it, checking %HOME%, %HOMEDRIVE%%HOMEPATH%, and %USERPROFILE% in
> that order.  If these are all different all pre/post batch files found will be
> processed.
Cool!

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 39298] - %HOME% should be %HOMEPATH% in ant.bat on XP

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39298>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39298





------- Additional Comments From Vampire@Masters-of-Disaster.de  2006-04-14 16:05 -------
Hm, I would suggest doing more OS-research.
For me, on Windows XP Home and Windows XP Pro, USERPROFILE and HOMEPATH are both
the same.
And I checked in a VMWare with Win 98 SE, there seems none of the both to be set.
Same for Win 95 if anyone should use it. There none of the both is set too.

But %HOME% is nowhere set.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 39298] - %HOME% should be %HOMEPATH% in ant.bat on XP

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39298>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39298





------- Additional Comments From peterreilly@apache.org  2006-09-20 09:12 -------
Does anyone know if %HOME% is set in window 98?
(according to #2 it is not)
If it is not, then this bug report can be solved
without affectin win98 functionaly (which
we are dropping in any case).
#2 HOMEPATH on my machine is the same as %USER_PROFILE% ***except***
   that it does not have the drive prefix.

so I think that %USER_PROFILE% should be used.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 39298] - %HOME% should be %HOMEPATH% in ant.bat on XP

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39298>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39298


gudnabrsam@yahoo.com changed:

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




------- Additional Comments From gudnabrsam@yahoo.com  2006-10-10 09:14 -------
to hell with it, checking %HOME%, %HOMEDRIVE%%HOMEPATH%, and %USERPROFILE% in
that order.  If these are all different all pre/post batch files found will be
processed.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 39298] - %HOME% should be %HOMEPATH% in ant.bat on XP

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39298>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39298





------- Additional Comments From antoine@apache.org  2006-04-13 19:22 -------
I wonder whether ant.bat should not use the value of USERPROFILE rather than the
value of HOME anyway.

According to some articles in the Internet, HOMEPATH should be the full path of
a users home drive under Windows NT. However, you need to combine it with
HOMEDRIVE to get something useful (on my system, HOMEPATH=\, HOMEDRIVE=H: )

USERPROFILE=C:\Documents and Settings\[my user]

The directory on C: gets copied to the network drive H: I believe when I log out ?

I have seen USERPROFILE also on Windows 2000. Therefore USERPROFILE makes in the
Windows variant which I know (sorry, I do not know Win 9x) the most sense.

Regards,
Antoine

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 39298] - %HOME% should be %HOMEPATH% in ant.bat on XP

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39298>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39298





------- Additional Comments From stevel@apache.org  2006-04-16 20:19 -------
The .BAT file is cause of inordinate amounts of trouble; any help you can with
getting it right for ant1.7 is welcome. One thing we do need is win98 support,
so the fact that you have a vmware image for testing that will help. If all we
had to support was winxp, the .bat file would be much cleaner (though not as
clean as the .py launcher)

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 39298] - %HOME% should be %HOMEPATH% in ant.bat on XP

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39298>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39298


peterreilly@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |franck.hamelin@teleca.fr




------- Additional Comments From peterreilly@apache.org  2006-09-20 09:04 -------
*** Bug 28402 has been marked as a duplicate of this bug. ***

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 39298] - %HOME% should be %HOMEPATH% in ant.bat on XP

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39298>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39298


gudnabrsam@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |1.7.0




------- Additional Comments From gudnabrsam@yahoo.com  2006-10-10 08:56 -------
I just changed SVN to read %HOMEDRIVE%%HOMEPATH%.  Admittedly I didn't reread
this whole bug first.  ;)  On my current setup these are actually different. 
This could very well be nonstandard.  Maybe we should check both?  Don't know
whether to mark this closed or not.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org