-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-messaging-EAP4.xml
83 lines (73 loc) · 2.97 KB
/
build-messaging-EAP4.xml
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
<project name="JBoss Messaging EAP4 Include">
<!--
Non-JBoss dependencies.
They must available in the repository and declared as <componentrefs> in build-thirdparty.xml.
-->
<path id="external.dependencies.classpath">
<path refid="apache.logging.classpath"/>
<path refid="oswego.concurrent.classpath"/>
<path refid="javassist.classpath"/>
<path refid="jgroups.jgroups.classpath"/>
<path refid="trove.trove.classpath"/>
<path refid="apache.logging.classpath"/>
</path>
<!--
JBoss dependencies.
They must available in the repository and declared as <componentrefs> in build-thirdparty.xml.
NOTE: If one of JBoss dependencies (jboss-remoting.jar) is locally
present in ./lib, it will take precedence over the corresponding repository instance.
-->
<path id="jboss.dependencies.classpath">
<path refid="jboss.common.classpath"/>
<path refid="jboss.aop.classpath"/>
<path refid="jboss.remoting.classpath"/>
<path refid="jboss.jbossts14.classpath"/>
<path refid="jbossas.core.libs.classpath"/>
<!-- some components at JBoss use JBossSerialization (JCA for instance) -->
<path refid="jboss.serialization.classpath"/>
</path>
<!--
The compilation classpath.
-->
<path id="compilation.classpath">
<path refid="external.dependencies.classpath"/>
<path refid="jboss.dependencies.classpath"/>
</path>
<!--
The AOPC classpath.
-->
<path id="aopc.classpath">
<path refid="compilation.classpath"/>
<pathelement path="${build.classes}"/>
</path>
<target name="instrument-classes">
<taskdef name="aopc" classname="org.jboss.aop.ant.AopC" classpathref="jboss.aop.classpath"/>
<echo message="NOTE: aopc incremental compilation might fail, if so do an ant clean first (see JBMESSAGING-271)"/>
<aopc compilerclasspathref="aopc.classpath"
classpathref="aopc.classpath"
verbose="false">
<classpath refid="aopc.classpath"/>
<src path="${build.classes}/org/jboss/jms"/>
<aoppath path="${source.etc}/prepare-aop.xml"/>
</aopc>
</target>
<!-- Note: This target must be ran after the smoke test -->
<target name="examples" depends="release-structure">
<copy todir="${release.output}/examples">
<fileset dir="./docs/examples" excludes="examples.properties">
<exclude name="programmatic-deployment"/>
<exclude name="**/*/build.xml.AS5"/>
</fileset>
</copy>
<copy todir="${release.output}/examples/config">
<fileset dir="${integration-dir}/etc/server/default/deploy">
<include name="*-persistence-service.xml"/>
<include name="*-ds.xml"/>
</fileset>
<fileset dir="${integration-dir}/etc/remoting">
<include name="servlet-invoker.war/**/*"/>
<include name="*-service.xml"/>
</fileset>
</copy>
</target>
</project>