-
Notifications
You must be signed in to change notification settings - Fork 985
Compiling the source code
Antonia Engfors edited this page May 12, 2018
·
3 revisions
When you have made adjustments to the source code, it is likely that you will want to create a new .war file and deploy it on your server. For this, you can use a simple command:
# for unix based systems
./gradlew assemble
# for windows
./gradlew.bat assembleThis will create 2 new .war files under build/libs,
- streama-{version}.war
- streama-{version}.war.original
all you will need is the streama-{version}.war.
This file is an executable, so you can just copy it into your deployment directory / your server and start it as usual.
The version number can be configured in in the build.gradle around line 20
// ...
version "1.6.0-RC6"
group "streama"
apply plugin:"eclipse"
apply plugin:"idea"
// ...
The version number is intended to be semantic, so {major}.{minor}.{patch} with RC info if you need it. But you can change it to any string that you like.