This content has been marked as final.
Show 4 replies
-
1. Re: AS 5.0: Why touch web.xml for exploded deploys?
peterj Jan 6, 2009 11:12 AM (in response to koospol)What do you mean by (specifically, the word 'automatically'):
Since AS 5.0 does exploded deploys automatically
JBoss AS has always supported exploded deployment, and has always required, for such deployments, that the primary descriptor file (web.xml for WARs) be 'touched' to cause a redeploy. (Of course, you can updated static and JSP files without having to redeploy.) -
2. Re: AS 5.0: Why touch web.xml for exploded deploys?
koospol Jan 8, 2009 1:34 AM (in response to koospol)"KoosPol" wrote:
Since AS 5.0 does exploded deploys automatically"PeterJ" wrote:
What do you mean by (specifically, the word 'automatically')
Perhaps I should've chosen my words more carefully. But hey, I'm a non-native. Anyway, in the light of my question I think it's semantics. I'm trying to figure out if AS/Tools could manage without touching web.xml to trigger a redeploy. We're trying to come up --as written in my OP-- with a standard "template" / setup for new Eclipse projects. Creating a specific build script task for touching the web.xml is specific as hell, and could be missed dearly.
Thanks for listening.
Koos -
3. Feature request: Application Restart button
koospol Jan 8, 2009 4:17 AM (in response to koospol)"KoosPol" wrote:
Creating a specific build script task for touching the web.xml is specific as hell, and could be missed dearly.
After some further research, I found the RedHat docs exactly mention this too: (par. 3.1 "Exploded Deployment")
http://www.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/4.3.0.cp01/html-single/Server_Configuration_Guide/index.html#Deployment
Apparently/luckily I'm not by myself. I would vote up Franciscos post at http://www.seamframework.org/Community/HOWTORunBookingsExampleFromEclipse#comment35746.
He specifically suggests for a button which will overcome the "touch web.xml" detour. With all being IDE centric, the command line is indeed an awkward solution for this.
So, by now I know what I want and how to ask it :-)
Can we get an "Application Restart" button in the server view?
Thanks again.
Koos -
4. Re: AS 5.0: Why touch web.xml for exploded deploys?
peterj Jan 8, 2009 10:50 AM (in response to koospol)Since your are now asking for a new feature, you should ask on the JBoss Tools forum. http://www.jboss.com/index.html?module=bb&op=viewforum&f=201. Note that I am assuming that you have installed JBoss Tools into Eclipse. I haven't looked closely enough at the workings of JBoss Tools and how it does deployment, but I do know that it in some way automatically updates the deployed application. I do not know if that is by touching the web.xml or not.