User: user57 Date: 01/10/01 17:15:38 Modified: . build.xml Log: o added a default value for jivesoftware.jive.home (which is ~/website/jive) o setup the build module to pull the generated .ear's, soon those .ear's might be generated from this module... o added jboss-mq and jboss-docs to the snapshot list Revision Changes Path 1.17 +77 -55 newsite/build.xml Index: build.xml =================================================================== RCS file: /cvsroot/jboss/newsite/build.xml,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- build.xml 2001/09/30 06:21:36 1.16 +++ build.xml 2001/10/02 00:15:38 1.17 @@ -10,7 +10,7 @@ <!-- --> <!-- ====================================================================== --> -<!-- $Id: build.xml,v 1.16 2001/09/30 06:21:36 schaefera Exp $ --> +<!-- $Id: build.xml,v 1.17 2001/10/02 00:15:38 user57 Exp $ --> <project default="main" name="JBoss/Website"> @@ -133,7 +133,7 @@ <!-- Module name(s) & version --> <property name="module.name" value="website"/> <property name="module.Name" value="JBoss Website"/> - <property name="module.version" value="unspecified"/> + <property name="module.version" value="DEV"/> <!-- Invoke the rest of the configuration targets --> <call target="_configure-tools"/> @@ -273,7 +273,6 @@ <!-- Controls for the compile-snapshot target --> <property name="snapshot.cvsroot" value=":pserver:[EMAIL PROTECTED]:/cvsroot/jboss"/> - <property name="snapshot.modules" value="jboss-all"/> <!-- xdoclet --> <path id="xdoclet.task.classpath"> @@ -284,15 +283,7 @@ </path> <property name="xdoclet.task.classpath" refid="xdoclet.task.classpath"/> - <!-- ejbdoclet --> -<!-- <path id="dreambean.ejbdoclet.task.classpath"> - <path refid="javac.classpath"/> - <path refid="survey.classpath"/> - <pathelement location="${project.root}/tools/lib/ejbdoclet.jar"/> - </path> - <property name="dreambean.ejbdoclet.task.classpath" - refid="dreambean.ejbdoclet.task.classpath" - /> --> + <taskdef name="xdoclet" classname="xdoclet.ejb.EjbDocletTask"/> </target> @@ -368,13 +359,14 @@ <target name="compile-snapshots" depends="init" unless="snapshot.bypass"> <mkdir dir="${build.snapshots}"/> + <echo>Exporting CVS modules for snaphots...</echo> + <!-- Make sure there is an entry for this cvsroot --> <cvspass cvsroot="${snapshot.cvsroot}" password=""/> - <cvs cvsroot="${snapshot.cvsroot}" - command="-q -r -f -z3 export" + command="-Q -r -f -z3 export" date="TODAY" - package="jboss-all" + package="jboss-all jboss-mq jboss-docs" dest="${build.snapshots}"/> <!-- to keep this simple, these jars task live here --> @@ -394,18 +386,58 @@ </tar> <gzip src="${build.lib}/jboss-all-${build.number}.tar" zipfile="${build.lib}/jboss-all-${build.number}.tgz"/> + + <!-- build jboss-mq-xxx.zip --> + <zip zipfile="${build.lib}/jboss-mq-${build.number}.zip"> + <fileset dir="${build.snapshots}"> + <include name="jboss-mq/**"/> + </fileset> + </zip> + + <!-- build jboss-mq-xxx.tgz --> + <tar tarfile="${build.lib}/jboss-mq-${build.number}.tar" longfile="gnu" + basedir="${build.snapshots}" + includes="jboss-mq/**"> + </tar> + <gzip src="${build.lib}/jboss-mq-${build.number}.tar" + zipfile="${build.lib}/jboss-mq-${build.number}.tgz"/> - <!-- Make the JBoss DTDs available under j2ee/dtd --> + <!-- build jboss-docs-xxx.zip --> + <zip zipfile="${build.lib}/jboss-docs-${build.number}.zip"> + <fileset dir="${build.snapshots}"> + <include name="jboss-docs/**"/> + </fileset> + </zip> + + <!-- build jboss-docs-xxx.tgz --> + <tar tarfile="${build.lib}/jboss-docs-${build.number}.tar" longfile="gnu" + basedir="${build.snapshots}" + includes="jboss-docs/**"> + </tar> + <gzip src="${build.lib}/jboss-docs-${build.number}.tar" + zipfile="${build.lib}/jboss-docs-${build.number}.tgz"/> + + <!-- ================================================= --> + <!-- HACK Make the JBoss DTDs available under j2ee/dtd --> + <!-- ================================================= --> + + <!-- + | this should not be dependent on the jboss-all snapshot to function. + | perhaps the dtds should be in a seperate module (shared by jboss-all + | and jboss-website), or something... this is just bad form! + --> + <mkdir dir="${build.docs}/j2ee/dtd"/> <copy todir="${build.docs}/j2ee/dtd" filtering="no"> <fileset dir="${build.snapshots}/jboss-all/server/src/resources/org/jboss/metadata"> <include name="*.dtd"/> </fileset> </copy> + </target> <!-- ================================================================== --> - <!-- Generate EJB Classes using EJBDoclet --> + <!-- Generate EJB Classes using XDoclet --> <!-- ================================================================== --> <target name="survey-ejb-generate" depends="init"> @@ -414,20 +446,13 @@ <mkdir dir="${build.metadata.survey}"/> <mkdir dir="${build.metadata.survey}/META-INF"/> - - <taskdef - name="xdoclet" - classname="xdoclet.ejb.EjbDocletTask" - /> - <xdoclet - sourcepath="${survey.ejb.source}" - destdir="${build.gen}" - classpath="${xdoclet.task.classpath}" - ejbspec="1.1" - excludedtags="@version,@author" - > + <xdoclet sourcepath="${survey.ejb.source}" + destdir="${build.gen}" + classpath="${xdoclet.task.classpath}" + ejbspec="1.1" + excludedtags="@version,@author"> <fileset dir="${survey.ejb.source}"> - <include name="org/jboss/survey/ejb/**/*Bean.java" /> + <include name="org/jboss/survey/ejb/**/*Bean.java"/> </fileset> <dataobject/> <remoteinterface/> @@ -437,18 +462,13 @@ <entitybmp/> <entitycmp/> <session/> - <deploymentdescriptor - xmlencoding ="UTF-8" - destdir="${build.metadata.survey}/META-INF" - /> - <jboss - xmlencoding="UTF-8" - typemapping="PostgreSQL" - datasource="java:/SurveyDS" - destdir="${build.metadata.survey}/META-INF" - /> + <deploymentdescriptor xmlencoding="UTF-8" + destdir="${build.metadata.survey}/META-INF"/> + <jboss xmlencoding="UTF-8" + typemapping="PostgreSQL" + datasource="java:/SurveyDS" + destdir="${build.metadata.survey}/META-INF"/> </xdoclet> - </target> <!-- ================================================================== --> @@ -459,13 +479,12 @@ <mkdir dir="${build.classes}"/> <javac srcdir="${build.gen};${survey.ejb.source}" - destdir="${build.classes}" - classpath="${survey.classpath}" - debug="off" - deprecation="off" - optimize="on" - includes="org/jboss/survey/**" - /> + destdir="${build.classes}" + classpath="${survey.classpath}" + debug="off" + deprecation="off" + optimize="on" + includes="org/jboss/survey/**"/> </target> <!-- ================================================================== --> @@ -476,13 +495,12 @@ <mkdir dir="${build.classes}"/> <javac srcdir="${survey.client.source}" - destdir="${build.classes}" - classpath="${survey.classpath};${build.classes}" - debug="off" - deprecation="off" - optimize="on" - includes="org/jboss/survey/command/**,org/jboss/survey/util/**" - /> + destdir="${build.classes}" + classpath="${survey.classpath};${build.classes}" + debug="off" + deprecation="off" + optimize="on" + includes="org/jboss/survey/command/**,org/jboss/survey/util/**"/> </target> <!-- ================================================================== --> @@ -516,6 +534,10 @@ <fileset dir="${build.lib}"> <include name="jboss-all-${build.number}.zip"/> <include name="jboss-all-${build.number}.tgz"/> + <include name="jboss-docs-${build.number}.zip"/> + <include name="jboss-docs-${build.number}.tgz"/> + <include name="jboss-mq-${build.number}.zip"/> + <include name="jboss-mq-${build.number}.tgz"/> </fileset> </war>
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development