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 268246 - CLIHandler for extra CLI arguments not available to other modules
Summary: CLIHandler for extra CLI arguments not available to other modules
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Launchers&CLI (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-28 11:40 UTC by jmborer
Modified: 2016-09-28 11:40 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 jmborer 2016-09-28 11:40:46 UTC
It is not really a bug but an improvement request

You can define custom startup args for your netbeans app that you will handle by registering your own CLIHandler with the help of @ServiceProvider. But...

The startup module which contains the class declares friends and of course your module is not on the list. So you must cheat to make your module friend of the startup module

Why is CLIHandler not publicly available for other modules?