Tar file created by distTar

Have problem with the tar created by distTar task. When I tried to do jar xvf it was not inflating.
Also META-INF/manifest was missing from the Tar file. Any idea?

Uh, a tar file is not a jar file?

I tried the zip instead of Tar and was able to extract using xvf. Not sure the reason…For the time being thinking of using zip for the distribution.

A jar file is also a zip file, so “jar” can read zip files. Tar files are not understood by “jar”.