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 - Use project versioning revision for application version number revision component
Summary: Use project versioning revision for application version number revision compo...
Status: NEW
Alias: None
Product: javame
Classification: Unclassified
Component: Build System (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: Petr Suchomel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-16 12:57 UTC by flintza
Modified: 2010-03-16 12:57 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.