Bug 23917

Summary: logfile not created in the correct location when path not fully specified
Product: [Eclipse Project] Platform Reporter: Darin Swanson <Darin_Swanson>
Component: AntAssignee: Darin Wright <darin.eclipse>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P2 Keywords: core
Version: 2.0   
Target Milestone: 2.1 M2   
Hardware: PC   
OS: other   
Whiteboard:

Description Darin Swanson CLA 2002-09-20 12:24:14 EDT
If the user just types in the name of logfile, the file is created in the root 
directory of the Eclipse install.  
I propose that it should be created in the same location as the build file.
Comment 1 Darin Swanson CLA 2002-09-23 14:43:33 EDT
Fixed in InternalAntRunner.
Please verify.
Comment 2 Darin Swanson CLA 2002-09-27 11:36:14 EDT
Please verify (Joe)
Comment 3 Jared Burns CLA 2002-10-07 11:09:33 EDT
We should first check if the user has specified a working directory. If they 
have, the file should be written there (not sure what to do if the dir is not 
writable). If they haven't then the location of the build file makes sense.
Comment 4 Darin Swanson CLA 2002-10-07 16:38:04 EDT
The file is now created in the working directory if a working directory is 
specified.
If the write permissions are not correct we log an error message and bail on 
the execution.
Comment 5 Darin Swanson CLA 2002-10-07 16:38:16 EDT
Please verify the changes to InternalAntRunner.
Comment 6 Darin Swanson CLA 2002-10-11 10:04:07 EDT
Reopening to reassign for M2 verification
Comment 7 Darin Swanson CLA 2002-10-11 10:04:24 EDT
Please verify.
Comment 8 Darin Wright CLA 2002-10-11 11:23:14 EDT
Verified.