2
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
3
<title>Chapter 15. Getting the JBossRemoting source and building</title><link rel="stylesheet" href="css/html.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="JBoss Remoting Guide"><link rel="up" href="index.html" title="JBoss Remoting Guide"><link rel="previous" href="ch14.html" title="Chapter 14. Compatibility and versioning"><link rel="next" href="ch16.html" title="Chapter 16. Known issues"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 15. Getting the JBossRemoting source and building</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch14.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ch16.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="d0e8270"></a>Chapter 15. Getting the JBossRemoting source and building</h2></div></div><div></div></div><p>The JBossRemoting source code resides in the JBoss SVN repository. The
4
tagged versions are found in
5
https://svn.jboss.org/repos/jbossremoting/remoting2/tags, and the working
7
https://svn.jboss.org/repos/jbossremoting/remoting2/branches.</p><p>To check out the source for version 2.4.0.GA using the
8
anonymous account, use the following command:</p><pre class="programlisting"> svn checkout http://anonsvn.jboss.org/repos/jbossremoting/remoting2/tags/2.4.0-GA.</pre><p>and to check out the source using a committer user id, use the
9
following:</p><pre class="programlisting">svn checkout https://svn.jboss.org/repos/jbossremoting/remoting2/tags/2.4.0-GA</pre><p>On the other hand, to get the working branch for version 2.4, use</p><pre class="programlisting"> svn checkout http://anonsvn.jboss.org/repos/jbossremoting/remoting2/branches/2.x.</pre><p>or</p><pre class="programlisting">svn checkout https://svn.jboss.org/repos/jbossremoting/remoting2/branches/2.x.</pre><p>These commands should checkout the entire remoting project, including
10
doc, tests, libs, etc.</p><p>See <a href="http://wiki.jboss.org/wiki/SVNRepository" target="_top">
11
http://wiki.jboss.org/wiki/SVNRepository</a> for more information on how
12
to access the JBoss SVN repository and how to get committer access.</p><p>The build process for JBossRemoting is based on a standard ant build
13
file (build.xml). The version of ant currently in use is ant 1.7.0, but
14
earlier versions should work as well as there are no special ant features
15
being used.</p><p>The main ant build targets are as follows:</p><p><span class="bold"><b>compile</b></span> - compiles all the core
16
JBossRemoting classes.</p><p><span class="bold"><b>jars</b></span> - creates the
17
jboss-remoting.jar file from the compiled classes</p><p><span class="bold"><b>dist.jars</b></span> - creates the
18
subsystem jar files (jboss-remoting-core.jar, jboss-remoting-socket.jar, etc.)
19
from the compiled classes</p><p><span class="bold"><b>javadoc</b></span> - creates the javadoc html
20
files for JBossRemoting</p><p><span class="bold"><b>tests.compile</b></span> - compiles the
21
JBossRemoting test files</p><p><span class="bold"><b>tests.jars</b></span> - creates the
22
jboss-remoting-tests.jar and jboss-remoting-loading-tests.jar
23
files.</p><p><span class="bold"><b>tests.quick</b></span> - runs the functional
24
unit tests for JBossRemoting.</p><p><span class="bold"><b>tests</b></span> - runs all the functional tests
25
for all the different transports.</p><p><span class="bold"><b>tests.performance</b></span> - runs all the
26
performance tests for all the different transports.</p><p><span class="bold"><b>tests.versioning.all</b></span> - runs all the
27
versioning tests for all the different transports.</p><p><span class="bold"><b>clean</b></span> - removes all the build
28
artifacts and directories.</p><p><span class="bold"><b>most</b></span> - calls clean then jars
29
targets.</p><p><span class="bold"><b>dist</b></span> - builds the full
30
JBossRemoting distribution including running the full test suite.</p><p><span class="bold"><b>dist.quick</b></span> - builds the full
31
JBossRemoting distribution, but does not run the test suite.</p><p>The root directory for all build output is the output directory.
32
Under this directory will be:</p><p><tt class="literal">classes</tt> - compiled core classes
33
<tt class="literal"></tt></p><p><tt class="literal">etc</tt> - deployment and JMX XMBean xml files
34
<tt class="literal"></tt></p><p><tt class="literal">lib</tt> - all the jars and war file produced by the
35
build <tt class="literal"></tt></p><p><tt class="literal">tests</tt> - contains the compiled test classes and
36
test results</p><p>For most development, the most target can be used. Please run the
37
tests.quick target before checking anything in to ensure that code changes
38
did not break any previously functioning test.</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch14.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch16.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 14. Compatibility and versioning </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 16. Known issues</td></tr></table></div></body></html>
b'\\ No newline at end of file'