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 192013 - Regression in "C/C++ Project with Existing Sources" wizard
Summary: Regression in "C/C++ Project with Existing Sources" wizard
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.0
Hardware: PC All
: P1 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2010-11-16 15:34 UTC by soldatov
Modified: 2010-11-19 06:12 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 soldatov 2010-11-16 15:34:35 UTC
2 fails in pcp suite:
http://elif:8080/hudson/view/IDE-tests/job/ss-test-intel-S2-4/lastCompletedBuild/testReport/cnd.pcp/
111 fails in debugger suite:
http://elif:8080/hudson/view/IDE-tests/job/ss-test-intel-S2-5/

Scenario:
- test folder contains Makefile and source file
- call "C/C++ Project with Existing Sources" wizard
- select folder with Makefile
- Select Custom mode
- Press Next 2 times
- add path to executable into Build Result text field
- Press Next 3 times
- Press Finish
- Run project
===> xxxxxx does not exist or is not an executable
Comment 1 Alexander Simon 2010-11-16 21:02:58 UTC
It seems wrong conversion of relative file to absolute (path converted to relative and interpret as absolute).
Simplest steps:
- create application an build it.
- close project
- create project from existing code
- select folder with application
- select Custom mode
- press Next 2 times
- add path to executable into Build Result text field
- press Next 3 times
- press Finish
In my example absolute path converted on NB start path+relative path:
C:/Documents and Settings/Alex/Мои документы/NetBeansProjects/CppApplication_4/dist/Debug/Cygwin_4.x-Windows/cppapplication_4.exe
->
D:\tec\cnd-main\CppApplication_4\dist\Debug\Cygwin_4.x-Windows\cppapplication_4.exe
As result binary is not found.

It is regerssion durinng migration from File to FileObject.
Comment 2 Alexander Pepin 2010-11-18 10:25:08 UTC
Please fix it ASAP as it breaks lots of tests.
Comment 3 Vladimir Kvashin 2010-11-18 11:33:28 UTC
fixed in cnd-main
http://hg.netbeans.org/cnd-main/rev/d80059f5852f
Comment 4 Quality Engineering 2010-11-19 06:12:31 UTC
Integrated into 'main-golden', will be available in build *201011190001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/d80059f5852f
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #192013 -  Regression in "C/C++ Project with Existing Sources"