From: <jbo...@li...> - 2005-08-24 13:30:24
|
Author: aron.gombas Date: 2005-08-24 09:29:52 -0400 (Wed, 24 Aug 2005) New Revision: 941 Added: trunk/labs/kosmos/build/build.properties Modified: trunk/labs/kosmos/build/build.xml trunk/labs/kosmos/build/kosmos-project.properties trunk/labs/kosmos/xdocs/reference/reference-manual.xml Log: KOSMOS-3 fixed Added: trunk/labs/kosmos/build/build.properties =================================================================== --- trunk/labs/kosmos/build/build.properties 2005-08-24 13:24:52 UTC (rev 940) +++ trunk/labs/kosmos/build/build.properties 2005-08-24 13:29:52 UTC (rev 941) @@ -0,0 +1,3 @@ +docbook.dir=/java/docbook-xsl-1.69.1 +fop.dir=/java/fop-0.20.5 +saxon.dir=/java/saxonb-8.5 Modified: trunk/labs/kosmos/build/build.xml =================================================================== --- trunk/labs/kosmos/build/build.xml 2005-08-24 13:24:52 UTC (rev 940) +++ trunk/labs/kosmos/build/build.xml 2005-08-24 13:29:52 UTC (rev 941) @@ -10,13 +10,9 @@ <project basedir="." default="redeploy" name="Kosmos"> <description>Kosmos build-script template used by the module-dependent build-scripts</description> - <!-- external paths --> - <property name="docbook.dir" location="/Java/docbook-xsl-1.69.1"/> - <property name="fop.dir" location="/Java/fop-0.20.5"/> - <property name="saxon.dir" location="/Java/saxonb-8.5"/> - <!-- read basic properties --> <property environment="env"/> + <property file="build/build.properties"/> <property file="build/kosmos-project.properties"/> <property file="build/${module.name}-module.properties"/> <property name="module.name.short" value="${project.name.short}-${module.name}"/> @@ -33,7 +29,7 @@ <property name="war.name" value="${module.name.short}.war"/> <property name="container.dir" location="${env.JBOSS_HOME}/server/default/deploy/${war.name}"/> - <property name="dist.dir" location=".dist-${module.name}"/> + <property name="dist.root.dir" location=".dist-${module.name}"/> <property name="dist-bin.root.dir" location=".dist-bin-${module.name}"/> <property name="dist-bin.dir" location="${dist-bin.root.dir}/${module.name.full}"/> @@ -88,12 +84,12 @@ <target name="all" depends="clean,compile" description="Recompiles all Java source files"/> - <target name="undeploy" depends="init" description="Undeploys the portlet from the container"> + <target name="undeploy" depends="init" description="Undeploys the module from the container"> <!-- it doesn't stop the container! --> <delete dir="${container.dir}"/> </target> - <target name="deploy" depends="compile" description="Deploys the portlet to the container"> + <target name="deploy" depends="compile" description="Deploys the module to the container"> <mkdir dir="${container.dir}"/> <!-- copy container-independent resources --> <copy todir="${container.dir}"> @@ -106,7 +102,7 @@ <!-- it doesn't restart the container! --> </target> - <target name="redeploy" depends="undeploy,deploy" description="Redeploys the portlet to the container"/> + <target name="redeploy" depends="undeploy,deploy" description="Redeploys the module to the container"/> <target name="javadocs" depends="init" description="Generates the javadocs"> <javadoc destdir="${dist-src.docs.api.dir}" author="true" version="true" use="true" windowtitle="${project.name} API"> @@ -182,12 +178,12 @@ </target> <target name="dist" depends="dist-src,dist-bin" description="Packs all distributables"> - <mkdir dir="${dist.dir}"/> - <!-- pack --> - <zip file="${dist.dir}/${module.name.full}-src.zip" basedir="${dist-src.root.dir}"/> - <tar destfile="${dist.dir}/${module.name.full}-src.tar.gz" basedir="${dist-src.root.dir}" compression="gzip" longfile="gnu"/> + <mkdir dir="${dist.root.dir}"/> <!-- pack --> - <zip file="${dist.dir}/${module.name.full}.zip" basedir="${dist-bin.root.dir}"/> - <tar destfile="${dist.dir}/${module.name.full}.tar.gz" basedir="${dist-bin.root.dir}" compression="gzip" longfile="gnu"/> + <zip file="${dist.root.dir}/${module.name.full}-src.zip" basedir="${dist-src.root.dir}"/> + <tar destfile="${dist.root.dir}/${module.name.full}-src.tar.gz" basedir="${dist-src.root.dir}" compression="gzip" longfile="gnu"/> + <!-- pack --> + <zip file="${dist.root.dir}/${module.name.full}.zip" basedir="${dist-bin.root.dir}"/> + <tar destfile="${dist.root.dir}/${module.name.full}.tar.gz" basedir="${dist-bin.root.dir}" compression="gzip" longfile="gnu"/> </target> </project> Modified: trunk/labs/kosmos/build/kosmos-project.properties =================================================================== --- trunk/labs/kosmos/build/kosmos-project.properties 2005-08-24 13:24:52 UTC (rev 940) +++ trunk/labs/kosmos/build/kosmos-project.properties 2005-08-24 13:29:52 UTC (rev 941) @@ -1,3 +1,3 @@ project.name=Kosmos project.name.short=kosmos -project.version=0.1.0RC2 +project.version=0.1.0RC3 Modified: trunk/labs/kosmos/xdocs/reference/reference-manual.xml =================================================================== --- trunk/labs/kosmos/xdocs/reference/reference-manual.xml 2005-08-24 13:24:52 UTC (rev 940) +++ trunk/labs/kosmos/xdocs/reference/reference-manual.xml 2005-08-24 13:29:52 UTC (rev 941) @@ -4,6 +4,8 @@ <title>Kosmos Reference Manual</title> + <subtitle>Komposite Open Source Monitoring Suite</subtitle> + <subtitle>For the Kosmos 0.1.x branch</subtitle> <bookinfo> @@ -98,7 +100,7 @@ our primary information resource. Come and visit us regularly.</para> - <para>You reach me in email at the following address: <email>aron + <para>You can reach me in email at the following address: <email>aron dot gombas at midori dot hu</email>.</para> <para>Aron Gombas</para> @@ -245,12 +247,6 @@ <listitem> - <para>Axis: used to access remote SOAP services.</para> - - </listitem> - - <listitem> - <para>Displaytag: used for rendering the tables.</para> </listitem> @@ -451,7 +447,7 @@ <listitem> <para>It reports on the build labels, build results, - timestamps and unit test results. Also you can get detailed + timestamps and unit test results. Also, you can get detailed information about the unit tests.</para> </listitem> @@ -1435,8 +1431,27 @@ build</filename> directory.</para> <para>The variable names are self-explanatory and all the targets are - well-documented in the appropriate script. For instance, - creating the server component distribution package is simply: + well-documented in the appropriate script: + <programlisting>Buildfile: build-portlet.xml +Kosmos Portlet Module build-script +Main targets: + + all Recompiles all Java source files + clean Cleans up temporary files created during previous builds + compile Compiles Java source files + deploy Deploys the module to the container + dist Packs all distributables + dist-bin Prepares all binary distributables + dist-src Prepares all source distributables + javadocs Generates the javadocs + manual-html Creates the manual in HTML format + manual-pdf Creates the manual in PDF format + redeploy Redeploys the module to the container + undeploy Undeploys the module from the container +Default target: redeploy</programlisting> + </para> + + <para>For instance, creating the server component distribution package is simply: <programlisting>ant -f build-server.xml dist</programlisting> Please study the scripts themselves for further details. </para> @@ -1450,13 +1465,11 @@ <para>There are two Ant targets for this purpose: <literal>manual-html</literal> and <literal>manual-pdf</literal>. The only detail you have to care about is setting the correct local - paths in <filename>build.xml</filename> for the following dependencies + paths in <filename>build.properties</filename> for the following dependencies that are not included in the Kosmos distribution package: - <programlisting><!-- External paths --> -<property name="docbook.dir" location="/Java/docbook-xsl-1.69.0"/> -<property name="fop.dir" location="/Java/fop-0.20.5"/> -<property name="saxon.dir" location="/Java/saxonb-8.5"/> - </programlisting> + <programlisting>docbook.dir=/java/docbook-xsl-1.69.1 +fop.dir=/java/fop-0.20.5 +saxon.dir=/java/saxonb-8.5</programlisting> </para> </section> |