You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each example can be executed within the ScalaFX Ensemble application, its source code can be easily seen there too.
13
-
Example can be saved, from within ScalaFX Ensemble application, as an stand-alone [SBT](http://www.scala-sbt.org/) project,
14
-
with option to convert to [Eclipse](http://www.eclipse.org/) or [IntelliJ IDEA](http://www.jetbrains.com/idea/) project.
13
+
Example can be saved, from within ScalaFX Ensemble application, as an stand-alone [SBT] project. [IntelliJ IDEA] can load SBT projects if you have IntelliJ's Scala plugin installed. SBT projects can be converted to [Eclipse] projects using [sbteclipse] plugin.
15
14
16
15
ScalaFX Ensemble can be used by ScalaFX beginners as a set of examples and by more experienced users as a visual
17
16
reference. Larger size screenshots and information about changes can be found on the
18
-
[ScalaFX Ensemble Home Page](http://scalafx.github.com/scalafx-ensemble/).
19
-
20
-
This project is inspired by [JavaFX Ensemble](http://www.oracle.com/technetwork/java/javafx/samples/index.html).
21
-
22
-
Larger size screenshots and information about changes can be found on the
23
-
[ScalaFX Ensemble Home Page](http://scalafx.github.com/scalafx-ensemble/)
17
+
[ScalaFX Ensemble Home Page].
24
18
19
+
This project is inspired by [JavaFX Ensemble].
25
20
26
21
How to run ScalaFX Ensemble
27
22
---------------------------
@@ -33,29 +28,45 @@ In the future, we will also provide an excitable version.
33
28
34
29
To compile and run the project you only need to have:
*[SBT](http://www.scala-sbt.org/) (v.1 or newer) installed.
38
-
* ScalaFX Ensemble source code
31
+
*[Java JDK] 11 or newer
32
+
*[SBT]1 or newer
33
+
* ScalaFX Ensemble source code. All missing dependencies, including proper version of Scala and ScalaFX, will be downloaded by SBT.
39
34
40
-
All missing dependencies, including proper version of Scala and ScalaFX, will be downloaded by SBT.
35
+
Alternatively you can download a stand-alone installer from the [Releases], see [Stand-Alone Application](#stand-alone-application) below.
41
36
42
-
The older version of ScalaFX Ensemble for ScalaFX 8 on branch [SFX-8](https://github.com/scalafx/scalafx-ensemble/tree/SFX-8), ScalaFX 2.2 (Java 1.7) is on branch
37
+
The older version of ScalaFX Ensemble for ScalaFX 8 are on branch [SFX-8](https://github.com/scalafx/scalafx-ensemble/tree/SFX-8), ScalaFX 2.2 (Java 1.7) is on branch
This project is in a "stable" pre-release state, the main missing future planned for the first release is support
73
-
for building native executables.
86
+
Installers are created using [Install4J] and the [sbt-install4j] plugin.
74
87
88
+
Building Installers
89
+
-------------------
90
+
To build an installer you need to have [Install4J] installed.
75
91
76
-
Creating Native Installer
77
-
-------------------------
78
-
To create a native installer for current OS (Windows, Linux or MacOSX) issue following command:
92
+
Use SBT task `install4j -m _os_`, for instance to create Windows installer:
79
93
80
94
```
81
-
sbt jdkPackager:packageBin
95
+
sbt> install4j -m windows
82
96
```
83
97
98
+
Note that due to native dependencies in JavaFX distribution you have to build installer on a destination OS. Current SBT setup does not allow for cross-building on different OS. It is technically possible but not currently implemented in this project.
99
+
100
+
For more information about `install4j` see [sbt-install4j].
101
+
84
102
Mailing list
85
103
------------
86
104
87
105
To post questions or send feedback about ScalaFX Ensemble or ScalaFX in general, please use ScalaFX discussion groups:
88
106
89
-
*[scalafx-user](https://groups.google.com/forum/?fromgroups#!forum/scalafx-users) - for users of ScalaFX
107
+
*[scalafx-user] - for users of ScalaFX
90
108
91
-
*[scalafx-dev](https://groups.google.com/forum/?fromgroups#!forum/scalafx-dev) - for ScalaFX contributors/committers
109
+
*[scalafx-dev] - for ScalaFX contributors/committers
0 commit comments