<commit_before><?xml version="1.0" encoding="UTF-8"?>
<project default="susi" basedir="${rootDir}" name="luceeCore" ><!-- TODO maybe there is a better way for this -->
  <description>
    Build Lucee Core
  </description>

  <property name="build.compiler" value="extJavac"/>
  <property name="agent" value="lucee.runtime.instrumentation.ExternalAgent"/>
  <property name="bundleName" value="Lucee Core"/>
  <property name="bundleSymbolicName" value="lucee.core"/>
  
  <property name="testboxVersion" value="2.2.0"/>
  <property name="testboxURL" 
    value="https://downloads.ortussolutions.com/ortussolutions/testbox/${testboxVersion}/testbox-${testboxVersion}.zip"/>
  <property name="extURL" value="https://extension.lucee.org/rest/extension/provider/full/"/>
  
  <property name="extMongo"       value="E6634E1A-4CC5-4839-A83C67549ECA8D5B"/>
  <property name="extH2"          value="465E1E35-2425-4F4E-8B3FAB638BD7280A"/>
  <property name="extOracle"          value="D4EDFDBD-A9A3-E9AF-597322D767E0C949"/>
  <property name="extJson"          value="A03F4335-BDEF-44DE-946FB16C47802F96"/>

  <property name="stableLoader" value="lucee-5.3.7.48"/>
  <property name="cdnUrl" value="https://cdn.lucee.org/"/>
  
  <import file="../ant/build-utils.xml"/>
  <import file="../ant/build-extensions.xml"/>
  <import file="../ant/build-bundles.xml"/>

<!-- TODO get the version number from manifest.mf -->
  
  <!-- https://www.coldbox.org/download/testbox -->
  <tstamp>
      <format property="NOW" pattern="yyyy/MM/dd HH:mm:ss z" locale="en,GB"/>
  </tstamp>

  <macrodef name="echots">
    <attribute name="message"/>
    <sequential>
      <local name="timestamp" />
      <tstamp>
        <format property="timestamp" pattern="yyyy-MM-dd HH:mm:ss" />
      </tstamp>
      <echo message="---------- ${timestamp} - @{message} ----------" />
    </sequential>
  </macrodef>

<!-- TODO make extension handling more dynamic
<target name="setVar">
    <splitIdVersion prefix="ext." value="${var}"/>
    
    <available file="${cache}/${ext.id}-${ext.version}.lex" property="ext.available"/>
    <echo>available: ${ext.id}:${ext.available}</echo>

</target>
-->
  <target name="init">

    <property name="srcLoader" location="${rootDir}/loader/src/main/java"/>
    <property name="srcCore" location="${rootDir}/core/src/main/java"/>
    <property name="coreManifest" location="${srcCore}/META-INF/MANIFEST.MF"/>
    <property name="cache" location="${rootDir}/cache"/>
    <property name="trgLoader" location="${rootDir}/loader/target"/>
    <property name="trgCore" location="${rootDir}/core/target"/>
    <property name="srcCFML" location="${rootDir}/core/src/main/cfml"/>
    <property name="srcAll" location="${rootDir}/core/src/main"/>
    <property name="srcInst" location="${rootDir}/instrumentation/src/main/java"/> 
    <property name="ant" location="${rootDir}/ant"/>
    <property name="test" location="${rootDir}/test"/>
    <!-- free text filter, comma delimitered to filter tests based on path -->
    <property name="testFilter" value=""/>
    <!-- list of labels to filter tests by, comma delimitered -->
    <property name="testLabels" value=""/>
    <!-- a local directory to install additional extensions -->
    <property name="testExtensions" value=""/>
    <!-- a local directory to run additional tests  -->
    <property name="testAdditional" value=""/>
    <!-- enable running disabled tests (either via _ prefix or skip=true)  -->
    <property name="testSkip" value=""/>
    <!-- enable debug output from tests (i.e tests which crash are normally silently skipped)  -->
    <property name="testDebug" value=""/>
    <!-- allow running tests with a different java version  -->
    <property name="testJavaVersionHome" value=""/>
    <commit_msg>Update build-core.xml<commit_after><?xml version="1.0" encoding="UTF-8"?>
