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

Final Jar

 
Matt Pavlovich
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey everyone,

I am reading the last bit of the instructions, and they state that I should have a directory called code, "containing all the source code and related parts of your project." I understand they want my .java source code, but what exactly might they mean by the last part "and related parts"?

Thanks everyone.
Matt
 
Roel De Nijs
Sheriff
Posts: 10593
143
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could be everything:
  • images you have used as icons
  • files containing translations (if you have applied i18n in your assignment)
  • each of my packages has a package.html (for javadoc)
  • ...

  •  
    Matt Pavlovich
    Ranch Hand
    Posts: 98
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Understood...thanks, Roel.
     
    Matt Pavlovich
    Ranch Hand
    Posts: 98
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    I am noticing now, too, that the instructions don't say anything about placing the .properties file in the final jar. However, they do say, "All configuration must be done via a GUI, and must be persistent between runs of the program. Such configuration information must be stored in a file called suncertify.properties which must be located in the current working directory." That led to me to believe it should be included in the final jar at the same level as the runme.jar. However, they don't say anything about it in the deliverables section. Am I missing something?

    Thanks,
    Matt
     
    Roel De Nijs
    Sheriff
    Posts: 10593
    143
    AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Matt Pavlovich wrote:Am I missing something?

    I don't know, maybe a bit of money

    No need to add the file to the runme.jar (otherwise you would have a lot of trouble to try to save changes to this file in the jar). The 1st time no file exists, so you'll create this properties file (with the data entered by the user) and the 2nd time you'll use the created file to retrieve the necessary information. When the user makes a change, you update the appropriate line in the file with the new value.
     
    Matt Pavlovich
    Ranch Hand
    Posts: 98
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    So long as I pass on the the first try I won't be missing any $$.

    The file creation makes sense. Thanks.
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic