forked from digital-agenda-data/scoreboard.contreg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
25 lines (20 loc) · 1.11 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="UTF-8"?>
<project name="contreg" default="prepare_apphome" basedir=".">
<!-- The target that prepares the application's home directory (aka "app-home"). -->
<!-- It's the directory for the files that the application needs, but that shouldn't be kept in web-app directory. -->
<target name="prepare_apphome" unless="antrun.skip">
<!-- Load build properties, expected from ${propertiesFile} -->
<loadproperties srcFile="${propertiesFile}"/>
<!-- Copy all files from acl directory into the same directory in app-home, unless they already exist in the latter. -->
<copy todir="${application.acl.folder}">
<fileset dir="acl">
<present present="srconly" targetdir="${application.acl.folder}"/>
</fileset>
</copy>
<!-- Always overwrite the acl directory's permission definition file(s). -->
<copy todir="${application.acl.folder}" overwrite="true">
<fileset dir="acl" includes="*.prms*"/>
<fileset dir="acl" includes="*.permissions*"/>
</copy>
</target>
</project>