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 250071 - IDE can't find predefined script if user selected external directory in order to build project
Summary: IDE can't find predefined script if user selected external directory in order...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-28 15:36 UTC by soldatov
Modified: 2015-07-18 01:46 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 2015-01-28 15:36:48 UTC
Folder contains 3 such files:
======================================================
bash-4.1$ cat test.c 

#include <stdio.h>

int main() {
    puts("OK");
    return 0;
}
======================================================
bash-4.1$ cat CMakeLists.txt 
cmake_minimum_required (VERSION 2.6)
project (test1)
add_executable (test1 test.c)
======================================================
bash-4.1$ cat configure 
#! /bin/sh

echo "test1: test.c" > Makefile
echo "\tgcc -g3 -gdwarf-2 -o test1 test.c" >> Makefile
echo "" >> Makefile
echo "clean:" >> Makefile
echo "\trm -f test1" >> Makefile
======================================================

Scenario:
- Call "C/C++ Project with Existing Sources" wizard
- Select folder with my sample
- Select "Custom" mode and press Next button
- Select some external build directory in "Run in Folder" text field (it is most important step in this scenario)
- Replace "Configure Script" script type on "CMake (CMakeLists.txt)"
==> "Expected script for CMake (CMakeLists.txt) is not found" error appears
Comment 1 Alexander Simon 2015-07-17 09:20:20 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/352822ce8270
Comment 2 Quality Engineering 2015-07-18 01:46:30 UTC
Integrated into 'main-silver', will be available in build *201507180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/352822ce8270
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #250071 IDE can't find predefined script if user selected external directory in order to build project