NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
rodrigo.uchoa
Joined: 27 Oct 2010 Posts: 2
|
Posted: Wed Oct 27, 2010 6:01 pm Post subject: How to Deploy application in a custom folder using JBoss 5.1 |
|
|
I can't find information anywhere about this...
I have a Seam project, which is also mavenized. When using Eclipse, I can easily select where it will put my .WAR when deploying. It could be in eclipse meta data folders, in a folder chosen by me, or inside jboss deploy folders.
The question is, is there anyway to do this in Netbeans 6.9.1? When I "run" my project, it packages and copy the project to somewhere in my home folder. But I need the war file to be copied to JBoss deploy folders.
Regards! |
|
| Back to top |
|
 |
Tony Posted via mailing list.
|
Posted: Thu Oct 28, 2010 12:16 pm Post subject: Re: How to Deploy application in a custom folder using JBoss 5.1 |
|
|
Build the project.
Right click the project node.
Select deploy.
If you have your server set up properly, the project WAR will be deployed
correctly.
If this results in a deploy-from-local-directory operation (I can't
remember) you can always edit the ant task and change it to a
copy-to-deployment-directory task.
Tony
-----Original Message-----
From: rodrigo.uchoa [mailto:address-removed]
Sent: 27 October 2010 19:02
To: address-removed
Subject: [nbj2ee] How to Deploy application in a custom folder using JBoss
5.1
I can't find information anywhere about this...
I have a Seam project, which is also mavenized. When using Eclipse, I can
easily select where it will put my .WAR when deploying. It could be in
eclipse meta data folders, in a folder chosen by me, or inside jboss deploy
folders.
The question is, is there anyway to do this in Netbeans 6.9.1? When I "run"
my project, it packages and copy the project to somewhere in my home folder.
But I need the war file to be copied to JBoss deploy folders.
Regards! |
|
| Back to top |
|
 |
rodrigo.uchoa
Joined: 27 Oct 2010 Posts: 2
|
Posted: Thu Oct 28, 2010 12:25 pm Post subject: |
|
|
Tony,
I don't think there's a "Deploy" option in the project node. I think it's because it is a maven project.
There's no ant task either, I think. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|