| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
|
| 3 |
<project name="palportal" default="all" basedir="."> |
| 4 |
|
| 5 |
<property file="build.properties" /> |
| 6 |
|
| 7 |
<property name="shell.cmd" value="sh"/> |
| 8 |
<property name="shell.options" value="-c"/> |
| 9 |
|
| 10 |
<target name="check.os" |
| 11 |
description="--> Check OS"> |
| 12 |
<condition property="isWindows"> |
| 13 |
<os family="windows" /> |
| 14 |
</condition> |
| 15 |
</target> |
| 16 |
|
| 17 |
<target name="setup.shell" depends="check.os" if="isWindows" |
| 18 |
description="--> Setup shell parameters"> |
| 19 |
<property name="shell.cmd" value="cmd.exe"/> |
| 20 |
<property name="shell.options" value="/c"/> |
| 21 |
</target> |
| 22 |
|
| 23 |
|
| 24 |
<!-- =================================================================== --> |
| 25 |
<!-- CLEAN --> |
| 26 |
<!-- =================================================================== --> |
| 27 |
|
| 28 |
<target name="clean" depends="setup.shell" |
| 29 |
description="--> Clean Docs"> |
| 30 |
<exec |
| 31 |
executable="${shell.cmd}" |
| 32 |
failonerror="true" |
| 33 |
dir="${basedir}/ja/administration-guide/trunk" |
| 34 |
> |
| 35 |
<arg line="${shell.options} 'ant clean'"/> |
| 36 |
</exec> |
| 37 |
|
| 38 |
<exec |
| 39 |
executable="${shell.cmd}" |
| 40 |
failonerror="true" |
| 41 |
dir="${basedir}/ja/configuration-guide/trunk" |
| 42 |
> |
| 43 |
<arg line="${shell.options} 'ant clean'"/> |
| 44 |
</exec> |
| 45 |
|
| 46 |
<exec |
| 47 |
executable="${shell.cmd}" |
| 48 |
failonerror="true" |
| 49 |
dir="${basedir}/ja/installation-guide/trunk" |
| 50 |
> |
| 51 |
<arg line="${shell.options} 'ant clean'"/> |
| 52 |
</exec> |
| 53 |
|
| 54 |
<exec |
| 55 |
executable="${shell.cmd}" |
| 56 |
failonerror="true" |
| 57 |
dir="${basedir}/ja/portlet-developers-guide/trunk" |
| 58 |
> |
| 59 |
<arg line="${shell.options} 'ant clean'"/> |
| 60 |
</exec> |
| 61 |
|
| 62 |
<exec |
| 63 |
executable="${shell.cmd}" |
| 64 |
failonerror="true" |
| 65 |
dir="${basedir}/ja/groupware-guide/trunk" |
| 66 |
> |
| 67 |
<arg line="${shell.options} 'ant clean'"/> |
| 68 |
</exec> |
| 69 |
</target> |
| 70 |
|
| 71 |
<!-- =================================================================== --> |
| 72 |
<!-- BUILD ALL --> |
| 73 |
<!-- =================================================================== --> |
| 74 |
|
| 75 |
<target name="all" depends="setup.shell" |
| 76 |
description="--> Build All Docs"> |
| 77 |
<exec |
| 78 |
executable="${shell.cmd}" |
| 79 |
failonerror="true" |
| 80 |
dir="${basedir}/ja/administration-guide/trunk" |
| 81 |
> |
| 82 |
<arg line="${shell.options} 'ant build'"/> |
| 83 |
</exec> |
| 84 |
|
| 85 |
<exec |
| 86 |
executable="${shell.cmd}" |
| 87 |
failonerror="true" |
| 88 |
dir="${basedir}/ja/configuration-guide/trunk" |
| 89 |
> |
| 90 |
<arg line="${shell.options} 'ant build'"/> |
| 91 |
</exec> |
| 92 |
|
| 93 |
<exec |
| 94 |
executable="${shell.cmd}" |
| 95 |
failonerror="true" |
| 96 |
dir="${basedir}/ja/installation-guide/trunk" |
| 97 |
> |
| 98 |
<arg line="${shell.options} 'ant build'"/> |
| 99 |
</exec> |
| 100 |
|
| 101 |
<exec |
| 102 |
executable="${shell.cmd}" |
| 103 |
failonerror="true" |
| 104 |
dir="${basedir}/ja/portlet-developers-guide/trunk" |
| 105 |
> |
| 106 |
<arg line="${shell.options} 'ant build'"/> |
| 107 |
</exec> |
| 108 |
|
| 109 |
<exec |
| 110 |
executable="${shell.cmd}" |
| 111 |
failonerror="true" |
| 112 |
dir="${basedir}/ja/groupware-guide/trunk" |
| 113 |
> |
| 114 |
<arg line="${shell.options} 'ant build'"/> |
| 115 |
</exec> |
| 116 |
</target> |
| 117 |
|
| 118 |
</project> |