This is very good addition. Thanks Erwan & Jacques! -- Ashish
On Fri, Nov 20, 2009 at 4:36 PM, <[email protected]> wrote: > Author: jleroux > Date: Fri Nov 20 11:06:44 2009 > New Revision: 882502 > > URL: http://svn.apache.org/viewvc?rev=882502&view=rev > Log: > 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 > > Modified: > ofbiz/trunk/build.xml > ofbiz/trunk/framework/entity/build.xml > ofbiz/trunk/framework/entity/lib/jdbc/ (props changed) > > Modified: ofbiz/trunk/build.xml > URL: > http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=882502&r1=882501&r2=882502&view=diff > > ============================================================================== > --- ofbiz/trunk/build.xml (original) > +++ ofbiz/trunk/build.xml Fri Nov 20 11:06:44 2009 > @@ -119,7 +119,14 @@ > <filelist dir="." files="framework/testtools/build.xml"/> > </subant> > </target> > - > + > + <target name="download-PG-JDBC" > + description="Download the PostgreSQL JDBC driver file"> > + <subant target="install-PG-JDBC"> > + <filelist dir="." files="framework/entity/build.xml"/> > + </subant> > + </target> > + > <target name="tests" depends="ofbiz-init"> > <subant target="tests"> > <filelist dir="." files="framework/build.xml"/> > > Modified: ofbiz/trunk/framework/entity/build.xml > URL: > http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/build.xml?rev=882502&r1=882501&r2=882502&view=diff > > ============================================================================== > --- ofbiz/trunk/framework/entity/build.xml (original) > +++ ofbiz/trunk/framework/entity/build.xml Fri Nov 20 11:06:44 2009 > @@ -53,6 +53,11 @@ > <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 > --> > <!-- ================================================================== > --> > > Propchange: ofbiz/trunk/framework/entity/lib/jdbc/ > > ------------------------------------------------------------------------------ > --- svn:ignore (original) > +++ svn:ignore Fri Nov 20 11:06:44 2009 > @@ -1,2 +1,3 @@ > postgresql-8.1-407.jdbc3.jar > postgresql-8.3-603.jdbc3.jar > +postgresql-8.4-701.jdbc4.jar > > >
