| Author |
Submission jar - any particular name?
|
Raf Szczypiorski
Ranch Hand
Joined: Aug 21, 2008
Posts: 383
|
|
|
Hi. Did your requirements mention any particular name for the submission jar? My only says that it has to be a jar and mentions what it must have in its root.
|
 |
Roel De Nijs
Bartender
Joined: Jul 19, 2004
Posts: 4351
|
|
|
I named my submission jar like described in ScjdFaq. If I remember correctly, this was mentioned on web page where you could upload your assignment (but this was before the acquisition by Oracle)
|
SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
|
 |
Raf Szczypiorski
Ranch Hand
Joined: Aug 21, 2008
Posts: 383
|
|
Thanks Roel.
Now we are supposed to send the assignments by email (lol!). Can anyone who did it already and passed tell which naming convention they used?
Regards,
Raf
|
 |
Raf Szczypiorski
Ranch Hand
Joined: Aug 21, 2008
Posts: 383
|
|
|
Ok I just did what you did, Roel. Thanks for the tip!
|
 |
Carlos Morillo
Ranch Hand
Joined: Jun 06, 2009
Posts: 220
|
|
Hi Raf,
I named mine PROMETRICID_SCJD_Carlos_Morillo.jar.
I also have in all my source code files my Prometric ID and the Sun ID that I have
in the Certification Manager Sun Database.
HTH,
Carlos.
|
SCSA, OCA, SCJP 5.0, SCJD http://www.linkedin.com/in/carlosamorillo
|
 |
Luis Cabral
Greenhorn
Joined: Jun 14, 2010
Posts: 6
|
|
Raf Szczypiorski wrote:Hi. Did your requirements mention any particular name for the submission jar? My only says that it has to be a jar and mentions what it must have in its root.
Hi, in my requirements it says in the deliverables section: "The executable JAR containing the programs. This must be called runme.jar". Do you have something similar in yours?
It also says that I should send the above jar by email to developer-submit_US@oracle.com
I read in the SCJD FAQ in this website that you should use a website to upload your jar and use a specific naming standard for it, which confused me. I assume the procedure to send the deliverables has changed, or maybe it is different for each assignment?
Thanks,
Luis
|
 |
Raf Szczypiorski
Ranch Hand
Joined: Aug 21, 2008
Posts: 383
|
|
My assignment has this (if I may to quote it here):
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: [...]
Nothing about a name. Also, I downloaded my assignment last summer but started working on it only this may, so it was before the Oracle / Sun merger and I don't have the email mentioned there.
|
 |
Roel De Nijs
Bartender
Joined: Jul 19, 2004
Posts: 4351
|
|
Hi Luis,
Welcome to JavaRanch!
You'll have to create 2 jars: the runme.jar (which should be an executable jar which is capable of launching your application in 3 modes) and a submission jar (containing all files you need to submit as described in your instructions).
Before the acquisition of Sun by Oracle you had to upload your jar through a website, now you have to send it to some email address.
Kind regards,
Roel
|
 |
Luis Cabral
Greenhorn
Joined: Jun 14, 2010
Posts: 6
|
|
Hi Roel,
Thanks for the warm welcome!
Roel De Nijs wrote:
You'll have to create 2 jars: the runme.jar (which should be an executable jar which is capable of launching your application in 3 modes) and a submission jar (containing all files you need to submit as described in your instructions).
Thanks also for pointing this out! At first I thought everything should go inside the runme.jar but after re-reading it with more care I see that the runme.jar should go inside another jar, which is the one I should send to them. The instructions however do not give details on how that other jar should be called. I hope this is the only thing I misread in my assignment...!
Another thing that still is not clear to me is this:
The JAR file must have the following layout and contents in its root:
...
- A directory called docs, containing the following items at the top level:
- These instructions.
...
Do you know what they mean with "these instructions"? The whole assigment instructions? What should it be called, instructions.txt?
Cheers,
Luis
|
 |
Raf Szczypiorski
Ranch Hand
Joined: Aug 21, 2008
Posts: 383
|
|
|
For me it is instructions.html and that's what I copy there.
|
 |
Roel De Nijs
Bartender
Joined: Jul 19, 2004
Posts: 4351
|
|
Raf Szczypiorski wrote:For me it is instructions.html and that's what I copy there.
That will do the job.
And Luis, I created a ant build (with test case) to create the submission jar (with small modifications according to your instructions). You'll find the link in the ScjdFaq
|
 |
Luis Cabral
Greenhorn
Joined: Jun 14, 2010
Posts: 6
|
|
Hi Raf
Raf Szczypiorski wrote:For me it is instructions.html and that's what I copy there.
When I purchased the SCJD exam (2 weeks ago) I was presented with an web page with the said instructions and a link for a file called 111.zip. The only thing inside that file was the database file (db-1x1.db). I didn't see any instructions.html...
Fortunately I saved that web page and I will rename it and add it to my submission. I hope it will be fine but I am still a bit confused...!
Roel -- thanks for sending the link for the ant build, it works perfectly!
Thanks,
Luis
|
 |
Roel De Nijs
Bartender
Joined: Jul 19, 2004
Posts: 4351
|
|
Luis Cabral wrote:Roel -- thanks for sending the link for the ant build, it works perfectly!
Not a problem. In the pre-Oracle days you got a JAR file (the assignment.jar in the build script) which contained instructions.html and a database file. And this jar file was used to extract the original database file and the original instructions.html, but apparently they don't do that anymore
|
 |
Raf Szczypiorski
Ranch Hand
Joined: Aug 21, 2008
Posts: 383
|
|
|
And so I submitted the assignment jar and have to wait for the results. I would like to thank all who answered my questions, particularly, as usual, Roel and Roberto, but others as well.
|
 |
Roberto Perillo
Bartender
Joined: Dec 28, 2007
Posts: 2212
|
|
Raf Szczypiorski wrote:And so I submitted the assignment jar and have to wait for the results. I would like to thank all who answered my questions, particularly, as usual, Roel and Roberto, but others as well.
Howdy, Raf!
Well champion, I wish you very good luck! Pretty soon, you'll also be part of our "SCJD Champions" club!
|
 |
 |
|
|
subject: Submission jar - any particular name?
|
|
|