Skip over files that can't be opened for reading when creating jar/war archives