OK, so the runme.jar is part of the contents of the single submission jar file we upload?? Is that right?
Then how will the examiner read the db file? Will he extract it from the submission jar first, and then run the runme.jar? Somehow the examiner must be able to select a db file from the startup dialog that appears when the runme.jar is run. He can only do this if he has copied the submitted db file to his hard disk. Am I missing something here, or is this how it should be???
Also, how is the examiner supposed to read the userguide doc? My project opens the userguide from the application. Can I assume that the examiner will extract the userguide html files to the current working directory and access them from there?
So I should put the db file at the root level of the submission jar. That seems to be what my instructions indicate. The userguide html files will go under the "docs" directory from the root of the submission jar.
The examiner will also be able to browse to the db file in the current working directory after extracting the submission jar and launching the application startup dialog. I should even be able to look in the current working directory first for the db file. If it is there, then put it in the startup dialog.
Does that sound right??
userguide html files will go under the "docs" directory from the root of the submission jar.
I chose the "lazy" solution and did not provide online help.
By placing the userguide.html into docs you can simply place the related data relative to it and refer to it by relative url's and it would always work within your browser (usually has nicer output, too ).
So if I can access my html files from
ClassLoader.getResource(String name); with the html files in the runme.jar then there should be no problem, right?
So am I correct in understanding that the examiner will be extracting the database file first, and then using it from wherever he extracted it to?