Commit 150dded7 authored by Christoph von Oy's avatar Christoph von Oy
Browse files

Upated readme.md

parent 77c8a2ea
Pipeline #81118 passed with stage
in 1 minute and 56 seconds
......@@ -110,25 +110,15 @@ Depending on the used OS, change deployment directory in either _deployment.bat_
* for linux with `<SmartFoxServer directory>` at `/opt/SmartFoxServer_2X/SFS2X`
SFS_EXT_DIR="/opt/SmartFoxServer_2X/SFS2X/extensions/AllInOne"
SFS_DIR="/opt/SmartFoxServer_2X/SFS2X"
* for windows with `<SmartFoxServer directory>` at `C:\Users\Administrator\SmartFoxServer_2X\SFS2X`
SET SFS_EXT_DIR=C:\Users\Administrator\SmartFoxServer_2X\SFS2X\extensions\AllInOne
SET SFS_DIR=C:\Users\Administrator\SmartFoxServer_2X\SFS2X
In _pom.xml_, change the `<sfs.extensions>` path to match the directory, in which the server extension is going to be deployed. For example, if `<SmartFoxServer directory>` is located at `C:\Users\Administrator\SmartFoxServer_2X\SFS2X`, then the `<sfs.extensions>` should be as follows:
In _pom.xml_, change the `<sfs.directory>` path to match the directory, in which the server has been installed. For example, if `<sfs.directory>` is located at `C:\Users\Administrator\SmartFoxServer_2X\SFS2X`, then the `<sfs.directory>` should be as follows:
<sfs.extensions>C:\Users\Administrator\SmartFoxServer_2X\SFS2X\extensions\AllInOne</sfs.extensions>
In _pom.xml_, the `execution` in _exec-maven-plugin_ has to be configured for phase `package` to allow automatic deployment of the web application files. `<phase>none</phase>` is used by default, to allow correct operating of contineous integration tools.
<execution>
<id>Deploy</id>
<phase>none<!-- for production set to 'package' --></phase>
<goals>
<goal>exec</goal>
</goals>
</execution>
<sfs.directory>C:\Users\Administrator\SmartFoxServer_2X\SFS2X</sfs.directory>
Deployment of the server extension is done via `mvn clean install --settings ./settings.xml` command, which will built, test and deploy as a single jar the server application in SmartFoxServer _extensions_ directory. If an instance of the SmartFoxServer is running, the new extension will be automatically loaded.
......
......@@ -348,7 +348,7 @@
</executions>
</plugin>
-->
<plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment