aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Gradle Multi Project War Seperate WEB-INF directory per EAR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Gradle Multi Project War Seperate WEB-INF directory per EAR" Watch "Gradle Multi Project War Seperate WEB-INF directory per EAR" New topic
Author

Gradle Multi Project War Seperate WEB-INF directory per EAR

Niall Loughnane
Ranch Hand

Joined: Dec 07, 2006
Posts: 203
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Gradle Multi Project War Seperate WEB-INF directory per EAR
 
Similar Threads
Keeping session variables when calling another application
package does not exist
Deploying Same EAR file as 2 applications
gets 404 then i try to run SpringPizza example from Spring in Action third edition
ant's checksum task on a .jar/.ear/.war fil