Writes the package XML description to the given Writer.
Parameters: pkgElement - a PackageElement value Parameters: writer - a Writer value a String[] containing additional files to export(relative to META-INF) or null. exception: IOException - if an error occurs