Issue 84: --id parameter is ignored for rms root dir
Status:  New
Owner: ----
Reported by rbur...@gmail.com, Nov 11, 2010
What steps will reproduce the problem?
1. run any midlet with --id emulatorid

What is the expected output? What do you see instead?

Microemu stores RMS in .microemulator/emulatorid

Actual: microemu stores in .microemulator/ root dir regardless of the value of the --id parameter.

What version of the product are you using? On what operating system?

trunk, mac OSX

Please provide any additional information below.

It seems that there is a race condition in Config

	public static File getConfigPath() {
		if (meHome == null) {
			meHome = initMEHomePath();
		}
		return meHome;
	}

This is first called from Main.java constructor. Only after this the parameters are interpreted at which time meHome has already been set and the emulator id does not affect the root directory anymore.
Nov 11, 2010
#1 rbur...@gmail.com
only happens when you launch with the following commandline

java -jar microemulator.jar -cp ... com.my.mymidlet --propertiesjad mymidlet.jad --id myemuid