提交 a008109d 编写于 作者: B Bruce Momjian

Prevent ANT from recreating the JAR files just because the

errors.properties files were being copied.
上级 385d271b
......@@ -3,7 +3,7 @@
build file to allow ant (http://jakarta.apache.org/ant/) to be used
to build the PostgreSQL JDBC Driver.
$Id: build.xml,v 1.11 2001/05/17 03:22:53 momjian Exp $
$Id: build.xml,v 1.12 2001/05/19 02:48:54 momjian Exp $
-->
......@@ -108,10 +108,11 @@
<exclude name="${package}/PostgresqlDataSource.java" unless="jdk1.2e+" />
<exclude name="${package}/xa/**" unless="jdk1.2e+" />
<exclude name="${package}/test/**" unless="junit" />
<exclude name="${package}/*.properties" />
</javac>
<copy todir="${dest}" overwrite="true" filtering="on">
<fileset dir="${src}">
<include name="**/*.properties" />
<include name="${package}/*.properties" />
<exclude name="${dest}/**" />
</fileset>
</copy>
......@@ -138,7 +139,7 @@
<!-- This builds the jar file containing the driver -->
<target name="jar" depends="compile,examples">
<jar jarfile="${jars}/postgresql.jar" basedir="${dest}" includes="${package}/**" excludes="${package}/test/**"/>
<jar jarfile="${jars}/postgresql.jar" basedir="${dest}" includes="${package}/**" excludes="${package}/test/**,${package}/*.properties"/>
<jar jarfile="${jars}/postgresql-examples.jar" basedir="${dest}" includes="example/**" />
</target>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册