• 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
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Seperate javadoc for client and server

 
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers
1) Do we need to provide seperate javadoc for client and server
2) Do we need to provide seperate src.jar file for client and server where srcclient.jar will contain all the files related to client while srcserver.jar will contain src filed related to server.
Or only one src.jar will work
Amit
 
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Amit,
No to both of your questions. I had all of my source files in one directory with a subdirectory under that for the original unmodified source files. When you run javadoc it will group everything into its proper package.
I got a 20/20 on documentation, but don't think you will loose points doing it your way.
Also I didnot have a src.jar. I had two executable jars, client.jar and server.jar. Then had those and all of my other files jarred into my final jar file for uploading.
Mike
 
ranger
Posts: 17346
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ditto to Mike's answer.
Mark
 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you make an executable jar?
 
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

You need to type a manifest file similar to this:

(I needed to add a final carriage return to get it to work in Windows).
Then create the jar file using the jar -cvfm command.
 
Amit Kr Kumar
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Mike and Mark
One more question please
Do we need to provide two copies of db.db in submission. One for local mode and other for network mode.
Or one db.db will work
In my case for server the user needs to pass the location of db.db
Also for client, if chooses the local mode he has to specify the location of db.db file
Do i really need 2 copies of db.db file
Amit
 
Mark Spritzler
ranger
Posts: 17346
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I didn't include two copies. Just the one db.db file.
Mark
 
Mike Piotrowski
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I also only included one copy of the db.db file in my submission.
Mike
 
CAUTION! Do not touch the blades on your neck propeller while they are active. Tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic