aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes META-INF Folder in the final submission jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "META-INF Folder in the final submission jar" Watch "META-INF Folder in the final submission jar" New topic
Author

META-INF Folder in the final submission jar

Shrenik Sakriya
Ranch Hand

Joined: May 07, 2001
Posts: 40
Hi Folks,

Is it alright to have META-INF/MANIFEST.MF in the final submission.jar because in the instructions.html it only expects the following structure

code/
docs/
version.txt
db-file.db
runme.jar

Regards,
Shrenik Sakriya


SCJP1.2 88%<br />SCWCD1.4 89%<br />CCNA 94%
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2267
    
    3

Well, maybe you could fail automatically if had it in the final file (which can be either a .jar or a .zip file). I'm not sure... but the runme.jar file does have to have one!


Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
Shrenik Sakriya
Ranch Hand

Joined: May 07, 2001
Posts: 40
Hi Roberto,

Thanks for your quick reply. I'm using the ant script posted on this forum which creates this folder in the main final submission jar file so, i was assuming it was alright to have it but if none of you folks have submitted it with this then i would not take risk of including this folder.

Regards,
Shrenik Sakriya
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5545
    
  13

Hi Shrenik,

Don't know which script you used, but if it was mine you don't need to worry. I used the exact same script and my submission.jar also had a META-INF/MANIFEST.MF, so that's not a problem.

Kind regards,
Roel


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
K. Tsang
Bartender

Joined: Sep 13, 2007
Posts: 2596
    
    9

The META-INF folder is usually auto created when the jar is created, unless you specify not to.


K. Tsang JavaRanch SCJP5 SCJD/OCM-JD OCPJP7 OCPWCD5 OCPBCD5
Shrenik Sakriya
Ranch Hand

Joined: May 07, 2001
Posts: 40
Hi Roel,

Yup it was yours that i used to create the final submission.jar file with. So, if yours had the META-INF/MANIFEST.MF then i suppose it is alright to submit it as is. Thanks for confirming it.

Regards,
Shrenik Sakriya
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5545
    
  13

Hi Shrenik,

No problem and good luck with your essay exam.

Kind regards,
Roel
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: META-INF Folder in the final submission jar