GX Technology : Axis 6 - Dev Environment Setup

Prerequisites

Importing the Project

  1. Fork axis-server (See 1.1.png and 1.2.png)
    1. Click Fork

    2. Select your DisID
  2. Check out axis-server fork (See 2.6.png and 2.7.png)
    1. Expand the File menu, click Import
    2. Expand Maven, select Check out Maven Projects from SCM, click Next
    3. Select git as the repo type, and enter the url (eg: ssh://git@github.wdig.com/<disid>/axis-server.git)
    4. Click Finish
  3. Add new remote repo
    1. Right click project, expand the Team sub-menu, select Pull...
    2. Click New Remote...
    3. Fill in details
      1. Remote name: parent
      2. URI: ssh://git@github.wdig.com/Axis/axis-server.git
    4. Click Finish
    5. Click Finish
  4. Merge updates from parent repo
    1. Right click project, expand the Team sub-menu, select Pull...
    2. Select parent from the Remote drop-down
    3. Click Finish

Configuring the Local Server

  1. Create an App Engine Local Server
    1. Open the Servers view by selecting the Window → Show View → Other menu item.
    2. Search for Servers.
    3. Select the result and click Open.
    4. In the Servers view, right click and select the New → Server menu item.
    5. Select the Google → App Engine Standard type
    6. Change the Server Name to Axis.
    7. Click Next.
    8. Select axis-server(axis) and click Add >.
    9. Click Finish.

Configuring Axis

  1. Create the configuration directory
    1. /etc/disney/axis6/ on Linux or OS X
    2. C:\etc\disney\axis6\ on Windows
  2. Create the file devserver.properties in the above directory
    1. Open a terminal and change directory to the project root

      1. Terminals are installed by default on OS X, Linux. Windows requires either Windows Subsystem for Linux (WSL) or Cygwin
    2. Run the command

      ./src/main/shell/configure-devserver

Running the Server

In the Servers view, you will see the server created in the above step (eg: Axis [Stopped]). If it does not say Synchronized, then you will need to publish the changes. Do this by right clicking the server and selecting Publish. Once it it displays Synchronized, you can right click the server and select either Run or Debug. The Axis server will be listening on port 8080.

Running axis-client with axis-server (optional)

  1. Get your axis-client setup if it's not already: https://github.wdig.com/Axis/axis-client
  2. Run as specified in axis-client first page and in https://github.wdig.com/Axis/axis-client/wiki
  3. Go to https://localhost-axis.disney.network/axis/login to login.
  4. You will be redirect to  https://localhost-axis.disney.network. Add a slash in front of it as in  https://localhost-axis.disney.network/.

See Also

 

Attachments:

6.1.png (image/png)
6.2.png (image/png)
6.3.png (image/png)
6.4.png (image/png)
1.1.png (image/png)
2.6.png (image/png)
2.2.png (image/png)
2.3.png (image/png)
2.4.png (image/png)
2.5.png (image/png)
2.1.png (image/png)
1.2.png (image/png)
2.7.png (image/png)
image2020-7-22_10-14-28.png (image/png)