01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.test.server.appserver.deployment;
05:
06: public class PropertiesHackForRunningInEclipse {
07:
08: public static void initializePropertiesWhenRunningInEclipse() {
09: /*
10: 2006-07-31 andrew -- This should no longer be necessary; the new
11: check_prep stuff should let you run in Eclipse with no problem at all.
12: But this is in here temporarily for Eugene's use.
13: if (System.getProperty("tc.tests.info.property-files") == null) {
14: String configFile = "../build/externally-run-tests/dso-spring-tests/tests.system.test-configuration";
15: Assert.assertTrue("missing: " + configFile, new File(configFile).exists());
16: System.setProperty("tc.tests.info.property-files", configFile);
17: System.setProperty("tc.install-root", "..");
18: }
19: */
20: }
21:
22: }
|