This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have David & Dawn Griffiths on-line!
See this thread for details.
Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Gradle Multi Project War Seperate WEB-INF directory per EAR

 
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic