Author: dabbous
Date: 2006-06-06 02:41:23-0700
New Revision: 10148
Modified:
trunk/build/build.xml
Log:
ant deploy did not copy the relevant drivers according to the settings of the property 'scarab.database.jdbc.driver.jar' from the jars repository to the WEB-IN/lib folder. (fixed for b21, needs additional reworking for upcoming binary distribution)
Modified: trunk/build/build.xml
Url: http://scarab.tigris.org/source/browse/scarab/trunk/build/build.xml?view=diff&rev=10148&p1=trunk/build/build.xml&p2=trunk/build/build.xml&r1=10147&r2=10148
==============================================================================
--- trunk/build/build.xml (original)
+++ trunk/build/build.xml 2006-06-06 02:41:23-0700
@@ -415,6 +415,19 @@
</target>
<!-- ================================================================== -->
+ <!-- ================================================================== -->
+ <!-- Load database-drivers -->
+ <!-- ================================================================== -->
+ <target name="load-drivers" >
+
+ <ant antfile="build.xml"
+ target="load-drivers"
+ inheritAll="false"
+ dir="${runtime.config.dir}">
+ </ant>
+
+ </target>
+
<!-- ================================================================== -->
<!-- Create database -->
@@ -465,7 +478,7 @@
<!-- ================================================================== -->
<!-- Deploys the webapp into target/scarab -->
<!-- ================================================================== -->
- <target name="deploy" depends="generate-om,compile,create-custom-property-file">
+ <target name="deploy" depends="compile,create-custom-property-file,load-drivers">
<echo> Deploy the Scarab intance</echo>
</target>
@@ -491,6 +504,8 @@
</javac>
</target>
+
+
<!-- ================================================================== -->
<!-- Cleans up the build directory -->
<!-- ================================================================== -->
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.