build war in eclipse using ant - remove manifest from war
I have a package that builds a war file using ant in eclipse. I noticed how it creates, within my war, a META-INF dir and a MANIFEST.MF file displaying the following:
This is useless to me and I do not want it included in my war. I was able to build it some time ago without it including this file. However, it has appeared now and I am unsure what I had changed to cause it. I do not have this META-INF dir anywhere in my project and am unsure how to omit its creation and addition to my war. I am also not sure if it is a setting in eclipse that will remove this from being created. Let me know if you need any additional info. Thanks in advance.
The manifest is part of all java archive formats. You should not be removing it. Why do you want to?
infrasafe
ASKER
It is fine if ant wants to create it some other place. I just don't want it to be forced into my war. It was never there before and I don't want to have unnecessary files included in my war. The version of ant that it was built with is of no use to anyone.
Something in my configuration changed that caused it to start including the directory. I just never figured out what. I have since started from scratch with eclipse and set everything up with my project all over again. I have it building without the meta-inf directory. I will just be aware of what I settings I am modifying in the future so it doesn't happen again.