aboutsummaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorsundar <none@none>2013-09-13 16:45:11 +0530
committersundar <none@none>2013-09-13 16:45:11 +0530
commit0238832899f8eaa1bdf138c9e8914e4c425aa050 (patch)
tree3e3893b9d491f03ebf4356c48b92212c971a7ebd /make
parent97656e9b16fd87124f34fc7881517c25d2f22a7e (diff)
downloadnashorn-0238832899f8eaa1bdf138c9e8914e4c425aa050.tar.gz
8024619: JDBC java.sql.DriverManager is not usable from JS script
Reviewed-by: jlaskey, lagergren, attila
Diffstat (limited to 'make')
-rw-r--r--make/build.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/make/build.xml b/make/build.xml
index df655d59..73644a6b 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -230,6 +230,10 @@
<compilerarg value="-Xlint:deprecation"/>
</javac>
+ <copy todir="${build.test.classes.dir}/META-INF/services">
+ <fileset dir="${test.src.dir}/META-INF/services/"/>
+ </copy>
+
<!-- tests that check nashorn internals and internal API -->
<jar jarfile="${nashorn.internal.tests.jar}">
<fileset dir="${build.test.classes.dir}" excludes="**/api/**"/>
@@ -238,6 +242,7 @@
<!-- tests that check nashorn script engine (jsr-223) API -->
<jar jarfile="${nashorn.api.tests.jar}">
<fileset dir="${build.test.classes.dir}" includes="**/api/**"/>
+ <fileset dir="${build.test.classes.dir}" includes="**/META-INF/**"/>
</jar>
</target>