forked from nmische/cf-configmanager
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.xml
24 lines (19 loc) · 803 Bytes
/
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
<project name="cf-configmanager" basedir="." default="buildzip">
<property name="cf.dir" value="/opt/coldfusion10/cfusion"/>
<property name="configmanager.dir" value="${cf.dir}/wwwroot/CFIDE/administrator/configmanager"/>
<target name="clean">
<delete file="${basedir}/configmanager.zip"/>
</target>
<target name="buildzip" depends="clean">
<zip destfile="${basedir}/configmanager.zip"
basedir="${basedir}"
excludes=".*/**,.*,settings.xml,build.xml,tests/**" />
</target>
<target name="install">
<delete dir="${configmanager.dir}" />
<mkdir dir="${configmanager.dir}" />
<copy todir="${configmanager.dir}">
<fileset dir="${basedir}" excludes=".*/**,.*,settings.xml,build.xml,tests/**,README.md" />
</copy>
</target>
</project>