diff options
author | Chris Jaun | 2013-11-07 19:46:49 +0000 |
---|---|---|
committer | Chris Jaun | 2013-11-07 19:46:49 +0000 |
commit | d714bafbe59f5562b2f74df7764aa7013f59d83f (patch) | |
tree | 4f019eb866179d1933fa34474f081af1d83fb567 | |
parent | 95caf784818fbab7993f211cc4786498941b7f86 (diff) | |
download | webtools.jsdt.tests-d714bafbe59f5562b2f74df7764aa7013f59d83f.tar.gz webtools.jsdt.tests-d714bafbe59f5562b2f74df7764aa7013f59d83f.tar.xz webtools.jsdt.tests-d714bafbe59f5562b2f74df7764aa7013f59d83f.zip |
[325809] [misc] unit tests produce a "comptest" directory in user.home
-rw-r--r-- | tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/util/Util.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/util/Util.java b/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/util/Util.java index f5a8c69..82079b8 100644 --- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/util/Util.java +++ b/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/util/Util.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. + * Copyright (c) 2000, 2013 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -71,7 +71,7 @@ public class Util { private static final boolean DEBUG = false; /** - * Initially, output directory was located in System.getProperty("user.home")+"\comptest". + * Initially, output directory was located in System.getProperty("user.dir")+"\comptest". * To allow user to run several compiler tests at the same time, main output directory * is now located in a sub-directory of "comptest" which name is "run."+<code>System.currentMilliseconds</code>. * @@ -108,7 +108,7 @@ public class Util { // Get output directory root from system properties String container = System.getProperty("jdt.test.output_directory"); if (container == null){ - container = System.getProperty("user.home"); + container = System.getProperty("user.dir"); } if (container == null) { container = "."; // use current directory |