File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about Andrew Monkhouse's book

 
Payal Shah
Ranch Hand
Posts: 67
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In book,
it says
jar -cfm sampleproject.jar Manifest.mf -C classes .

1) What will "-C" do
2) There is "." at the end of the line..What will "." do?

Thank you.
 
christian combarel
Ranch Hand
Posts: 47
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
The "-C classes ." tells the jar command to go in the "classes" directory and include to the archive all the files and directories that are present.

Chris
 
Payal Shah
Ranch Hand
Posts: 67
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic