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.