Giter Club home page Giter Club logo

fxldemo's Introduction

Maven QuickStart Demo Application for FXLauncher

This example showcases how to configure FXLauncher in your Maven application to provide automatic updates optionally in combination with native installers.

Please see pom.xml for complete documentation.

Note: There is nothing Maven spesific about FXLauncher, and these operations should be easy to perform in any build system. There is also a Gradle version of this project.

Operations

The following operations are supported by the example:

  1. Compile project jar to app.dir
  2. Copy dependencies to app.dir
  3. Generate app.xml manifest
  4. Create native installer
  5. Upload artifacts to auto update repository

Configuration

Copy the deployment descriptor and customize the following properties:

<properties>
	<!-- Application Name -->
	<app.filename>${project.name}</app.filename>

	<!-- The JavaFX Application class name -->
	<app.mainClass>no.tornado.FxlDemo</app.mainClass>

	<!-- The app and launcher will be assembled in this folder -->
	<app.dir>${project.build.directory}/app</app.dir>

	<!-- Native installers will be build in this folder -->
	<app.installerdir>${project.build.directory}/installer</app.installerdir>

	<!-- Base URL where you will host the application artifacts -->
	<app.url>http://fxsamples.tornado.no/demo/</app.url>

	<!-- Optional scp target for application artifacts hosted at the above url -->
	<app.deploy.target>[email protected]:fxldemo</app.deploy.target>
</properties>

Maven targets

Generate the application

mvn clean package

Deploy the application artifacts to your webserver

mvn exec:exec@deploy-app

Build a native installer

mvn install

Prebuilt installers

See http://fxldemo.tornado.no for a prebuilt version of this application, including native installers for Windows, MacOSX and Linux.

fxldemo's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.