Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit23e5da8

Browse files
author
Barry Lind
committed
fixed build.xml to echo correct jdbc version under ant1.6
1 parentca4ca0b commit23e5da8

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

‎src/interfaces/jdbc/build.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
This file now requires Ant 1.4.1. 2002-04-18
88
9-
$Header: /cvsroot/pgsql/src/interfaces/jdbc/Attic/build.xml,v 1.23 2002/04/18 04:58:13 momjian Exp $
9+
$Header: /cvsroot/pgsql/src/interfaces/jdbc/Attic/build.xml,v 1.24 2002/06/27 04:38:01 barry Exp $
1010
1111
-->
1212

@@ -42,11 +42,15 @@
4242
<equals arg1="${ant.java.version}" arg2="1.4"/>
4343
</or>
4444
</condition>
45+
<conditionproperty="jdbc3">
46+
<equals arg1="${ant.java.version}" arg2="1.4"/>
47+
</condition>
4548
<conditionproperty="datasource">
4649
<and>
4750
<or>
4851
<equals arg1="${ant.java.version}" arg2="1.2"/>
4952
<equals arg1="${ant.java.version}" arg2="1.3"/>
53+
<equals arg1="${ant.java.version}" arg2="1.4"/>
5054
</or>
5155
<availableclassname="javax.sql.DataSource"/>
5256
</and>
@@ -113,15 +117,15 @@
113117
-->
114118
<targetname="driver"depends="prepare,check_versions">
115119
<!-- determine the edition text-->
116-
<propertyname="edition"value="JDBC1" />
120+
<conditionproperty="edition"value="JDBC1">
121+
<equals arg1="${jdbc1}" arg2="true"/>
122+
</condition>
117123
<conditionproperty="edition"value="JDBC2">
118124
<or>
119125
<equals arg1="${jdbc2}" arg2="true"/>
120126
<equals arg1="${jdbc3}" arg2="true"/><!-- fake it for now-->
121-
122127
</or>
123128
</condition>
124-
125129
<conditionproperty="edition"value="JDBC2 Enterprise">
126130
<and>
127131
<availableclassname="javax.sql.DataSource" />

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp