Hello there, > Hi, the CDk.getVersion method is useful, but currently reports the > current stable release. This is fine if one is using the stable > release, but if I wanted to use a version of master, the version > string doesn't indicate that is something other than the stable > release.
You could have a baseversion.properties file (under version control) that is updated after each public release. During the development time you could configure your build system to generate a currentversion.properties file (NOT under version control), which contains the information from the baseversion.properties file plus some meaningful suffix such as the Git revision. CDK#getVersion should report the contents of the currentversion.properties file. > > Updating build.props to include say a Git revision would solve this, > but would mean that it changes with each commit which is not optimal. > It's not a good idea to maintain version number in build.props, because it may lead to merge conflicts. VR ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Cdk-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cdk-user

