Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NX: Should MANIFEST.MF be in the downloaded assignment

 
Melanie Parker
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I Just downloaded my assignment, the 'instructions.html' file mentions the assignment should include a non relational database file, and the 'instructions.html' file itself. But there's also a META-INF directory with a manifest file 'MANIFEST.MF' in. The instructions mention nothing about adding this spcecific manifest file to the finished jar file, so why is it there?
Thank you...
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Correct me if I'm wrong, (and I could be, I have many times before) since it has been a long time since downloading, but isn't the download a jar file itself, not a zip file. If they jarred it then the jarring process itself created the manifest file, it is not used in your submission, however you will need one to run your submissions, since the instructions.html states how to run your applicaiton and it needs to run from a ajr file.
Mark
 
Melanie Parker
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Mark,
So its just the generated from using jar? and not something specific to upload with the assignment then?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well yes and no, the one that is already created isn't necessary. But if you want your application to run from a jar file, then you will need to create a manifest file for your submission jar.
example.
running your app as:
java -jar client.jar
well the client.jar has to have a manifest file that states the class that has the Main method, so that the code will run.
Mark
 
Melanie Parker
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic