Ticket #1212 (closed defect: fixed)

Opened 7 years ago

Last modified 6 years ago

Add ConsoleService for handling command line arguments

Reported by: curtis Owned by: curtis
Priority: minor Milestone: imagej2-b4-plugins
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:1 Changed 7 years ago by curtis

  • Blocking 1323 added

comment:2 Changed 7 years ago by curtis

  • Blocking 1209 removed
  • Milestone changed from imagej-2.0.0-beta3 to imagej-2.0.0-beta4

comment:3 Changed 7 years ago 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 6 years ago 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.

Note: See TracTickets for help on using tickets.