Ticket #1212 (closed defect: fixed)
Opened 2012-06-12T16:05:45-05:00
Last modified 2013-10-22T09:19:59-05:00
Add ConsoleService for handling command line arguments
Reported by: | curtis | Owned by: | curtis |
---|---|---|---|
Priority: | minor | Milestone: |
|
Component: | Build System | Version: | |
Severity: | minor | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | #1323 |
Description
Currently, the UIService handles command line arguments, which is questionable. This should probably be done by a dedicated ConsoleService instead, or possibly the AppService?
Change History
comment:2 Changed 2012-07-12T09:50:21-05:00 by curtis
- Blocking 1209 removed
- Milestone changed from imagej-2.0.0-beta3 to imagej-2.0.0-beta4
comment:3 Changed 2012-08-30T13:55:18-05:00 by curtis
- Status changed from new to closed
- Resolution set to fixed
I did an initial cut in 91770737. Good enough for now.
comment:4 Changed 2013-10-22T09:19:59-05:00 by curtis
The ConsoleService was not extensible enough, and it was misplaced in ij-app, causing the imagej-2.0.0-SNAPSHOT-all.jar uber-JAR to be broken since its introduction. This was addressed in b1b26085. The two existing supported command line arguments (--open and --run) were split out into separate ConsoleArgument plugins. The uber-JAR is now working again.