Bug 73124 - "Add NetBeans Platform" can't browse Application Bundles
"Add NetBeans Platform" can't browse Application Bundles
Status: RESOLVED FIXED
Product: apisupport
Classification: Unclassified
Component: Project
5.x
Macintosh Mac OS X
: P1 (vote)
: 5.x
Assigned To: Martin Krauskopf
issues@apisupport
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-03-01 09:54 UTC by lordy
Modified: 2006-03-01 15:33 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
:


Attachments
patch (1.09 KB, text/plain)
2006-03-01 09:54 UTC, lordy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lordy 2006-03-01 09:54:28 UTC
The "Add NetBeans Platform" Dialog can't browse Mac OS X Application Bundles. Such bundles are only 
folders with a spezial naming schema. Browse such is importent if you want add the regular NetBeans 5.0 
Platfrom from a dev build. Because NetBeans 5 is delivered as Application Bundles.

Take a look at my patch for this issue.
Comment 1 lordy 2006-03-01 09:54:58 UTC
Created attachment 29062 [details]
patch
Comment 2 Martin Krauskopf 2006-03-01 12:44:21 UTC
Umm. I've just googled:

http://developer.apple.com/documentation/Java/Conceptual/Java131Development/x_platform/chapter_5_section_4.html

Since I do not have MacOS I'm not sure I understand. Without that property you
are not able to choose/select a platform in the NetBeans platform manager at all?
Zajo or/and Milosi could you evaluate this one?

Also notice that "grep -ril appBundleIsTraversable *" in whole NB_CVS finds nothing.
Comment 3 pzajac 2006-03-01 12:53:11 UTC
There is no way how to select netbeans build in NetBeans Platform manager. I
tried  it on Jara's MacOS X.
Comment 4 pzajac 2006-03-01 12:56:22 UTC
IMHO it is showstopper for beta build. 
Comment 5 lordy 2006-03-01 12:58:05 UTC
Okay, my Summary wasn't clear enought, here another try and my use case:
i have a regular NetBeans 5.0 IDE and a NetBeans Current IDE on Mac OS X. I want use NetBeans Current  
to develop NetBeans 5.0 Modules. Because i have 5.0 IDE, i don't download 5.0 Platform.

Now the problem. Because the IDE is bundle as Mac OS X Application Bundle i can't navigate to the 
Platform deliverd with the IDE.

Sure, a workaround is download the normal plattform zip. Another workaround is a symbol link form 
the Application Bundle out to a a normal folder and access over the this symbol link.

But that we don't need such a workaround Apple add this propertie to his implemenation.

> Also notice that "grep -ril appBundleIsTraversable *" in whole NB_CVS finds nothing.
You right, i only know one other place where we can need it (Library Manager -> New Library). And i 
plan to provide a patch for this the next days.
Comment 6 Martin Krauskopf 2006-03-01 14:03:21 UTC
Ok. I've applied the patch - thanks for it. Zajo could you verify at Jarda's
machine?

ui/platform/PlatformChooserVisualPanel.java; 1.16 -> 1.17;
Comment 7 pzajac 2006-03-01 14:12:21 UTC
I don't have checkout of dev build can you send me built modules by email?
Comment 8 pzajac 2006-03-01 14:18:23 UTC
Ok, I will check out it.
Comment 9 Martin Krauskopf 2006-03-01 14:39:09 UTC
Sorry, I've been cooking my lunch :) I think that the check of the next
contiuous build is enough.
Comment 10 pzajac 2006-03-01 15:25:06 UTC
Bone apetit :-) Verified in trunk on Mac OS X. You can apply the fix for 50u1.
Comment 11 Martin Krauskopf 2006-03-01 15:33:18 UTC
Dik Zajo, backported.

BTW, feel free to file more such issues which have a patch attached ;) Thanks!
(I know you already doing so...)

ui/platform/PlatformChooserVisualPanel.java; 1.15.2.1 -> 1.15.2.2;


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo