<commit_before><?xml version="1.0" encoding="UTF-8"?>
<chapter id="building">
  <title>Building</title>

  <section id="prerequisites">
    <title>Prerequisites</title>
    
    <section id="jdk">
      <title>Java Development Kit (JDK)</title>
      <para>You must have one of the following JDKs installed in order to build the project:</para>

      <itemizedlist spacing="compact">
         <listitem>
            <para>Sun JDK 1.5.x</para>
         </listitem>
         <listitem>
            <para>Sun JDK 1.6.x</para>
         </listitem>
      </itemizedlist>

      <para>Remember to ensure that "javac" and "java" are in your path (or symlinked).</para>

      <programlisting>
JAVA_HOME=/location/to/javahome
export JAVA_HOME

PATH=$JAVA_HOME/bin:$PATH
export PATH
      </programlisting>

    </section>

    <section id="ant">
      <title>Apache Ant</title>
      <para>You must have Apache Ant 1.7.1+ installed on your system.</para>
      <para>Remember to ensure that "ant" are in your path (or symlinked).</para>

      <programlisting>
ANT_HOME=/location/to/anthome
export ANT_HOME

PATH=$ANT_HOME/bin:$PATH
export PATH
      </programlisting>

    </section>

    <section id="ivy">
      <title>Apache Ivy</title>
      <para>You must have Apache Ivy 2.1.0-RC2+ installed in your Apache Ant installation.</para>

      <programlisting>
cp ivy.jar $ANT_HOME/lib
      </programlisting>

      <para>If you have problems in building the JBoss JCA project checkout the Apache Ivy source code 
        from trunk and build it yourself.</para>

      <programlisting>
svn co http://svn.apache.org/repos/asf/ant/ivy/core/trunk ivy
ant jar
      </programlisting>

    </section>

    <section id="subversion">
      <title>Subversion</title>
      <para>You must have Subversion 1.5+ installed on your system.</para>
      <para>Remember to ensure that "svn" are in your path (or symlinked).</para>
    </section>
 
  </section>

  <section id="obtainingthesource">
    <title>Obtaining the source code</title>

    <section id="anonsvn">
      <title>Anonymous SVN access</title>
      <para>The anonymous SVN repository is located under:</para>

      <programlisting>
svn co http://anonsvn.jboss.org/repos/jbossas/projects/jboss-jca/trunk/ jbossjca-trunk
      </programlisting>
      
    </section>

    <section id="developersvn">
      <title>Developer SVN access</title>
      <para>The developer SVN repository is located under:</para>
      
      <programlisting>
svn co https://svn.jboss.org/repos/jbossas/projects/jboss-jca/trunk/ jbossjca-trunk
      </programlisting>
      
    </section>

    <section id="svnmodules">
      <title>SVN modules</title>
      <para>We have the following modules for the project:</para>
      <itemizedlist>
         <listitem>
            <para>trunk</para>
            <para>The head of development targeting the next upcoming release.</para>
         </listitem>
      </itemizedlist>
    </section>

  </section>

  <section id="compiling">
    <title>Compiling the source code</title>
    <para>In order to build the JBoss JCA project you execute:</para>
    <programlisting>
ant &lt;target&gt;
    </programlisting>
    <para>where target is one of</para>
    <itemizedlist>
      <listitem>
        <para>jars</para>
        <para>Builds the JAR archives in the distribution.</para>
      </listitem>
      <listitem>
        <para>test</para>
        <para>Builds the JAR archives in the distribution and runs all the test cases.</para>
      </listitem>
      <listitem>
        <para>docs</para>
        <para>Builds the API documentation for the project.</para>
      </listitem>
      <listitem>
        <para>standalone</para>
        <para>Builds the standalone environment using JBoss Microcontainer.</para>
      </listitem>
      <listitem>
        <para>sjc</para>
        <para>Builds the standalone environment using JBoss JCA/SJC.</para>
      </listitem>
      <listitem>
        <para>clean</para>
        <para>Cleans the project of temporary files.</para>
      </listitem>
    </itemizedlist>
    <para>See the full list of targets in the main build.xml file.</para>

    <para>An example to get the JBoss JCA/SJC built and running:</para>
    <programlisting>
ant clean sjc
cd target/sjc/bin
./run.sh
    </programlisting>

  </section>
</chapter><commit_msg>Added release and clean-cache to the list of Ant tasks<commit_after><?xml version="1.0" encoding="UTF-8"?>
<chapter id="building">
  <title>Building</title>

  <section id="prerequisites">
    <title>Prerequisites</title>
    
    <section id="jdk">
      <title>Java Development Kit (JDK)</title>
      <para>You must have one of the following JDKs installed in order to build the project:</para>

      <itemizedlist spacing="compact">
         <listitem>
            <para>Sun JDK 1.5.x</para>
         </listitem>
         <listitem>
            <para>Sun JDK 1.6.x</para>
         </listitem>
         <listitem>
            <para>Sun JDK 1.7.x</para>
         </listitem>
      </itemizedlist>

      <para>Remember to ensure that "javac" and "java" are in your path (or symlinked).</para>

      <programlisting>
JAVA_HOME=/location/to/javahome
export JAVA_HOME

PATH=$JAVA_HOME/bin:$PATH
export PATH
      </programlisting>

    </section>

    <section id="ant">
      <title>Apache Ant</title>
      <para>You must have Apache Ant 1.7.1+ installed on your system.</para>
      <para>Remember to ensure that "ant" are in your path (or symlinked).</para>

      <programlisting>
ANT_HOME=/location/to/anthome
export ANT_HOME

PATH=$ANT_HOME/bin:$PATH
export PATH
      </programlisting>

    </section>

    <section id="ivy">
      <title>Apache Ivy</title>
      <para>You must have Apache Ivy 2.1.0-RC2+ installed in your Apache Ant installation.</para>

      <programlisting>
cp ivy.jar $ANT_HOME/lib
      </programlisting>

      <para>If you have problems in building the JBoss JCA project checkout the Apache Ivy source code 
        from trunk and build it yourself.</para>

      <programlisting>
svn co http://svn.apache.org/repos/asf/ant/ivy/core/trunk ivy
ant jar
      </programlisting>

    </section>

    <section id="subversion">
      <title>Subversion</title>
      <para>You must have Subversion 1.5+ installed on your system.</para>
      <para>Remember to ensure that "svn" are in your path (or symlinked).</para>
    </section>
 
  </section>

  <section id="obtainingthesource">
    <title>Obtaining the source code</title>

    <section id="anonsvn">
      <title>Anonymous SVN access</title>
      <para>The anonymous SVN repository is located under:</para>

      <programlisting>
svn co http://anonsvn.jboss.org/repos/jbossas/projects/jboss-jca/trunk/ jbossjca-trunk
      </programlisting>
      
    </section>

    <section id="developersvn">
      <title>Developer SVN access</title>
      <para>The developer SVN repository is located under:</para>
      
      <programlisting>
svn co https://svn.jboss.org/repos/jbossas/projects/jboss-jca/trunk/ jbossjca-trunk
      </programlisting>
      
    </section>

    <section id="svnmodules">
      <title>SVN modules</title>
      <para>We have the following modules for the project:</para>
      <itemizedlist>
         <listitem>
            <para>trunk</para>
            <para>The head of development targeting the next upcoming release.</para>
         </listitem>
      </itemizedlist>
    </section>

  </section>

  <section id="compiling">
    <title>Compiling the source code</title>
    <para>In order to build the JBoss JCA project you execute:</para>
    <programlisting>
ant &lt;target&gt;
    </programlisting>
    <para>where target is one of</para>
    <itemizedlist>
      <listitem>
        <para>jars</para>
        <para>Builds the JAR archives in the distribution.</para>
      </listitem>
      <listitem>
        <para>test</para>
        <para>Builds the JAR archives in the distribution and runs all the test cases.</para>
      </listitem>
      <listitem>
        <para>docs</para>
        <para>Builds the API documentation for the project.</para>
      </listitem>
      <listitem>
        <para>standalone</para>
        <para>Builds the standalone environment using JBoss Microcontainer.</para>
      </listitem>
      <listitem>
        <para>sjc</para>
        <para>Builds the standalone environment using JBoss JCA/SJC.</para>
      </listitem>
      <listitem>
        <para>release</para>
        <para>Builds a release of the project.</para>
      </listitem>
      <listitem>
        <para>clean</para>
        <para>Cleans the project of temporary files.</para>
      </listitem>
      <listitem>
        <para>clean-cache</para>
        <para>Cleans the Apache Ivy repository.</para>
      </listitem>
    </itemizedlist>
    <para>See the full list of targets in the main build.xml file.</para>

    <para>An example to get the JBoss JCA/SJC built and running:</para>
    <programlisting>
ant clean sjc
cd target/sjc/bin
./run.sh
    </programlisting>

  </section>
</chapter>
{'fraction_non_alphanumeric': 0.12342680503422389, 'fraction_numerical': 0.003753587988518437, 'mean_word_length': 2.6352327447833064, 'pattern_counts': {'":': 0, '<': 313, '<?xml version=': 2, '>': 313, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7475537', 'n_tokens_mistral': 2999, 'n_tokens_neox': 2807, 'n_words': 772}