Former-commit-id:e8f4a2f031
[formerly51208e5515
] [formerlyc0c1d56f3a
] [formerlye8f4a2f031
[formerly51208e5515
] [formerlyc0c1d56f3a
] [formerly4ba416aeb3
[formerlyc0c1d56f3a
[formerly 221d0aaf0e19a054387134e72a76a278159bf4d0]]]] Former-commit-id:4ba416aeb3
Former-commit-id:82cdde8491
[formerlycd4185ef5c
] [formerly 413d9d9811179a10639f756b8b4f690d86be7a6a [formerly941337c553
]] Former-commit-id: c69e1900269e630aefc061c2464bc8fea1c9776a [formerlyb6fa9b4858
] Former-commit-id:f52ec0b0a0
37 lines
1.4 KiB
XML
37 lines
1.4 KiB
XML
<project default="enact.external-rules">
|
|
<!-- external deployment rules -->
|
|
<!--
|
|
TODO: if necessary, these could be read from a properties file.
|
|
1) utility -> /awips2/edex/data/utility
|
|
2) resources -> /awips2/edex/conf/resources
|
|
-->
|
|
<target name="enact.external-rules">
|
|
<!-- parameters -->
|
|
<property name="plugin._directory" value="" />
|
|
<property name="deployment._root" value="" />
|
|
<!--
|
|
* plugin._directory = the full directory path to the plugin
|
|
* deployment._root = the directory to deploy the files to
|
|
-->
|
|
|
|
<mkdir dir="${deployment._root}/data/utility" />
|
|
<if>
|
|
<available file="${plugin._directory}/utility" type="dir" />
|
|
<then>
|
|
<copy todir="${deployment._root}/data/utility" overwrite="true">
|
|
<fileset dir="${plugin._directory}/utility" />
|
|
</copy>
|
|
</then>
|
|
</if>
|
|
|
|
<mkdir dir="${deployment._root}/conf/resources" />
|
|
<if>
|
|
<available file="${plugin._directory}/resources" type="dir" />
|
|
<then>
|
|
<copy todir="${deployment._root}/conf/resources" overwrite="true" verbose="true">
|
|
<fileset dir="${plugin._directory}/resources" />
|
|
</copy>
|
|
</then>
|
|
</if>
|
|
</target>
|
|
</project>
|