Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Publish Exploded WAR(How to configure Jboss v5.0 server to publish exploded wars)
Publish Exploded WAR [message #677454] Wed, 08 June 2011 15:06 Go to next message
Duncan Krebs is currently offline Duncan Krebs
Messages: 31
Registered: June 2011
Location: Bay Area / Mexico
Member

Hi,
I'm working to get my environment setup and have a question regarding development with jboss using the WTP. I'm close the only thing I need is for Eclipse to publish the war files in the jboss deployment directory as exploded in directory format not a .war file because the apps I'm working with require it. Does anyone know how I can tell or configure Eclipse to say please publish as exploded!!? - Duncan
Re: Publish Exploded WAR [message #677493 is a reply to message #677454] Wed, 08 June 2011 16:49 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1305
Registered: July 2009
Senior Member
On 6/8/2011 11:06 AM, Duncan Krebs wrote:
> Hi, I'm working to get my environment setup and have a question
> regarding development with jboss using the WTP. I'm close the only thing
> I need is for Eclipse to publish the war files in the jboss deployment
> directory as exploded in directory format not a .war file because the
> apps I'm working with require it. Does anyone know how I can tell or
> configure Eclipse to say please publish as exploded!!? - Duncan

With the JBoss support built into WTP, you can't. The Generic Server
support upon which the JBoss support is built, always publishes a war
file to a directory where it is assumed that the server will auto-serve
this war.

You may want to investigate JBossAS Tools, which offers JBoss server
support in Eclipse that is better integrated than what is currently
offered via the WTP Generic Server support. I believe it offers
incremental publishes, i.e. you change a JSP and only that JSP is
published. It doesn't have to rebuild a war to update a single changed
JSP. This would imply it can serve an exploded webapp.

Cheers,
Larry
Re: Publish Exploded WAR [message #684949 is a reply to message #677454] Thu, 16 June 2011 14:09 Go to previous message
Wolfgang Knauf is currently offline Wolfgang Knauf
Messages: 63
Registered: July 2009
Member
Hi Duncan,

> Hi, I'm working to get my environment setup and have a question
> regarding development with jboss using the WTP. I'm close the only thing
> I need is for Eclipse to publish the war files in the jboss deployment
> directory as exploded in directory format not a .war file because the
> apps I'm working with require it. Does anyone know how I can tell or
> configure Eclipse to say please publish as exploded!!? - Duncan

I have a modified JBoss plugin here: http://www.cs.hs-rm.de/~knauf/public/

It has (among other small enhancements) a very dirty workaround to
perform exploded deployment (by just unzipping the WTP created archive
and copying it to JBoss ;-)).

If JBossTools is a too big change for you, you might use this plugin. Of
course, my approach does not provide the best performance ;-)

Best regards

Wolfgang
Previous Topic:Multiple sourceElementParsers extensions per project
Next Topic:Error messages with (X)HTML / JSP
Goto Forum:
  


Current Time: Mon Sep 22 08:22:47 GMT 2014

Powered by FUDForum. Page generated in 0.01780 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software