Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jar size & upload...

 
Andrea Gazzarini
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have packaged the entire application as required, but the size of the myapp.jar is about 1200 KB...! what happen if the upload fails??
Thanks
 
Thomas Fly
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"If at first you don't succeed, try, try, again..."
It may be a good idea to put your upload file size into the name of your upload file; e.g., AndreaGazzarini(1209586Bytes).jar
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So the naming of the submission jar-file is free ? I've seen somewhere that the name have to be scjda-xxxxxxxxx.jar where xxxxxxxxx is your identity at certmanager.
Cheers
Torgny
 
Thomas Fly
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may be right about that Torgny- it wasn't in my requirements, and I'm giving my code one more read thru before I upload.
If you can't edit the upload .jar filename- e.g., scjda-xxxxxxxxxAndreaGazzarini(1209586Bytes).jar or scjda-xxxxxxxxx(1209586Bytes).jar- then you might want to embed a 0 bytes file "FileSizeShouldBe1209586" in your .jar, and perhaps also include the file size in your README.
Normally it should be evident if the file didn't upload correctly, but the above safeguards may save some headaches if indeed the .jar doesn't.
 
Mag Hoehme
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Andrea,
when I tried to upload my assignment for the first time, I kept getting an error message such as "you are not entitled to submit this kind of I don't know what". I complained and two days later I was able to submit the jar file.
READ THE INSTRUCTIONS CAREFULLY!!! Because they tell you how to name your jar file before submitting it.
Good luck!!!
Mag (SCJD)
 
Andrea Gazzarini
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks everyone...I don't speak english very well...my problem was about the size of the jar, not about the name...
Thanks anyway.!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic