Svncpp calls into RapidSVN, so that needs to be installed for it to work. Just as the Tortoise plugin uses the commandline tool to call into Tortoise. I had to get the whole RapidSVN svn repository, because you are missing almost all the header files of you just get the svncpp part.
I am currently stuck, I had trouble just getting the Svncpp part of RapidSVN to compile because it depends on so many library. The APR (Apache Runtime) for example was giving me problems. I decided to put the project on hold while thinking about the fact of whether using svncpp is an good idea.
Tim S
Well, for svn I'm going to try to build the example minimal_client given in a
post I found.
Seems there is a way to get client libs and headers in what looks like a client development pack. Must say it is hard to find any info on the subversion site at tigris, but will try to locate some good info on how to use the prebuild libraries and headers.
But I guess that building the subversion client libraries is outside the scope of the basic SCM plugin for C::B.
I have a basic layout that I'm working on atm for adding the menu's and configuration within C::B. The code that creates the menu's query a class that specifies what options are available for the scm type and then displays only the options that are available. The function that is called from the menu then should call the specific client code with a filename and probably some extra configuration info.
My main aim atm is to learn the plugin environment of C::B and figure out if we might be able to modify icons in the project view and open file view to provide status information. What I also need to figure out is how we can create a window in the Messages panel and show progress info when the user activates one of the menu options.
I guess that mandrav might be able to provide some info on that, or at least point where we can find out how to do those modifications.
I have attached a screenhot of my current settings panel, just for fun. (Yes, I stole the icons
)
Update:
I must be blind! In the
downloads section of subversion the development archives with prebuild libraries can be easily found. It even includes documentation.
First version:
For those that want to have a laugh, got an initial version in
svn that I use for local development. Doesn't do a lot more than crash your C::B
Going to add Tortoise to it for a quick fix and example how you can add support for a specific SCM system. It will be based on the nice CBTortoiseSVN from thomas.
After that it will be a hard look at native svn support through the svn client api. But you need
apr/apr-util/apr-iconv and
neon builds with mingw to be able to build the svnclient library. They even recommend TortoiseSVN to get the sources of apr if you want to
build on MSW on the apache apr site
The binary downloads from the subversion site are static libs for MS VC, couldn't get a minimal_client they posted on the subversion site as example linking against them with mingw.
[attachment deleted by admin]