[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-dev] Revision graph progress and problem with JavaHL

From: Mark Phippard <markphip_at_gmail.com>
Date: Wed, 11 Jun 2008 07:40:43 -0400

Sounds good. General convention is to store stuff like this in:

[WORKSPACE]/.metadata/.plugins/plugin-id

I'd suggest one database per repository, else the cache will not be
very effective. The working copy stores the repository UUID which you
can use as a key to determine which projects belong to the same
repository.

Mark

On Wed, Jun 11, 2008 at 5:09 AM, Alberto Gimeno <gimenete_at_gmail.com> wrote:
> I'm writing to the list just to tell a little about my progress.
>
> I've made a plugin that depends on
> org.tigris.subversion.subclipse.core and
> org.tigris.subversion.subclipse.ui and contributes Eclipse with a
> popup menu option. That Action extends
> org.tigris.subversion.subclipse.ui.actions.SVNAction (I think this is
> Ok). The code connects to the SVN repository and is able to fetch log
> messages. The next step is to make the right queries to the repository
> in order to get the information needed by the cache. I'm going to make
> dbUnit tests with mock-objects implementing ISVNLogMessage and
> ISVNLogMessageChangePath for easier testing and debugging while
> developing the cache.
>
> I'm also thinking about a little problem I may have in a near future.
> I should create an independent database for each project in each
> workspace. I don't know how to tell Apache Derby where to store the
> database files and I don't know where I should store them. Is there
> any special directory in eclipse for storing persistent data related
> to the workspace?. Well I haven't investigated it.
>
>
>
> On Thu, Jun 5, 2008 at 3:56 PM, Alberto Gimeno <gimenete_at_gmail.com> wrote:
>> I just was trying to do some tests without having to configure all the
>> plugin stuff (dependencies, configuration files,...). So I was trying
>> to make a simple class with a main() method and using JavaHL directly.
>> I know the final code must not depend on JavaHL.
>>
>> I'm going to create a simple plugin to be able to connect to SVN using
>> SVNProviderPlugin.
>>
>> Thanks.
>>
>> On Thu, Jun 5, 2008 at 2:46 PM, Mark Phippard <markphip_at_gmail.com> wrote:
>>> On Thu, Jun 5, 2008 at 8:12 AM, Alberto Gimeno <gimenete_at_gmail.com> wrote:
>>>> I have been working on the cache implementation. I have developed the
>>>> queries needed to build the graph. I have made some tests and they
>>>> work by the moment. However I have used a very simple data set.
>>>>
>>>> Now I am trying to query information from a real repository through
>>>> JavaHL. But I have a very simple problem. JavaHL can't load its DLLs.
>>>> I'm trying just to launch a very simple application (a main() method)
>>>> that uses JavaHL. I have defined
>>>> org.tigris.subversion.clientadapter.javahl as a project dependency in
>>>> window -> preferences -> java build path. And I have set
>>>> "-Dsubversion.native.library=/absolute/path/to/libsvnjavahl-1.dll" as
>>>> VM argument in the run dialog. I get the following error:
>>>
>>> You should not have any dependencies on JavaHL, nor should you use it
>>> directly. You must use SVNClientAdapter. And you really should not
>>> even be using that plugin, you should just be dependent on the
>>> Subclipse core plugin. You can then get the ISVNClientAdapter using
>>> the getSVNClient() static method from SVNProviderPlugin.
>>>
>>> --
>>> Thanks
>>>
>>> Mark Phippard
>>> http://markphip.blogspot.com/
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_subclipse.tigris.org
>>> For additional commands, e-mail: dev-help_at_subclipse.tigris.org
>>>
>>>
>>
>>
>>
>> --
>> Alberto Gimeno Brieba
>> Presidente y fundador de
>> Ribe Software S.L.
>> http://www.ribesoftware.com
>> ribe_at_ribesoftware.com
>>
>> Contacto personal
>> eMail: gimenete_at_gmail.com
>> GTalk: gimenete_at_gmail.com
>> msn: gimenete_at_hotmail.com
>> página web: http://gimenete.net
>> teléfono móvil: +34 625 24 64 81
>>
>
>
>
> --
> Alberto Gimeno Brieba
> Presidente y fundador de
> Ribe Software S.L.
> http://www.ribesoftware.com
> ribe_at_ribesoftware.com
>
> Contacto personal
> eMail: gimenete_at_gmail.com
> GTalk: gimenete_at_gmail.com
> msn: gimenete_at_hotmail.com
> página web: http://gimenete.net
> teléfono móvil: +34 625 24 64 81
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_subclipse.tigris.org
> For additional commands, e-mail: dev-help_at_subclipse.tigris.org
>
>

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: dev-help_at_subclipse.tigris.org
Received on 2008-06-11 13:40:56 CEST

This is an archived mail posted to the Subclipse Dev mailing list.