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 108625 - JNLP - disable automatically modules for MacOS during run
Summary: JNLP - disable automatically modules for MacOS during run
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 6.x
Hardware: All Linux
: P2 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-02 13:07 UTC by pzajac
Modified: 2007-08-28 12:57 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 pzajac 2007-07-02 13:07:08 UTC
[070207]
Steps to reproduce:
-------------------
1) Create FeedReader project from template
2) Run JNLP 

A dialog with disabling module with menus for MacOS X platform is shown. It is better to automatically disable platform
dependent modules.
Comment 1 Jesse Glick 2007-07-10 00:53:04 UTC
I noticed this as well. (Was the apple menu module just recently added to platform?) I'm not sure exactly what we should
do with this. Perhaps the module system should ignore classpath modules which require unavailable platform tokens?
Comment 2 Jaroslav Tulach 2007-07-10 10:24:54 UTC
We can generate <resource os="Mac OS" >...</resource> if I find a way to convert the org.openide.modules.os.* tokens 
to the strings understandable by JNLP.
Comment 3 Jesse Glick 2007-07-10 19:36:48 UTC
Good idea. Can probably hardcode the tokens and their translation, if you make a note in the module system impl code
reminding future authors to update also the JNLP task.
Comment 4 Jaroslav Tulach 2007-08-28 12:57:33 UTC
IDE:-------------------------------------------------
IDE: [28.8.07 13:57] Committing started
Checking in antsrc/org/netbeans/nbbuild/MakeJNLP.java;
/shared/data/ccvs/repository/nbbuild/antsrc/org/netbeans/nbbuild/MakeJNLP.java,v  <--  MakeJNLP.java
new revision: 1.25; previous revision: 1.24
done
Checking in test/unit/src/org/netbeans/nbbuild/MakeJNLPTest.java;
/shared/data/ccvs/repository/nbbuild/test/unit/src/org/netbeans/nbbuild/MakeJNLPTest.java,v  <--  MakeJNLPTest.java
new revision: 1.18; previous revision: 1.17
done
IDE: [28.8.07 13:57] Committing finished