File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Final Packaging "scjda-srXXXXXXX.jar" question!

 
james bonds
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My scjda-srxxxxxxx.jar structure :




Meta-inf folder was generated automatically by "jar cvf scjda~~.jar ."

Is this correct ?

But, if uses "jar cvfM option , META-INF folder is not generated.



Which one is corect ?


[ February 19, 2007: Message edited by: james bonds ]
 
Khaled Mahmoud
Ranch Hand
Posts: 361
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, this is very very very natural and healthy thing.
I have submitted my jar file in the very same structure you mentioned,
but did not get an automatic failure.
 
james bonds
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you use M option when made a jar? or not ?

 
Khaled Mahmoud
Ranch Hand
Posts: 361
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jar - cf
 
james bonds
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, Thanks

Did somebody used M option?
 
Ken Boyd
Ranch Hand
Posts: 329
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The executable JAR containing the programs. This must be called runme.jar


my assignment says file name should be runme.jar

java -jar <runme.jar> [alone|server|client]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic