This is the documentation of the Eclipse Equinox Framework.
Commands for managing Eclipse applications
The Equinox Application commands provide functionality for managing Eclipse applications, including listing, starting, stopping, scheduling, and locking applications. These commands are available through the console command provider in the org.eclipse.equinox.app bundle.
<application id> [args...] - Starts the specified application ID with optional arguments<application id> - Stops the specified running application ID<application id> - Locks the specified application ID (prevents launching new instances)<application id> - Unlocks the specified application ID<application id> <time filter> [true|false] - Schedules the specified application ID to launch at the specified time filter. Can optionally make the schedule recurring.<application id> - Unschedules all scheduled applications with the specified application IDg! apps
org.eclipse.ui.ide.workbench [launchable]
org.eclipse.equinox.app.test [running] [launchable]
org.example.app [not launchable] [locked]
This displays all registered applications with their current state, showing whether they are:
[running] - Currently executing[scheduled] - Scheduled to run at a specific time[launchable] - Can be launched[not launchable] - Cannot be launched[locked] - Locked and cannot launch new instancesg! activeApps
org.eclipse.ui.ide.workbench.12345 [running]
org.eclipse.equinox.app.test.67890 [stopping]
This shows all active application instances with their instance IDs and current state (running or stopping).
g! startApp org.eclipse.ui.ide.workbench
Launched application instance: org.eclipse.ui.ide.workbench.12345
You can also pass arguments to the application:
g! startApp org.example.myapp arg1 arg2 arg3
Launched application instance: org.example.myapp.98765
g! stopApp org.eclipse.ui.ide.workbench.12345
Stopped application instance: org.eclipse.ui.ide.workbench.12345
You can stop an application by either its instance ID or its application ID.
g! lockApp org.example.myapp
Locked application: org.example.myapp
Locking an application prevents new instances from being launched. It does not affect already running instances.
g! unlockApp org.example.myapp
Unlocked application: org.example.myapp
g! schedApp org.example.myapp "(hour=12)" false
Scheduled application: org.example.myapp
The second parameter is a time filter using LDAP filter syntax (RFC 1960). The third parameter indicates whether the schedule should be recurring (true) or one-time (false).
g! unschedApp org.example.myapp
Unscheduled application: org.example.myapp
Related links: