How To Deploy 3rd Party WAR File As Web Facet

This is a discussion on How To Deploy 3rd Party WAR File As Web Facet within the J2EE forums in Framework and Interface Programming category; I'm working with a Java EE application that has source code for two separate web facets. Building and deploying these is no issue. However, there's another WAR file that is intended to be deployed as part of the Java EE application that has no source code, just a .war file. I've never had to deploy such a thing in IntelliJ before. If I create a new web facet, how do I point IntelliJ to use the existing WAR file? Please advise. I'll apologize in advance if this is trivial. I'm just so used to working with source code that I'm ...

Go Back   Application Development Forum > Framework and Interface Programming > J2EE

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 04-28-2008, 04:05 PM
Michael O. Duffy
Guest
 
Default How To Deploy 3rd Party WAR File As Web Facet

I'm working with a Java EE application that has source code for two separate web facets. Building and deploying these is no issue.

However, there's another WAR file that is intended to be deployed as part of the Java EE application that has no source code, just a .war file.

I've never had to deploy such a thing in IntelliJ before. If I create a new web facet, how do I point IntelliJ to use the existing WAR file? Please advise. I'll apologize in advance if this is trivial. I'm just so used to working with source code that I'm having trouble wrapping my head around it. Thank you.
Reply With Quote
  #2  
Old 04-29-2008, 04:37 AM
Nikolay Chashnikov (JetBrains)
Guest
 
Default Re: How To Deploy 3rd Party WAR File As Web Facet

Now there is no way to directly pack WAR file into your Web facet.
However you can unpack WAR, create a separate Web facet (and module) for
it, add libraries from WAR as a module libraries and add unpacked WAR
directory a WEB resource directory to the Web facet.

> I'm working with a Java EE application that has source code for two separate web facets. Building and deploying these is no issue.
>
> However, there's another WAR file that is intended to be deployed as part of the Java EE application that has no source code, just a .war file.
>
> I've never had to deploy such a thing in IntelliJ before. If I create a new web facet, how do I point IntelliJ to use the existing WAR file? Please advise. I'll apologize in advance if this is trivial. I'm just so used to working with source code that I'm having trouble wrapping my head around it. Thank you.



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Reply With Quote
  #3  
Old 04-29-2008, 09:26 AM
Michael O. Duffy
Guest
 
Default Re: How To Deploy 3rd Party WAR File As Web Facet

Thank you, Nikolay, I came to exactly that conclusion this morning.

There isn't any source in the WAR, just WEB-INF/classes with compiled code underneath it. I had to add that directory as a dependency. Looks like everything is building just fine now. Thanks so much for your kind attention. Sincerely, %
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 05:18 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.