From: | Barry Lind <blind(at)xythos(dot)com> |
---|---|
To: | Oliver Jowett <oliver(at)opencloud(dot)com> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: patch: avoid ant warnings about never-empty jarfiles |
Date: | 2003-08-11 21:28:10 |
Message-ID: | 3F380A6A.7050501@xythos.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Patch applied.
thanks,
--Barry
Oliver Jowett wrote:
> This patch to build.xml avoids these warnings from ant (by dropping the
> 'whenempty' attribute entirely):
>
> jar:
> [jar] JARs are never empty, they contain at least a manifest file
> [jar] Building jar: /usr/src/pgsql/src/interfaces/jdbc/jars/postgresql.jar
> [jar] JARs are never empty, they contain at least a manifest file
> [jar] Building jar: /usr/src/pgsql/src/interfaces/jdbc/jars/postgresql-examples.jar
>
> -O
>
>
> ------------------------------------------------------------------------
>
> Index: src/interfaces/jdbc/build.xml
> ===================================================================
> RCS file: /projects/cvsroot/pgsql-server/src/interfaces/jdbc/build.xml,v
> retrieving revision 1.32
> diff -u -c -r1.32 build.xml
> *** src/interfaces/jdbc/build.xml 27 Feb 2003 05:45:43 -0000 1.32
> --- src/interfaces/jdbc/build.xml 20 Jul 2003 05:47:50 -0000
> ***************
> *** 80,86 ****
>
> <!-- create the jar file -->
> <target name="jar" depends="compile,examples">
> ! <jar jarfile="${jardir}/postgresql.jar" whenempty="fail">
> <fileset dir="${builddir}">
> <include name="${package}/**/*.class" />
> <exclude name="${package}/test/**" />
> --- 80,86 ----
>
> <!-- create the jar file -->
> <target name="jar" depends="compile,examples">
> ! <jar jarfile="${jardir}/postgresql.jar">
> <fileset dir="${builddir}">
> <include name="${package}/**/*.class" />
> <exclude name="${package}/test/**" />
> ***************
> *** 91,97 ****
> </fileset>
> </jar>
>
> ! <jar jarfile="${jardir}/postgresql-examples.jar" whenempty="fail">
> <fileset dir="${builddir}">
> <include name="example/**/*.class" />
> </fileset>
> --- 91,97 ----
> </fileset>
> </jar>
>
> ! <jar jarfile="${jardir}/postgresql-examples.jar">
> <fileset dir="${builddir}">
> <include name="example/**/*.class" />
> </fileset>
>
>
> ------------------------------------------------------------------------
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html
From | Date | Subject | |
---|---|---|---|
Next Message | Barry Lind | 2003-08-11 21:34:09 | Re: patch: fix exceptions from ResultSet.getArray() |
Previous Message | Barry Lind | 2003-08-11 21:25:18 | Re: patch: avoid deprecation warning from recent Ant versions |