JBehave
  1. JBehave
  2. JBEHAVE-202

Allow class loader injection to be optional in scenario classes when running in command line

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.2, 2.4
    • Component/s: Ant Tasks, Maven Plugin
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Allow the injection of ClassLoader parameter to be optional when run via Ant or Maven.

      By default it is expected to be injected, as required by scenarios to load i18n keywords from resource bundles. But in many cases, the injected class loader may be not required.

        Activity

        Mauro Talevi made changes -
        Field Original Value New Value
        Description Allow the injection of ClassLoader parameter to be optional when run via Ant or Maven.

        By default it is expected to be injected, as required by scenarios to load i18n keywords from resource bundles. But in many cases, the injected can be configured to be not required.
          
        Allow the injection of ClassLoader parameter to be optional when run via Ant or Maven.

        By default it is expected to be injected, as required by scenarios to load i18n keywords from resource bundles. But in many cases, the injected class loader may be not required.
          
        Hide
        Mauro Talevi added a comment -

        Made injection of class loader configurable when instantiating scenarios via command line.

        All examples have been updated to not inject the class loader, except the i18n scenarios which requires the class loader to load keywords from a resource bundle.

        Show
        Mauro Talevi added a comment - Made injection of class loader configurable when instantiating scenarios via command line. All examples have been updated to not inject the class loader, except the i18n scenarios which requires the class loader to load keywords from a resource bundle.
        Mauro Talevi made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Mauro Talevi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: