Skip to content
Snippets Groups Projects
Commit a008109d authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Prevent ANT from recreating the JAR files just because the

errors.properties files were being copied.
parent 385d271b
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
build file to allow ant (http://jakarta.apache.org/ant/) to be used build file to allow ant (http://jakarta.apache.org/ant/) to be used
to build the PostgreSQL JDBC Driver. 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 @@ ...@@ -108,10 +108,11 @@
<exclude name="${package}/PostgresqlDataSource.java" unless="jdk1.2e+" /> <exclude name="${package}/PostgresqlDataSource.java" unless="jdk1.2e+" />
<exclude name="${package}/xa/**" unless="jdk1.2e+" /> <exclude name="${package}/xa/**" unless="jdk1.2e+" />
<exclude name="${package}/test/**" unless="junit" /> <exclude name="${package}/test/**" unless="junit" />
<exclude name="${package}/*.properties" />
</javac> </javac>
<copy todir="${dest}" overwrite="true" filtering="on"> <copy todir="${dest}" overwrite="true" filtering="on">
<fileset dir="${src}"> <fileset dir="${src}">
<include name="**/*.properties" /> <include name="${package}/*.properties" />
<exclude name="${dest}/**" /> <exclude name="${dest}/**" />
</fileset> </fileset>
</copy> </copy>
...@@ -138,7 +139,7 @@ ...@@ -138,7 +139,7 @@
<!-- This builds the jar file containing the driver --> <!-- This builds the jar file containing the driver -->
<target name="jar" depends="compile,examples"> <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/**" /> <jar jarfile="${jars}/postgresql-examples.jar" basedir="${dest}" includes="example/**" />
</target> </target>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment