Renamed javafx module to eclair-node-gui
and updated binaries name (#137)
* Renamed eclair-node-javafx module to eclair-node-gui * (build) javafx installer uses project version * (build) Streamlined capsule names * (build) mvn generates installer only with `installer` profile. The windows installer does not need to be created in common cases. Decreases `eclair-node-gui` module building time by ~ 1 min * (readme) updated the `run eclair` commands with the new capsule names
7
BUILD.md
@ -10,7 +10,12 @@ To build the project, simply run:
|
||||
```shell
|
||||
$ mvn package
|
||||
```
|
||||
or
|
||||
To skip the tests, run:
|
||||
```shell
|
||||
$ mvn package -DskipTests
|
||||
```
|
||||
To generate the windows installer along with the build, run the following command:
|
||||
```shell
|
||||
$ mvn package -DskipTests -Pinstaller
|
||||
```
|
||||
The generated installer will be located in `eclair-node-gui/target/jfx/installer`
|
||||
|
@ -61,11 +61,11 @@ You need to first install java, more precisely a [JRE 1.8](http://www.oracle.com
|
||||
Then download the latest fat jar and depending on whether or not you want a GUI run the following command:
|
||||
* with GUI:
|
||||
```shell
|
||||
java -jar eclair-node-javafx_xxxxxx-fat.jar
|
||||
java -jar eclair-node-gui-<version>-<commit_id>.jar
|
||||
```
|
||||
* without GUI:
|
||||
```shell
|
||||
java -jar eclair-node_xxxxxx-fat.jar
|
||||
java -jar eclair-node-<version>-<commit_id>.jar
|
||||
```
|
||||
|
||||
### Configuring Eclair
|
||||
|
@ -8,10 +8,10 @@
|
||||
<version>0.2-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>eclair-node-javafx_2.11</artifactId>
|
||||
<artifactId>eclair-node-gui_2.11</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>${project.artifactId}</name>
|
||||
<name>eclair-node-gui</name>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
@ -44,7 +44,7 @@
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>sg.enixsoft</groupId>
|
||||
<groupId>com.github.chrisdchristo</groupId>
|
||||
<artifactId>capsule-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
@ -54,45 +54,58 @@
|
||||
<configuration>
|
||||
<appClass>fr.acinq.eclair.JavafxBoot</appClass>
|
||||
<type>fat</type>
|
||||
<customDescriptor>-${git.commit.id.abbrev}-capsule-fat</customDescriptor>
|
||||
<fileName>${project.name}-${project.version}</fileName>
|
||||
<fileDesc>-${git.commit.id.abbrev}</fileDesc>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.zenjava</groupId>
|
||||
<artifactId>javafx-maven-plugin</artifactId>
|
||||
<version>8.8.3</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<!-- required before build-native -->
|
||||
<id>create-jfxjar</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>build-jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>build-native</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<vendor>ACINQ</vendor>
|
||||
<needShortcut>true</needShortcut>
|
||||
<appName>Eclair (Alpha 3)</appName>
|
||||
<nativeReleaseVersion>0.2.0</nativeReleaseVersion>
|
||||
<mainClass>fr.acinq.eclair.JavafxBoot</mainClass>
|
||||
<verbose>false</verbose>
|
||||
<bundler>EXE</bundler>
|
||||
<updateExistingJar>true</updateExistingJar>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>installer</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>com.zenjava</groupId>
|
||||
<artifactId>javafx-maven-plugin</artifactId>
|
||||
<version>8.8.3</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<!-- required before build-native -->
|
||||
<id>create-jfxjar</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>build-jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>build-native</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<vendor>ACINQ</vendor>
|
||||
<needShortcut>true</needShortcut>
|
||||
<appName>Eclair</appName>
|
||||
<nativeReleaseVersion>${project.version}</nativeReleaseVersion>
|
||||
<skipNativeVersionNumberSanitizing>true</skipNativeVersionNumberSanitizing>
|
||||
<nativeOutputDir>${project.build.directory}/jfx/installer</nativeOutputDir>
|
||||
<mainClass>fr.acinq.eclair.JavafxBoot</mainClass>
|
||||
<verbose>false</verbose>
|
||||
<bundler>EXE</bundler>
|
||||
<updateExistingJar>true</updateExistingJar>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>fr.acinq.eclair</groupId>
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 318 B After Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 513 B After Width: | Height: | Size: 513 B |
Before Width: | Height: | Size: 524 B After Width: | Height: | Size: 524 B |
Before Width: | Height: | Size: 526 B After Width: | Height: | Size: 526 B |
Before Width: | Height: | Size: 513 B After Width: | Height: | Size: 513 B |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |
@ -11,7 +11,7 @@
|
||||
<artifactId>eclair-node_2.11</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>${project.artifactId}</name>
|
||||
<name>eclair-node</name>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
@ -44,7 +44,7 @@
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>sg.enixsoft</groupId>
|
||||
<groupId>com.github.chrisdchristo</groupId>
|
||||
<artifactId>capsule-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
@ -54,7 +54,8 @@
|
||||
<configuration>
|
||||
<appClass>fr.acinq.eclair.Boot</appClass>
|
||||
<type>fat</type>
|
||||
<customDescriptor>-${git.commit.id.abbrev}-capsule-fat</customDescriptor>
|
||||
<fileName>${project.name}-${project.version}</fileName>
|
||||
<fileDesc>-${git.commit.id.abbrev}</fileDesc>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
|
6
pom.xml
@ -10,7 +10,7 @@
|
||||
<modules>
|
||||
<module>eclair-core</module>
|
||||
<module>eclair-node</module>
|
||||
<module>eclair-node-javafx</module>
|
||||
<module>eclair-node-gui</module>
|
||||
</modules>
|
||||
|
||||
<description>A scala implementation of the Lightning Network</description>
|
||||
@ -64,9 +64,9 @@
|
||||
<version>2.2.2</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>sg.enixsoft</groupId>
|
||||
<groupId>com.github.chrisdchristo</groupId>
|
||||
<artifactId>capsule-maven-plugin</artifactId>
|
||||
<version>1.3.0</version>
|
||||
<version>1.5.1</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
|