NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

How to Deploy application in a custom folder using JBoss 5.1

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
rodrigo.uchoa



Joined: 27 Oct 2010
Posts: 2

PostPosted: Wed Oct 27, 2010 6:01 pm    Post subject: How to Deploy application in a custom folder using JBoss 5.1 Reply with quote

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.





PostPosted: Thu Oct 28, 2010 12:16 pm    Post subject: Re: How to Deploy application in a custom folder using JBoss 5.1 Reply with quote

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

PostPosted: Thu Oct 28, 2010 12:25 pm    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo