• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Packaging of files

 
Dilip kumar
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm planning to have 4 jar files within main jar file.
1st jar file - All the class files required on client side ( including db.db for local mode).
2nd jar file - All the class files required on server side .
3rd jar file - Original source code.
4th jar file - All documents.
I really appreciate any suggestions/ideas .
Thanks
 
Douglas Kent
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That should be fine, as long as you have the README.txt file that shows what's what. Will your app install when the class files are unjarred? What about your user guide?
 
Tom Peillon
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would say that their is no advantage in having the original
source code and documents in a jar.
The main advantage of having a jar within a jar comes when the
inner jar is executable as this makes things easier for the
examiner.
Having the documents in a jar however means an extra step to
view the documents.
 
Dilip kumar
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I appreciate your feedback..
Now I�m thinking of having folders Original Source, New Source and Documents in the main jar file.
Folder Original Source will have Original Sourcecode
Folder New Source will have latest source code
Folder Documents will have all the documents
Root directory will have
Readme.txt
Client.jar - All the class files required on client side ( including db.db for local mode).
Server.jar - All the class files required on server side .
Douglas, I�m confused with your question �Will your app install when the class files are unjarred? �. Am I missing some functionality in jar file ?
Also I�m wondering whether tester will run the application directly from the jar file or they will unjar all class files before testing.
Thanks
Dilip
 
Tom Peillon
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to tell the examiner how to run the various parts of the app in you readme file, so I guess if you tell them to run the app from the jar they will do so.
You will need to give the command-line invocation, eg:
$ java -jar server.jar
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic