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 153070 - MinGW tools collection should be found while IDE startup
Summary: MinGW tools collection should be found while IDE startup
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-12 20:17 UTC by Alexander Pepin
Modified: 2009-11-16 09:13 UTC (History)
0 users

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 Alexander Pepin 2008-11-12 20:17:29 UTC
Now only cygwin collection is being looked while IDE startup. As we are going to bundle MinGW/MSYS with NB7.0 we should
also find and add MinGW tools collection by default.
Comment 1 Alexander Simon 2008-11-13 07:16:13 UTC
Provide more details about your MinGW:
- path to MinGW
- environment PATH
- registry content by keys:
  hklm\software\microsoft\windows\currentversion\uninstall\MinGW
  hklm\software\microsoft\windows\currentversion\uninstall\TDM-GCC
  If registry is empty then try to find another keys.
Comment 2 Alexander Simon 2008-11-13 07:17:13 UTC
Same for MSYS:
 hklm\software\microsoft\windows\currentversion\uninstall\msys-1.0_is1
Comment 3 Alexander Pepin 2008-11-13 13:53:14 UTC
I do not have MinGW records in Windows register as I just untared it but I do have a record for MSYS. I don't have paths
to both in PATH environment variable and don't have a path to cygwin either.
 
path to MinGW is c:\MinGW
path to MSYS is c:\msys\1.0 

Below is content of hklm\software\microsoft\windows\currentversion\uninstall\msys-1.0_is1

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MSYS-1.0_is1]
"Inno Setup: Setup Version"="2.0.19"
"Inno Setup: App Path"="C:\\msys\\1.0"
"Inno Setup: Icon Group"="MinGW"
"Inno Setup: User"="ap153252"
"Inno Setup: Setup Type"="i386"
"Inno Setup: Selected Components"="i386"
"Inno Setup: Deselected Components"=""
"DisplayName"="\"Minimal SYStem 1.0.10\""
"UninstallString"="C:\\msys\\1.0\\uninstall\\unins000.exe"
"DisplayVersion"="1.0.10"
"Publisher"="MinGW"
"URLInfoAbout"="http://www.mingw.org/"
"HelpLink"="mailto:mingw-msys@lists.sf.net"
"URLUpdateInfo"="http://sf.net/projects/mingw/"

Comment 4 Alexander Simon 2008-11-13 13:57:41 UTC
MinGW should be installed
Comment 5 Alexander Pepin 2008-11-13 15:07:05 UTC
could we get information from MSYS as it should be installed (whereas it's not obligatory for MinGW) and while
installation user is asked about a path to MinGW.
Comment 6 Alexander Simon 2008-11-13 16:14:49 UTC
Investigation:
MSYS file:
c:\msys\1.0\etc\fstab
keep path to mingw:
c:/MinGW_TDM /mingw
It can be reused for MinGW detection.

>I just untared it but I do have a record for MSYS
You can untar MSYS also ;-)
Comment 7 Alexander Simon 2008-11-13 19:30:58 UTC
it is not P2
Comment 8 Alexander Pepin 2008-11-13 20:03:24 UTC
in my case c:\msys\1.0\etc\fstab contains:

c:/MinGW /mingw

So I think that we should add this check to tool collection find procedure.

Please note, it's not a DEFECT it's ENHANCEMENT and I think it should be implemented in NB7.0 and because of that it
should be P2
Comment 9 Alexey Vladykin 2009-11-16 09:13:08 UTC
NB detects MinGW+MSYS pretty well these days, doesn't it?