File: jbossbuild.xml

package info (click to toggle)
libjboss-remoting-java 2.5.3.SP1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 22,872 kB
  • sloc: java: 133,092; xml: 87,084; sh: 175; perl: 114; makefile: 12
file content (115 lines) | stat: -rw-r--r-- 4,136 bytes parent folder | download
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
<?xml version="1.0"?>

<!--
 JBoss, the OpenSource J2EE webOS

 Distributable under LGPL license.
 See terms of license at gnu.org.
-->

<!-- ================================================================== -->
<!-- Remoting component definition                                        -->
<!-- ================================================================== -->

<project name="project"
   default="build"
   basedir="."
   >

   <import file="../tools/etc/jbossbuild/tasks.xml"/>
   <import file="component-info.xml"/>

   <!-- =============================================================== -->
   <!-- The component definition                                        -->
   <!-- =============================================================== -->

   <componentdef component="remoting" description="JBoss Remoting">

      <!-- ============================================================ -->
      <!-- The main source                                              -->
      <!-- ============================================================ -->

      <source id="main"
         rmic="**/RMIServerInvoker.class">
         <include component="apache-commons"/>
         <include component="oswego-concurrent"/>
         <include component="apache-log4j"/>
         <include component="junit-junit"/>
         <include component="sun-jmx"/>
         <include component="sun-jaxp"/>

         <include component="common"/>
         <include component="naming"/>
         <include component="j2se"/>
         <include component="system"/>
         <include component="sun-servlet"/>

      </source>

      <!-- tests currently includes jrunit,which we are not ready to handle yet
      <source id="tests" test="org/jboss/test/remoting/**/*TestCase.java">
         <include input="main"/>
         <include component="apache-commons"/>
         <include component="oswego-concurrent"/>
         <include component="apache-log4j"/>
         <include component="junit-junit"/>
         <include component="sun-jmx"/>
         <include component="sun-jaxp"/>

         <include component="javagroups-javagroups"/>

         <include component="common"/>
         <include component="naming"/>
         <include component="j2se"/>
         <include component="system"/>
         <include component="sun-servlet"/>
      </source>
      
       so for now we leave it out -->

      <resource id="resources-etc" path="../etc"/>

      <!-- ============================================================ -->
      <!-- jboss-remoting.jar                                             -->
      <!-- ============================================================ -->

      <artifactdef artifact="jboss-remoting.jar">
         <include input="main">
            <include pattern="org/jboss/remoting/**"/>
            <include pattern="org/jboss/aspects/remoting/**"/>
         </include>
         <include input="resources-etc">
            <!-- Include xmbean descriptors -->
            <include pattern="org/jboss/**/*.xml"/>
            <!-- Exclude files for the distro -->
            <exclude pattern="build.xml"/>
            <exclude pattern="example-service.xml"/>
         </include>
      </artifactdef>

      <artifactdef artifact="jboss-remoting-tests.jar">
      <!--
         <include input="tests">
            <include pattern="org/jboss/test/remoting/**"/>
            <include pattern="org/jboss/test/dtf/**"/>
            <exclude pattern="org/jboss/test/remoting/marshall/dynamic/remote/**/Test*Marshaller*"/>
            <exclude pattern="org/jboss/test/remoting/marshall/dynamic/remote/**/TestWrapper*"/>
         </include>
         -->
      </artifactdef>

      <artifactdef artifact="jboss-remoting-loading-tests.jar">
      <!--
         <include input="tests">
            <include pattern="org/jboss/test/remoting/marshall/dynamic/remote/**/Test*Marshaller*"/>
            <include pattern="org/jboss/test/remoting/marshall/dynamic/remote/**/TestWrapper*"/>
         </include>
         -->
      </artifactdef>

   </componentdef>

   <!-- Generate the targets -->
   <generate generate="remoting"/>

</project>