Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.0-M3
-
None
Description
The --driver option should take a JAR file not a driver class. It's not obvious how to add a foreign driver to the CLASSPATH otherwise (because we use a teeny JAR which itself uses manifest Class-Path entries). This option should:
- prepare a classloader including the driver JAR and its manifest Class-Path entries
- identify and load the DeploymentFactory impl listed in the JSR-88 entry in the manifest file (or if it's not there, give an informative error message)
- register the DeploymentFactory (if the spec doesn't say it should do that itself)