Sanitize application usage of its home directory #8
Labels
enhancement
New feature or request
standardization
Standardization of the code and its documentation
Milestone
The application uses the project's home directory too much. Currently, it:
Erros
folder to save logs of critical errorspolicies
folder for the source and bytecode of user-made scheduling and allocation policiesconfiguration.xml
file, if none is present on startupThis makes code maintenance untidy, can introduce unwanted race conditions while running multiple instances of the application, and it is unknown whether this behavior works when the application is packaged into a
.jar
file.Where possible, such dependencies on the OS's file system should be removed. Where not, there needs to be a well planned-out space for such files.
A preferrable alternative would be to encapsulate all of these behaviors on a folder,
.ispd
, and place this folder within the OS's default location for application configuration (i.e.,%appdata%
on Windows and.config
on Linux).Perhaps the user should be allowed to determine where the application folder would be located, or where specific things should be (i.e., select a location for custom policies). If this is done, this choice would probably still need to be preserved in a known place.
The text was updated successfully, but these errors were encountered: