[dba-dev] Help Required In Writing a New SDBC Driver For LDAP
Currently I am writing an SDBC driver for LDAP directories. I am following the guidelines given at http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Database/SDBC_Driver This includes writing Driver, connection, statement and resultset services. I want to compile the skeleton driver code and have an entry in the list of available drivers. This driver will be a pseudo driver and will not have any functionality. This will help in developing the actual driver. I am not able to find skeleton driver related source files. I could locate a folder named skeleton in /OOO320_m19/connectivity/workben/skeleton but could not find actual source files. Could anyone please give me any pointers regarding 1. Where can I find the source files for the skeleton driver? 2. How to build a skeleton driver? 3. How to make an entry in available drivers list? Thanks for your time. I really appreciate the help. Regards, Rohit -- - To unsubscribe send email to dev-unsubscr...@dba.openoffice.org For additional commands send email to sy...@dba.openoffice.org with Subject: help
[dba-dev] Re: Help Required In Writing a New SDBC Driver For LDAP
Hi, The driver can be found here ooo\odk\examples\DevelopersGuide\Database\DriverSkeleton - oj PS: I'll write more tomorrow. ;-) On 09.03.2011 16:37, Rohit Kulkarni wrote: Currently I am writing an SDBC driver for LDAP directories. I am following the guidelines given at http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Database/SDBC_Driver This includes writing Driver, connection, statement and resultset services. I want to compile the skeleton driver code and have an entry in the list of available drivers. This driver will be a pseudo driver and will not have any functionality. This will help in developing the actual driver. I am not able to find skeleton driver related source files. I could locate a folder named skeleton in /OOO320_m19/connectivity/workben/skeleton but could not find actual source files. Could anyone please give me any pointers regarding 1. Where can I find the source files for the skeleton driver? 2. How to build a skeleton driver? 3. How to make an entry in available drivers list? Thanks for your time. I really appreciate the help. Regards, Rohit -- - To unsubscribe send email to dev-unsubscr...@dba.openoffice.org For additional commands send email to sy...@dba.openoffice.org with Subject: help
[dba-dev] Re: Help Required In Writing a New SDBC Driver For LDAP
Hi Rohit, First of all you have to decide if the driver should be an extension or not. I would first try it as extension because you could look at the mysql driver. Not an extension: The best and easiest way to start I guess is to simply copy the skeleton files in a folder beside the other database drivers in connectivity. Further on you should copy e.g. the macab.xml and macab.xcu file and rename it to your driver in the same directory. Search with opengrok http://svn.services.openoffice.org/opengrok/ the macab key inside the other projects e.g. scp2 to include the files into the OOo installation. Build OOo. As extension: Here the best way is to look at the mysqlc/source where the mysql extension is build and copy the files you need to build the oxt. But please be aware to replace all occurrences of mysql with your name ;-) Best regards, Ocke On 09.03.2011 19:21, Ocke Janssen wrote: Hi, The driver can be found here ooo\odk\examples\DevelopersGuide\Database\DriverSkeleton - oj PS: I'll write more tomorrow. ;-) On 09.03.2011 16:37, Rohit Kulkarni wrote: Currently I am writing an SDBC driver for LDAP directories. I am following the guidelines given at http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Database/SDBC_Driver This includes writing Driver, connection, statement and resultset services. I want to compile the skeleton driver code and have an entry in the list of available drivers. This driver will be a pseudo driver and will not have any functionality. This will help in developing the actual driver. I am not able to find skeleton driver related source files. I could locate a folder named skeleton in /OOO320_m19/connectivity/workben/skeleton but could not find actual source files. Could anyone please give me any pointers regarding 1. Where can I find the source files for the skeleton driver? 2. How to build a skeleton driver? 3. How to make an entry in available drivers list? Thanks for your time. I really appreciate the help. Regards, Rohit -- - To unsubscribe send email to dev-unsubscr...@dba.openoffice.org For additional commands send email to sy...@dba.openoffice.org with Subject: help -- - To unsubscribe send email to dev-unsubscr...@dba.openoffice.org For additional commands send email to sy...@dba.openoffice.org with Subject: help