Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Directory location  RSS feed

 
Renato Mascardo
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
I've finished with the coding and am doing the documentation/packaging of the application. In my requirements documents it says, "Note: Your program must run correctly no matter what directory it is installed." Problem is that my app requires that the jar be in the same directory as the db.db (for the server) and be in a directory with the html user documentation that is linked via a help dialog box within the application.
I was hoping to be able to have the user "unzip" the client and server application with everything where it needs to be. Of course it can be unzipped anywhere but there are the above requirements. Thoughts on this? Do I have to change my packaging?
Thanks!
-rjm
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yours is exactly like my submission, and it actually meets those requiremetns exactly. Basically they are saying, you have no idea what they will call the directory that they unzip your submission, and no matter what they call it, your application will still work.
Mark
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!