Is there a way to tell Eclipse to not include specified files, directories, or patterns in a JAR or WAR?
to add to what @Rich_Seller said: in Eclipse Indigo:
Click Next to go to the next page of the wizard.
Under the "Select the resource to export" you are presented with a tree view here you can select and deselect components that will be included and excluded from the JAR.