Derby
  1. Derby
  2. DERBY-6078

Propagate a set of properties to the junit tasks in build.xml

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.10.1.1
    • Fix Version/s: 10.9.2.2, 10.10.1.1
    • Component/s: Test
    • Labels:
      None

      Description

      At times it would be very helpful to be able to specify a set of properties to pass on to the JUnit tests when invoking the JUnit tasks in build.xml. Examples are specifying a non-default port to use, to shorten down the run-time of the stress-test,or to specify the location of old release jars (this is already handled explicitly).

      There are several alternatives on how to do this - see http://ant.apache.org/manual/Types/propertyset.html for details.
      I suggest we try out the simplest approach first: pass on any system properties set on the command line. It should be very simple to implement. The downside is that a property you specify for the higher-level build script may interfer or be in conflict with the running of the tests.

        Activity

        Knut Anders Hatlen made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Gavin made changes -
        Workflow jira [ 12762005 ] Default workflow, editable Closed status [ 12802074 ]
        Knut Anders Hatlen made changes -
        Fix Version/s 10.9.2.2 [ 12323562 ]
        Kristian Waagan made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Issue & fix info Patch Available [ 10102 ]
        Assignee Kristian Waagan [ kristwaa ]
        Fix Version/s 10.10.0.0 [ 12321550 ]
        Resolution Fixed [ 1 ]
        Kristian Waagan made changes -
        Issue & fix info Patch Available [ 10102 ]
        Kristian Waagan made changes -
        Field Original Value New Value
        Attachment derby-6078-1a-cmdline_property_passing.diff [ 12569992 ]
        Kristian Waagan created issue -

          People

          • Assignee:
            Kristian Waagan
            Reporter:
            Kristian Waagan
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development