[libpostgresql-jdbc-java] 45/93: Generate a JDBC 4.1 version string for 1.7 and 1.8 build JDKs.

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Jan 9 10:18:50 UTC 2017


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to annotated tag REL9_3_1102
in repository libpostgresql-jdbc-java.

commit 65f6fef29c893fb8baf169d0a667834a8cc0d0c0
Author: Stephen Nelson <stephen at eccostudio.com>
Date:   Wed Oct 30 20:56:42 2013 +0000

    Generate a JDBC 4.1 version string for 1.7 and 1.8 build JDKs.
---
 build.xml | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/build.xml b/build.xml
index e911e81..ffe46e4 100644
--- a/build.xml
+++ b/build.xml
@@ -175,7 +175,11 @@
     </condition>
 
     <condition property="jdbc.version" value="jdbc4">
-      <isset property="jdbc4any" />
+      <isset property="jdbc4" />
+    </condition>
+
+    <condition property="jdbc.version" value="jdbc41">
+      <isset property="jdbc41" />
     </condition>
 
     <condition property="jdbc.version.upper" value="JDBC3">
@@ -183,7 +187,11 @@
     </condition>
 
     <condition property="jdbc.version.upper" value="JDBC4">
-      <isset property="jdbc4any" />
+      <isset property="jdbc4" />
+    </condition>
+
+    <condition property="jdbc.version.upper" value="JDBC41">
+      <isset property="jdbc41" />
     </condition>
   </target>
 
@@ -570,10 +578,12 @@
 
   <target name="snapshot-version" description="Sets the version string to a snapshot version">
     <property name="maven.artifact.version.string" value="${maven.artifact.version}-${jdbc.version}-SNAPSHOT" />
+    <echo message="Maven version string: ${maven.artifact.version.string}" />
   </target>
 
   <target name="release-version" description="Sets the version string to a release version">
     <property name="maven.artifact.version.string" value="${maven.artifact.version}-${jdbc.version}" />
+    <echo message="Maven version string: ${maven.artifact.version.string}" />
   </target>
 
   <target name="prepare-pom" depends="prepare,check_versions" description="Filters the pom depending on the jdbc version being built">

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libpostgresql-jdbc-java.git



More information about the pkg-java-commits mailing list