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 155215 - Can rename configuration from "Debug" to "Debug."
Summary: Can rename configuration from "Debug" to "Debug."
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Thomas Preisler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-11 11:21 UTC by ahot
Modified: 2010-06-04 06:08 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 ahot 2008-12-11 11:21:53 UTC
- create project
- open project properties 
- click Manage Configurations
- rename "Debug" to "Debug."
- Build project
Result:
g++    -c -g -MMD -MP -MF build/Debug./Cygwin-Windows/welcome.o.d -o build/Debug./Cygwin-Windows/welcome.o welcome.cc
welcome.cc:60: fatal error: opening dependency file build/Debug./Cygwin-Windows/welcome.o.d: No such file or directory
compilation terminated.
Comment 1 Alexey Vladykin 2008-12-15 14:12:09 UTC
Command "mkdir foo." on Windows creates directory "foo", i.e. the dot at the end is lost.
It seems that the simplest solution would be to prohibit to use dot as last symbol of configuration name.
Comment 2 Thomas Preisler 2009-01-06 00:48:38 UTC
most likely not in 7.0
Comment 3 Thomas Preisler 2009-09-22 16:54:49 UTC
should be looked at
Comment 4 Thomas Preisler 2010-06-03 02:38:15 UTC
Fixed. We already validate the configuration name and make it 'legal' for all platforms. Added extra check for '.' at the end. The check is identical for all platforms because you should be able to move projects between different platforms.
Comment 5 Quality Engineering 2010-06-04 06:08:08 UTC
Integrated into 'main-golden', will be available in build *201006040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/0ebfe13646df
User: Thomas Preisler <thp@netbeans.org>
Log: #155215 can rename configuration from "Debug" to "Debug."