Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Properties File

 
Jeff Storey
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi again -

I have a question regarding the properties file. Should that be in there jar or should it be in the directory the jar is being executed from? I didn't think you could write to a properties file that was packaged in a jar so it seems like it would have to be in the directory - is that correct?

Thanks,
Jeff
 
Edwin Dalorzo
Ranch Hand
Posts: 961
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am readin the file from the execution directory. But when it is not present, I take a default configuration from the jar file and copy it into the local directory.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic