This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
documentation:software:webapi:webapi_installation_guide [2017/02/28 15:12] anthonysena |
documentation:software:webapi:webapi_installation_guide [2017/03/02 20:50] anthonysena |
||
---|---|---|---|
Line 84: | Line 84: | ||
</profiles> | </profiles> | ||
</settings> | </settings> | ||
+ | |||
+ | Note: this file above is saved as /WebAPIConfig/settings.xml and will be referred to in the “Building the .war file section”. | ||
+ | |||
+ | **Download the appropriate JDBC driver** | ||
+ | |||
+ | For SQL Server, the driver is available from the Maven repository, so no additional steps are required. | ||
=== PostgreSQL === | === PostgreSQL === | ||
Line 176: | Line 182: | ||
Open command prompt, go to WebAPI folder, type | Open command prompt, go to WebAPI folder, type | ||
- | set JAVA_HOME=C:/Program Files/Java/jdk1.7.0_67 | + | set JAVA_HOME=C:/Program Files/Java/jdk1.8.0_112 |
//Make sure you point to a JDK, not a JRE. It is probably a good idea to stick to the same Java version that is running Tomcat// | //Make sure you point to a JDK, not a JRE. It is probably a good idea to stick to the same Java version that is running Tomcat// | ||
- | mvn clean package -s /WebAPIConfig/settings.xml -P {profile id} | + | mvn clean package -s WebAPIConfig/settings.xml -P {profile id} |
This will create the file WebAPI.war in the target subfolder. | This will create the file WebAPI.war in the target subfolder. |