<commit_before><?xml version="1.0"?>
<!--/*******************************************************************************
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
* which accompanies this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
* and the Eclipse Distribution License is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
*   Ant naming conventions:
*   - regardless of the actual OS platform,'/' is the directory separator
*     (Ant will convert as appropriate).
*   - multi-word properties use periods '.'
*   - multi-word targets use hyphens '-'
*   - multi-word macros use underscores '_'
*   - multi-word macro attributes are concatinated
*     e.g. 'runpathref'
*   - multi-word tasks (taskdef) names are concatinated
*     e.g. 'validateconnection'
*   - OS environment variables are in ALLCAPS and have 'env' as a prefix
*     e.g. ${env.XXX}.
*   - Ant properties are lower case.
*
* Contributors:
*     egwin - initial API and implementation
#******************************************************************************/-->
<project
  name="eclipselink.utils.dbws"
  default="all"
  basedir="."
  >
  <condition property="is.java.version.16">
      <equals arg1="${ant.java.version}" arg2="1.6"/>
  </condition>
  <fail
    message="eclipselink.utils.dbws requires Java version 1.6 or higher. You are currently using Java version ${ant.java.version}."
    unless="is.java.version.16"
  />
  <!-- OS environment variables have 'env' as a prefix -->
  <property
    environment="env"
  />
  <!-- local property overrides -->
  <property
    file="${user.home}/build.properties"
  />
  <!-- properties checked into SVN -->
  <property
    file="${basedir}/build.properties"
  />

  <presetdef name="javac">
    <javac
      debug="${javac.debug}"
      debuglevel="${javac.debuglevel}"
      optimize="${javac.optimize}"
      source="1.6"
      deprecation="${javac.deprecation}"
      failonerror="true"
      includes="**/*.java"
      memoryMaximumSize="512m"
    />
  </presetdef>

    <target name="all" depends="clean, create-jar" description="build eclipselink-dbwsutils.jar"/>

    <target name="init">
        <path id="compile.path">
            <pathelement path="${eclipselink.plugins}/${asm}"/>
            <pathelement path="${eclipselink.core}/${classes.dir}"/>
            <pathelement path="${eclipselink.dbws}/${classes.dir}"/>
            <pathelement path="${wsdl.lib}"/>
        </path>
    </target>

    <target name="clean" depends="init" description="clean the build">
        <delete dir="${eclipselink.util.dbws}/${classes.dir}" includeEmptyDirs="true" failonerror="false"/>
    </target>

    <target name="verify-dependencies" depends="init" description="verify core classes were compiled">
        <available file="${eclipselink.core}/${classes.dir}/org/eclipse/persistence/Version.class"        property="core.classes.exist"/>
        <available file="${eclipselink.dbws}/${classes.dir}/org/eclipse/persistence/dbws/DBWSModel.class" property="dbws.classes.exist"/>
        <available file="${eclipselink.plugins}/${asm}"                                    type="dir"     property="asm.exist"/>
        <available file="${wsdl.lib}"                                                                     property="wsdl.exist"/>
        <fail unless="core.classes.exist" message="Core Classes cannot be found (check they compiled). Exiting..."/>
        <fail unless="dbws.classes.exist" message="DBWS Classes cannot be found (check they compiled). Exiting..."/>
        <fail unless="asm.exist"          message="ASM Bundle cannot be found. Exiting..."/>
        <fail unless="wsdl.exist"         message="WSDL Library cannot be found. Exiting..."/>
    </target>

    <!-- target name="compile" description="build dbws-util classes" -->
    <target name="compile" depends="verify-dependencies" description="build dbws util classes">
        <mkdir dir="${eclipselink.util.dbws}/${classes.dir}"/>
        <javac srcdir="${eclipselink.util.dbws}/${src.dir}"
               destdir="${eclipselink.util.dbws}/${classes.dir}"
               fork="true">
            <classpath>
                <path refid="compile.path"/>
            </classpath>
        </javac>
    </target>

    <!-- Packages util-dbws jar. -->
    <target name="create-jar" depends="compile" description="build DBWS util jar">
        <delete file="${eclipselink.util.dbws}/${dbws-util.jar.name}"/>
        <jar jarfile="${eclipselink.util.dbws}/${dbws-util.jar.name}">
            <fileset dir="${eclipselink.util.dbws}/${classes.dir}">
                <include name="**/*.class"/>
            </fileset>
            <zipfileset
              dir="${src.dir}/META-INF/services"
              prefix="META-INF/services"
            />
        </jar>
    </target>

