my dog learned polymorphism*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes final packaging of JAR file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "final packaging of JAR file" Watch "final packaging of JAR file" New topic
Author

final packaging of JAR file

ravi janap
Ranch Hand

Joined: Nov 04, 2000
Posts: 389
Hi
This are the contents of my final submission jar file. Is it ok?
META-INF/MANIFEST.MF
submission/docs
submission/docs/userdocs/readme.txt,html
submission/docs/userdocs/design.txt,html
submission/docs/userdocs/index.txt,html
submission/docs/javadoc
submission/executables/FBNServer.jar
submission/executables/FBNClient.jar
submission/executables/db.db ( original db.db )
submission/executables/java.policy
submission/suncertify/suncertify/client/*.java
submission/suncertify/suncertify/db/*.java
submission/suncertify/suncertify/server/*.java
submission/suncertify/suncertify/test/*.java
INSTRUCTIONS.txt ( this contains the basic instructions to unjar the file and look at the contents of the jar file. )
questions:
1) is it necessary to include the compiled classes in the submission jar file?
2) I have included the test package also which contains a test harness which simulates multiple clients for testing purpose. Is it better to include or exclude it. I have not given the instructions to execute the test java files.
Thanks
Ravi


SCJP, SCJD, SCWCD, SCBCD, SCEA
John Smith
Ranch Hand

Joined: Oct 08, 2001
Posts: 2937
If I remember the instructions correctly, readme.txt must be in the root of your submission jar. And no, don't include your tests.
Eugene.
Sai Prasad
Ranch Hand

Joined: Feb 25, 2002
Posts: 560
Originally posted by janapareddy ravindra:
1) is it necessary to include the compiled classes in the submission jar file?

Yes. I don't think we can expect them to compile your code to run the app. I did include them in my submission.
ravi janap
Ranch Hand

Joined: Nov 04, 2000
Posts: 389
Hi Sai
Is the compiled code required to run the executable JAR files ?
I thought the executable JARs are sufficient to run the application.
Thanks
Ravi
John Smith
Ranch Hand

Joined: Oct 08, 2001
Posts: 2937
If your cient.jar and server.jar already contain all compiled classes, there is no need to include these classes anywhere else in your submission.
Eugene.
Sai Prasad
Ranch Hand

Joined: Feb 25, 2002
Posts: 560
Ravi,
Never mind. I didn't know you are submitting executable jar files.
-- Sai
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: final packaging of JAR file
 
Similar Threads
README.txt - insane or not?
Final Packaging Structure
Platform Independent Command Line
ready to upload, 1 question
Thoughts wanted READMDE.txt