File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,13 +44,21 @@ Download
4444[ markdown-writer-fx-0.9.zip] ( https://github.com/JFormDesigner/markdown-writer-fx/releases/download/0.9/markdown-writer-fx-0.9.zip )
4545and extract it to any folder.
4646
47- Double-click ` markdown-writer-fx.jar ` to start * Markdown Writer FX* .
47+ Run:
48+ - for Windows, ``` bin/markdown-writer-fx.bat ``` to start * Markdown Writer FX*
49+ - and for Unix systems ``` ./bin/markdown-writer-fx.sh ``` to start * Markdown Writer FX*
4850
49- If this does not work, try following command in a terminal window:
51+ from the project folder.
5052
53+ Building
54+ -------
55+ Prerequisites are Java 8 and Gradle >= 3.5 in order to build * Markdown Writer FX* form sources.
56+ - get the source, e.g. by cloning the official repo with:
57+ ``` bash
58+ git clone https://github.com/JFormDesigner/markdown-writer-fx.git
5159```
52- java -jar markdown-writer-fx.jar
53- ```
60+ - run ``` gradle assembleDist ``` to create the distribution in the ``` $project/build/distributions/ ``` folder.
61+
5462
5563Changes
5664-------
Original file line number Diff line number Diff line change 11version = ' 0.9'
22
33apply plugin : ' java'
4- apply plugin : ' java-library-distribution '
4+ apply plugin : ' application '
55
66repositories {
77 jcenter()
@@ -55,6 +55,8 @@ dependencies {
5555sourceCompatibility = 1.8
5656targetCompatibility = 1.8
5757
58+ mainClassName = ' org.markdownwriterfx.MarkdownWriterFXApp'
59+
5860// for RichTextFX submodule
5961sourceSets {
6062 main. java. srcDirs = [' src/main/java' , ' RichTextFX/richtextfx/src/main/java' , ' Flowless/src/main/java' ]
@@ -64,7 +66,7 @@ sourceSets {
6466jar {
6567 manifest {
6668 attributes( ' Main-Class' : ' org.markdownwriterfx.MarkdownWriterFXApp' ,
67- ' Class-Path' : configurations. compile. collect { ' lib/ ' + it. getName() }. join(' ' ),
69+ ' Class-Path' : configurations. compile. collect { it. getName() }. join(' ' ),
6870 ' Implementation-Version' : version
6971 )
7072 }
You can’t perform that action at this time.
0 commit comments