Files
ofbiz-framework/framework/entity/build.xml
T
Jacques Le Roux 1f23dcaae0 A patch from Erwan de FERRIERES "Add an ant task to download the postgreSQL JDBC driver" (https://issues.apache.org/jira/browse/OFBIZ-3232) - OFBIZ-3232
This add a simple ant to download the postgreSQL JDBC driver, to simplify the installation of a database based on this engine
Currently it works only for the last drivers available : postgresql-8.4-701.jdbc4.jar. But this may be easily adapted.

I have also added an svn ignore for postgresql-8.4-701.jdbc4.jar

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882502 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 11:06:44 +00:00

77 lines
3.3 KiB
XML

<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project name="OFBiz - Entity" default="jar" basedir=".">
<import file="../../common.xml"/>
<!-- ================================================================== -->
<!-- Initialization of all property settings -->
<!-- ================================================================== -->
<property name="desc" value="Entity Component"/>
<property name="name" value="ofbiz-entity"/>
<property name="ofbiz.home.dir" value="../.."/>
<path id="local.class.path">
<fileset dir="${lib.dir}" includes="*.jar"/>
<fileset dir="${lib.dir}/jdbc" includes="*.jar"/>
<fileset dir="../base/lib" includes="*.jar"/>
<fileset dir="../base/lib/commons" includes="*.jar"/>
<fileset dir="../base/lib/j2eespecs" includes="*.jar"/>
<fileset dir="../base/lib/scripting" includes="*.jar"/>
<fileset dir="../base/build/lib" includes="*.jar"/>
<fileset dir="../sql/build/lib" includes="*.jar"/>
</path>
<patternset id="src.exc.set">
<exclude name="org/ofbiz/entity/connection/XaPoolConnectionFactory.java"/>
<exclude name="org/ofbiz/entity/connection/TyrexConnectionFactory.java"/>
</patternset>
<!-- ================================================================== -->
<!-- Compilation of the source files -->
<!-- ================================================================== -->
<target name="classes" depends="prepare">
<javac15/>
</target>
<target name="install-PG-JDBC" description="download the JDBC driver for PostgreSQL">
<get src="http://jdbc.postgresql.org/download/postgresql-8.4-701.jdbc4.jar"
dest="lib/jdbc/postgresql-8.4-701.jdbc4.jar" usetimestamp="true" />
</target>
<!-- ================================================================== -->
<!-- Build JavaDoc -->
<!-- ================================================================== -->
<target name="docs" depends="prepare-docs">
<javadoc packagenames="org.ofbiz.entity.*"
classpathref="local.class.path"
destdir="${build.dir}/javadocs"
Windowtitle="Open for Business - ${desc}">
<fileset dir="${src.dir}" defaultexcludes="yes">
<patternset refid="src.inc.set"/>
<patternset refid="src.exc.set"/>
</fileset>
</javadoc>
</target>
</project>