Jar file is empty
800461Jun 13 2010 — edited Jun 15 2010Hi,
I am trying to package a small application into a jar file, but besides the manifest, the jar comes out empty.
My directory structure is a s follows
/mydir/src/ [java files and manifest.txt]
/mydir/bin/[compiled java classes in packages]
I run the following command from /mydir/src/: jar cmf manifest.txt ../bin/MyJar.jar ../bin
I understood that the last argument - ../bin should tell the utility to include all the contents of the bin directory - where my class files are. But they are not in the jar.