Bug 567839 - [run configuration] eclipse automatically adds "-m <projectName>/<class>" to runconfig command line in JPMS projects
Summary: [run configuration] eclipse automatically adds "-m <projectName>/<class>" to ...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.18   Edit
Hardware: PC Windows 10
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2020-10-13 09:02 EDT by oscar Haglund CLA
Modified: 2022-11-16 11:54 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description oscar Haglund CLA 2020-10-13 09:02:13 EDT
When I create a new run-configuration with my JPMS project the command line generated (as shown by "show command line") adds the name of the project as the module in "-m <projectName>/<class>". This means that unless your project name is exactly the same as your module name, the module will not be found.

Furthermore I am also no longer able to execute Ant from within eclipse because an arbitrary project name has been added in front of the Ant launcher path as if to be run in a modular context when it should not be. Making sure there is nothing under module-path in dependencies does nothing.
Comment 1 Eclipse Genie CLA 2022-11-16 11:54:44 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.