-
Notifications
You must be signed in to change notification settings - Fork 15
support for other platforms #15
Comments
I have started a basic port of the environment setup and workspace creation scripts at https://github.com/henning-cg/oasp4j-ide/tree/unix_support. Right now, it only setups Maven and the necessary variables to get the eclipse config generator running. Right now I am following the same structure, more or less, than the windows version, so future changes are more portable between the two. Instead of a console.bat there is a env.sh, which one should source from a bash prompt to set up the necessary variables. Any further input is very welcome! |
Cool! @henning-cg Thanks for your input. 👍 |
Would you mind to merge this onto develop and create a pull-request for it? |
IMHO there would be no need for setting OASP_PROJECT_HOME externally. |
"dirname $0" does not work if you source a script, ie. execute it directly in the running shell, as $0 would point to the executable of the running shell. I think there is value in determining the absolute path to the active project's folder, as it makes writing other scripts easier, as long as you have sourced env.sh beforehand. |
Created pull request #48 |
I am aware, but I was not talking about env.sh but about |
Ah, I see. Well, as I saw it, env.sh is the main starting point, and every other script depends on having sourced env.sh earlier, including environment-project.sh, but it is true that the other scripts are meant to be called directly, and not sourced, and therefore could simply use $0. |
Should we close this issue and create another one for adding a platform-flag to the workspace configuration? |
It would be nice to write unix/mac scripts for the bat files that we currently have for windows support. Contributions are very welcome.
The text was updated successfully, but these errors were encountered: