
|
If you were logged in you would be able to see more operations.
|
|
|
|
File Attachments:
|
|
|
Issue Links:
|
Incorporates
|
|
|
|
This issue is part of:
|
|
DERBY-3988
Set the Java 6 complilation path based on the Java 5 compilation path so that the JDBC4 support is always built
|
|
|
|
|
|
|
| Issue & fix info: |
Patch Available
|
| Resolution Date: |
26/Jan/09 08:56 PM
|
|
The junit target for running the jdbc4 tests depends on the jdk16 variable being set in your ant.properties. For the build, this variable has been deprecated. We should be able to make the jdbc4 tests depend on whether the environment is Java 6 instead.
|
|
Description
|
The junit target for running the jdbc4 tests depends on the jdk16 variable being set in your ant.properties. For the build, this variable has been deprecated. We should be able to make the jdbc4 tests depend on whether the environment is Java 6 instead. |
Show » |
|
1) Removes the final mention of jdk16 in the master build.xml file.
2) Makes the junit-jdbc4 target depend on whether the VM level is at least Java 6.
Note that this involves a behavioral change from the previous situation. Previously, you could run the ant targets in a Java 5 environment and the JDBC4 tests would run (on Java 6) if you set jdk16 correctly. Now you only get the JDBC4 tests if your environment is at least Java 6. This seems like a straightforward solution to deprecating jdk16 and ought to fit the usage of most people. However, it may not fit the usage of some developers. If this is an intolerable change, then we may want to consider preserving the jdk16 variable for use only by the tests.
If this solution does seem acceptable, then we probably need to update the testing documentation to remove references to jdk16.
Touches the following file:
M build.xml