This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Question about Andrew Monkhouse's book Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Question about Andrew Monkhouse Watch "Question about Andrew Monkhouse New topic
Author

Question about Andrew Monkhouse's book

Payal Shah
Ranch Hand

Joined: Jul 10, 2006
Posts: 67
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

Joined: Aug 04, 2007
Posts: 47
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



-------------
Chris
Payal Shah
Ranch Hand

Joined: Jul 10, 2006
Posts: 67
thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question about Andrew Monkhouse's book
 
Similar Threads
String object
Output
Object creation
Doubt regarding overloading
Online tests of k& b book