jcryptool / core

JCrypTool Core Plug-ins
https://www.cryptool.org
Eclipse Public License 1.0
161 stars 42 forks source link

JCT workspace / -data directory location #220

Closed simlei closed 3 years ago

simlei commented 4 years ago

Until https://github.com/jcryptool/core/commit/6114c99196cb52d5b26383c2a51f00dc9640c38e, -data directories were shared between installations, which caused confusion for many users.

Right now, the behavior is, that each individual build keeps their individual workspace where it is installed. However, we do not have a mechanism to prompt the user to reuse an existing workspace.

Eclipse workspace builds, by default, follow the same settings that built JCT products are configured with. This leads, on my machine, to JCT starting up every time with the initial layout of the perspective, which is annoying. However, the run configurations can be changed (green play button -> Run configurations...).

[1]

[2] https://www.vogella.com/tutorials/EclipsePreferences/article.html#setting-the-workspace-location-programmatically descripbes a way to set the location programmatically but only with e4 injection. If the e3 equivalent exists (haven't found it) then we can do this properly, detecting workspace vs. real builds and acting appropriately.