EditLive! 9 Documentation : Installing a License Tutorial

Getting Started 

Required Skills

The following skills are required prior to working with this tutorial:

  • Basic Knowledge of XML
Required Tutorials Completed

The following tutorials are required to be undertaken before attempting this tutorial:

Installing a License Using a Text Editor

Step 1. Open the sample_eljconfig.xml Configuration File

For your EditLive! SDK, open the redistributables/edlitlivejava directory in your SDK. Locate the sample_eljconfig.xml Configuration File. This file is the default Configuration File provided by Ephox.

Open the sample_eljconfig.xml Configuration File using a text editor.

Step 2. Locate the <ephoxLicenses> Configuration Element

EditLive! for Java Swing Configuration Files use XML to store information. Use the Reference section of this SDK to read up on the <ephoxLicenses> Configuration File element.

By using the Configuration Element Tree Structure depicted in the <ephoxLicenses> article, you can see where in the Configuration File this element will be located.

Locate the <ephoxLicenses> element as it is structured in the sample_eljconfig.xml file.

    <!-- 
    Add your Ephox-provided license key here 
    -->
    <ephoxLicenses>
    	<license
        	domain="LOCALHOST"
        	key="6FFF-4DC5-EDF4-2486"
        	licensee="For Evaluation Only"
        	release="8.0"
        	type="Evaluation License"
        	productivityPack="true"
    	/>
    </ephoxLicenses>

Step 3. Add the <license> Element from your License File

Your license file will contain a <license> element. To add your license to the configuration file, copy the <license> element from the license file into the <ephoxLicenses> element, under the current <license> element.

For example, if your license file contained the following:

<ephoxLicenses>
	<license
		domain="MY.SERVER.COM"
		key="5FFF-635E-395E-E5F3"
		licensee="ME"
		type="Unlimited Subdomain"
		release="8.0"
		productivityPack="true"
	/>
</ephoxLicenses>

The <ephoxLicenses> element in your configuration file should appear as follows:

    <!-- 
    Add your Ephox-provided license key here 
    -->
    <ephoxLicenses>
    	<license
        	domain="LOCALHOST"
        	key="6FFF-4DC5-EDF4-2486"
        	licensee="For Evaluation Only"
        	release="8.0"
        	type="Evaluation License"
        	productivityPack="true"
    	/>
       <license
		domain="MY.SERVER.COM"
		key="5FFF-635E-395E-E5F3"
		licensee="ME"
		type="Unlimited Subdomain"
		release="8.0"
		productivityPack="true"
	/>
    </ephoxLicenses>

Attachments: