Ah, I overlooked the "with the NetBeans platform" part - for such an application, the
"Run targets" aren't available indeed.
I don't know if there is a workaround.
Thomas
Christophe DOLCI schrieb am 26.11.2018 um 18:33:
Thank you for your answer.
Unfortunately I don't have any of this option (with the right click or from the
toolbar), my project is a netbeans platform application so Ant based project.
My netbeans version is 8.0.2, maybe I need a special plugin?
If I try to create a new netbeans platform application, I don't have these Run
option neither.
Regards
Christophe
Christophe Dolci | Lead Software Developer - EM Solutions
T +33 (0)4 56 38 08 73 | F +33 (0)4 56 38 08 30
15 chemin de Malacher, 38246, Meylan Cedex, France
cdo...@altair.com | www.altair.com
Altair | Innovation Intelligence ®
-----Message d'origine-----
De : Thomas Kellerer [mailto:sham...@gmx.net]
Envoyé : lundi 26 novembre 2018 18:19
À : users@netbeans.apache.org
Objet : Re: Working directory and debug mode in netbeans
You can do that in the "Run" configuration:
Assuming you are using an Ant based project, right click on the project, the select the "Run"
section (or use the "Customize..." entry in the "Run target" drop down in the toolbar).
You can define different run "Targets" and for each target you can define a
different working directory.
The currently selected run target is the one that is used if you use "Debug
Application".
I haven't used NetBeans 8.0 for ages, but I'm pretty sure that was already
present then.
Thomas
Christophe DOLCI schrieb am 26.11.2018 um 18:12:
Hello all,
Firstly thank you to adding me in this netbeans mailing list. I'm developing a
Java application with the netbean framework and I'm encountered some problems.
I have some questions about netbeans 8.0.
1. I would like to run my netbeans application, with netbeans ide, in a
specific working directory like a java project.
It's possible? I search some parameters to set in the
project.properties(run.args.extra) like -userdir or like this.
2. I would like to launch my netbeans application in debug mode from a
batch command line (and set the host and port to attach the socket from my
netbeans ide), it's possible?
Best regards
Christophe
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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