Commit f5f0513b authored by Bill Lynch's avatar Bill Lynch Committed by bill

Added option to not deploy sql scripts.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1139 b35dd754-fafc-0310-a699-88a17e54d16e
parent ee64ae3b
......@@ -96,6 +96,7 @@
<property name="deploy.jar.dir" value="${jar.dest.dir}" />
<property name="anttools.src.dir" value="${src.dir}/tools" />
<property name="anttools.target.dir" value="${target.dir}/tools" />
<property name="copy.dbscripts" value="true" />
<property name="installer.install4j.home" value="c:\\Program Files\\install4j" />
<property name="installer.src" value="${basedir}/build/installer" />
......@@ -472,9 +473,14 @@
</copy>
<!-- Copy database scripts -->
<copy todir="${prepare.out.dir}/resources">
<fileset dir="${src.dir}" includes="database/**/*.sql"></fileset>
</copy>
<if>
<equals arg1="${copy.dbscripts}" arg2="true" />
<then>
<copy todir="${prepare.out.dir}/resources">
<fileset dir="${src.dir}" includes="database/**/*.sql"></fileset>
</copy>
</then>
</if>
<!-- Copy security resources -->
<copy todir="${prepare.out.dir}/resources">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment