Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325809 - [misc] unit tests produce a "comptest" directory in user.home
Summary: [misc] unit tests produce a "comptest" directory in user.home
Status: RESOLVED FIXED
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: 3.6   Edit
Assignee: Chris Jaun CLA
QA Contact: Chris Jaun CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-20 19:22 EDT by David Williams CLA
Modified: 2013-11-12 13:56 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Williams CLA 2010-09-20 19:22:35 EDT
There is a directory named "comptest" in user.home being created after jsdt builds, I assume from jsdt unit tests. 

Its not good to put things in "user.home" during the build (if ever). One option is to change the test to use user.dir instead. But, 
best way is to use Java's tmp directory ... I forget the exact api call, but should be pretty easy/transparent ... if you can find the test that does it. 

(It might have been this way for a while ... not sure ... but easy to notice since build server crashed and started with a clean "home" directory.)
Comment 1 Nitin Dahyabhai CLA 2011-06-30 15:27:34 EDT
Created by org.eclipse.wst.jsdt.core.tests.util.Util
Comment 2 Chris Jaun CLA 2013-11-12 13:56:25 EST
Changed to user.dir