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 224427 - Allow a module to be run only on some architectures of operating systems
Summary: Allow a module to be run only on some architectures of operating systems
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-03 13:55 UTC by javydreamercsw
Modified: 2013-03-26 11:22 UTC (History)
1 user (show)

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 javydreamercsw 2013-01-03 13:55:28 UTC
This is an enhancement on top of issue #46833.

The mentioned issue was great but there are situations where you also need to react to the architecture on that OS as well.

So maybe another token like:

OpenIDE-Module-Requires: org.openide.modules.arch.32
OpenIDE-Module-Requires: org.openide.modules.arch.64

Combined with the tokens introduced with #46833 will provide all the tools to accomplish this.

The current list of tokens can be found here: http://bits.netbeans.org/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/api.html#how-os-specific
Comment 1 Jesse Glick 2013-01-03 15:19:13 UTC
Of course 32/64 should be e.g. x86/x86_64 since these are Intel-architecture-specific designations (as opposed to ARM, SPARC, etc.). Not sure what the most official architecture code names would be; look at what JNA uses, RPM & dpkg, GCC, etc.
Comment 2 Jaroslav Tulach 2013-01-10 08:12:21 UTC
OK, can you prepare a patch?
Comment 3 Jaroslav Tulach 2013-03-26 11:22:24 UTC
No patch, no fix.