Author: bstansberry(a)jboss.com
Date: 2008-10-29 17:33:44 -0400 (Wed, 29 Oct 2008)
New Revision: 2023
Added:
trunk/mod_cluster/build-jbossweb.xml
Modified:
trunk/mod_cluster/pom.xml
trunk/mod_cluster/src/assembly/bin.xml
Log:
Include a JBossWeb-Tomcat dir in dist tar
Rename 'demo' profile
Added: trunk/mod_cluster/build-jbossweb.xml
===================================================================
--- trunk/mod_cluster/build-jbossweb.xml (rev 0)
+++ trunk/mod_cluster/build-jbossweb.xml 2008-10-29 21:33:44 UTC (rev 2023)
@@ -0,0 +1,51 @@
+<?xml version="1.0"?>
+<!--
+ * Copyright(c) 2008 Red Hat Middleware, LLC,
+ * and individual contributors as indicated by the @authors tag.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library in the file COPYING.LIB;
+ * if not, write to the Free Software Foundation, Inc.,
+ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+-->
+<project name="jbossweb" default="all" basedir=".">
+
+ <!-- See "build.properties.sample" in the top level directory for all
-->
+ <!-- property values you must customize for successful building!!! -->
+ <property file="${user.home}/build.properties"/>
+ <property file="build.properties"/>
+
+ <property file="build.properties.default"/>
+
+ <property name="target.dir" value="${basedir}/target"/>
+ <property name="out.dir"
value="${target.dir}/JBossWeb-Tomcat/"/>
+ <property name="out.lib" value="${out.dir}/lib"/>
+ <property name="dependencies.dir"
value="${target.dir}/dependencies/lib/"/>
+
+
+ <target name="all">
+ <mkdir dir="${out.lib}"/>
+ <copy todir="${out.lib}">
+ <fileset dir="${dependencies.dir}">
+ <include name="jboss-logging-spi.jar"/>
+ <include name="jboss-logging-jdk.jar"/>
+ </fileset>
+ </copy>
+ <copy tofile="${out.lib}/mod-cluster.jar"
file="${target.dir}/${mod-cluster.jar.name}.jar"/>
+ </target>
+</project>
Modified: trunk/mod_cluster/pom.xml
===================================================================
--- trunk/mod_cluster/pom.xml 2008-10-29 21:16:50 UTC (rev 2022)
+++ trunk/mod_cluster/pom.xml 2008-10-29 21:33:44 UTC (rev 2023)
@@ -307,7 +307,7 @@
</profile>
<profile>
- <id>demo</id>
+ <id>dist</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
@@ -357,6 +357,11 @@
<!-- Execute the Test Build -->
<ant antfile="build-demo.xml" target="main"
/>
+
+ <!-- Create the JBossWeb-Tomcat install structure -->
+ <ant antfile="build-jbossweb.xml"
target="all">
+ <property name="mod-cluster.jar.name"
value="${project.build.finalName}"/>
+ </ant>ant>
<!-- Execute the demo that require httpd -->
<!--ant antfile="build-demo.xml"
target="run-demo" /-->
Modified: trunk/mod_cluster/src/assembly/bin.xml
===================================================================
--- trunk/mod_cluster/src/assembly/bin.xml 2008-10-29 21:16:50 UTC (rev 2022)
+++ trunk/mod_cluster/src/assembly/bin.xml 2008-10-29 21:33:44 UTC (rev 2023)
@@ -22,5 +22,9 @@
<exclude>classes/**</exclude>
</excludes>
</fileSet>
+ <fileSet>
+ <directory>target/JBossWeb-Tomcat</directory>
+ <outputDirectory>JBossWeb-Tomcat</outputDirectory>
+ </fileSet>
</fileSets>
</assembly>
\ No newline at end of file