• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question about the submission structure

 
weiliang liang
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,I have a question regarding the structure of the submission.

The instruction says:

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, unchanged database file that was supplied to you. Note that you must keep a copy of the original database file supplied to you, and this must be the file you submit.
.......
.......

I don't understand what do they mean by "the following layout and contents in its root".Should I package all the files within the very top(i.e.No project folder involved) or
should package them within a project folder?

Should it be 1 or 2??Any help would be appreciated.
 
weiliang liang
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry it doesn't display corrently:

1.submission.jar
|
|
|---------runme.jar
|
|---------database file
|
|---------etc


2.submission.jar
|
|
|----------project folder
nothing here |
nothing here |
nothing here |-----runme.jar
nothing here |
nothing here |-----database file
nothing here |
nothing here |-----etc

Should it be 1 or 2??
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi weiliang,

The first one! So when you open the submission jar, you should see: runme.jar, database file, version.txt, code directory and other needed files and directories.

Kind regards,
Roel
 
weiliang liang
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you sure?Anymore opinions??
 
Bernd Wollny
Ranch Hand
Posts: 59
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi weiliang,

i agree with Roel, because in my assignment instructions (under paragraph "Packaging of Submissions") it is described as in your first proposal.

Kind regards,
Bernd
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy, Weiliang!

Are you sure?


Oh, you bet, champion! He's passed this exam! And I agree with him: the first format is correct.
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
weiliang liang wrote:Are you sure?Anymore opinions??
Of course I am sure! And to prove it, here is a (snippet of the) listing of my submission jar created with the jar tool:And of course the ... indicates a lot of other files in directories code and docs.

And I also created a ant file to build your submission jar and a test case to test your submission jar (and check if it meets all the must requirements), which are both successfully used by other ranchers. Both can be found here.

Kind regards,
Roel
 
Bernd Wollny
Ranch Hand
Posts: 59
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Roel De Nijs wrote:And of course the ... indicates a lot of other files in directories code and docs.
Roel

Roel, what do you mean? In my opinion that's all in the root directory. Isn't it?
Do you have additional stuff in yours?

Regards
Bernd

.... read too fast..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic