Re: Bug with Project Rename

  • From: Alexander Simon < >
  • To:
  • Cc: Titus Cheung < >
  • Subject: Re: Bug with Project Rename
  • Date: Fri, 29 Jun 2012 10:20:55 +0400

On 06/25/12 20:03, Titus Cheung wrote:
" type="cite">
Hello,
 
Have seen this a few times already but apparently even with the latest 7.1.2 version, the IDE is still unable to rename a project correctly.
Here are the steps to reproduce:
1) Right click on Header Files (under the Project) -> Add Existing Items from Folders -> Add, select a folder containing header files.
2) Right click on Project -> Rename.
3) Enter new Project Name, and click on "Also Rename Project Folder".
4) Hit Rename button.
 
Once the above three steps are done, if you have header files added to the project before the rename, the IDE would indicate the #include files not found on both the Editor (with the red wriggly lines), and in the Project Tree (with an exclaimation mark).
 
Turns out the issue was the IDE also renamed the path of these files as from "../../<directory>" to "/../../<directory>".  This can be viewed from:
1) Right click on Project -> Properties.
2) Click on C++ Compilers, hit on the "..." button for Included Directories.
    Same thing also if click on Linker, hit on the "..." button for Additional Library Directories.
 
Regards,
Titus
Hi Titus,

Please file a bug http://netbeans.org/bugzilla/enter_bug.cgi?product=cnd

Alexander


But with Project Rename

Titus Cheung 06/25/2012

Re: Bug with Project Rename

Alexander Simon 06/29/2012

Project Features

About this Project

CND was started in November 2009, is owned by Leonid Lenyashin, and has 130 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close