We've upgraded the way we do this!
require ui.SWT, we automatically detect if SWT is already on the classpath or not.
If SWT isn't on the classpath, we install the correct platform JAR into a tempdir that's
automatically deleted on exit and add it to the classpath.We deprecated and removed our SWT Maven repository mirroring SWT. Here's why:
Eclipse changed the way the SWT download web pages work and broke our scripts that mirror SWT here.
The community had been asking for a way to package SWT native libraries that doesn't require Internet connectivity to launch a UI.
Since we added SWT's libraries to Clojure Desktop Toolkit's resources along with code to resolve it from inside an uberjar, this Maven repository is no longer necessary.
To our knowledge, nobody else was consuming SWT through our repositories, so as of this release, the locally-hosted Maven repository
It still works with the SWT platform autodetector; it shows how to build and deploy your own cross-platform SWT application using Clojure.
Can you improve this documentation? These fine people already did:
Dave Orme & David OrmeEdit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |