Author: thomas.heute(a)jboss.com
Date: 2008-07-30 04:09:57 -0400 (Wed, 30 Jul 2008)
New Revision: 11648
Modified:
branches/JBoss_Portal_Branch_2_7/build/distrib.xml
Log:
minor
Modified: branches/JBoss_Portal_Branch_2_7/build/distrib.xml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/build/distrib.xml 2008-07-30 07:24:42 UTC (rev
11647)
+++ branches/JBoss_Portal_Branch_2_7/build/distrib.xml 2008-07-30 08:09:57 UTC (rev
11648)
@@ -1,8 +1,9 @@
<project default="main" name="JBoss Portal">
- <property name="source.dir"
value="../../jboss-portal-2.6"/>
- <property name="docs.dir" value="${source.dir}-docs"/>
- <property name="release.version" value="2.6.SNAPSHOT"/>
+ <property name="source.dir" value=".."/>
+ <property name="docs.dir" value="${source.dir}/../docs"/>
+ <property name="examples.dir"
value="${source.dir}/../examples"/>
+ <property name="release.version" value="2.7.0.B1"/>
<!-- -->
<property name="portal.release.normal.name"
value="jboss-portal-${release.version}"/>
@@ -85,15 +86,8 @@
<ant dir="${source.dir}/wsrp" antfile="build.xml"
target="explode"/>
</target>
- <!-- Build JBoss Portal documentation -->
- <target name="doc.build" depends="_normal.build"
unless="no-doc">
- <ant dir="${docs.dir}/referenceGuide"
antfile="build.xml"/>
- <ant dir="${docs.dir}/userGuide" antfile="build.xml"/>
- <ant dir="${docs.dir}/quickstartuser"
antfile="build.xml"/>
- </target>
-
<!-- Build JBoss Portal -->
- <target name="build" depends="source.build,doc.build"/>
+ <target name="build" depends="source.build"/>
<!--<macrodef name="package-doc">
@@ -120,19 +114,29 @@
<mkdir dir="${todir}"/>
<mkdir dir="${todir}/referenceGuide"/>
<copy todir="${todir}/referenceGuide">
- <fileset dir="${docs.dir}/referenceGuide/build/en/"/>
+ <fileset
dir="${docs.dir}/referenceGuide/target/docbook/publish/en-US"/>
</copy>
<mkdir dir="${todir}/userGuide"/>
<copy todir="${todir}/userGuide">
- <fileset dir="${docs.dir}/userGuide/build/en/"/>
+ <fileset
dir="${docs.dir}/userGuide/target/docbook/publish/en-US"/>
</copy>
<mkdir dir="${todir}/quickstartuser"/>
<copy todir="${todir}/quickstartuser">
- <fileset dir="${docs.dir}/quickstartuser/build/en/"/>
+ <fileset
dir="${docs.dir}/quickstartuser/target/docbook/publish/en-US"/>
</copy>
</sequential>
</target>
+ <target name="package-examples">
+ <sequential>
+ <mkdir dir="${todir}"/>
+ <copy todir="${todir}">
+ <fileset dir="${examples.dir}"/>
+ </copy>
+ </sequential>
+ </target>
+
+
<target name="package-ds">
<sequential>
<mkdir dir="${todir}"/>
@@ -173,7 +177,10 @@
</antcall>
<antcall target="package-samples">
<param name="todir" value="${todir}/samples"/>
- </antcall>
+ </antcall>
+ <antcall target="package-examples">
+ <param name="todir" value="${todir}/examples"/>
+ </antcall>
<copy file="${docs.dir}/readmeFiles/jboss-portal-bin.README"
todir="${todir}"/>
<copy todir="${todir}/docs/portal/licenses">
<fileset dir="output/docs/licenses"/>
@@ -193,6 +200,9 @@
<antcall target="package-samples">
<param name="todir" value="${todir}/samples"/>
</antcall>
+ <antcall target="package-examples">
+ <param name="todir" value="${todir}/examples"/>
+ </antcall>
<copy file="${docs.dir}/readmeFiles/jboss-portal-bin.README"
todir="${todir}"/>
<copy todir="${todir}/docs/portal/licenses">
<fileset dir="output/docs/licenses"/>
@@ -402,4 +412,4 @@
<!-- Build and compress everything -->
<target name="main" depends="licenses,build,package,zip"
description="do everything - build source, doc, distro"/>
-</project>
+</project>
\ No newline at end of file
Show replies by date