blob: 80f40f1cc86df5ba6cfd4972f640d5cc0d667634 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
===================================================================
RCS file: /home/projects/pgsql/cvsroot/pgsql/contrib/retep/build.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- contrib/retep/build.xml 2001/03/11 11:06:59 1.4
+++ contrib/retep/build.xml 2001/05/16 16:20:51 1.5
@@ -2,7 +2,7 @@
build file to build the donated retep tools packages
- $Id: build.xml,v 1.4 2001/03/11 11:06:59 petere Exp $
+ $Id: build.xml,v 1.5 2001/05/16 16:20:51 momjian Exp $
-->
@@ -22,6 +22,11 @@
<available property="xml" classname="org.xml.sax.Parser" />
</target>
+ <target name="warning" depends="checks" unless="jdk1.2+">
+ <echo message="WARNING -- contributed retep tools need jdk1.2 or later -- compilation NOT done." />
+ </target>
+
+
<!-- Prepares the build by creating a directory to place the class files -->
<target name="prepare">
<mkdir dir="${dest}" />
@@ -35,7 +40,7 @@
</target>
<!-- Builds the XML Tools -->
- <target name="compile" depends="checks,prepare">
+ <target name="compile" depends="checks,prepare,warning" if="jdk1.2+">
<javac srcdir="${src}" destdir="${dest}">
<include name="${package}/**" />
</javac>
|