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.
Product Version = NetBeans IDE 8.2 (Build 201609300101) Operating System = Linux version 4.8.0-41-generic running on amd64 Java; VM; Vendor = 1.8.0_101 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.101-b13 Reproducibility: Happens every time STEPS: * open new project dialogue * select either new c++ from existing files or new c++ application * set directory to existing sources ACTUAL: * new c++ from existing sources will not create adequate build and config files, leaving a mostly empty configuration with no way to add compile options etc * new c++ application errors out with a hidden error, probably due to the root directory already existing but no errors are ever shown, nor is there any way to handle this EXPECTED: * adequate files generated for existing source option * proper error handling and workaround options on other project creation methods
Created attachment 163823 [details] IDE log
1. New c++ application is not designed for create project with existing source. You can select folder with existing source and add all needed source files late. 2. New c++ project with existing files relies on existing build system (makefile, configure,..). IDE adds files after building project in IDE.
(In reply to Alexander Simon from comment #2) > 1. New c++ application is not designed for create project with existing > source. > You can select folder with existing source and add all needed source files > late. > 2. New c++ project with existing files relies on existing build system > (makefile, configure,..). IDE adds files after building project in IDE. - still not helpful that it doesn't tell you any errors that occur. - and what if the existing sources don't have a build system at all? then what? additionally the standard build option will not fire commands as they would via a terminal
(In reply to Paul17041993 from comment #3) > - still not helpful that it doesn't tell you any errors that occur. I do not understand what you mean. Please clarify. > - and what if the existing sources don't have a build system at all? then > what? As I said you have a choice: - create "managed" project from scratch (Application). IDE will automatically support makefile. Add needed source files. Define source file properties (user defined macros, include pats, standards, ...). IDE reflects all changes in supported makefile. You can build/debug IDE project. - create project with existing sources. Do not use configure and build. IDE adds all sources in the IDE project without any source file properties (user defined macros, include pats, standards, ...). As result you will have bad quality project that cannot be build/debug. >additionally the standard build option will not fire commands as they > would via a terminal Again I do not understand what you mean. Please clarify.
- If an error occurs during project creation, nothing happens. No error printed, nothing, it just sits there like you never pressed the next or finish buttons. - The options in the build config are pseudo CLI, you can put commands in only for very specific things, any form of CLI wildcards or other options will not be understood or executed.
(In reply to Paul17041993 from comment #5) > - If an error occurs during project creation, nothing happens. No error > printed, nothing, it just sits there like you never pressed the next or > finish buttons. It is a bug. Please file separate issue with steps to reproduce. > > - The options in the build config are pseudo CLI, you can put commands in > only for very specific things, any form of CLI wildcards or other options > will not be understood or executed.