This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Packaging of files

 
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
 
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?
 
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
 
If you want to look young and thin, hang around old, fat people. Or this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic