Deploy your app

Create a deployment

This topic takes you through the process of deploying your application to your end user machines. Before creating a deployment you need to ensure that you have licensed your app correctly for the functionality you are using. For help on this subject see License your app

  1. Create a new directory you'll use to build the application deployment.
  2. Compile your application as a runnable .jar file and place the file in the directory you created above.
  3. Create directories called jniLibs and resources next to your runnable .jar and inside this you will need to selectively copy over the directories in your IDE project. The purpose of the files in each directory is explained below. From this you can decide which directories need to be deployed with your app.

    Directory

    Content purpose

    jniLibs/LX64

    binaries for 64bit Linux

    jniLibs/OSX64

    binaries for 64bit Mac OS X

    jniLibs/WIN32

    binaries for 32bit Windows

    jniLibs/WIN64

    binaries for 64bit Windows

    resources/pedata

    data for grid based transformations

    resources/shaders

    compiled shaders needed for Windows platforms

    resources/na

    language data for displaying route task results

    resources/symbols

    style files for rendering data using a DictionaryRenderer

    localserver100.1/32

    binaries for 32bit Local Server (Windows only)

    localserver100.1/64

    binaries for 64bit Local Server

Note:

When creating the Local Server binary directories, you can use the ArcGIS Runtime Local Server Deployment Builder to build deployments which only contain the functionality you require for your app. The ArcGIS Runtime Local Server Deployment Builder comes as part of the Local Server SDK.

Local Server deployments cannot be cross platform deployments. For example, if you make a Local Server deployment for Linux it can only be used on Linux.

Local Server deployments on Linux cannot be shared between multiple users. Each deployment much be used by only one Linux user.

In addition, if you will run local services based on map documents, and those map documents use third-party fonts, then you must make sure that those third-party fonts are installed on each client machine where those services will run. Otherwise, the corresponding local service may fail to start or may fail to render symbols that use those fonts.


In this topic
  1. Create a deployment