mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2025-01-03 10:29:19 +00:00
Synchronizing existing updates against repository.
This commit is contained in:
parent
826e172fdb
commit
7ebfb78e80
@ -3,7 +3,7 @@
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="src" path="test"/>
|
||||
<classpathentry sourcepath="JRE_142_SRC" kind="var" path="JRE_LIB"/>
|
||||
<classpathentry sourcepath="SWT_SRC" kind="var" path="SWT_JAR"/>
|
||||
<classpathentry kind="var" path="JUNIT_HOME/junit.jar"/>
|
||||
<classpathentry kind="con" path="SWT_CONTAINER/PLATFORM"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
|
@ -20,6 +20,7 @@
|
||||
package com.webcodepro.applecommander.testconfig;
|
||||
|
||||
import java.io.FileInputStream;
|
||||
import java.io.InputStream;
|
||||
import java.util.Properties;
|
||||
|
||||
/**
|
||||
@ -29,7 +30,7 @@ import java.util.Properties;
|
||||
* @author Rob
|
||||
*/
|
||||
public class TestConfig {
|
||||
private static final String FILENAME = "TestConfig.preferences"; //$NON-NLS-1$
|
||||
private static final String FILENAME = "TestConfig.properties"; //$NON-NLS-1$
|
||||
private static final String DISK_DIRECTORY = "DiskDir"; //$NON-NLS-1$
|
||||
private static final String TEMP_DIRECTORY = "TempDir"; //$NON-NLS-1$
|
||||
private static TestConfig instance;
|
||||
@ -55,7 +56,7 @@ public class TestConfig {
|
||||
*/
|
||||
private void load() {
|
||||
try {
|
||||
FileInputStream inputStream = new FileInputStream(FILENAME);
|
||||
InputStream inputStream = getClass().getResourceAsStream(FILENAME);
|
||||
properties.load(inputStream);
|
||||
inputStream.close();
|
||||
} catch (Exception ignored) {
|
||||
|
@ -1,2 +1,2 @@
|
||||
DiskDir=C:/Documents and Settings/Rob/My Documents/My Apple2/Disks
|
||||
DiskDir=C:/Documents and Settings/hp/My Documents/My Apple2/Disks
|
||||
TempDir=C:/Temp
|
||||
|
Loading…
Reference in New Issue
Block a user