All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pivotal.gemfirexd.internal.iapi.jdbc.build.xml Maven / Gradle / Ivy

There is a newer version: 1.6.7
Show newest version
<?xml version="1.0"?>
<!--
  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.
-->
<!--
 Changes for GemFireXD distributed data platform (some marked by "GemStone changes")

 Portions Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved.

 Licensed 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. See accompanying
 LICENSE file.
-->

<project default="compile" basedir="../../../../../../..">

<!-- Set Properties -->
  <!-- User settings -->
  <property file="${user.home}/ant.properties"/>
  <!-- Set property lib dir -->
  <property name="properties.dir" value="tools/ant/properties"/>
  <!-- Significant dirs -->
  <property file="${properties.dir}/dirs.properties"/>
  <!-- Compiler settings -->
<property file="${properties.dir}/defaultcompiler.properties"/> 
  <property file="${properties.dir}/${build.compiler}.properties"/>
  <!-- Compile-time classpath properties files -->
  <property file="${properties.dir}/extrapath.properties"/>
  <property file="${properties.dir}/compilepath.properties"/>

  <property name="cur.dir"
   value="iapi/jdbc"/>

<!-- Targets -->

  <target name="compile" depends="compile_iapi_jdbc_jdbc3, compile_jdbc4"/>

<!-- GemStone changes : compile this at level 1.6 -->
  <target name="compile_iapi_jdbc_jsr169">
	    <javac
	      source="1.7"
	      target="1.7"
      bootclasspath="${empty}"
      nowarn="on"
      debug="${debug}"
      depend="${depend}"
      deprecation="${deprecation}"
      optimize="${optimize}"
      proceed="${proceed}"
      verbose="${verbose}"
      srcdir="${derby.engine.src.dir}"
      destdir="${out.dir}">
      <classpath>
        <pathelement path="${java16compile.classpath}"/>
      </classpath>
      <include name="${derby.dir}/${cur.dir}/*.java"/>
	  <exclude name="${derby.dir}/${cur.dir}/BrokeredConnection.java"/>
	  <exclude name="${derby.dir}/${cur.dir}/BrokeredConnection30.java"/>
	  <exclude name="${derby.dir}/${cur.dir}/BrokeredConnection40.java"/>
	  <exclude name="${derby.dir}/${cur.dir}/BrokeredPreparedStatement.java"/>
	  <exclude name="${derby.dir}/${cur.dir}/BrokeredPreparedStatement30.java"/>
	  <exclude name="${derby.dir}/${cur.dir}/BrokeredPreparedStatement40.java"/>
	  <exclude name="${derby.dir}/${cur.dir}/BrokeredCallableStatement.java"/>
	  <exclude name="${derby.dir}/${cur.dir}/BrokeredCallableStatement30.java"/>
	  <exclude name="${derby.dir}/${cur.dir}/BrokeredCallableStatement40.java"/>
	  <exclude name="${derby.dir}/${cur.dir}/BrokeredStatement.java"/>
          <exclude name="${derby.dir}/${cur.dir}/BrokeredStatement40.java"/>
          <exclude name="${derby.dir}/${cur.dir}/FailedProperties40.java"/>
    </javac>
  </target>

  <target name="compile_iapi_jdbc_jdbc2" depends="compile_iapi_jdbc_stmt,compile_iapi_jdbc_jsr169">
    <javac
      source="1.7"
      target="1.7"
      bootclasspath="${empty}"
      nowarn="on"
      debug="${debug}"
      depend="${depend}"
      deprecation="${deprecation}"
      optimize="${optimize}"
      proceed="${proceed}"
      verbose="${verbose}"
      srcdir="${derby.engine.src.dir}"
      destdir="${out.dir}">
      <classpath>
        <pathelement path="${java16compile.classpath}"/>
      </classpath>
	  <include name="${derby.dir}/${cur.dir}/BrokeredConnection.java"/>
	  <include name="${derby.dir}/${cur.dir}/BrokeredPreparedStatement.java"/>
	  <include name="${derby.dir}/${cur.dir}/BrokeredCallableStatement.java"/>
    </javac>
  </target>

  <target name="compile_iapi_jdbc_stmt">
    <javac
      source="1.7"
      target="1.7"
      bootclasspath="${empty}"
      nowarn="on"
      debug="${debug}"
      depend="${depend}"
      deprecation="${deprecation}"
      optimize="${optimize}"
      proceed="${proceed}"
      verbose="${verbose}"
      srcdir="${derby.engine.src.dir}"
      destdir="${out.dir}">
      <classpath>
        <pathelement path="${java16compile.classpath}"/>
      </classpath>
	  <include name="${derby.dir}/${cur.dir}/BrokeredStatement.java"/>
    </javac>
  </target>

  <target name="compile_iapi_jdbc_jdbc3" depends="compile_iapi_jdbc_jdbc2">
    <javac
      source="1.7"
      target="1.7"
      bootclasspath="${empty}"
      nowarn="on"
      debug="${debug}"
      depend="${depend}"
      deprecation="${deprecation}"
      optimize="${optimize}"
      proceed="${proceed}"
      verbose="${verbose}"
      srcdir="${derby.engine.src.dir}"
      destdir="${out.dir}">
      <classpath>
        <pathelement path="${java16compile.classpath}"/>
      </classpath>
	  <include name="${derby.dir}/${cur.dir}/BrokeredConnection30.java"/>
	  <include name="${derby.dir}/${cur.dir}/BrokeredPreparedStatement30.java"/>
	  <include name="${derby.dir}/${cur.dir}/BrokeredCallableStatement30.java"/>
	  <!-- <include name="${derby.dir}/${cur.dir}/ResourceAdapter.java"/> -->
    </javac>
  </target>

  <target name="compile_jdbc4" if="jdk16">
      <javac
          source="1.7"
          target="1.7"
          fork="yes"
          executable="${jdk16}/bin/javac"
          bootclasspath="${empty}"
          nowarn="on"
          debug="${debug}"
          depend="${depend}"
          deprecation="${deprecation}"
          optimize="${optimize}"
          proceed="${proceed}"
          verbose="${verbose}"
          srcdir="${derby.engine.src.dir}"
          destdir="${out.dir}">
          <classpath>
              <pathelement path="${java16compile.classpath}"/>
          </classpath>
          <include name="${derby.dir}/${cur.dir}/BrokeredConnection40.java"/>
          <include name="${derby.dir}/${cur.dir}/BrokeredStatement40.java"/>
          <include name="${derby.dir}/${cur.dir}/BrokeredPreparedStatement40.java"/>
          <include name="${derby.dir}/${cur.dir}/BrokeredCallableStatement40.java"/>
          <include name="${derby.dir}/${cur.dir}/FailedProperties40.java"/>
      </javac>
  </target> 

</project>





© 2015 - 2024 Weber Informatics LLC | Privacy Policy