Forums Register Login

Gradle Multi Project War Seperate WEB-INF directory per EAR

+Pie Number of slices to send: Send
Hi,

I have a project that contains a Gradle build.gradle build file,

Within the build.gradle file there are multiple projects,

The build.gradle file builds:;
* a WAR file
* 2 EAR files that contain the built WAR file

The WAR file within the 2 EAR files have a different web.xml file,

But when the WAR file is built it contains the same web.xml file and then the 2 EAR files have the same web.xml within the WAR file,

Is there a way to set the webAppDirName within the WAR plugin per EAR file so that the web.xml is a different xml file per EAR,

Thanks in Advance,

Niall
He was giving me directions and I was powerless to resist. I cannot resist this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2268 times.
Similar Threads
ant's checksum task on a .jar/.ear/.war fil
gets 404 then i try to run SpringPizza example from Spring in Action third edition
package does not exist
Deploying Same EAR file as 2 applications
Keeping session variables when calling another application
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 08:02:35.