Skip to content

Instantly share code, notes, and snippets.

@dim4o
Created October 2, 2017 08:56
Show Gist options
  • Save dim4o/474879e1b4a54da212dc9703477807ea to your computer and use it in GitHub Desktop.
Save dim4o/474879e1b4a54da212dc9703477807ea to your computer and use it in GitHub Desktop.
     _   _                             _
    / \ | |_ _ __ ___   ___  ___ _ __ | |__   ___ _ __ ___
   / _ \| __| '_ ` _ \ / _ \/ __| '_ \| '_ \ / _ \ '__/ _ \
  / ___ \ |_| | | | | | (_) \__ \ |_) | | | |  __/ | |  __/
 /_/   \_\__|_| |_| |_|\___/|___/ .__/|_| |_|\___|_|  \___|
                                |_|

Update intruction

Prerequisites

Minimum required Java version is Java 8. The other requirements are the same. Theoretically ATMOSPHERE should work and with Java 9 but it is not tested yet.

Backup or remove the old files

  • Open atmosphere-framework bundle folder and run:

    • ./uninstall -b if you use bash console
    • uninstall.bat -b id you use cmd console
  • Try to install Atmosphere

  • If the command fails you should backup/remove the old Atmosphere setup manually:

    • navigate to C:\Users\<username>\.gradle\caches\modules-2\files-2.1 and rename or remove com.musala.atmosphere package.
    • navigate to C:\Users\<username>\.m2\repository\com\musala and rename or remove atmosphere folder.

Install Atmosphere

  • run ./gradlew runServer(bash)/gradlew runServer(cmd)
  • run ./gradlew runAgent(bash)/gradlew runAgent(cmd)

Notes:

  • Make sure the Server is running before to start the Agent
  • Starting the first time will take longer than usual
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment