<commit_before><project name="WebGenomeIntegration" default="buildAll" basedir=".">
    <property file="buildIntegModule.properties"/>

    <!-- compile webGenome service source -->
    <target name="compileWebGenomeSrv" depends="build-rbt">
        <delete dir="${webGenome.build.classes.dir}"/>
        <mkdir dir="${webGenome.build.classes.dir}"/>
        <javac srcdir="${webGenome.source.dir}" destdir="${webGenome.build.classes.dir}" source="1.5" debug="true">
            <classpath>
                <fileset dir="${rbt.build.dir}">
                    <include name="${rbt.app.jar.name}.jar"/>
                </fileset>
                 <fileset dir="${spec.build.dir}">
                    <include name="${spec.app.jar.name}.jar"/>
                </fileset>
                <fileset dir="${webGenome.source.lib.dir}">
                    <include name="jboss-j2ee.jar"/>
                    <include name="log4j.jar"/>
                </fileset>
            </classpath>
        </javac>
    </target>

    <!-- jar webGenome service -->
    <target name="build-webGenomeData-service" depends="compileWebGenomeSrv">
        <delete file="${webGenome.build.dir}\${service.rbt.name}.jar"/>
        <antcall target="config-jndi"/>
        <jar destfile="${webGenome.build.dir}\${service.rbt.name}.jar" duplicate="preserve">
              <manifest>
                <attribute name="Created-By" value="Ant"/>
                <attribute name="Manifest-Version" value="1.0"/>
              </manifest>
              <zipfileset dir="${webGenome.build.classes.dir}" prefix="">
              </zipfileset>
              <zipfileset file="${webGenome.root}/META-INF/ejb-jar.xml" prefix="META-INF"/>
              <zipfileset file="${webGenome.root}/META-INF/jboss.xml" prefix="META-INF"/>
              <zipfileset file="${webGenome.root}/META-INF/jbosscmp-jdbc.xml" prefix="META-INF"/>
        </jar>
    </target>

    <!-- compile Rembrandt (caIntegrator) code -->
    <target name="compile-rbt" depends="build-spec">
        <delete dir="${rbt.build.classes.dir}"/>
        <mkdir dir="${rbt.build.classes.dir}" />
        <javac srcdir="${rbt.source.dir}" destdir="${rbt.build.classes.dir}" source="1.5" excludes="**/test/**" debug="true" debuglevel="lines,vars,source">
             <classpath>
                    <!-- 1. include dependencies (analysis-commons.jar and caintegrator-spec.jar) -->
                    <fileset dir="${analysis-commons.build.dir}">
                        <include name="${analysis-commons.app.jar.name}.jar"/>
                    </fileset>
                    <fileset dir="${spec.build.dir}">
                        <include name="${spec.app.jar.name}.jar"/>
                    </fileset>

                    <!-- 2. include rembrandt classes and deployable jars themseleves -->
                    <fileset dir="${rbt.source.lib.dir}">
                        <include name="*.jar"/>
                    </fileset>
                    <fileset dir="${rbt.source.nondeploy.lib.dir}">
                        <include name="*.jar"/>
                    </fileset>
                    <fileset dir="${webGenome.source.lib.dir}">
                        <include name="jboss-j2ee.jar"/>
                    </fileset>
            </classpath>
        </javac>
    </target>

    <target name="build-rbt" depends="config-database, compile-rbt">
        <delete file="${rbt.build.dir}\${rbt.app.jar.name}.jar"/>
        <jar jarfile="${rbt.build.dir}\${rbt.app.jar.name}.jar">
              <fileset dir="${rbt.build.classes.dir}">
                  <exclude name="**/web/**"/>
              </fileset>
              <fileset dir="${rbt.source.dir}">
                       <include name="repository*"/>
                       <include name="deToBeanAttrMappings.xml"/>
                       <exclude name="*template*"/>
              </fileset>
         </jar>
    </target><commit_msg>Removed jboss server dependencies<commit_after><project name="WebGenomeIntegration" default="buildAll" basedir=".">
    <property file="buildIntegModule.properties"/>

    <!-- compile webGenome service source -->
    <target name="compileWebGenomeSrv" depends="build-rbt">
        <delete dir="${webGenome.build.classes.dir}"/>
        <mkdir dir="${webGenome.build.classes.dir}"/>
        <javac srcdir="${webGenome.source.dir}" destdir="${webGenome.build.classes.dir}" source="1.5" debug="true">
            <classpath>
                <fileset dir="${rbt.build.dir}">
                    <include name="${rbt.app.jar.name}.jar"/>
                </fileset>
                 <fileset dir="${spec.build.dir}">
                    <include name="${spec.app.jar.name}.jar"/>
                </fileset>
                <fileset dir="${webGenome.source.lib.dir}">
                    <include name="jboss-j2ee.jar"/>
                    <include name="log4j.jar"/>
                </fileset>
            </classpath>
        </javac>
    </target>

    <!-- jar webGenome service -->
    <target name="build-webGenomeData-service" depends="compileWebGenomeSrv">
        <delete file="${webGenome.build.dir}\${service.rbt.name}.jar"/>
        <antcall target="config-jndi"/>
        <jar destfile="${webGenome.build.dir}\${service.rbt.name}.jar" duplicate="preserve">
              <manifest>
                <attribute name="Created-By" value="Ant"/>
                <attribute name="Manifest-Version" value="1.0"/>
              </manifest>
              <zipfileset dir="${webGenome.build.classes.dir}" prefix="">
              </zipfileset>
              <zipfileset file="${webGenome.root}/META-INF/ejb-jar.xml" prefix="META-INF"/>
              <zipfileset file="${webGenome.root}/META-INF/jboss.xml" prefix="META-INF"/>
              <zipfileset file="${webGenome.root}/META-INF/jbosscmp-jdbc.xml" prefix="META-INF"/>
        </jar>
    </target>

    <!-- compile Rembrandt (caIntegrator) code -->
    <target name="compile-rbt" depends="build-spec">
        <delete dir="${rbt.build.classes.dir}"/>
        <mkdir dir="${rbt.build.classes.dir}" />
        <javac srcdir="${rbt.source.dir}" destdir="${rbt.build.classes.dir}" source="1.5" excludes="**/test/**" debug="true" debuglevel="lines,vars,source">
             <classpath>
                    <!-- 1. include dependencies (analysis-commons.jar and caintegrator-spec.jar) -->
                    <fileset dir="${analysis-commons.build.dir}">
                        <include name="${analysis-commons.app.jar.name}.jar"/>
                    </fileset>
                    <fileset dir="${spec.build.dir}">
                        <include name="${spec.app.jar.name}.jar"/>
                    </fileset>

                    <!-- 2. include rembrandt classes and deployable jars themseleves -->
                    <fileset dir="${rbt.source.lib.dir}">
                        <include name="*.jar"/>
                    </fileset>
                    <fileset dir="${rbt.source.nondeploy.lib.dir}">
                        <include name="*.jar"/>
                    </fileset>
                    <fileset dir="${webGenome.source.lib.dir}">
                        <include name="jboss-j2ee.jar"/>
                    </fileset>
            </classpath>
        </javac>
    </target>

    <target name="build-rbt" depends="config-database, compile-rbt, config-OJB-logging">
        <delete file="${rbt.build.dir}\${rbt.app.jar.name}.jar"/>
        <jar jarfile="${rbt.build.dir}\${rbt.app.jar.name}.jar">
              <fileset dir="${rbt.build.classes.dir}">
                  <exclude name="**/web/**"/>
              </fileset>
              <fileset dir="${rbt.source.dir}">
                       <include name="repository*"/>
                       <include name="deToBeanAttrMappings.xml"/>
                       <exclude name="*template*"/>
              </fileset>
         </jar>
    </target>
{'fraction_non_alphanumeric': 0.17763990883768044, 'fraction_numerical': 0.002785515320334262, 'mean_word_length': 1.7667250437828372, 'pattern_counts': {'":': 0, '<': 155, '<?xml version=': 0, '>': 155, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1000448', 'n_tokens_mistral': 2338, 'n_tokens_neox': 2224, 'n_words': 331}