[ 
https://issues.apache.org/jira/browse/NETBEANS-4102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17073742#comment-17073742
 ] 

Geertjan Wielenga commented on NETBEANS-4102:
---------------------------------------------

True. Though a minor bug and an easy workaround -- run the project instead of 
the file.

> VM Options in Java file in project not passed to Maven exec.args
> ----------------------------------------------------------------
>
>                 Key: NETBEANS-4102
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4102
>             Project: NetBeans
>          Issue Type: Bug
>    Affects Versions: 11.3
>            Reporter: Vedran
>            Priority: Minor
>
> VM options are not passed to Maven exec.args when trying to run application 
> by clicking on a single file(contains main method to run the whole project) 
> in a Project explorer and then run when not in Favourties window.
> This also does not work if trying to run application by clicking file run 
> when on file opened in editor.
> Only clicking run on the project level in Project explorer works ok.
> I noticed this when i was trying to run app which contained preview features 
> and --enable-preview flag was not passed to Maven exec.args.
> Detailed info can be found under [#4034] issue.
>  



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

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

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

Reply via email to