-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbuild.xml
38 lines (34 loc) · 1.19 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
37
38
<project default="deploy" name="Documentation">
<property name="webFinalDir" value="${user.home}/bin/website" />
<path id="wikitext.classpath">
<fileset dir="${user.home}/bin/mylyn-wikitext-standalone">
<include name="org.eclipse.mylyn.wikitext.*core*.jar" />
</fileset>
</path>
<taskdef classpathref="wikitext.classpath" resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties" />
<target name="generate-html" description="Generate HTML from textile source">
<wikitext-to-html markupLanguage="Textile">
<fileset dir=".">
<include name="**/*.textile" />
</fileset>
<stylesheet url="/styles/main.css" />
</wikitext-to-html>
<copy todir="${webFinalDir}">
<fileset dir=".">
<exclude name="website/**" />
<include name="**/*.html" />
<include name="**/*.css" />
<include name="**/*.png" />
<include name="**/*.jpg" />
<include name="**/*.gif" />
<include name="**/*.jpeg" />
<include name="**/*.js" />
</fileset>
</copy>
</target>
<target name="rsync">
<exec executable="rsync">
<arg line="rsync -avP ${webFinalDir} [email protected]:/home/ftravers/mohe.spicevan.com" />
</exec>
</target>
</project>