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.
Summary: | Can not register NetBeans as my application for opening files | ||
---|---|---|---|
Product: | installer | Reporter: | Petr Jiricka <pjiricka> |
Component: | Mac Native | Assignee: | Libor Fischmeistr <lfischmeistr> |
Status: | NEW --- | ||
Severity: | blocker | CC: | anebuzelsky |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Mac OS X | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | 138943, 235558 | ||
Bug Blocks: |
Description
Petr Jiricka
2008-06-13 14:07:20 UTC
Petr, why do you think that it is the installer issue? Dmitry Hi Dmitry, I am not sure this is an installer issue, feel free to reassign. Where do you think it should belong? I guess, it does not work for the same reason as on windows with "Open With" menu item - bin/netbeans.exe (bin/ netbeans) requires addtional argument to open the file: - this works: bin/netbeans --open file.php - this does not: bin/netbeans file.php Maybe it can be solved by tweaking .app description, maybe not, need to check. Something to start with... http://developer.apple.com/documentation/Cocoa/Conceptual/Documents/Concepts/DocTypePList.html Making the issue the enhancement. In fact, it is. > - this works: bin/netbeans --open file.php
> - this does not: bin/netbeans file.php
I filed a separate issue 138943 for this. Could this be a NB Core issue?
> - this works: bin/netbeans --open file.php
> - this does not: bin/netbeans file.php
BTW, both versions works fine for me with a java file... anyway, if "bin/netbeans file.php" does not work for you then
it is certainly NetBeans core issue, not the installer one.
Assigned to new owner. Another request for this feature: http://superuser.com/questions/550228/how-to-set-netbeans-7-2-as-my-default-php-files-ide-on-ubuntu-12-10 Possible workaround (may cause some other more serious problems): In Finder show context menu on NetBeans App and click on Show Package Contents. In Contents/Info.plist change: When opening with XCode: "Executable File" property (in XCode) form "netbeans" to "bin/netbeans" When opening with some text editor: <key>CFBundleExecutable</key> <string>netbeans</string> change to <key>CFBundleExecutable</key> <string>bin/netbeans</string> Now you should be able to open files from finder with NetBeans. |