NetBeans Forums

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

How can I generate a war from NetBeans?

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



Joined: 14 Aug 2009
Posts: 4

PostPosted: Fri Aug 14, 2009 8:19 am    Post subject: How can I generate a war from NetBeans? Reply with quote

Hi All,

I have create a j2ee (Struts) Project in Net Beans IDE. It works well using the embedded server GlassFish?

Now i try to generate a war file from the project and deploy the war to my existing web apps server tomcat and weblogic?

Thanks in advance.

Jack
Back to top
michael
Posted via mailing list.





PostPosted: Mon Aug 17, 2009 11:36 am    Post subject: How can I generate a war from NetBeans? Reply with quote

After you build the project, the .war file is in the "dist" folder.

Michael

-----Original Message-----
From: sohochaser [mailto:address-removed]
Sent: Friday, August 14, 2009 11:20 AM
To: address-removed
Subject: [nbj2ee] How can I generate a war from NetBeans?


Hi All,



I have create a j2ee (Struts) Project in Net Beans IDE. It works well using the embedded server GlassFish?



Now i try to generate a war file from the project and deploy the war to my existing web apps server tomcat and weblogic?



Thanks in advance.



Jack
Back to top
sohochaser



Joined: 14 Aug 2009
Posts: 4

PostPosted: Tue Aug 18, 2009 2:38 am    Post subject: Re: How can I generate a war from NetBeans? Reply with quote

Hi Michael,

Yes, it is there. Thank you for the information.

Jack
michael wrote:
After you build the project, the .war file is in the "dist" folder.

Michael

-----Original Message-----
From: sohochaser [mailto:address-removed]
Sent: Friday, August 14, 2009 11:20 AM
To: address-removed
Subject: [nbj2ee] How can I generate a war from NetBeans?


Hi All,



I have create a j2ee (Struts) Project in Net Beans IDE. It works well using the embedded server GlassFish?



Now i try to generate a war file from the project and deploy the war to my existing web apps server tomcat and weblogic?



Thanks in advance.



Jack
Back to top
Steve289



Joined: 30 Oct 2009
Posts: 7

PostPosted: Sun Nov 15, 2009 5:22 am    Post subject: Reply with quote

The war file is created when you do a Clean and Build (Shift+F11). It's not built all the time, so be careful to do a clean and build or you will deploy old code.
Back to top
Kannan Ehambaram
Posted via mailing list.





PostPosted: Mon Nov 16, 2009 9:11 am    Post subject: Re: How can I generate a war from NetBeans? Reply with quote

Hai,

In netbeans,
war will be automatically created in the app-server's(eg., glassfish) autodeploy folder..
once u clean & build. of the required web -project.

Regards,
Kannan.


On Sun, Nov 15, 2009 at 10:52 AM, Steve289 <address-removed ([email]address-removed[/email])> wrote:
Quote:
The war file is created when you do a Clean and Build (Shift+F11). It's not built all the time, so be careful to do a clean and build or you will deploy old code.




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