<commit_before><?xml version="1.0"?>

<!-- ===================================================================

Build script for building bits of OGSA outside of the main tree.

Useful targets are:

  compile - compiles
  jar - makes a jar

Copyright (c) 1999 University of Chicago and The University of 
Southern California. All Rights Reserved.

==================================================================== -->


<project default="all" basedir=".">


<!-- This should be the only place where we reference outside of 
     our own playground/gram directory.
     This means that should be able to move the whole playground/gramskres 
     directory around with only this property needing to be changed.
-->

  <property file="${user.home}/build.properties"/>
  <property file="build.properties"/>
  <property name="ogsa.root" value="../../../ogsa/impl/java" />
  <property file="${ogsa.root}/ogsa.properties"/>
  <property name="ogsa.builddir" value="${ogsa.root}/build" />
  <property name="ogsa.libdir" value="${ogsa.root}/lib" />
  <property name="ogsa.gardir" value="${ogsa.builddir}/gar" />

  <!-- the name of the jarfile to generate -->
  <property name="jarname" value="rft" />
  <property name="build.dir" value="build" />

  <!-- Give user a chance to override without editing this file
       (and without typing -D each time it compiles it) -->
  <property name="Name" value="OGSA"/>
  <property name="src.dir" value="./src"/>
  <property name="build.dest" value="${build.dir}/classes"/>
  <property name="build.lib" value="./lib"/>
  <property name="docs.dir" value="docs"/>
  <property name="build.javadocs" value="${build.dir}/javadocs"/>
  <property name="build.services" value="${ogsa.root}/build-services.xml"/>
  <property name="stubs.dir" value="./src/org/globus/ogsa/base"/>
  <property name="schema.dir" value="schema"/>
  <property name="schema.origin" value="${ogsa.root}/schema"/>
  <property name="package.dir" value="reliabletransfer"/>
  <property name="build.packages" value="${ogsa.root}/build-packages.xml"/>
  <property name="etc.dir" value="./etc"/>
  <property name="rft.nsmap.file" value="./etc"/>

  <!-- properties for testing -->
  <property name="test.report.dir" value="test-report"/>
  <!-- =================================================================== -->
  <!-- Determine what dependencies are present                             -->
  <!-- =================================================================== -->
  <path id="classpath">
    <pathelement location="."/>
    <pathelement location="${java.home}/../lib/tools.jar"/>
    <pathelement location="${build.dest}"/>
    <pathelement location="${ogsa.root}/build/classes"/>
    <fileset dir="lib">
     <include name="*.jar"/>
    </fileset>
    <fileset dir="${ogsa.root}/lib">
     <include name="*.jar"/>
    </fileset>
    <pathelement path="${java.class.path}"/>
  </path>

  <target name="setenv">
    <mkdir dir="${build.dest}"/>
    <mkdir dir="${build.lib}"/>

    <available property="key.present" file="${keystore}" />

    <echo message=" Build environment for ${Name} " />
    <echo message=" Flags (Note: If the {property name} is displayed, "/>
    <echo message="           then the component is not present)" />
    <echo message=""/>
    <echo message=" Property values " />
    <echo message="debug=${debug}" />
    <echo message="deprecation=${deprecation}" />


    <uptodate property="javadoc.notrequired"
              targetfile="${build.javadocs}/index.html">
      <srcfiles dir="${src.dir}" includes="**/*.java" />
    </uptodate>

  </target>

  <!-- =================================================================== -->
  <!-- Generate Service and Binding wsdls from port type wsdls             -->
  <!-- =================================================================== -->

  <!-- =================================================================== -->
  <!-- Generate Stubs from schemas                                         -->
  <!-- =================================================================== -->
  <target name="stubs">
 <copy toDir="${schema.dir}">
    <fileset dir="${schema.origin}" casesensitive="yes"/>
 </copy>
  <copy file="${ogsa.root}/${nsmap.file}" toDir="./"/>
    <echo message=" Generating stubs from ./schema/base/reliable_transfer_service.wsdl" />
    <java classname="org.globus.ogsa.tools.wsdl.GSDL2Java" dir="./schema/base/reliabletransfer" fork="yes"<commit_msg>Changed the place to look for nsmap<commit_after><?xml version="1.0"?>

<!-- ===================================================================

Build script for building bits of OGSA outside of the main tree.

Useful targets are:

  compile - compiles
  jar - makes a jar

Copyright (c) 1999 University of Chicago and The University of 
Southern California. All Rights Reserved.

==================================================================== -->


<project default="all" basedir=".">


<!-- This should be the only place where we reference outside of 
     our own playground/gram directory.
     This means that should be able to move the whole playground/gramskres 
     directory around with only this property needing to be changed.
-->

  <property file="${user.home}/build.properties"/>
  <property file="build.properties"/>
  <property name="ogsa.root" value="../../../ogsa/impl/java" />
  <property file="${ogsa.root}/ogsa.properties"/>
  <property name="ogsa.builddir" value="${ogsa.root}/build" />
  <property name="ogsa.libdir" value="${ogsa.root}/lib" />
  <property name="ogsa.gardir" value="${ogsa.builddir}/gar" />

  <!-- the name of the jarfile to generate -->
  <property name="jarname" value="rft" />
  <property name="build.dir" value="build" />

  <!-- Give user a chance to override without editing this file
       (and without typing -D each time it compiles it) -->
  <property name="Name" value="OGSA"/>
  <property name="src.dir" value="./src"/>
  <property name="build.dest" value="${build.dir}/classes"/>
  <property name="build.lib" value="./lib"/>
  <property name="docs.dir" value="docs"/>
  <property name="build.javadocs" value="${build.dir}/javadocs"/>
  <property name="build.services" value="${ogsa.root}/build-services.xml"/>
  <property name="stubs.dir" value="./src/org/globus/ogsa/base"/>
  <property name="schema.dir" value="schema"/>
  <property name="schema.origin" value="${ogsa.root}/schema"/>
  <property name="package.dir" value="reliabletransfer"/>
  <property name="build.packages" value="${ogsa.root}/build-packages.xml"/>
  <property name="etc.dir" value="./etc"/>
  <property name="rft.nsmap.file" value="./etc"/>

  <!-- properties for testing -->
  <property name="test.report.dir" value="test-report"/>
  <!-- =================================================================== -->
  <!-- Determine what dependencies are present                             -->
  <!-- =================================================================== -->
  <path id="classpath">
    <pathelement location="."/>
    <pathelement location="${java.home}/../lib/tools.jar"/>
    <pathelement location="${build.dest}"/>
    <pathelement location="${ogsa.root}/build/classes"/>
    <fileset dir="lib">
     <include name="*.jar"/>
    </fileset>
    <fileset dir="${ogsa.root}/lib">
     <include name="*.jar"/>
    </fileset>
    <pathelement path="${java.class.path}"/>
  </path>

  <target name="setenv">
    <mkdir dir="${build.dest}"/>
    <mkdir dir="${build.lib}"/>

    <available property="key.present" file="${keystore}" />

    <echo message=" Build environment for ${Name} " />
    <echo message=" Flags (Note: If the {property name} is displayed, "/>
    <echo message="           then the component is not present)" />
    <echo message=""/>
    <echo message=" Property values " />
    <echo message="debug=${debug}" />
    <echo message="deprecation=${deprecation}" />


    <uptodate property="javadoc.notrequired"
              targetfile="${build.javadocs}/index.html">
      <srcfiles dir="${src.dir}" includes="**/*.java" />
    </uptodate>

  </target>

  <!-- =================================================================== -->
  <!-- Generate Service and Binding wsdls from port type wsdls             -->
  <!-- =================================================================== -->

  <!-- =================================================================== -->
  <!-- Generate Stubs from schemas                                         -->
  <!-- =================================================================== -->
  <target name="stubs">
 <copy toDir="${schema.dir}">
    <fileset dir="${schema.origin}" casesensitive="yes"/>
 </copy>
  <copy file="${schema.origin}/${nsmap.file}" toDir="./"/>
    <echo message=" Generating stubs from ./schema/base/reliable_transfer_service.wsdl" />
    <java classname="org.globus.ogsa.tools.wsdl.GSDL2Java" dir="./schema/base/reliabletransfer" fork="yes"
{'fraction_non_alphanumeric': 0.2910966584435972, 'fraction_numerical': 0.0015698587127158557, 'mean_word_length': 3.7416267942583734, 'pattern_counts': {'":': 0, '<': 153, '<?xml version=': 2, '>': 151, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6333613', 'n_tokens_mistral': 2507, 'n_tokens_neox': 2353, 'n_words': 581}