-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.xml
37 lines (29 loc) · 1.31 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
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="UTF-8" ?>
<project name="Carrot2 Website build/ publish script." default="help" basedir="." >
<property name="website.src" value="src" />
<property name="stylesheet" location="${website.src}/xsl/page.xsl" />
<property name="website.properties" location="website.properties" />
<property file="${website.properties}" />
<property name="distribution.dir" value="tmp/dist" />
<target name="cleanall" description="Removes temporary files.">
<delete failonerror="false" includeemptydirs="true" quiet="true" dir="${distribution.dir}" />
</target>
<target name="clean" description="Removes temporary files.">
<delete failonerror="false" includeemptydirs="true" quiet="true" dir="${distribution.dir}" />
</target>
<target name="xslt" description="">
<copy todir="${distribution.dir}" filtering="false">
<fileset dir="${website.src}">
<exclude name="**/*.bat" />
<exclude name="**/*.sh" />
<exclude name="**/*.swp" />
<exclude name="*.xml" />
<exclude name="**/*.xsl" />
<exclude name="xsl/**" />
<exclude name="xml/**" />
<exclude name="img-src/**" />
<exclude name="**/favicon.ico" />
</fileset>
</copy>
</target>
</project>