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 131122 - custom build command no longer supported
Summary: custom build command no longer supported
Status: RESOLVED DUPLICATE of bug 131123
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: Other Linux
: P1 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-26 02:37 UTC by arne_adams
Modified: 2008-03-26 03:21 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 arne_adams 2008-03-26 02:37:43 UTC
Hi,
we build our C++ programs using scons.
This worked until the most recent update by setting the build command to "scons -j2 lib_developer=true otl_db=db2v9"
(the custom scons parameters are irrelevant to the issue).
Having set this build command line the previous version of netbeans did not even try generate and use own make files.
Unfortunately that changed with the update.
Now the same command line results
Comment 1 Thomas Preisler 2008-03-26 03:03:24 UTC
I assume you are using a 'C/C++ Project From Existing Code' and you set the Build Command to "scons -j2 lib_developer=true otl_db=db2v9". Is this correct?

What version did you use before (where it worked) and which version do you now (where it doesn't work)?

If I set the command the command to the one from above and build, I get something like:

Running "/usr/bin/make  -f ipc-3.7.10_5-Makefile.mk CONF=Default" in /Users/thp/NetBeansProjects/ipc-3.7.10_5
/usr/bin/make -f nbproject/Makefile-Default.mk SUBPROJECTS= .build-conf
cd ../ipc-3.7.10 && scons -j2 lib_developer=true otl_db=db2v9
/bin/sh: scons: command not found
make[1]: *** [.build-conf] Error 127
make: *** [.build-impl] Error 2
Build failed. Exit value 2.

which looks reasonable to me and should be the same steps as in previous releases. I don't have scons so the build fails, but that's OK.

Can you please copy the build log from the output window from the build that works and from the builds that doesn't into this bug report so I can compare them. 
Comment 2 Thomas Preisler 2008-03-26 03:21:08 UTC

*** This issue has been marked as a duplicate of 131123 ***