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 193987 - I can't use custom version numbering - this causes an error in windres.exe: syntax error
Summary: I can't use custom version numbering - this causes an error in windres.exe: s...
Status: RESOLVED INCOMPLETE
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-03 16:55 UTC by sh2ka
Modified: 2011-01-19 17:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sh2ka 2011-01-03 16:55:10 UTC
Product Version = NetBeans IDE 7.0 Beta (Build 201011152355)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_21
Runtime = Java HotSpot(TM) Client VM 17.0-b16

For example, if I want use version numbering as:
 - 5.03 alpha1 - for testing while development
 - 5.03 beta4 - for testing while beta-testing period
 - 5.03 - production release
 - 5.03.08 - release with bugfix after 5.03 release
 - and so on.

Error occurs because:
VS_VERSION_INFO VERSIONINFO
	FILEVERSION 1,00 alpha,0,0
	PRODUCTVERSION 1,00 alpha,0,0
	...

This is incorrect FILEVERSION and PRODUCTVERSION values.

May be it will be more easy to allow user to enable/disable autogeneration of windows resource rc-file or automatically use rc file from the project if this kind of file exists in the project. The latter will be better and user can add to rc-file another sections (for example, path to ico-file for the executable and so on). I use widely C++ macroses with project name, version, description, company, developers and others those are go to my cpp-files for `About` dialog and to rc-file too.
Comment 1 Vladimir Voskresensky 2011-01-19 17:10:33 UTC
Can you clarify what is this bug about, please?
And steps to reproduce. 
Are you talking about issue in C/C++ support in NetBeans?

Thanks,
Vladimir.