Mostrando entradas con la etiqueta netbeans. Mostrar todas las entradas
Mostrando entradas con la etiqueta netbeans. Mostrar todas las entradas

2019-07-09

How to add parameters to the app when running or debugging a gradle project in Netbeans 11.0

In classic projects in Netbeans you can add some parameters to the execution of the java app, but how to do it with Gradle projects?

After googling it for a while, and tons of tries, I've found how to solve the problem. go to gradle.properties, you will found the following line

action.debug.args=run --debug-jvm

just add --args foo or --args=foo or even --args="foo" to that line, so you'll get

action.debug.args=run --debug-jvm --args foo

if you want to add more than one parameter, for example foo bar then you'll get

action.debug.args=run --debug-jvm --args "foo bar"

quotes are mandatory or you'll get only the first parameter.

Easy, doesn't it?

That's all folks!!! :-)

Happy hacking!!!

2009-06-06

Projecto de AppEngine en NetBeans por Andrew Skiba

He encontrado esta Entrada de Andrew Skiba sobre como crear un Proyecto de Netbeans para Java AppEngine de Google puedes leerlo aquí. Puede que no sea muy util para la mayoría de los que usan Eclipse, pero es bastanta util para aquellos como yo que tienen predilección por NetBeans :-)

AppEngine project on NetBeans by Andrew Skiba

I've found this interesting post by Andrew Skiba about creating a Netbeans project for the Google Java AppEngine you can read it here. Maybe not so useful for most people using Eclipse, but very useful for those like me "in love" with NetBeans :-)