Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325809

Summary: [misc] unit tests produce a "comptest" directory in user.home
Product: [WebTools] JSDT Reporter: David Williams <david_williams>
Component: GeneralAssignee: Chris Jaun <cmjaun>
Status: RESOLVED FIXED QA Contact: Chris Jaun <cmjaun>
Severity: minor    
Priority: P3    
Version: unspecified   
Target Milestone: 3.6   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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