Quantcast
Channel: GlassFish Related Items on Java.net
Viewing all articles
Browse latest Browse all 1091

How to deploy Netbeans web application to Glassfish from Java code?

$
0
0

I am changing some Java classes on the fly and I want to deploy my Netbeans web application automatically (through) Java code to Glassfish. How to deploy Netbeans web application to Glassfish from Java code, what command should I use?

I tried to use command "ant -f D:\\DOKTORAT\\NetbeansProjects\\AiPlanningServices -DforceRedeploy=true -Ddirectory.deployment.supported=true -Dnb.wait.for.caches=true run-deploy" that is displayed in Netbeans IDE console when I manually right clicked on my web application in Netbeans and choose Deploy, but this command doesn't work.

Thanks,
Darko


Viewing all articles
Browse latest Browse all 1091

Trending Articles