Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 323901

Summary: Add support for including arbitrary resources into the WAR file
Product: z_Archived Reporter: Benjamin Wolff <eclipse>
Component: LibraAssignee: Project Inbox <libra.warproducts-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: delchevn, patrick.schmitt, rsternberg, vlad.craciunoiu
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Benjamin Wolff CLA 2010-08-29 04:25:16 EDT
It should be possible to specify folders or files that will be included in the WAR file.

Example:

To add a Database DataSource, or other JNDI resources, it is standard to include a META-INF/context.xml file. It should be possible to add the manually created META-INF folder and context.xml file to the build of the WAR file.
Comment 1 Benjamin Wolff CLA 2012-03-11 15:50:37 EDT
Is there any status on this? I'd think that adding special META-INF files like the context.xml would be an important feature to produce proper WAR files?! Am I the only one having this requirement? ;)

Maybe there is a workaround to add the files I mentioned in the bug description??

Thanks!
Comment 2 Nedelcho Delchev CLA 2012-06-05 03:55:17 EDT
Hi Benjamin, 
You are not alone ;)
+ 1 vote for this feature
Comment 3 Patrick Schmitt CLA 2012-07-17 08:44:36 EDT
+1
Comment 4 Hannes Erven CLA 2016-10-21 20:40:16 EDT
*** Bug 383812 has been marked as a duplicate of this bug. ***