Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Autoupdate of the generated application #107

@jochenw

Description

@jochenw

As far as I know, an autoupdate of the generated application isn't yet possible. Would someone be willing to work on that with me? Here's the plan:

1.) Introduce a new plugin option "autoUpdatable". (Default value false.) If that option is false, leave everything, as it is now.
2.) If the above option is "true": Do not launch the application directly. Instead, launch a so-called bootstrapper ( a simple, standalone jar file). The bootstrapper checks, whether a new version is downloadable. If so, does the download, extracts the downloaded application, overwriting the old version.
(Initial version: Only overwrite, no delete. Exception is the bootstrapper jar, which will be treated as non-overridable, because it is effectively just that, at least on Windows.)
As soon as the installation is done, or the "no update available" is detected, the bootstrapper will launch the actual application by building a proper classpath, and invoking the actual Main class.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions