You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "jimi adrian (Jira)" <ji...@apache.org> on 2020/07/01 13:04:00 UTC

[jira] [Created] (NETBEANS-4524) Add IDE selection expression ${moduleName} to reference module name defined in module-info.java

jimi adrian created NETBEANS-4524:
-------------------------------------

             Summary: Add IDE selection expression ${moduleName} to reference module name defined in module-info.java
                 Key: NETBEANS-4524
                 URL: https://issues.apache.org/jira/browse/NETBEANS-4524
             Project: NetBeans
          Issue Type: New Feature
          Components: cnd - Execution
    Affects Versions: 12.0
            Reporter: jimi adrian


Currently when I need to to run single file (Shift-F6) on a modular application I go to

ProjectDir->RightClick->Properties->Actions->Run file via main()

and change the `exec.args` from:

`-classpath %classpath ${packageClassName}`

to

`--module-path %classpath:/opt/javafx-mods/14/ -m jdk14Example/${packageClassName}`

 

It would be nice to have an expression for selecting the module of the currently open file so that it is not hardcoded. e.g. `${moduleName}` instead of `jdk14Example`.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists