| 197 |
|
|
| 198 |
<target name="source.distribution" depends="display.logo" |
<target name="source.distribution" depends="display.logo" |
| 199 |
description="--> Create Binary Distribution"> |
description="--> Create Binary Distribution"> |
| 200 |
<antcall target="clean.dist"/> |
<antcall target="clean.installer"/> |
| 201 |
<antcall target="remove"/> |
<antcall target="remove"/> |
| 202 |
<antcall target="checkout"/> |
<antcall target="checkout"/> |
| 203 |
<antcall target="update"/> |
<antcall target="update"/> |
| 207 |
<target name="binary.distribution" depends="display.logo" |
<target name="binary.distribution" depends="display.logo" |
| 208 |
description="--> Create Binary Distribution"> |
description="--> Create Binary Distribution"> |
| 209 |
<property name="build.dist" value="true" /> |
<property name="build.dist" value="true" /> |
| 210 |
<antcall target="clean.dist"/> |
<antcall target="clean.installer"/> |
| 211 |
<antcall target="remove"/> |
<antcall target="remove"/> |
| 212 |
<antcall target="checkout"/> |
<antcall target="checkout"/> |
| 213 |
<antcall target="update"/> |
<antcall target="update"/> |
| 216 |
<antcall target="create.binary.distribution"/> |
<antcall target="create.binary.distribution"/> |
| 217 |
</target> |
</target> |
| 218 |
|
|
| 219 |
<target name="clean.dist" depends="display.logo" |
<target name="clean.installer" depends="display.logo" |
| 220 |
description="--> Clean Portal and Portlets Distribution"> |
description="--> Clean Portal and Portlets Distribution"> |
| 221 |
<delete dir="${dist.dir}" failonerror="false"/> |
<ant antfile="${installer.dir}/build.xml" target="clean.installer" /> |
| 222 |
</target> |
</target> |
| 223 |
|
|
| 224 |
<target name="create.binary.distribution" depends="display.logo" |
<target name="create.binary.distribution" depends="display.logo" |
| 225 |
description="--> Create Portal and Portlets Distribution"> |
description="--> Create Portal and Portlets Distribution"> |
| 226 |
<property name="build.dist" value="true" /> |
<property name="build.dist" value="true" /> |
| 227 |
<!-- Derby Base Build --> |
<mkdir dir="${installer.portlets.dir}"/> |
|
<!--property name="install.name" value="derby" /--> |
|
|
<ant antfile="${installer.dir}/build-installer.xml" target="clean" /> |
|
|
<antcall target="deploy.portal.for.dist"/> |
|
| 228 |
<antcall target="deploy.portlets.for.dist"/> |
<antcall target="deploy.portlets.for.dist"/> |
| 229 |
<delete file="${dist.server.war.dir}/${org.apache.jetspeed.portal.artifactId}.war"/> |
<ant antfile="${installer.dir}/build.xml" target="build.installer" /> |
|
<copy file="${installer.resources.dir}/antinstall-config-derby.xml" |
|
|
tofile="${dist.build.dir}/antinstall-config.xml" overwrite="true" /> |
|
|
<ant antfile="${installer.dir}/build-installer.xml" target="selfextract" /> |
|
|
<ant antfile="${installer.dir}/build-installer.xml" target="build.portletpack" /> |
|
|
<ant antfile="${installer.dir}/build-installer.xml" target="build.allportletpack" /> |
|
| 230 |
</target> |
</target> |
| 231 |
|
|
| 232 |
<target name="deploy.portal.for.dist" |
<target name="deploy.portal.for.dist" |