This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have project composed by different war and jar modules
My current directory structure:
--XXX.ear (directory, not file)
For example i want to update my second war file W2.war. If i am changing only this file in XXX.ear directory, nothing happens. If i change entire XXX.ear folder, jboss starting redeploying all war files(W1, W2, W3).
But, there are many wars in my ear directory. I want to force jboss update only and only WARs, i changed, not every WAR in the ear.
Can anyone help me configuring jboss deployer to wathc into ear directory and update changed war files, and hold unchanged.
Which version of JBoss AS are you using? Starting AS-5, any changes to inner deployments (like war1.war) will trigger the redeployment of the entire application (all the .wars in the .ear). From what I remember, in earlier AS version, changing the inner deployment would only trigger redeployment of that inner deployment. By the way, how are you trying to trigger the redeployment of the .wars?