You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Erwan de FERRIERES <er...@nereide.biz> on 2008/11/18 16:52:58 UTC

OFBiz and postgres

Hi all,

why don't we have the postgres JDBC driver directly in the trunk ?
Once again, i forgot to put it in the project...

Do I have to create a JIRA issue to make it become real ? Or is it a 
license problem ?

-- 
- Erwan -

Re: OFBiz and postgres

Posted by Jacques Le Roux <ja...@les7arts.com>.
> Adam Heath wrote:
>> Adrian Crum wrote:
>>> Each installation is responsible for copying the required driver to the
>>> framework/entity/lib/jdbc folder.
>> 
>> Once the debian packaging is completely done, this won't be a problem.
> 
> Wouldn't that require Debian?

Or Ubuntu...

Jacques

Re: OFBiz and postgres

Posted by Adrian Crum <ad...@hlmksw.com>.
Adam Heath wrote:
> Adrian Crum wrote:
>> Each installation is responsible for copying the required driver to the
>> framework/entity/lib/jdbc folder.
> 
> Once the debian packaging is completely done, this won't be a problem.

Wouldn't that require Debian?


Re: OFBiz and postgres

Posted by Adam Heath <do...@brainfood.com>.
Jacques Le Roux wrote:
> As I understand it, it's a package for Debian. As Ubuntu uses Debian
> underneath it will work on Ubuntu too. I'm not a specialist but I saw
> some tools to migrate a package between Linux distribution. Not sure of
> the quality though, this will certainly improve in the future.
> But for Windows I'm sure it's a big no. I may be wrong if Adam has
> something else in head.

Well, as I've been working on the packaging, I've been adding ofbiz
features to make extending it simpler, and to support auto-configuring
of things.

For this particular problem, the depends for the package pull in the
appropriate jars for postgres and mysql.  I could modify the
startofbiz.sh script itself to do something similiar, looking in a few
locations and adding them to the startup classpath.  While making that
work on linux distributions wouldn't be hard, I don't currently have a
windows or macosx install to play with.

ps: I'm working at getting a kvm of windows going, but I hate license
keys :|

Re: OFBiz and postgres

Posted by Jacques Le Roux <ja...@les7arts.com>.
As I understand it, it's a package for Debian. As Ubuntu uses Debian underneath it will work on Ubuntu too. I'm not a specialist but 
I saw some tools to migrate a package between Linux distribution. Not sure of the quality though, this will certainly improve in the 
future.
But for Windows I'm sure it's a big no. I may be wrong if Adam has something else in head.

Jacques

From: "BJ Freeman" <bj...@free-man.net>
> will that work for all installations:
> windows, other flavors or linux?
>
> Adam Heath sent the following on 11/18/2008 8:19 AM:
>> Adrian Crum wrote:
>>> Each installation is responsible for copying the required driver to the
>>> framework/entity/lib/jdbc folder.
>>
>> Once the debian packaging is completely done, this won't be a problem.
>>
>>
> 


Re: OFBiz and postgres

Posted by BJ Freeman <bj...@free-man.net>.
will that work for all installations:
windows, other flavors or linux?

Adam Heath sent the following on 11/18/2008 8:19 AM:
> Adrian Crum wrote:
>> Each installation is responsible for copying the required driver to the
>> framework/entity/lib/jdbc folder.
> 
> Once the debian packaging is completely done, this won't be a problem.
> 
> 

Re: OFBiz and postgres

Posted by Adam Heath <do...@brainfood.com>.
Adrian Crum wrote:
> Each installation is responsible for copying the required driver to the
> framework/entity/lib/jdbc folder.

Once the debian packaging is completely done, this won't be a problem.

Re: OFBiz and postgres

Posted by Adrian Crum <ad...@hlmksw.com>.
Each installation is responsible for copying the required driver to the 
framework/entity/lib/jdbc folder.

-Adrian

Erwan de FERRIERES wrote:
> Hi all,
> 
> why don't we have the postgres JDBC driver directly in the trunk ?
> Once again, i forgot to put it in the project...
> 
> Do I have to create a JIRA issue to make it become real ? Or is it a 
> license problem ?
> 

Re: OFBiz and postgres

Posted by David E Jones <da...@hotwaxmedia.com>.
We used to include the Postgres and certain other JDBC drivers in the  
trunk. There isn't a license issue (there is with MySQL, but not with  
Postgres).

The issue that we ran into is that you have to have the right JDBC  
driver version for the database version you are using, and if they  
don't match you'll run into funny problems. We had enough complaints  
about such problems on the mailing lists that we decided it would be  
better if people downloaded the JDBC driver with their database rather  
than including one.

-David


On Nov 18, 2008, at 10:52 AM, Erwan de FERRIERES wrote:

> Hi all,
>
> why don't we have the postgres JDBC driver directly in the trunk ?
> Once again, i forgot to put it in the project...
>
> Do I have to create a JIRA issue to make it become real ? Or is it a  
> license problem ?
>
> -- 
> - Erwan -