<project default="susi" basedir="${rootDir}" name="luceeCore" ><!-- TODO maybe there is a better way for this -->
  <description>
    Build Lucee Core
  </description>

  <property name="build.compiler" value="extJavac"/>
  <property name="agent" value="lucee.runtime.instrumentation.ExternalAgent"/>
  <property name="bundleName" value="Lucee Core"/>
  <property name="bundleSymbolicName" value="lucee.core"/>
  
  <property name="testboxVersion" value="2.2.0"/>
  <property name="testboxURL" 
    value="https://downloads.ortussolutions.com/ortussolutions/testbox/${testboxVersion}/testbox-${testboxVersion}.zip"/>
  <property name="extURL" value="https://extension.lucee.org/rest/extension/provider/full/"/>
  
  <property name="extMongo"       value="E6634E1A-4CC5-4839-A83C67549ECA8D5B"/>
  <property name="extH2"          value="465E1E35-2425-4F4E-8B3FAB638BD7280A"/>
  <property name="extOracle"          value="D4EDFDBD-A9A3-E9AF-597322D767E0C949"/>
  <property name="extJson"          value="A03F4335-BDEF-44DE-946FB16C47802F96"/>

  <property name="stableLoader" value="lucee-5.3.7.48"/>
  <property name="cdnUrl" value="https://cdn.lucee.org/"/>
  
  <import file="../ant/build-utils.xml"/>
  <import file="../ant/build-extensions.xml"/>
  <import file="../ant/build-bundles.xml"/>

<!-- TODO get the version number from manifest.mf -->
  
  <!-- https://www.coldbox.org/download/testbox -->
  <tstamp>
      <format property="NOW" pattern="yyyy/MM/dd HH:mm:ss z" locale="en,GB"/>
  </tstamp>

  <macrodef name="echots">
    <attribute name="message"/>
    <sequential>
      <local name="timestamp" />
      <tstamp>
        <format property="timestamp" pattern="yyyy-MM-dd HH:mm:ss" />
      </tstamp>
      <echo message="---------- ${timestamp} - @{message} ----------" />
    </sequential>
  </macrodef>

<!-- TODO make extension handling more dynamic
<target name="setVar">
    <splitIdVersion prefix="ext." value="${var}"/>
    
    <available file="${cache}/${ext.id}-${ext.version}.lex" property="ext.available"/>
    <echo>available: ${ext.id}:${ext.available}</echo>

</target>
-->
  <target name="init">

    <property name="srcLoader" location="${rootDir}/loader/src/main/java"/>
    <property name="srcCore" location="${rootDir}/core/src/main/java"/>
    <property name="coreManifest" location="${srcCore}/META-INF/MANIFEST.MF"/>
    <property name="cache" location="${rootDir}/cache"/>
    <property name="trgLoader" location="${rootDir}/loader/target"/>
    <property name="trgCore" location="${rootDir}/core/target"/>
    <property name="srcCFML" location="${rootDir}/core/src/main/cfml"/>
    <property name="srcAll" location="${rootDir}/core/src/main"/>
    <property name="srcInst" location="${rootDir}/instrumentation/src/main/java"/> 
    <property name="ant" location="${rootDir}/ant"/>
    <property name="test" location="${rootDir}/test"/>
    <!-- free text filter, comma delimitered to filter tests based on path -->
    <property name="testFilter" value=""/>
    <!-- list of labels to filter tests by, comma delimitered -->
    <property name="testLabels" value=""/>
    <!-- a local directory to install additional extensions -->
    <property name="testExtensions" value=""/>
    <!-- a local directory to run additional tests  -->
    <property name="testAdditional" value=""/>
    <!-- enable running disabled tests (either via _ prefix or skip=true)  -->
    <property name="testSkip" value=""/>
    <!-- enable debug output from tests (i.e tests which crash are normally silently skipped)  -->
    <property name="testDebug" value=""/>
    <!-- allow running tests with a different java version  -->
    <property name="testJavaVersionHome" value="${env.testJavaVersionHome}"/>
    
{'fraction_non_alphanumeric': 0.19207397622192868, 'fraction_numerical': 0.023778071334214, 'mean_word_length': 3.819223424570337, 'pattern_counts': {'":': 0, '<': 141, '<?xml version=': 2, '>': 141, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 9}, 'pii_count': 2, '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': '2802435', 'n_tokens_mistral': 2469, 'n_tokens_neox': 2356, 'n_words': 479}