• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NX:URLyBird.1.3.1,about Packaging of Submissions,thx!!!

 
feiyue gaoshan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My instructions.html says:
Packaging of Submissions
All elements of your submission must be packaged in a single JAR file. The JAR file must have the following layout and contents in its root:
�The executable JAR containing the programs. This must be called runme.jar.
�The original database ...
�A directory called code, containing all the source code and related parts of your project. You must create subdirectories within this to reflect your package structure and distribute your source files within those directories.
�A file called version.txt..
�A directory called docs, containing the following items at the top level:
oThis html file.
oA subdirectory called javadoc, containing HTML/Javadoc documentation for all classes and interfaces you are submitting.
oA file called choices.txt ...
oUser documentation
I have three questions:
1,the program need the suncertify.properties in the current working directory,but in the packing of submissions,do not mention of it.If could I put suncertify.properties in the packaging jar file's root?It seems not ok according that The JAR file must have the following layout and contents in its root.
2,A directory called code, containing all the source code and related parts of your project,there is anything else except soure code(*.java)?
3.where to put my classes?runme.jar is enough?
thx every one!
//bow
[ February 27, 2004: Message edited by: feiyue gaoshan ]
 
George Marinkovich
Ranch Hand
Posts: 619
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Feiyue,
Welcome to the forum.
Originally posted by feiyue gaoshan:
My instructions.html says:
1,the program need the suncertify.properties in the current working directory,but in the packing of submissions,do not mention of it.If could I put suncertify.properties in the packaging jar file's root?It seems not ok according that The JAR file must have the following layout and contents in its root.

I think you could put the suncertify.properties file at the same level as the runme.jar file (that is, the root). The "must" requirement that you cite shouldn't be construed to restrict additional things you can place in the root. For example, I included a README.TXT file (which was not required by my assignment instructions and definitely not needed) at the root and my examiner didn't complain (or more importantly deduct points).
But here's an even better idea. Have hard-coded defaults in your application for all the configuration items in your suncertify.properties file. When your application starts it looks for a suncertify.properties file in the current working directory. If it finds the suncertify.properties file it uses it, if it doesn't find one (as it won't the first time the application is run) it creates one from the hard-coded defaults and uses it. The neat thing about this is that you don't have to worry about including a suncertify.properties file with your application, since it's created the first time you run your application. This simplifies the installation instructions in your user's guide as well.

2,A directory called code, containing all the source code and related parts of your project,there is anything else except soure code(*.java)?

Well, in my project I had package.html files in the directory of each package for use by javadoc. I also had an overview.html file (also for javadoc) in the suncertify directory. Other than these files, I can't think of any non *.java files you would put here.
In addition to all the *.class files in your runme.jar, you might also include in the runme.jar: your on-line userguide.html file and the *.gif files for any images (for use as toolbar icons). Neither of these things are required for the project so you don't need to feel bad about not providing them.

3.where to put my classes?runme.jar is enough?

Yes, that's the only place they should be.
 
feiyue gaoshan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi George ,Thanks for your reply!
I am anxious about my exam ,
I am afraid I will lost it ,
My vocher will expires after 24 hours ,
which implies that The project must be submitted within 5 hours,and then I must ENTER test ,
But until now,I have a choices.txt which still is a blank ,
hehe
God bless me
 
George Marinkovich
Ranch Hand
Posts: 619
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Feiyue,
Originally posted by feiyue gaoshan:
My vocher will expires after 24 hours ,
which implies that The project must be submitted within 5 hours,and then I must ENTER test ,
But until now,I have a choices.txt which still is a blank ,

Your voucher expires in 24 hours? I think you should call Sun and ask about extending the time period. I thought there was no time-limit for the SCJD. My advice is to call Sun immediately and discuss your situation with them. You don't want to have to finish your assignment under this sort of intense time pressure. That's when mistakes are made. Also your design choices document is extremely important for you to do before you take the exam. Many (if not all) of the exam questions are based on what's in your design choices document. Also, unless Sun has fixed this, the first time you try to upload the assignment it will fail due to upload permission not being granted. You normally, have to send an email to Sun requesting the upload permissions. They normally try to do so in 2 business days. So you will probably not be able to upload as soon as you're ready to upload. You should not take the test before completing the upload.
Call Sun. Tell them your situation and ask for advice. It seems to me that they should grant you an extention in the validity of your voucher.
 
George Marinkovich
Ranch Hand
Posts: 619
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Feiyue,
The following threads offer advice about the choices.txt file and the essay exam:
Topic: NX: choices.txt (Lazy bum vs. Please shut him up!)
Topic: Essay exam
 
feiyue gaoshan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My god,you means we could not upload immediately just because upload permission not being granted???Sun have such strange logic and do such stupid things?

George ,thank you very much !

the first time you try to upload the assignment it will fail due to upload permission not being granted. You normally, have to send an email to Sun requesting the upload permissions. They normally try to do so in 2 business days. So you will probably not be able to upload as soon as you're ready to upload. You should not take the test before completing the upload.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic