KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > spring > integrationtests > framework > PropertiesHackForRunningInEclipse


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tctest.spring.integrationtests.framework;
5
6
7 public class PropertiesHackForRunningInEclipse {
8
9   public static void initializePropertiesWhenRunningInEclipse() {
10 /*
11 2006-07-31 andrew -- This should no longer be necessary; the new
12 check_prep stuff should let you run in Eclipse with no problem at all.
13 But this is in here temporarily for Eugene's use.
14     if (System.getProperty("tc.tests.info.property-files") == null) {
15       String configFile = "../build/externally-run-tests/dso-spring-tests/tests.system.test-configuration";
16       Assert.assertTrue("missing: " + configFile, new File(configFile).exists());
17       System.setProperty("tc.tests.info.property-files", configFile);
18       System.setProperty("tc.install-root", "..");
19     }
20  */

21  }
22
23 }
24
Popular Tags