On 9/4/22 4:47 PM, Ernie Rael wrote:
Just converted an ancient project from ant to gradle. With ant and I did

   project.properties:run.jvmargs=-Dcom.raelity.jvi.DEBUG\=true -ea

With gradle I tried, on the "Main Project"

I was hoping to find a way to *do it from NetBeans*,

but the following in build.gradle works for now

   tasks.run {
        systemProperties['com.raelity.jvi.DEBUG'] = 'true'
        enableAssertions = true
   }

-ernie


   properties > BuildActions > ConfigureAction > debug

I added "-Dcom.raelity.jvi.DEBUG\=true -ea" to the arugments, I see this show up when the program is started; the -ea causes an error, and without the -ea there's no error the jvm property is not set when my project runs.

Any suggestions on how to pass args to the jvm running the project?

-ernie


---------------------------------------------------------------------
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




---------------------------------------------------------------------
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

Reply via email to