Open LaCuneta opened 1 month ago
agree about the sbt
script — at the time I added it, there wasn't yet a single standard launcher script provided by the sbt maintainers, so checking a project-specific one into version control was a common practice. in 2024, it's definitely not common practice anymore
The
sbt
script NetLogo uses should no longer be necessary. It 1) setsJAVA_HOME
based on the system, 2) downloads an sbt launcher, and 3) sets some Java system properties. 1) can be handled by the developer or if we really want an automated system look into a purpose-built Java version manager like Jabba or jEnv. 2) is not needed as long as the user installs any recent sbt version via the normal ways to install software on their system. sbt will download the exact correct version it needs thereafter. 3) If these are still necessary, they can be specified by a.jvmopts
file, like Tortoise does.The
nightly.sh
script has been wholly supplanted by the GitHub Actions workflow file, so should be safe to remove. It may be mentioned in the wiki here, so those references would need to be cleaned up.