</project><commit_msg>https://bugs.eclipse.org/bugs/show_bug.cgi?id=251107  - part of work to package DBWSBuilder as part of EclipseLink installer.zip    - add DBWSBuilder builder XML file schema<commit_after><?xml version="1.0"?>
<!--/*******************************************************************************
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
* which accompanies this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
* and the Eclipse Distribution License is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
*   Ant naming conventions:
*   - regardless of the actual OS platform,'/' is the directory separator
*     (Ant will convert as appropriate).
*   - multi-word properties use periods '.'
*   - multi-word targets use hyphens '-'
*   - multi-word macros use underscores '_'
*   - multi-word macro attributes are concatinated
*     e.g. 'runpathref'
*   - multi-word tasks (taskdef) names are concatinated
*     e.g. 'validateconnection'
*   - OS environment variables are in ALLCAPS and have 'env' as a prefix
*     e.g. ${env.XXX}.
*   - Ant properties are lower case.
*
* Contributors:
*     egwin - initial API and implementation
#******************************************************************************/-->
<project
  name="eclipselink.utils.dbws"
  default="all"
  basedir="."
  >
  <condition property="is.java.version.16">
      <equals arg1="${ant.java.version}" arg2="1.6"/>
  </condition>
  <fail
    message="eclipselink.utils.dbws requires Java version 1.6 or higher. You are currently using Java version ${ant.java.version}."
    unless="is.java.version.16"
  />
  <!-- OS environment variables have 'env' as a prefix -->
  <property
    environment="env"
  />
  <!-- local property overrides -->
  <property
    file="${user.home}/build.properties"
  />
  <!-- properties checked into SVN -->
  <property
    file="${basedir}/build.properties"
  />

  <presetdef name="javac">
    <javac
      debug="${javac.debug}"
      debuglevel="${javac.debuglevel}"
      optimize="${javac.optimize}"
      source="1.6"
      deprecation="${javac.deprecation}"
      failonerror="true"
      includes="**/*.java"
      memoryMaximumSize="512m"
    />
  </presetdef>

    <target name="all" depends="clean, create-jar" description="build eclipselink-dbwsutils.jar"/>

    <target name="init">
        <path id="compile.path">
            <pathelement path="${eclipselink.plugins}/${asm}"/>
            <pathelement path="${eclipselink.core}/${classes.dir}"/>
            <pathelement path="${eclipselink.dbws}/${classes.dir}"/>
            <pathelement path="${wsdl.lib}"/>
        </path>
    </target>

    <target name="clean" depends="init" description="clean the build">
        <delete dir="${eclipselink.util.dbws}/${classes.dir}" includeEmptyDirs="true" failonerror="false"/>
    </target>

    <target name="verify-dependencies" depends="init" description="verify core classes were compiled">
        <available file="${eclipselink.core}/${classes.dir}/org/eclipse/persistence/Version.class"        property="core.classes.exist"/>
        <available file="${eclipselink.dbws}/${classes.dir}/org/eclipse/persistence/dbws/DBWSModel.class" property="dbws.classes.exist"/>
        <available file="${eclipselink.plugins}/${asm}"                                    type="dir"     property="asm.exist"/>
        <available file="${wsdl.lib}"                                                                     property="wsdl.exist"/>
        <fail unless="core.classes.exist" message="Core Classes cannot be found (check they compiled). Exiting..."/>
        <fail unless="dbws.classes.exist" message="DBWS Classes cannot be found (check they compiled). Exiting..."/>
        <fail unless="asm.exist"          message="ASM Bundle cannot be found. Exiting..."/>
        <fail unless="wsdl.exist"         message="WSDL Library cannot be found. Exiting..."/>
    </target>

    <!-- target name="compile" description="build dbws-util classes" -->
    <target name="compile" depends="verify-dependencies" description="build dbws util classes">
        <mkdir dir="${eclipselink.util.dbws}/${classes.dir}"/>
        <javac srcdir="${eclipselink.util.dbws}/${src.dir}"
               destdir="${eclipselink.util.dbws}/${classes.dir}"
               fork="true">
            <classpath>
                <path refid="compile.path"/>
            </classpath>
        </javac>
    </target>

    <!-- Packages util-dbws jar. -->
    <target name="create-jar" depends="compile" description="build DBWS util jar">
        <delete file="${eclipselink.util.dbws}/${dbws-util.jar.name}"/>
        <jar jarfile="${eclipselink.util.dbws}/${dbws-util.jar.name}">
            <fileset dir="${eclipselink.util.dbws}/${classes.dir}">
                <include name="**/*.class"/>
            </fileset>
            <zipfileset
              dir="${resource.dir}/xsd"
              prefix="xsd"
            />
            <zipfileset
              dir="${src.dir}/META-INF/services"
              prefix="META-INF/services"
            />
        </jar>
    </target>

</project>
{'fraction_non_alphanumeric': 0.18544921875, 'fraction_numerical': 0.00546875, 'mean_word_length': 2.7554088742207554, 'pattern_counts': {'":': 0, '<': 120, '<?xml version=': 2, '>': 120, 'https://': 1, 'lorem ipsum': 0, 'www.': 4, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3854900', 'n_tokens_mistral': 2981, 'n_tokens_neox': 2872, 'n_words': 659}