<commit_before><?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="test" name="simplestore">

<!--   "cglib"  was   "simplestore" component of the Jakarta Commons Subproject         $Id: build.xml,v 1.13 2002/12/06 19:06:53 herbyderby Exp $ -->

<!-- ========== Executable Targets ======================================== -->

  <target description="Initialize and evaluate conditionals" name="init">

    <!-- read properties from the build.properties, if any -->
    <property name="component-propfile" value="${basedir}/build.properties"/>

    <property name="component.name" value="cglib"/>
    <property name="component.package" value="net.sf.cglib"/>
    <property name="component.title" value="cglib"/>
    <property name="component.version" value="beta3"/>

    <property name="build.home" value="build/proxy"/>
    <property name="samples.build.home" value="build/samples"/>


    <property name="test.build.home" value="build/test"/>

    <property name="dist.home" value="dist"/>
    <property name="source.home" value="src/proxy"/>
    <property name="samples.source.home" value="src/samples"/>
    <property name="source.test" value="src/test"/>
    
  
    <property name="compile.debug" value="true"/>
    <property name="compile.deprecation" value="true"/>
    <property name="compile.optimize" value="true"/>

    <path id="compile.classpath">
      <pathelement location="${build.home}/classes"/>
      <pathelement location="${bcel.jar}"/>
    
      <fileset dir="./lib">
		<include name="*.*"/>
       </fileset>
    </path>
  
  

    <!-- ========== Test Execution Defaults =================================== -->
    <property name="cp" value=""/>
    <property name="classpath" value="${cp}:${junit.jar}:${bcel.jar}" />
    <property name="test.entry" value="net.sf.cglib.TestAll" />
    <property name="test.failonerror" value="true" />
    <property name="test.runner" value="junit.textui.TestRunner" />

    <echo message="-------- ${component.name} ${component.version} --------"/>
  </target>

  <target depends="init" description="Prepare build directory" name="prepare">
    <mkdir dir="${build.home}"/>
    <mkdir dir="${build.home}/classes"/>
    <mkdir dir="${samples.build.home}/classes"/>
    <mkdir dir="${build.home}/conf"/>
    <mkdir dir="${test.build.home}/classes"/>
   
 
  </target>

  <target depends="prepare" description="Compile shareable components" 
          name="compile">
    <javac debug="${compile.debug}" deprecation="${compile.deprecation}" destdir="${build.home}/classes" optimize="${compile.optimize}" srcdir="${source.home}">
      <classpath refid="compile.classpath"/>
    </javac>
  </target>

  <target depends="init" description="Clean build and distribution directories" 
          name="clean">
    <delete dir="${build.home}"/>
    <delete dir="${test.build.home}"/>
    <delete dir="${dist.home}"/>
     
  </target>

  <target depends="clean,compile" 
          description="Clean and compile all components" 
   name="all"/>

  

  <target depends="compile" 
          description="Create component Javadoc documentation" 
          name="javadoc">
    <mkdir dir="docs/api"/>
    <javadoc author="true" 
             bottom="Copyright (c) 2001 - Apache Software Foundation" 
             destdir="docs/api" 
             doctitle="&lt;h1&gt;${component.title}&lt;/h1&gt;" 
             packagenames="net.sf.cglib.*" 
             private="false" 
             sourcepath="${source.home}" version="true" 
             windowtitle="${component.title} (Version ${component.version})"/>
  </target>


  <target depends="jar" name="proxy"/>

  <target depends="compile" description="Create binary distribution" name="jar">
    <mkdir dir="${dist.home}"/>
    <mkdir dir="${build.home}/src"/>
    

    <copy file="LICENSE" todir="${dist.home}"/>

    <jar basedir="${build.home}/classes" jarfile="${dist.home}/${component.name}-${component.version}.jar" >
      <include name="**/*"/>
      <exclude name="**/BeanGenerator*" />
    </jar> 

    <jar basedir="${build.home}/classes" jarfile="${dist.home}/${component.name}-full-${component.version}.jar" >
      <zipfileset src="lib/bcel.jar"/>
      <include name="**/*"/>
      <exclude name="**/BeanGenerator*" />
    </jar> 
  </target>

  <target depends="compile,javadoc" description="Create docs and source distribution" name="srcjar">
    <jar basedir="docs" jarfile="${dist.home}/${component.name}-docs-${component.version}.jar" >
      <include name="**/*.html"/>
      <include name="**/*.css"/> 
      <include name="**/*.php"/>
      <include name="**/*.js"/> 
      <include name="**/*.pdf"/>
      <include name="**/*.gif"/>
    </jar> 
    
    <jar basedir="./" jarfile="${dist.home}/${component.name}-src-${component.version}.jar" >
      <include name="build.xml"/>
      <include name="LICENSE*"/>
      <include name="README*"/>
      <include name="src/**/*.java"/>
      <include name="src/**/*.properties"/>
      <include name="src/**/*.xml"/>  
      <include name="lib/**"/>  
    </jar>   
  </target>

  <target depends="clean,jar,srcjar" description="Create binary, docs and source distributions" name="dist"/>
 
   <target depends="compile" name="compile-samples">
     <javac debug="${compile.debug}" 
            deprecation="${compile.deprecation}" 
            destdir="${samples.build.home}/classes" 
            optimize="${compile.optimize}" 
            srcdir="${samples.source.home}">
       <classpath refid="compile.classpath"/>
     </javac>
   </target>  


   <target depends="compile-samples" 
          description="runs samples" 
          name="samples-beans">
    <java classname="Beans" 
          failonerror="${test.failonerror}"
          fork="yes" 
          >

        <classpath>
          <pathelement path="${samples.build.home}/classes"/>
          <pathelement path="${build.home}/classes"/>
          <fileset dir="./lib">
		<include name="*.*"/>
          </fileset>
        </classpath>
    </java>
  </target>



   <target depends="compile-samples" 
          description="runs samples" 
          name="samples-trace">
    <java classname="Trace" 
          failonerror="${test.failonerror}"
          fork="yes" 
          >

        <classpath>
          <pathelement path="${samples.build.home}/classes"/>
          <pathelement path="${build.home}/classes"/>
          <fileset dir="./lib">
		<include name="*.*"/>
          </fileset>
        </classpath>
    </java>
  </target>




  <target depends="compile,compile-samples"
    name="build-test">
    <javac debug="${compile.debug}" 
           deprecation="${compile.deprecation}" 
           destdir="${test.build.home}/classes" 
           optimize="${compile.optimize}" 
           srcdir="${source.test}"
         >
   
   <classpath refid="compile.classpath"/>
   <classpath>
   <pathelement path="${build.home}/classes"/>
   <pathelement path="${samples.build.home}/classes" />
   </classpath> 
 
   </javac>
  

  </target>


  
  <target depends="init,build-test" 
          description="runs (junit) unit tests" 
          name="test">
    <java classname="${test.runner}" 
          failonerror="${test.failonerror}"
          fork="yes" 
          >

  <!-- jvmarg value="-Xrunhprof:cpu=times,file=debug.txt" / -->
  <!-- jvmarg value="-verbose:gc" / --> 
  <!-- jvmarg value="-verbose:class" / --> 
  <!-- <sysproperty key="cglib.debugLocation" value="/tmp"/> -->
      <arg value="${test.entry}"/>
        <classpath>
          <pathelement path="${build.home}/classes"/>
          <pathelement path="${test.build.home}/classes"/>
          <pathelement path="${classpath}"/>
          <pathelement path="${java.class.path}"/>
          <pathelement path="${source.test}"/>
          <pathelement path="${samples.build.home}/classes" />      
          <fileset dir="./lib">
		<include name="*.*"/>
          </fileset>
        </classpath>
    </java>
  </target>



 
  
</project>
<commit_msg>fix build.xml to account for moved samples directory<commit_after><?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="test" name="simplestore">

<!--   "cglib"  was   "simplestore" component of the Jakarta Commons Subproject         $Id: build.xml,v 1.14 2002/12/29 21:20:33 herbyderby Exp $ -->

<!-- ========== Executable Targets ======================================== -->

  <target description="Initialize and evaluate conditionals" name="init">

    <!-- read properties from the build.properties, if any -->
    <property name="component-propfile" value="${basedir}/build.properties"/>

    <property name="component.name" value="cglib"/>
    <property name="component.package" value="net.sf.cglib"/>
    <property name="component.title" value="cglib"/>
    <property name="component.version" value="beta3"/>

    <property name="build.home" value="build/proxy"/>
    <property name="samples.build.home" value="build/samples"/>


    <property name="test.build.home" value="build/test"/>

    <property name="dist.home" value="dist"/>
    <property name="source.home" value="src/proxy"/>
    <property name="samples.source.home" value="src/proxy/samples"/>
    <property name="source.test" value="src/test"/>
    
  
    <property name="compile.debug" value="true"/>
    <property name="compile.deprecation" value="true"/>
    <property name="compile.optimize" value="true"/>

    <path id="compile.classpath">
      <pathelement location="${build.home}/classes"/>
      <pathelement location="${bcel.jar}"/>
    
      <fileset dir="./lib">
		<include name="*.*"/>
       </fileset>
    </path>
  
  

    <!-- ========== Test Execution Defaults =================================== -->
    <property name="cp" value=""/>
    <property name="classpath" value="${cp}:${junit.jar}:${bcel.jar}" />
    <property name="test.entry" value="net.sf.cglib.TestAll" />
    <property name="test.failonerror" value="true" />
    <property name="test.runner" value="junit.textui.TestRunner" />

    <echo message="-------- ${component.name} ${component.version} --------"/>
  </target>

  <target depends="init" description="Prepare build directory" name="prepare">
    <mkdir dir="${build.home}"/>
    <mkdir dir="${build.home}/classes"/>
    <mkdir dir="${samples.build.home}/classes"/>
    <mkdir dir="${build.home}/conf"/>
    <mkdir dir="${test.build.home}/classes"/>
   
 
  </target>

  <target depends="prepare" description="Compile shareable components" 
          name="compile">
    <javac debug="${compile.debug}" deprecation="${compile.deprecation}" destdir="${build.home}/classes" optimize="${compile.optimize}" srcdir="${source.home}">
      <classpath refid="compile.classpath"/>
    </javac>
  </target>

  <target depends="init" description="Clean build and distribution directories" 
          name="clean">
    <delete dir="${build.home}"/>
    <delete dir="${test.build.home}"/>
    <delete dir="${dist.home}"/>
     
  </target>

  <target depends="clean,compile" 
          description="Clean and compile all components" 
   name="all"/>

  

  <target depends="compile" 
          description="Create component Javadoc documentation" 
          name="javadoc">
    <mkdir dir="docs/api"/>
    <javadoc author="true" 
             bottom="Copyright (c) 2001 - Apache Software Foundation" 
             destdir="docs/api" 
             doctitle="&lt;h1&gt;${component.title}&lt;/h1&gt;" 
             packagenames="net.sf.cglib.*" 
             private="false" 
             sourcepath="${source.home}" version="true" 
             windowtitle="${component.title} (Version ${component.version})"/>
  </target>


  <target depends="jar" name="proxy"/>

  <target depends="compile" description="Create binary distribution" name="jar">
    <mkdir dir="${dist.home}"/>
    <mkdir dir="${build.home}/src"/>
    

    <copy file="LICENSE" todir="${dist.home}"/>

    <jar basedir="${build.home}/classes" jarfile="${dist.home}/${component.name}-${component.version}.jar" >
      <include name="**/*"/>
      <exclude name="**/BeanGenerator*" />
    </jar> 

    <jar basedir="${build.home}/classes" jarfile="${dist.home}/${component.name}-full-${component.version}.jar" >
      <zipfileset src="lib/bcel.jar"/>
      <include name="**/*"/>
      <exclude name="**/BeanGenerator*" />
    </jar> 
  </target>

  <target depends="compile,javadoc" description="Create docs and source distribution" name="srcjar">
    <jar basedir="docs" jarfile="${dist.home}/${component.name}-docs-${component.version}.jar" >
      <include name="**/*.html"/>
      <include name="**/*.css"/> 
      <include name="**/*.php"/>
      <include name="**/*.js"/> 
      <include name="**/*.pdf"/>
      <include name="**/*.gif"/>
    </jar> 
    
    <jar basedir="./" jarfile="${dist.home}/${component.name}-src-${component.version}.jar" >
      <include name="build.xml"/>
      <include name="LICENSE*"/>
      <include name="README*"/>
      <include name="src/**/*.java"/>
      <include name="src/**/*.properties"/>
      <include name="src/**/*.xml"/>  
      <include name="lib/**"/>  
    </jar>   
  </target>

  <target depends="clean,jar,srcjar" description="Create binary, docs and source distributions" name="dist"/>
 
   <target depends="compile" name="compile-samples">
     <javac debug="${compile.debug}" 
            deprecation="${compile.deprecation}" 
            destdir="${samples.build.home}/classes" 
            optimize="${compile.optimize}" 
            srcdir="${samples.source.home}">
       <classpath refid="compile.classpath"/>
     </javac>
   </target>  


   <target depends="compile-samples" 
          description="runs samples" 
          name="samples-beans">
    <java classname="Beans" 
          failonerror="${test.failonerror}"
          fork="yes" 
          >

        <classpath>
          <pathelement path="${samples.build.home}/classes"/>
          <pathelement path="${build.home}/classes"/>
          <fileset dir="./lib">
		<include name="*.*"/>
          </fileset>
        </classpath>
    </java>
  </target>



   <target depends="compile-samples" 
          description="runs samples" 
          name="samples-trace">
    <java classname="Trace" 
          failonerror="${test.failonerror}"
          fork="yes" 
          >

        <classpath>
          <pathelement path="${samples.build.home}/classes"/>
          <pathelement path="${build.home}/classes"/>
          <fileset dir="./lib">
		<include name="*.*"/>
          </fileset>
        </classpath>
    </java>
  </target>




  <target depends="compile,compile-samples"
    name="build-test">
    <javac debug="${compile.debug}" 
           deprecation="${compile.deprecation}" 
           destdir="${test.build.home}/classes" 
           optimize="${compile.optimize}" 
           srcdir="${source.test}"
         >
   
   <classpath refid="compile.classpath"/>
   <classpath>
   <pathelement path="${build.home}/classes"/>
   <pathelement path="${samples.build.home}/classes" />
   </classpath> 
 
   </javac>
  

  </target>


  
  <target depends="init,build-test" 
          description="runs (junit) unit tests" 
          name="test">
    <java classname="${test.runner}" 
          failonerror="${test.failonerror}"
          fork="yes" 
          >

  <!-- jvmarg value="-Xrunhprof:cpu=times,file=debug.txt" / -->
  <!-- jvmarg value="-verbose:gc" / --> 
  <!-- jvmarg value="-verbose:class" / --> 
  <!-- <sysproperty key="cglib.debugLocation" value="/tmp"/> -->
      <arg value="${test.entry}"/>
        <classpath>
          <pathelement path="${build.home}/classes"/>
          <pathelement path="${test.build.home}/classes"/>
          <pathelement path="${classpath}"/>
          <pathelement path="${java.class.path}"/>
          <pathelement path="${source.test}"/>
          <pathelement path="${samples.build.home}/classes" />      
          <fileset dir="./lib">
		<include name="*.*"/>
          </fileset>
        </classpath>
    </java>
  </target>



 
  
</project>

{'fraction_non_alphanumeric': 0.20871631338710686, 'fraction_numerical': 0.0033764772087788407, 'mean_word_length': 2.811725452812202, 'pattern_counts': {'":': 0, '<': 305, '<?xml version=': 2, '>': 305, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 9}, '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': '4057974', 'n_tokens_mistral': 4898, 'n_tokens_neox': 4627, 'n_words': 823}