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

.snappydata-store-core.1.6.3.source-code.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.
-->

<!-- ==================================================================== -->
<!--                       Apache Derby build file                        -->
<!-- ==================================================================== -->

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

<!-- ==================================================================== -->
<!--                           Set properties                             -->
<!-- ==================================================================== -->

  <property name="properties.dir" value="tools/ant/properties"/>

  <!-- User settings -->
  <property file="${user.home}/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"/>

  <!-- Parser properties -->
  <property file="${properties.dir}/parser.properties"/>

  <!-- Compile-time classpath properties files -->
  <property file="${properties.dir}/extrapath.properties"/>
  <property file="${properties.dir}/compilepath.properties"/>

  <!-- Release and Version info -->
  <property file="${properties.dir}/release.properties"/>

<!--             ============ Begin Targets ==============                -->
 
  <target name="engine" depends="engine_j2se,engine_169,engine_169_opt,jdbc4_modules_edit"
          description="Build Derby engine">
	</target>
    <target name="engine_j2se"
            description="Build Derby engine">
    <ant dir="${derby.engine.dir}/iapi"/>
    <ant dir="${derby.engine.dir}/vti"/>
    <ant dir="${derby.engine.dir}/impl"/>
    <ant dir="${derby.engine.dir}/jdbc"/>
    <ant dir="${derby.engine.dir}/osgi"/>
    <ant dir="${derby.engine.dir}/catalog"/>   
    <ant dir="${derby.engine.dir}/diag"/>
    <ant dir="${derby.engine.dir}/.."/>  <!-- gemfirexd public -->
    <ant dir="${derby.engine.dir}/tools/dataextractor"/>  <!-- gemfire data extractor tool-->
    <ant dir="${derby.engine.dir}/engine"/>
      	<copy todir="${out.dir}/${derby.dir}">
          <fileset dir="${derby.engine.dir}">
            <include name="modules.properties"/>
          </fileset>
        </copy>
  </target>
  
  <target name="engine_169"
          description="Build base JSR169 elements of Derby engine">
    <ant dir="${derby.engine.dir}/iapi/reference"/>
    <ant dir="${derby.engine.dir}/authentication"/>
    <ant dir="${derby.engine.dir}/security"/> 
  	<ant dir="${derby.engine.dir}/mbeans"/>
    <ant dir="${derby.engine.dir}/io"/>
     <ant dir="${derby.engine.dir}/iapi" target="compile_iapi_error_jsr169"/>
     <ant dir="${derby.engine.dir}/database"/>
     <ant dir="${derby.engine.dir}/impl" target="compile_impl_169"/>


  </target>
	
	<!-- optional JSR169 classes - optional because it requires a 
	J2ME/CDC/Foundation/JSR169 build jar files.
	jsr169compile.classpath
	-->
	  <target name="engine_169_opt"  depends="engine_j2se,J2ME_modules_edit"
	          description="Build optional JSR169 elements of Derby engine"
	  	      if="jsr169compile.classpath">
	 <ant dir="${derby.engine.dir}/impl/jdbc" target="compile_jsr169_opt"/>
     <ant dir="${derby.engine.dir}/jdbc" target="compile_jsr169_opt"/>
	 
	 </target>
	
	<target name="J2ME_modules_edit"  depends="checkJ2MEmoduleprops"
		unless="modulesJ2ME.uptodate" if="jsr169compile.classpath">

		<replaceregexp file="${out.dir}/${derby.dir}/modules.properties"
		              match="^#J2ME_optional_(.*)"
		              replace="\1"
		              byline="true" />
	<touch file="${out.dir}/${derby.dir}/modulesJ2ME.done"/>

	</target> 	
	
	<target name="checkJ2MEmoduleprops">
	  <condition property="modulesJ2ME.uptodate">
	    <available file="${out.dir}/${derby.dir}/modulesJ2ME.done"/>
	  </condition>
	</target> 

	<target name="jdbc4_modules_edit" 
                 if="jdk16">
                <replaceregexp file="${out.dir}/${derby.dir}/modules.properties"
                              match="^#jdbc4_optional_(.*)"
                              replace="\1"
                              byline="true" />
        </target>

<!--             ============= End Targets ==============                -->

<!--             ============= End Project ==============                -->

</project>





© 2015 - 2024 Weber Informatics LLC | Privacy Policy