Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jarring

 
Sujata A
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Please let me know how i should go about this problem.
thanks
 
maha anna
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sujatha,

The following link has good info on this. http://java.sun.com/products/jdk/1.2/docs/tooldocs/win32/jar.html
regds
maha anna
[This message has been edited by maha anna (edited December 08, 2000).]
[This message has been edited by maha anna (edited December 08, 2000).]
 
Sujata A
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to this through the application without using the jar utility.

Originally posted by maha anna:
[B]Sujatha,

The following link has good info on this. http://java.sun.com/products/jdk/1.2/docs/tooldocs/win32/jar.html
regds
maha anna
[This message has been edited by maha anna (edited December 08, 2000).]
[This message has been edited by maha anna (edited December 08, 2000).][/B]

 
It's a beautiful day in this neighborhood - Fred Rogers. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!