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 163522 - Need API to replace NativeExecutor
Summary: Need API to replace NativeExecutor
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: execution (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-23 19:41 UTC by _ gordonp
Modified: 2014-04-14 14:35 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gordonp 2009-04-23 19:41:28 UTC
I filed IZ#152247 on behalf of MC. Although the issue was resolved, the
resolution doesn't satisfy MC's requirements. What they need is a means
of replacing the NativeExecutor with one of their own. The fix for 152247
was at to high of a level and didn't address the root problem, which was
that MC needs to have control over execution of the binary.
Comment 1 _ gordonp 2009-04-23 19:42:06 UTC
Note: MC would like this issue fixed in a NB 6.7 patch.
Comment 2 vincesheard 2009-08-27 22:14:46 UTC
> For embedded development our output is a hex file that we need to load 
> into a piece of silicon then allow it to execute. It never executes 
> natively on the PC.
> 
> We really do not want to override the whole RUN action as we use it to 
> perform all the make requirements that cnd already provides.
> 
> All we would like to do is suppress the actual native execution of the 
> output on the PC, then use that signal to go to our debugger module so 
> it can perform the loading and programming of the hex file onto the 
> silicon chip.
Comment 3 Thomas Preisler 2009-10-23 03:44:16 UTC
Reassigning to Andrew. He is working in this now.
Comment 4 Vladimir Voskresensky 2010-01-29 06:53:09 UTC
Vincent, could you, please, why 152247 wasn't enough for you?
Comment 5 vincesheard 2010-01-29 10:43:16 UTC
The issue 152247 only addresses customizing the action of the whole Run button.
You have to re-create the whole functionlity.
Right now CND does everything we need by calling make and building the project etc. The only issue is the final action is to execute natively the output at the end. Since in most native development, the output is an application. Launching an application is accpetable. 

The results of our build is a hex file that needs to be loaded into a target tool and then allowed to execute remote from the PC.
We would like to customize ONLY the last action step of executing the native application.