Hmm... I added
-Dsomeprop=somevalue into the "Run action" so the initial "bootRun" became: -Dsomeprop=somevalue bootRun but inside the application System.getProperty("someprop") returns null. What am I missing here? Thomas Kellerer schrieb am 24.03.2021 um 07:20: > Thanks. > > Mark A. Flacy schrieb am 22.03.2021 um 17:08: >> Right-click on the project in the Projects window, open the Project >> Properties. Look for Build -> Build Actions. >> >> >> On Monday, March 22, 2021 10:14:18 AM CDT Thomas Kellerer wrote: >>> Hello, >>> >>> is it possible to define specific JVM arguments (-Dxxx=...) that should be >>> used by Gradle when running (or testing) an application? >>> >>> I do not want to modify build.gradle as those would be environment specific >>> settings, which should not be stored in the Git reposiotry. >>> >>> When I do it on the commandline I can use: >>> >>> gradlew -Dxxx=foo ... >>> >>> but I can't find the corresponding UI elements in the project properties >>> from inside NetBeans (12.3) >>> >>> What am I missing? >>> >>> Thanks >>> Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists