Hi,

Thanks for your reply. I really appreciate the help.

I could find the skeleton files at the location you have
mentioned. Currently we are planning to develop the SDBC driver which will
not be an extension. So, we will have to build the skeleton driver first,
get it in the list of available drivers and then make it work for LDAP.

Could you please elaborate the point where you mentioned to search for macab
key on the website?
How does the open office dmake understand that it has to build this new
driver?

Thanks,
Rohit

On Thu, Mar 10, 2011 at 12:38 PM, Ocke Janssen <ocke.jans...@oracle.com>wrote:

> 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
>
--
-----------------------------------------------------------------
To unsubscribe send email to dev-unsubscr...@dba.openoffice.org
For additional commands send email to sy...@dba.openoffice.org
with Subject: help

Reply via email to