Bug 23917 - logfile not created in the correct location when path not fully specified
Summary: logfile not created in the correct location when path not fully specified
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.0   Edit
Hardware: PC other
: P2 normal (vote)
Target Milestone: 2.1 M2   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords: core
Depends on:
Blocks:
 
Reported: 2002-09-20 12:24 EDT by Darin Swanson CLA
Modified: 2002-10-11 11:23 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.