How to use multiple simulator launches in Eclipse?

Viewed 52

I have a MainThing.launch starting the Simulator with my.package.MainThing as the argument. At first, I thought, I'd just copy and modify the Launch Configuration, but changing the program argument to my.package.TheOtherThing changed nothing. Still, the "MainThing" gets started.

So I thought, I could copy the launch file and change the line

<stringAttribute
  key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS"
  value="my.package.MainThing"/>

to contain my.package.TheOtherThing instead, but even after an Eclipse restart, nothing changes.

So what should I do in order to have multiple launches?

1 Answers

You can run the simulator file multiple times, I'm guessing that what you are trying to do is run two separate main files. This is determined by the package and class name within codenameone_settings.properties which you need to change to run a different main class.

Related