<commit_before><!--
   Licensed to the Apache Software Foundation (ASF) under one
   or more contributor license agreements.  See the NOTICE file
   distributed with this work for additional information
   regarding copyright ownership.  The ASF licenses this file
   to you under the Apache License, Version 2.0 (the
   "License"); you may not use this file except in compliance
   with the License.  You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing,
   software distributed under the License is distributed on an
   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
   KIND, either express or implied.  See the License for the
   specific language governing permissions and limitations
   under the License.    
-->
<!--
   This build script expects two properties:
- version.qualifier : defines which version append to the version defined in the manifests.
                      It will probably be "alpha1", "beta4", "RC1" or even "patch-4".
- baseLocation      : the full path to the SDK version of Eclipse in order to build the binary jars.

   Properties could be set in the two files :
- build.properties       : properties shared between developers, so under version control.
                           The version.qualifier property should be set there.
- local.build.properties : properties handled by developers, ignored by subversion.
                           The baseLocation property should be set there.
-->
<project name="ivyde" basedir="." default="build" xmlns:xooki="antlib:xooki">

    <property file="local.build.properties" />
    <property file="build.properties" />
    <property environment="env" />

    <property name="work.dir" value="${basedir}/work" />
    <property name="ivy.work.dir" value="${work.dir}/ivy" />
    <property name="doc.work.dir" value="${work.dir}/doc" />
    <property name="eclipse.work.dir" value="${work.dir}/eclipse" />
    <property name="dist.dir" value="${basedir}/dist" />
    <property name="eclipse-doc.dir" value="${basedir}/org.apache.ivyde.eclipse/doc" />
    <property name="src.doc.dir" value="${basedir}/doc" />
    <property name="checkstyle.src.dir" value="${basedir}/org.apache.ivyde.eclipse/src/etc/checkstyle" />
    <property name="checkstyle.report.dir" value="${basedir}/checkstyle/report" />
    <property name="checkstyle.lib" value="${basedir}/checkstyle/lib" />

    <target name="/release" description="Make the build artifacts tagged with the release version">
        <property name="forceContextQualifier" value="${version.qualifier}-${DSTAMP}${TSTAMP}-RELEASE" />
    </target>

    <target name="dist" depends="generate-eclipse-doc,build,sources,checksum" description="Build every artifacts for distribution" />

    <target name="clean" description="Remove every build artifacts">
        <delete dir="${work.dir}" />
        <delete dir="${dist.dir}" />
    </target>

    <target name="check-baseLocation">
        <fail message="An Eclipse install is needed to run the build. Set your Eclipse install dir in the 'baseLocation' property." unless="baseLocation" />
    </target>

    <target name="eclipse-startup-check" depends="check-baseLocation">
        <condition property="eclipse.startup">
            <available file="${baseLocation}/startup.jar" />
        </condition>
    </target>

    <target name="eclipse-startup-classpath" depends="eclipse-startup-check" if="eclipse.startup">
        <property name="eclipse.classpath" value="${baseLocation}/startup.jar" /><commit_msg>Fix the build in the release mode : the version was not computed correctly<commit_after><!--
   Licensed to the Apache Software Foundation (ASF) under one
   or more contributor license agreements.  See the NOTICE file
   distributed with this work for additional information
   regarding copyright ownership.  The ASF licenses this file
   to you under the Apache License, Version 2.0 (the
   "License"); you may not use this file except in compliance
   with the License.  You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing,
   software distributed under the License is distributed on an
   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
   KIND, either express or implied.  See the License for the
   specific language governing permissions and limitations
   under the License.    
-->
<!--
   This build script expects two properties:
- version.qualifier : defines which version append to the version defined in the manifests.
                      It will probably be "alpha1", "beta4", "RC1" or even "patch-4".
- baseLocation      : the full path to the SDK version of Eclipse in order to build the binary jars.

   Properties could be set in the two files :
- build.properties       : properties shared between developers, so under version control.
                           The version.qualifier property should be set there.
- local.build.properties : properties handled by developers, ignored by subversion.
                           The baseLocation property should be set there.
-->
<project name="ivyde" basedir="." default="build" xmlns:xooki="antlib:xooki">

    <property file="local.build.properties" />
    <property file="build.properties" />
    <property environment="env" />

    <property name="work.dir" value="${basedir}/work" />
    <property name="ivy.work.dir" value="${work.dir}/ivy" />
    <property name="doc.work.dir" value="${work.dir}/doc" />
    <property name="eclipse.work.dir" value="${work.dir}/eclipse" />
    <property name="dist.dir" value="${basedir}/dist" />
    <property name="eclipse-doc.dir" value="${basedir}/org.apache.ivyde.eclipse/doc" />
    <property name="src.doc.dir" value="${basedir}/doc" />
    <property name="checkstyle.src.dir" value="${basedir}/org.apache.ivyde.eclipse/src/etc/checkstyle" />
    <property name="checkstyle.report.dir" value="${basedir}/checkstyle/report" />
    <property name="checkstyle.lib" value="${basedir}/checkstyle/lib" />

    <target name="/release" description="Make the build artifacts tagged with the release version">
        <tstamp />
        <property name="forceContextQualifier" value="${version.qualifier}-${DSTAMP}${TSTAMP}-RELEASE" />
    </target>

    <target name="dist" depends="generate-eclipse-doc,build,sources,checksum" description="Build every artifacts for distribution" />

    <target name="clean" description="Remove every build artifacts">
        <delete dir="${work.dir}" />
        <delete dir="${dist.dir}" />
    </target>

    <target name="check-baseLocation">
        <fail message="An Eclipse install is needed to run the build. Set your Eclipse install dir in the 'baseLocation' property." unless="baseLocation" />
    </target>

    <target name="eclipse-startup-check" depends="check-baseLocation">
        <condition property="eclipse.startup">
            <available file="${baseLocation}/startup.jar" />
        </condition>
    </target>

    <target name="eclipse-startup-classpath" depends="eclipse-startup-check" if="eclipse.startup">
        <property name="eclipse.classpath" value="${baseLocation}/startup.jar" />
{'fraction_non_alphanumeric': 0.12420645873585426, 'fraction_numerical': 0.0022081148219707425, 'mean_word_length': 3.4984481688392304, 'pattern_counts': {'":': 0, '<': 72, '<?xml version=': 0, '>': 72, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '3330462', 'n_tokens_mistral': 1925, 'n_tokens_neox': 1879, 'n_words': 635}