Uploaded image for project: 'JBoss Modules'
  1. JBoss Modules
  2. MODULES-85

Add support for class path bootstrap

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.CR1
    • None
    • Core
    • None

      Similar to -jar startup, a third mode should be introduced which allows a class path to be specified for the run module, along with a class name to execute. The presence of "-cp" or "-classpath" will indicate that the next argument is the class path, followed by a main class to execute.

      In addition, a "-dep" or "-dependencies" argument should be introduced which contains a comma-separated list of simple module dependencies to introduce for the run module.

      This will allow even more flexibility for non-modular applications to run in a modular environment.

            jperkins-rhn James Perkins
            dlloyd@redhat.com David Lloyd
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: