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 251934 - Add possibility customize VM options
Summary: Add possibility customize VM options
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0.2
Hardware: PC All
: P3 normal (vote)
Assignee: Tomas Stupka
Depends on:
Reported: 2015-04-19 09:58 UTC by vkhashin
Modified: 2015-04-30 06:09 UTC (History)
2 users (show)

See Also:
Exception Reporter:

solution (29.64 KB, patch)
2015-04-19 10:00 UTC, vkhashin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description vkhashin 2015-04-19 09:58:06 UTC
Add dialog like in java project. Make VM options field multiline in projects/run section.
Comment 1 vkhashin 2015-04-19 10:00:25 UTC
Created attachment 153266 [details]
Comment 2 Jiri Kovalsky 2015-04-22 13:52:21 UTC
When integrating this patch please fix the missing "s" character on line 170 in maven/src/org/netbeans/modules/maven/customizer/ file:

Comment 3 Tomas Stupka 2015-04-22 14:44:33 UTC
adding the whole package
doesn't look like a proper solution
Comment 4 vkhashin 2015-04-22 17:02:51 UTC
I know, this package should be moved to some common module. But I don't know what module is better to use. I can do refactoring, if you point me proper place.
Comment 5 Tomas Stupka 2015-04-28 15:23:44 UTC
- moved the vm options customizer to java.api.common and exposed it in the api via a util method

jet-main #d74bc30b6d61

- ui changes in maven to be able to use the java vm options customizer

jet-main #767b90e0435c

regarding the patch:
when contributing a patch please see that it does not contain irrelevant "cleanups" or forgotten fragments which have nothing to do with the actual problem. for more info on this see also
Comment 6 Quality Engineering 2015-04-29 02:31:45 UTC
Integrated into 'main-silver', will be available in build *201504290001* on (upload may still be in progress)

User: Tomas Stupka <>
Log: issue #251934 - Add possibility customize VM options

moved the vm options customizer to java.api.common and exposed it in the api via a util method