This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
hi everyone, i want to create a jar file which contains class files from packages. and when i unjar them (ie extract them into a directory ) it should appear in the proper directory structure. eg if i have a package named aa.bb.cc. the package cc contains A.class and other class files. when i create a jar file called simple.jar, it should contain manifest.mf and A.class and the other class files. when i extract them in c drive, in a directory temp then it should appear in this format c:\temp\aa\bb\cc\A.class. my application has a constraint that it cannot use the jar utilty of jdk. so i need to do it using the java.util.jar package only. Please let me know how i should go about this problem. thanks