/jboss-as-7.1.1.Final/testsuite/integration/src/test/scripts/multinode-build.xml
XML | 51 lines | 22 code | 7 blank | 22 comment | 0 complexity | dac5ebaaa1aa67bec330498e9732087b MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
1<?xml version="1.0" encoding="UTF-8"?>
2
3<!--
4 ~ JBoss, Home of Professional Open Source.
5 ~ Copyright 2011, Red Hat, Inc., and individual contributors
6 ~ as indicated by the @author tags. See the copyright.txt file in the
7 ~ distribution for a full listing of individual contributors.
8 ~
9 ~ This is free software; you can redistribute it and/or modify it
10 ~ under the terms of the GNU Lesser General Public License as
11 ~ published by the Free Software Foundation; either version 2.1 of
12 ~ the License, or (at your option) any later version.
13 ~
14 ~ This software is distributed in the hope that it will be useful,
15 ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 ~ Lesser General Public License for more details.
18 ~
19 ~ You should have received a copy of the GNU Lesser General Public
20 ~ License along with this software; if not, write to the Free
21 ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
22 ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
23 -->
24
25<project>
26
27 <!-- import shared ant targets -->
28 <import file="common-targets.xml" as="common"/>
29
30 <target name="build-multinode" description="Builds server configurations for Multi-node tests">
31
32 <echo message="Copying and configuring instance jbossas-multinode-client"/>
33 <copy todir="target/jbossas-multinode-client">
34 <fileset dir="target/jbossas"/>
35 </copy>
36 <ts.config-as.add-remote-outbound-connection name="jbossas-multinode-client" node="${node1}" remotePort="4547" securityRealm="PasswordRealm" userName="user1"/>
37 <ts.config-as.add-identity-realm name="jbossas-multinode-client" realmName="PasswordRealm" secret="cGFzc3dvcmQx"/>
38
39 <echo message="Copying and configuring instance jbossas-multinode-server"/>
40 <copy todir="target/jbossas-multinode-server">
41 <fileset dir="target/jbossas"/>
42 </copy>
43 <ts.config-as.ip-with-multicast name="jbossas-multinode-server"
44 node="${node1}"
45 mcast="${mcast}"
46 mcast.jgroupsDiag="${mcast.jgroupsDiag}"
47 mcast.modcluster="${mcast.modcluster}"/>
48 <ts.config-as.add-port-offset name="jbossas-multinode-server" offset="100" nativePort="9999" httpPort="9990"/>
49 </target>
50
51</project>