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 - Avoid duplication of code that searches for Cygwin/MSys, etc. on Windows
Summary: Avoid duplication of code that searches for Cygwin/MSys, etc. on Windows
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: execution (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-29 18:53 UTC by Andrew Krasny
Modified: 2014-04-14 14:35 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 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