ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Burton" <bi...@progress.com>
Subject Re: [PATCH] java task doesn't correctly handle changing drives under Windows
Date Mon, 12 Feb 2001 17:16:45 GMT
Hello,

Could one of the committers please pick up this patch?  It should really
go into 1.3.  I worked out a similar fix just before code freeze but this
patch is simpler than mine for the Win 9x part of the fix.

Thanks,
-Bill Burton

David Rees wrote:
> 
> <This is a resend. I originally accidently sent it as a reply to
> completely different thread so it may have been missed.>
> 
> Two patches attached.
> 
> Combined they correct Execute (and hence the java task and perhaps
> others) when the execute directory's drive is different than the
> current directory's drive. Pre-patch the drive change doesn't happen
> so the execute runs in a current directory. The first patch fixes it
> for NT/2K and the second one fixes it (via a BAT file change) for
> 9X/ME.
> 
> As an example, if your current directory is c:\build and your run
> directory is d:\run, previously only a "cd d:\run" was performed and
> the active drive was not changed (because of the Windows directory per
> drive "feature"). Therefore the execute actually still runs in
> c:\build. The patches cause the needed active drive change as well.
> 
> dave
> 
> PS, May need additional testing on all the Win9X/ME variations. I
> don't have all them available to run the tests.
> 
> PS II, I assume I don't need to raise a bug if I just supply the patch
> - right?

Mime
View raw message