geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r519520 - in /geronimo/sandbox/g1.1-activemq4: README.txt install.xml
Date Sun, 18 Mar 2007 02:09:39 GMT
Author: jdillon
Date: Sat Mar 17 19:09:38 2007
New Revision: 519520

URL: http://svn.apache.org/viewvc?view=rev&rev=519520
Log:
Added how to install
Added helper to install

Added:
    geronimo/sandbox/g1.1-activemq4/install.xml   (with props)
Modified:
    geronimo/sandbox/g1.1-activemq4/README.txt

Modified: geronimo/sandbox/g1.1-activemq4/README.txt
URL: http://svn.apache.org/viewvc/geronimo/sandbox/g1.1-activemq4/README.txt?view=diff&rev=519520&r1=519519&r2=519520
==============================================================================
--- geronimo/sandbox/g1.1-activemq4/README.txt (original)
+++ geronimo/sandbox/g1.1-activemq4/README.txt Sat Mar 17 19:09:38 2007
@@ -18,6 +18,7 @@
 ============
 
  * Maven 1 (last know working 1.1-beta-2): http://maven.apache.org/maven-1.x/start/download.html
+ * Ant (latest should work, used by install bits)
  * JDK 1.4+
  * Subversion 1.2+ (1.4 recommended)
  * Some patience, maybe some beer
@@ -65,4 +66,56 @@
 How to Install
 ==============
 
-TODO
+Once all of the modules are built you can use the install.xml Ant script to
+install the modules into the server's repository.
+
+    ant -f activemq4/install.xml
+
+This assumes you are using Geronimo 1.1.1 and have the assembly extracted
+as a peer to the activemq4 directory.
+
+To use a specific installation:
+
+    ant -f activemq4/install.xml -Dgeroniom.home=/where/g/is
+
+This will install all of modules and dependencies into the server's repository.
+
+
+How to Use
+==========
+
+To use the new modules, you need to edit the server's var/config/config.xml
+and comment out the current activemq modules and add new modules for the amq4
+bits:
+
+----8<----
+<!--
+<module name="geronimo/activemq-broker/1.1.1/car">
+    <gbean name="ActiveMQ.tcp.default">
+        <attribute name="host">0.0.0.0</attribute>
+        <attribute name="port">61616</attribute>
+    </gbean>
+</module>
+
+<module name="geronimo/activemq/1.1.1/car"/>
+-->
+
+<module name="geronimo/geronimo-activemq-broker-config/1.1.1/car"/>
+
+<module name="geronimo/geronimo-activemq-ra-config/1.1.1/car"/>
+---->8----
+
+And then update your plans to use the new external-path for the resource adapter:
+
+----8<----
+<ext-module>
+    <connector>someJmsResource</connector>
+    <external-path>geronimo/geronimo-activemq-ra/1.1.1/rar</external-path>
+    <connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.1">
+        <resourceadapter>
+        ...
+---->8----
+
+If you run w/the old resource adapter you will probably get invalid wire format
+looking ERROR messages from AMQ bits.
+

Added: geronimo/sandbox/g1.1-activemq4/install.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/g1.1-activemq4/install.xml?view=auto&rev=519520
==============================================================================
--- geronimo/sandbox/g1.1-activemq4/install.xml (added)
+++ geronimo/sandbox/g1.1-activemq4/install.xml Sat Mar 17 19:09:38 2007
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<project default="install">
+    
+    <property name="geronimo.version" value="1.1.1"/>
+    <property name="geronimo.home" value="../geronimo-${geronimo.version}"/>
+    <property name="geronimo.repo" value="${geronimo.home}/repository"/>
+    
+    <target name="install">
+        <!-- Install the configuration -->
+        <copy todir="${geronimo.home}/var/config">
+            <fileset dir=".">
+                <include name="config.xml"/>
+            </fileset>
+        </copy>
+        
+        <!-- Install the dependencies -->
+        <mkdir dir="${geronimo.repo}/org/apache/activemq/activemq-core/4.1.0-incubator"/>
+        <copy todir="${geronimo.repo}/org/apache/activemq/activemq-core/4.1.0-incubator">
+            <fileset dir="./geronimo-activemq-repository/org.apache.activemq/jars">
+                <include name="activemq-core*.jar"/>
+            </fileset>
+        </copy>
+        
+        <mkdir dir="${geronimo.repo}/org/apache/activemq/activemq-ra/4.1.0-incubator"/>
+        <copy todir="${geronimo.repo}/org/apache/activemq/activemq-ra/4.1.0-incubator">
+            <fileset dir="./geronimo-activemq-repository/org.apache.activemq/jars">
+                <include name="activemq-ra*.jar"/>
+            </fileset>
+        </copy>
+        
+        <mkdir dir="${geronimo.repo}/org/apache/activemq/activeio-core/3.0.0-incubator"/>
+        <copy todir="${geronimo.repo}/org/apache/activemq/activeio-core/3.0.0-incubator">
+            <fileset dir="./geronimo-activemq-repository/org.apache.activemq/jars">
+                <include name="activeio-core*.jar"/>
+            </fileset>
+        </copy>
+        
+        <mkdir dir="${geronimo.repo}/geronimo/geronimo-activemq-management/${geronimo.version}"/>
+        <copy todir="${geronimo.repo}/geronimo/geronimo-activemq-management/${geronimo.version}">
+            <fileset dir="./geronimo-activemq-management/target">
+                <include name="geronimo-activemq-management*.jar"/>
+            </fileset>
+        </copy>
+        
+        <mkdir dir="${geronimo.repo}/geronimo/geronimo-activemq-broker/${geronimo.version}"/>
+        <copy todir="${geronimo.repo}/geronimo/geronimo-activemq-broker/${geronimo.version}">
+            <fileset dir="./geronimo-activemq-broker/target">
+                <include name="geronimo-activemq-broker*.jar"/>
+            </fileset>
+        </copy>
+        
+        <mkdir dir="${geronimo.repo}/geronimo/geronimo-activemq-ra/${geronimo.version}"/>
+        <copy todir="${geronimo.repo}/geronimo/geronimo-activemq-ra/${geronimo.version}">
+            <fileset dir="./geronimo-activemq-ra/target">
+                <include name="geronimo-activemq-ra*.rar"/>
+            </fileset>
+        </copy>
+        
+        <mkdir dir="${geronimo.repo}/backport-util-concurrent/backport-util-concurrent/2.2"/>
+        <copy todir="${geronimo.repo}/backport-util-concurrent/backport-util-concurrent/2.2">
+            <fileset dir="${user.home}/.maven/repository/backport-util-concurrent/jars">
+                <include name="backport-util-concurrent-2.2.jar"/>
+            </fileset>
+        </copy>
+        
+        <!-- Install the gbean configurations -->
+        <copy todir="${geronimo.repo}">
+            <fileset dir="./geronimo-activemq-broker-config/target/repository">
+                <include name="**"/>
+            </fileset>
+            <fileset dir="./geronimo-activemq-ra-config/target/repository">
+                <include name="**"/>
+            </fileset>
+        </copy>
+    </target>
+    
+</project>

Propchange: geronimo/sandbox/g1.1-activemq4/install.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/g1.1-activemq4/install.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/g1.1-activemq4/install.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message