Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

TortoiseSVN plugin

<< < (2/7) > >>

orel:
Hi,

i also modify the sources to adapt to the new cb sdk, but i don't know where to put the dll in order it's loaded into CB when it starts.

Maybe i missed something in CB docs or wiki but i can't figure what to do with the dll ?  i put it in  \share\CodeBlocks\plugins directory but i have no TortoiseSVN plugin in my plugin manager

It is also possible that i didn't modify well the TortoiseSVN plugin sources.

Maybe someone can post the new sources, working with the last nightly build or explain me?

Someone else could either post the dll directly, but i prefer to understand by myself.

Thanx !!!

Pecan:

--- Quote from: orel on October 04, 2006, 10:01:19 pm ---... i put it in  \share\CodeBlocks\plugins directory but i have no TortoiseSVN plugin in my plugin manager


--- End quote ---

Each plugin contains a zip file by the plugin name in .../share/codeblocks. Within the zip file is a manifest.xml file. Look at how the other plugins have done this. For example, look at keybinder.zip

The plugin .dll goes into .../share/codeblocks/plugins


MortenMacFly:

--- Quote from: orel on October 04, 2006, 10:01:19 pm ---Maybe someone can post the new sources, working with the last nightly build or explain me?

--- End quote ---
Here the are - modified and working with SVN trunk.
With regards, Morten.

[attachment deleted by admin]

Pecan:

--- Quote from: MortenMacFly on October 04, 2006, 11:03:33 pm ---
--- Quote from: orel on October 04, 2006, 10:01:19 pm ---Maybe someone can post the new sources, working with the last nightly build or explain me?

--- End quote ---
Here the are - modified and working with SVN trunk.
With regards, Morten.

--- End quote ---

The manifest file is incorrect. It's name is not C::BTortoiseSVN but CBTortoiseSVN.
I believe it should read:

--- Code: ---<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_plugin_manifest_file>
    <SdkVersion major="1" minor="10" release="0" />
    <Plugin name="CBTortoiseSVN">
        <Value title="C::B TortoiseSVN" />
        <Value version="1.0" />
        <Value description="C::B TortoiseSVN" />
        <Value author="Jan van den Borst" />
        <Value authorEmail="" />
        <Value authorWebsite="http://www.codeblocks.org" />
        <Value thanksTo="Code::Blocks Development Team" />
        <Value license="GPL" />
    </Plugin>
</CodeBlocks_plugin_manifest_file>

--- End code ---

Note line 4

MortenMacFly:

--- Quote from: Pecan on October 04, 2006, 11:29:40 pm ---
--- Code: ---    <Plugin name="CBTortoiseSVN">

--- End code ---

--- End quote ---
Ooops - you are right... Darn Copy&Paste... :-( ;-)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version