2008年6月16日 星期一

jar

when creating jar, the package directory is created according to your command
Hence, if you want the class in test package , you must use
jar  cvmf  manifest.txt  test 

If  test is in another directory , and you use
jar cvmf  manifest.txt  ../test
It will create test directory below  ..  directory,  so it can not find test/*.class 

沒有留言: