This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 182107

Summary: Use project versioning revision for application version number revision component
Product: javame Reporter: flintza <flintza>
Component: Build SystemAssignee: Petr Suchomel <psuchomel>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows Vista   
Issue Type: ENHANCEMENT Exception Reporter:

Description flintza 2010-03-16 12:57:59 UTC
It would be useful to be able to automatically use the current subversion revision of a project as the revision component (third part) of project build versions.
To implement this I would suggest either:
a. In the "General" category of the project properties dialog, allow ant properties to be used within the "Application Version Number" field. Expose the current revision number for the project reported by the versioning system as a property that may be used here.
b. Add a "Use versioning revision for application revision" option to the "General" category of the project properties dialog. When a refresh of versioning status happens (at startup, through user directed commit/update/refresh, etc) if this option is set, modify the revision component of the deployment.number property in private properties to match the revision.