cziegeler 01/11/23 01:54:15 Modified: . build.xml Log: Added flag to turn off warnings Revision Changes Path 1.101 +15 -14 xml-cocoon2/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/build.xml,v retrieving revision 1.100 retrieving revision 1.101 diff -u -r1.100 -r1.101 --- build.xml 2001/11/23 09:11:51 1.100 +++ build.xml 2001/11/23 09:54:15 1.101 @@ -92,10 +92,11 @@ and added to the web application. Some if these jars are already included in the distribution while others not. For each optional package which is not available, a warning is -printed. +printed. If you don't like these warnings, specify the property "omit.opt.warnings" +(build -Domit.opt.warnings). - Happy hacking from the Apache Cocoon 2 Dev Team :) + Happy hacking from the Apache Cocoon Dev Team :) ============================================================================ --> @@ -324,7 +325,7 @@ <!-- =================================================================== --> <!-- Macro for optional warnings --> <!-- =================================================================== --> - <target name="op-warning" description="General waring target (used by other targets)"> + <target name="op-warning" description="General waring target (used by other targets)" unless="omit.opt.warning"> <echo>**********************************************</echo> <echo>*</echo> <echo>* Classes of the optional package ${thing} are not </echo> @@ -711,7 +712,7 @@ <target name="docs" depends="package, prepare-docs, docs_check, docs_done" unless="docs.notrequired" - description="Generates the documentation"> + description="* Generates the documentation"> <java classname="org.apache.cocoon.Main" fork="true" dir="${build.context}"> <arg value="-c."/> @@ -913,21 +914,21 @@ <!-- =================================================================== --> <!-- Creates the war file --> <!-- =================================================================== --> - <target name="webapp" depends="prepare-webapp, prepare-webapp-libs, prepare-xsp" description="Generates the war package"> + <target name="webapp" depends="prepare-webapp, prepare-webapp-libs, prepare-xsp" description="* Generates the war package"> <jar jarfile="${build.dir}/${name}.war" basedir="${build.war}" includes="**"/> </target> <!-- =================================================================== --> <!-- Creates the war file --> <!-- =================================================================== --> - <target name="sitewebapp" depends="prepare-sitewebapp" description="Generates the site war package"> + <target name="sitewebapp" depends="prepare-sitewebapp" description="* Generates the site war package"> <jar jarfile="${build.dir}/${name}-site.war" basedir="${build.sitewebapp}" includes="**"/> </target> <!-- =================================================================== --> <!-- Creates the war file --> <!-- =================================================================== --> - <target name="tutorialwebapp" depends="prepare-tutorialwebapp, prepare-tutorialwebapp-libs" description="Generates the tutorial war package"> + <target name="tutorialwebapp" depends="prepare-tutorialwebapp, prepare-tutorialwebapp-libs" description="* Generates the tutorial war package"> <jar jarfile="${build.dir}/tutorial.war" basedir="${build.tutorial.war}" includes="**"/> </target> @@ -953,7 +954,7 @@ <!-- =================================================================== --> <!-- Installs Cocoon file --> <!-- =================================================================== --> - <target name="install" depends="package, webapp, remove-webapp" if="install.war" description="Installs the war package"> + <target name="install" depends="package, webapp, remove-webapp" if="install.war" description="* Installs the war package"> <copy file="${build.dir}/${name}.war" tofile="${install.war}/${name}.war"/> </target> @@ -1017,7 +1018,7 @@ <!-- =================================================================== --> <target name="printer-docs" depends="package, prepare-printer-docs, printer-docs_check, printer-docs_done" unless="printer-docs.notrequired" - description="Generates printer-friendly documentation"> + description="* Generates printer-friendly documentation"> <mkdir dir="${build.docs.printer}"/> <java classname="org.apache.cocoon.Main" fork="true" dir="${build.dir}/printer_documentation"> @@ -1078,7 +1079,7 @@ <!-- =================================================================== --> <target name="javadocs" depends="prepare-src, javadocs_check, javadocs_done" unless="javadocs.notrequired" - description="Generates the API documentation"> + description="* Generates the API documentation"> <mkdir dir="${build.javadocs}"/> <javadoc packagenames="${packages}" sourcepath="${build.src}" @@ -1181,7 +1182,7 @@ <!-- Packages the source distribution as .zip --> <!-- =================================================================== --> <target name="dist-src-zip" depends="dist-src" - description="* Generates the source distribution as a .zip file"> + description="Generates the source distribution as a .zip file"> <zip zipfile="${dist.target}/${dist.name}-src.zip" basedir="${dist.root}/source"/> </target> @@ -1190,7 +1191,7 @@ <!-- Packages the source distribution with .tar.gzip --> <!-- =================================================================== --> <target name="dist-src-tgz" depends="dist-src" - description="* Generates the source distribution as a .tar.gz file"> + description="Generates the source distribution as a .tar.gz file"> <tar tarfile="${dist.target}/${dist.name}-src.tar" basedir="${dist.root}/source" longfile="gnu"/> @@ -1256,7 +1257,7 @@ <!-- Packages the binary distribution as .zip --> <!-- =================================================================== --> <target name="dist-bin-zip" depends="dist-bin" - description="* Generates the binary distribution as a .zip file"> + description="Generates the binary distribution as a .zip file"> <zip zipfile="${dist.target}/${dist.name}-bin.zip" basedir="${dist.root}/bin"/> </target> @@ -1265,7 +1266,7 @@ <!-- Packages the binary distribution with .tar.gzip --> <!-- =================================================================== --> <target name="dist-bin-tgz" depends="dist-bin" - description="* Generates the binary distribution as a .tar.gz file"> + description="Generates the binary distribution as a .tar.gz file"> <tar tarfile="${dist.target}/${dist.name}-bin.tar" basedir="${dist.root}/bin" longfile="gnu"/>
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]