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 256158 - Bogus message: spaces are not allowed in makefile name
Summary: Bogus message: spaces are not allowed in makefile name
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-24 21:54 UTC by MackSix
Modified: 2016-06-18 03:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (58.88 KB, image/png)
2015-10-24 21:54 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2015-10-24 21:54:13 UTC
Created attachment 156955 [details]
Screenshot

1. Create a gmake project on Windows with spaces in the folder name that holds the source files and Makefile named "Makefile".
2. Invoke create new C++ project with existing sources.
3. Navigate to the project folder and select it and choose Custom configuration mode.
4. Accept all the defaults with the Next button.

Results: When you get to project name and location panel, it gives a bogus red message "Spaces are not allowed in makefile name" although the file is "Makefile" with no spaces. Removing the spaces from the Project name does not allow you to proceed.

Workaround: Take the spaces out of the project folder before invoking the new project wizard.

I have no problems with projects with space in the project name otherwise. If I do not use the custom wizard it works. 

See attached screenshot.

Product Version: NetBeans IDE 8.1 (Build 201510222201)
Java: 1.8.0_66; Java HotSpot(TM) 64-Bit Server VM 25.66-b17
Runtime: Java(TM) SE Runtime Environment 1.8.0_66-b17
System: Windows 7 version 6.1 running on amd64; UTF-8; en_US (nb)
Comment 1 MackSix 2015-10-24 22:14:03 UTC
(In reply to MackSix from comment #0)
> ... Removing the spaces from the Project name does
> not allow you to proceed.
> 
> Workaround: Take the spaces out of the project folder before invoking the
> new project wizard.

Correction: Removing the spaces in the project name in the Wizard allows you to proceed. 

Workaround: Remove spaces from project name, but this will place the NetBeans project data in another folder. Otherwise, remove the spaces in the folder before invoking the wizard will allow you to put the NetBeans project data in the same folder as the Makefile.

But still, the message is bogus and projects with spaces in the name and folder work fine otherwise.
Comment 2 Alexander Simon 2016-06-15 13:42:56 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/3e56457632d1
Comment 3 Quality Engineering 2016-06-18 03:12:10 UTC
Integrated into 'main-silver', will be available in build *201606180002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3e56457632d1
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug 256158 Bogus message: spaces are not allowed in makefile name