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

com.pivotal.gemfirexd.internal.drda.build.xml Maven / Gradle / Ivy

There is a newer version: 2.0-BETA
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.
-->

<project default="drda" 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"/>

<!-- Targets -->
  <target name="drda" depends="compile,servlet,copyfiles"/>

  <target name="copyfiles">
    <copy
       todir="${out.dir}/${derby.dir}/drda/"
       file="${derby.drda.dir}/drda/server.policy"
    />
  </target>

  <target name="compile">
    <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.drda.src.dir}"
      destdir="${out.dir}">
      <classpath>
        <pathelement path="${java16compile.classpath}"/>
      </classpath>
      <include name="${derby.dir}/drda/*.java"/>
      <exclude name="${derby.dir}/drda/NetServlet.java"/>
    </javac>
  </target>

  <target name="servlet" depends="checkservletjar" if="servletjar.available">
    <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.drda.src.dir}"
      destdir="${out.dir}">
      <classpath>
	 	<pathelement location="${servlet24}"/>
        <pathelement path="${java16compile.classpath}"/>
      </classpath>
	  <include name="${derby.dir}/drda/NetServlet.java"/>
    </javac>
  </target>

  <target name="checkservletjar">
    <available property="servletjar.available" file="${servlet24}"/>
  </target>

</project>





© 2015 - 2024 Weber Informatics LLC | Privacy Policy