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

AutoVersioning Plugin

<< < (37/41) > >>

JGM:
AutoVersioning 1.3


Here I'm posting the new changes I made to the autoversioning plugin to fix the problems reported by users, here is the changes.

* Fixed ubuntu_style_version declaration now it is char string instead of double.
* Added new tab of autoversioning editor named "Code"
* New support to declare header guard define.
* New support to declare namespace name.
* New support to add a prefix to all variables helping in c mode like for example the DATE declaration found in other header files the same name.

For a better picture of it check the attached screenshot.

And here is an example output code with AV as prefix:


--- Code: ---#ifndef VERSION_H
#define VERSION_H

namespace AutoVersion{

//Date Version Types
static const char AV_DATE[] = "09";
static const char AV_MONTH[] = "10";
static const char AV_YEAR[] = "2009";
static const char AV_UBUNTU_VERSION_STYLE[] = "9.10";

//Software Status
static const char AV_STATUS[] = "Alpha";
static const char AV_STATUS_SHORT[] = "a";

//Standard Version Type
static const long AV_MAJOR = 1;
static const long AV_MINOR = 0;
static const long AV_BUILD = 2;
static const long AV_REVISION = 11;

//Miscellaneous Version Types
static const long AV_BUILDS_COUNT = 1;
#define AV_RC_FILEVERSION 1,0,2,11
#define AV_RC_FILEVERSION_STRING "1, 0, 2, 11\0"
static const char AV_FULLVERSION_STRING[] = "1.0.2.11";

//These values are to keep track of your versioning state, don't modify them.
static const long AV_BUILD_HISTORY = 2;


}
#endif //VERSION_H

--- End code ---

I also attached the patch and im going to upload it to berlios if i remember my account information xD

[attachment deleted by admin]

MortenMacFly:

--- Quote from: JGM on October 09, 2009, 11:22:53 am ---AutoVersioning 1.3

--- End quote ---
Applied in trunk after testing... Thanks! :-)

MaxLondon:
Does that mean it will be part of the next CB NightlyBlds "Release" ?

oBFusCATed:
Yes, the next nightly will include all fixes that have been commited to svn before the date the nightly is made :)

Freem:

--- Quote from: ajaywazir on September 03, 2009, 06:19:21 pm ---Hi
Need some help
I have SVN 1.5.5 and TortoiseSVN 1.6.5
I have checked out some code using TortoiseSVN 1.6.5;
SVN.exe is in path
I cannot use svn revision in the version file.
The config dialog always gives me error, svn configuration files not found.
whereas all .svn files and folders are there.

Ajay

--- End quote ---

Hi

I'm sorry to have to ask for help with this useful plug-in, but I have the same problem.
I searched in the C::B documentation, search on google, but I didn't find any information.
I think I really don't understand what I have to put in the field "current SVN directory".
I have tried to use the bin directory of subversion, the global directory of subversion, the directory of the project for which I want to try this feature, and the .svn directory in the project's directory, but this is all the time the same error... "Svn configuration files not found. Verify the Autoversioning svn directory."

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version