Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Gradle Multi Project War Seperate WEB-INF directory per EAR

 
Niall Loughnane
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic