In Netbeans how do you set the equivalent of Eclipse's run/debug configuration arguments?
I've inherited a java app that uses a XML as input. From the command line it runs like this:
java -jar myJar.jar -f /path/to/my/xmlfile.xml
In eclipse you can set run/debug config args from the Run->Debug Configurations... (arguments tab). How do you set the equivalent in Netbeans?
Don't know if开发者_如何学编程 it makes a difference but it's a Netbeans maven project.
thanks!
I don't have NetBeans right now, so you might adapt this, but you can just right click on the project, and in the "Set configuration" submenu, you just choose "Manage configurations", which will lead you to the right dialog. Then you'll be able to choose the main class and arguments.
精彩评论