Permalink
Browse files

Remove useless file and arrange corresponding build instructions.

  • Loading branch information...
1 parent a2b1355 commit f0cdf6e07744cb4743a0e06120d999e7a52e71b1 @jfclere jfclere committed Aug 30, 2012
Showing with 12 additions and 58 deletions.
  1. +12 −7 README.txt
  2. +0 −51 build-jbossweb.xml
View
@@ -30,15 +30,20 @@ JBoss AS
JBoss Web / Tomcat
-1. Copy the jar file contained in the mod_cluster.sar directory into the lib
- directory of your JBoss Web installation.
- ./target/JBossWeb-Tomcat/lib/mod_cluster.jar
-2. Copy the following dependency jars into the same lib directory:
- ./target/JBossWeb-Tomcat/lib/jboss-logging-jdk.jar
- ./target/JBossWeb-Tomcat/lib/jboss-logging-spi.jar
+The tar.gz from the assembly contains the JBossWeb-Tomcat.
+ mvn -P dist package create the tar.gz (after mvn install).
+1. Extract the JBossWeb-Tomcat directory.
+
+2. Copy the jar files from JBossWeb-Tomcat/lib to the tomcat lib.
+ remove the mod_cluster-container-tomcat(n).jar that does correspond to
+ the Tomcat you are using.
+
+3. Copy the following dependency jars into the same lib directory:
+ JBossWeb-Tomcat/lib/jboss-logging-jdk.jar
+ JBossWeb-Tomcat/lib/jboss-logging-spi.jar
-3. Modify the server.xml within the conf directory and add a non-cluster mode
+4. Modify the server.xml within the conf directory and add a non-cluster mode
engine listener as documented here:
http://www.jboss.org/mod_cluster/java/config.html
View
@@ -1,51 +0,0 @@
-<?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>

0 comments on commit f0cdf6e

Please sign in to comment.