diff options
| author | Kim van der Riet <kpvdr@apache.org> | 2012-08-03 12:13:32 +0000 |
|---|---|---|
| committer | Kim van der Riet <kpvdr@apache.org> | 2012-08-03 12:13:32 +0000 |
| commit | d43d1912b376322e27fdcda551a73f9ff5487972 (patch) | |
| tree | ce493e10baa95f44be8beb5778ce51783463196d /java/jca/example | |
| parent | 04877fec0c6346edec67072d7f2d247740cf2af5 (diff) | |
| download | qpid-python-d43d1912b376322e27fdcda551a73f9ff5487972.tar.gz | |
QPID-3858: Updated branch - merged from trunk r.1368650
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1368910 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/jca/example')
| -rw-r--r-- | java/jca/example/README-EXAMPLE.txt | 5 | ||||
| -rw-r--r-- | java/jca/example/build-jboss7-properties.xml | 15 | ||||
| -rw-r--r-- | java/jca/example/conf/qpid-standalone.xml | 2 |
3 files changed, 12 insertions, 10 deletions
diff --git a/java/jca/example/README-EXAMPLE.txt b/java/jca/example/README-EXAMPLE.txt index 3a2ee0c38e..fd0af585ef 100644 --- a/java/jca/example/README-EXAMPLE.txt +++ b/java/jca/example/README-EXAMPLE.txt @@ -232,4 +232,9 @@ While this documentation highlights the major components and steps needed to tak the possiblities for modifcation are numerous. You are encouraged to experiment with the example as you work to develop your own messaging applications. +***Note*** +Due to the way Ant handle XML escape characters in the Copy task, if you are attempting to deploy the +examples to a clustered broker configuration, you will need to modify the resultant XML configuration +file to remove the '&' character and replace it with the & character. This file varies by app +server. Please see the app server specific documentation for your platform for further details. diff --git a/java/jca/example/build-jboss7-properties.xml b/java/jca/example/build-jboss7-properties.xml index 68ecd8a4f4..157802cc73 100644 --- a/java/jca/example/build-jboss7-properties.xml +++ b/java/jca/example/build-jboss7-properties.xml @@ -53,19 +53,19 @@ <path id="compile.classpath"> <fileset dir="${jboss.modules}/javax/jms/api/main"> - <include name="jboss-jms-api_1.1_spec-1.0.1.Final.jar"/> + <include name="jboss-jms-api_1.1_spec-*.Final.jar"/> </fileset> <fileset dir="${jboss.modules}/javax/ejb/api/main"> - <include name="jboss-ejb-api_3.1_spec-1.0.2.Final.jar"/> + <include name="jboss-ejb-api_3.1_spec-*.Final.jar"/> </fileset> <fileset dir="${jboss.modules}/javax/servlet/api/main"> - <include name="jboss-servlet-api_3.0_spec-1.0.1.Final.jar"/> + <include name="jboss-servlet-api_3.0_spec-*.Final.jar"/> </fileset> <fileset dir="${jboss.modules}/javax/transaction/api/main"> - <include name="jboss-transaction-api_1.1_spec-1.0.1.Final.jar"/> + <include name="jboss-transaction-api_1.1_spec-*.Final.jar"/> </fileset> <fileset dir="${jboss.modules}/org/slf4j/main"> - <include name="slf4j-api-1.6.1.jar"/> + <include name="slf4j-api-*.jar"/> </fileset> </path> @@ -121,13 +121,10 @@ <target name="deploy-config" depends="generate" description="Deploys the standalone file to the JBoss environment."> <copy todir="${jboss.config.dir}" overwrite="true"> <fileset dir="${gen.dir}"> - <include name="${jboss.server.config}.xml"/> + <include name="qpid-${jboss.server.config}.xml"/> </fileset> </copy> </target> - <target name="undeploy-ds" description="Undeploys the ds.xml file from the JBoss environment."> - <delete file="${jboss.deploy}/qpid-jca-ds.xml"/> - </target> </project> diff --git a/java/jca/example/conf/qpid-standalone.xml b/java/jca/example/conf/qpid-standalone.xml index 8d6137aea7..2e22bd3f99 100644 --- a/java/jca/example/conf/qpid-standalone.xml +++ b/java/jca/example/conf/qpid-standalone.xml @@ -1,3 +1,4 @@ +<?xml version='1.0' encoding='UTF-8'?> <!-- - - Licensed to the Apache Software Foundation (ASF) under one @@ -18,7 +19,6 @@ - under the License. - --> -<?xml version='1.0' encoding='UTF-8'?> <server xmlns="urn:jboss:domain:1.1" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance"> |
