Importing release version 322 from old repos
This commit is contained in:
104
ant/check.xml
Normal file
104
ant/check.xml
Normal file
@@ -0,0 +1,104 @@
|
||||
<!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
Filename: $RCSfile$
|
||||
Purpose: Ant build file for JavaEvA.
|
||||
|
||||
Ant-Download: http://jakarta.apache.org/ant
|
||||
Ant-Manual: http://jakarta.apache.org/ant/manual/index.html
|
||||
|
||||
Precondition: 1. Ant should be installed.
|
||||
2. JAVA_HOME environment variable contains the path to JDK1.4 or higher
|
||||
3. ANT_HOME environment variable contains the path to ant's home directory
|
||||
|
||||
Language: XML
|
||||
Compiler: Ant
|
||||
Authors: Holger Ulmer
|
||||
Version: $Revision: 6 $
|
||||
$Date: 2006-01-18 10:53:03 +0100 (Wed, 18 Jan 2006) $
|
||||
$Author: streiche $
|
||||
Copyright (c) Dept. Computer Architecture, University of Tuebingen, Germany
|
||||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
|
||||
|
||||
<project name="JavaEvA" default="check" basedir=".">
|
||||
|
||||
|
||||
<!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
Library check
|
||||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
|
||||
|
||||
<target name="binary.libraries.check" >
|
||||
<condition property="library.available.SNNS.windows">
|
||||
<and>
|
||||
<available file="${windows.libraries}/${library.SNNS}.dll" type="file" />
|
||||
</and>
|
||||
</condition>
|
||||
<condition property="library.available.SNNS.unix">
|
||||
<and>
|
||||
<available file="${unix.libraries}/lib${library.SNNS}.so" type="file" />
|
||||
</and>
|
||||
</condition>
|
||||
<!--
|
||||
<condition property="library.available.WSI">
|
||||
<and>
|
||||
<available file="${library.WSI}" type="file" />
|
||||
</and>
|
||||
</condition>
|
||||
|
||||
<condition property="library.available.JCompChem">
|
||||
<and>
|
||||
<available file="${library.JCompChem}" type="file" />
|
||||
</and>
|
||||
</condition>
|
||||
|
||||
<condition property="library.available.JavaNNS">
|
||||
<and>
|
||||
<available file="${library.JavaNNS}" type="file" />
|
||||
</and>
|
||||
</condition>
|
||||
<condition property="library.available.ECJ">
|
||||
<and>
|
||||
<available file="${library.ECJ}" type="file" />
|
||||
</and>
|
||||
</condition>
|
||||
-->
|
||||
</target>
|
||||
|
||||
<target name="source.libraries.check" >
|
||||
<condition property="library.available.WSI">
|
||||
<and>
|
||||
<available file="${library.WSI.ant}/wsi" type="dir" />
|
||||
</and>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="binary.libraries.test.SNNS.windows" depends="binary.libraries.check" unless="library.available.SNNS.windows">
|
||||
<echo message="WARNING: ${windows.libraries}/${library.SNNS}.dll not available."/>
|
||||
</target>
|
||||
<target name="binary.libraries.test.SNNS.unix" depends="binary.libraries.check" unless="library.available.SNNS.unix">
|
||||
<echo message="WARNING: ${unix.libraries}/lib${library.SNNS}.so not available."/>
|
||||
</target>
|
||||
<!-- <target name="binary.libraries.test.WSI" depends="binary.libraries.check" unless="library.available.WSI">
|
||||
<echo message="WARNING: wsi package not available at ${library.WSI}."/>
|
||||
</target>
|
||||
<target name="binary.libraries.test.JavaNNS" depends="binary.libraries.check" unless="library.available.JavaNNS">
|
||||
<echo message="WARNING: javanns package not available at ${library.JavaNNS}."/>
|
||||
</target>
|
||||
-->
|
||||
<target name="source.libraries.test.WSI" depends="source.libraries.check" unless="library.available.WSI">
|
||||
<warn message="WSI-RA sources are not available at ${library.WSI.ant}. Do not use 'compileAll' target."/>
|
||||
</target>
|
||||
|
||||
|
||||
<target name="binary.libraries.test" depends="binary.libraries.test.SNNS.windows,
|
||||
binary.libraries.test.SNNS.unix
|
||||
">
|
||||
</target>
|
||||
|
||||
<target name="source.libraries.test" depends="source.libraries.test.WSI
|
||||
">
|
||||
</target>
|
||||
|
||||
</project>
|
||||
|
||||
<!--+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
END OF FILE
|
||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
|
Reference in New Issue
Block a user