Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6078

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: