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 167823

Summary: Avoid duplication of code that searches for Cygwin/MSys, etc. on Windows
Product: cnd Reporter: Andrew Krasny <akrasny>
Component: executionAssignee: ilia
Status: NEW ---    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Andrew Krasny 2009-06-29 18:53:46 UTC
Currently there are two places in the code where we a querying Windows Registry:
1 - to find tools/compilers on Windows (CND)
2 - to find sh to use for run (nativeexecution)

Actually in both cases we are querying for the same information.
The idea is to try to avoid this.

The problem is that nativeexecution cannot depend on CND... So, perhaps, this should be resolved by introducing some
SPI... (or, maybe, avoid shell usage on Windows ;) )
Comment 1 Maria Tishkova 2010-03-12 07:47:43 UTC
move to execution