Update JavaFX client launch command

This commit is contained in:
Charles Gould 2019-05-13 00:06:47 -04:00
parent aa8f5ef4e9
commit a9171f5b04
2 changed files with 8 additions and 6 deletions

View File

@ -12,7 +12,7 @@ Lingo with WebSockets
## Launch client
`mvn -f ./client/pom.xml jfx:run`
`mvn -f ./client/pom.xml exec:java`
Practice: <http://localhost:8080/practice.html>

View File

@ -49,13 +49,15 @@
<build>
<plugins>
<plugin>
<groupId>com.zenjava</groupId>
<artifactId>javafx-maven-plugin</artifactId>
<version>8.8.3</version>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<configuration>
<mainClass>com.charego.lingo.client.bootstrap.LingoClient</mainClass>
<additionalAppResources>src/main/config</additionalAppResources>
<copyAdditionalAppResourcesToJar>true</copyAdditionalAppResourcesToJar>
<addResourcesToClasspath>true</addResourcesToClasspath>
<additionalClasspathElements>
<additionalClasspathElement>src/main/config</additionalClasspathElement>
</additionalClasspathElements>
</configuration>
</plugin>
</plugins>