blob: cfbaa9b4731c6632eba9fe36d577d670eb4a55a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
<!--
-
- 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.
-
-->
<project name="qpid-jca-example-jboss7-properties" basedir="." default="">
<property name="jndi.scheme" value="name"/>
<property name="qpid.xacf.jndi.name" value="java:/QpidJMSXA"/>
<property name="qpid.cf.jndi.name" value="QpidConnectionFactory"/>
<property name="qpid.hello.topic.jndi.name" value="java:/HelloTopic"/>
<property name="qpid.goodbye.topic.jndi.name" value="java:/GoodByeTopic"/>
<property name="qpid.hello.queue.jndi.name" value="java:/HelloQueue"/>
<property name="qpid.goodbye.queue.jndi.name" value="java:/GoodByeQueue"/>
<property name="qpid.responder.queue.jndi.name" value="java:/QpidResponderQueue"/>
<property name="qpid.ejb.jndi.name" value="mappedName="QpidTestEJB""/>
<property name="qpid.ejb.ref.name" value="QpidTestBean/local"/>
<property name="qpid.ejb.name" value="qpid-jcaex/QpidTestBean/remote"/>
<property name="jndi.context" value="org.jnp.interfaces.NamingContextFactory"/>
<property name="server.host" value="jnp://localhost:1099"/>
<property name="jboss.server.config" value="standalone"/>
<property name="jboss.home" location="${env.JBOSS_HOME}"/>
<property name="jboss.server" value="${jboss.server.config}"/>
<property name="jboss.deploy" location="${jboss.home}/${jboss.server}/deployments"/>
<property name="jboss.modules" location="${jboss.home}/modules"/>
<property name="jboss.config.dir" location="${jboss.home}/${jboss.server}/configuration/"/>
<path id="compile.classpath">
<fileset dir="${jboss.modules}/javax/jms/api/main">
<include name="jboss-jms-api_1.1_spec-1.0.0.Final.jar"/>
</fileset>
<fileset dir="${jboss.modules}/javax/ejb/api/main">
<include name="jboss-ejb-api_3.1_spec-1.0.1.Final.jar"/>
</fileset>
<fileset dir="${jboss.modules}/javax/servlet/api/main">
<include name="jboss-servlet-api_3.0_spec-1.0.0.Final.jar"/>
</fileset>
<fileset dir="${jboss.modules}/javax/transaction/api/main">
<include name="jboss-transaction-api_1.1_spec-1.0.0.Final.jar"/>
</fileset>
<fileset dir="${jboss.modules}/org/slf4j/main">
<include name="slf4j-api-1.6.1.jar"/>
</fileset>
</path>
<path id="run.classpath">
<fileset dir="${lib.dir}">
<include name="qpid-ra-*.jar"/>
<include name="qpid-client-*.jar"/>
<include name="qpid-common-*.jar"/>
</fileset>
<fileset dir="${jboss.client}">
<!-- Shortcut to get it working!-->
<include name="jbossall-client.jar"/>
</fileset>
</path>
<filterset id="extra.filterset"/>
<!-- Deployment is target specific so is included here -->
<target name="deploy-rar" description="Deploy the RAR file.">
<copy todir="${jboss.deploy}" overwrite="true">
<fileset dir="${qpid.jca.dir}">
<include name="${rar.name}"/>
</fileset>
</copy>
</target>
<target name="undeploy-rar" description="Undeploys the RAR deployment.">
<delete file="${jboss.deploy}/${rar.name}"/>
</target>
<target name="deploy-ear" depends="package-ear" description="Deploys the EAR archive.">
<copy todir="${jboss.deploy}" overwrite="true">
<fileset dir="${build.dir}">
<include name="${ear.name}"/>
</fileset>
</copy>
</target>
<target name="undeploy-ear" description="Undeploys the EAR archive.">
<delete file="${jboss.deploy}/${ear.name}"/>
</target>
<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"/>
</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>
|