org.codehaus.mojo.javascript
Class TitaniumSettings

java.lang.Object
  extended by org.codehaus.mojo.javascript.TitaniumSettings

public class TitaniumSettings
extends java.lang.Object

Class containing information on the titanium SDK to use.


Field Summary
protected  java.io.File androidBuilder
          The titanium android build script.
protected  java.io.File androidSDK
          The android SDK location.
protected  java.io.File iosBuilder
          The titanium iOS build script.
protected  java.lang.String iosDevelopmentCertificate
          The ios Development certificate.
protected  java.lang.String iosDevelopmentProvisioningProfile
          The iOS development provisioning profile.
protected  java.lang.String iosDistributionCertificate
          The ios Distribution certificate.
protected  java.lang.String iosDistributionProvisioningProfile
          The ios distribution provisioning profile.
 
Constructor Summary
TitaniumSettings()
           
 
Method Summary
 java.io.File getAndroidBuilder(java.lang.String version)
           
 java.io.File getAndroidSdk()
           
 java.io.File getIosBuilder(java.lang.String version)
           
 java.lang.String getIosDevelopmentCertificate()
           
 java.lang.String getIosDevelopmentProvisioningProfile()
           
 java.lang.String getIosDistributionCertificate()
           
 java.lang.String getIosDistributionProvisioningProfile()
           
 java.lang.String getKeystore(java.lang.String version, java.io.File targetDir)
           
 java.lang.String getKeystoreAlias()
           
 java.lang.String getKeystorePassword()
           
 Tiapp getTiappFromXML(java.io.File xmlFile)
           
 void setAndroidBuilder(java.io.File androidBuilder)
           
 void setAndroidSdk(java.io.File androidSdk)
           
 void setIosBuilder(java.io.File iosBuilder)
           
 void setIosDevelopmentCertificate(java.lang.String iosDevelopmentCertificate)
           
 void setIosDevelopmentProvisioningProfile(java.lang.String iosDevelopmentProvisioningProfile)
           
 void setIosDistributionCertificate(java.lang.String iosDistributionCertificate)
           
 void setIosDistributionProvisioningProfile(java.lang.String iosDistributionProvisioningProfile)
           
 void setKeystore(java.lang.String keystore)
           
 void setKeystoreAlias(java.lang.String keystoreAlias)
           
 void setKeystorePassword(java.lang.String keystorePassword)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

androidBuilder

protected java.io.File androidBuilder
The titanium android build script. This parameter is optional as it may be guessed based on the operating system.

Is defined by:
expression:
${androidBuilder}

iosBuilder

protected java.io.File iosBuilder
The titanium iOS build script. This parameter is optional as it may be guessed based on the operating system.

Is defined by:
expression:
${iosBuilder}

androidSDK

protected java.io.File androidSDK
The android SDK location. This parameter is optional, by default the android SDK is retrieved based on the environment variable ANDROID_HOME.

Is defined by:
expression:
${androidSDK}

iosDevelopmentProvisioningProfile

protected java.lang.String iosDevelopmentProvisioningProfile
The iOS development provisioning profile. This profile is use when AbstractTitaniumPackageMojo.executeMode is virtual or device.

Is defined by:
expression:
${iosDevelopmentProvisioningProfile}

iosDistributionProvisioningProfile

protected java.lang.String iosDistributionProvisioningProfile
The ios distribution provisioning profile. This profile is used when AbstractTitaniumPackageMojo.executeMode is none.

Is defined by:
expression:
${iosDistributionProvisioningProfile}

iosDevelopmentCertificate

protected java.lang.String iosDevelopmentCertificate

The ios Development certificate.

This certificate is used when AbstractTitaniumPackageMojo.executeMode is virtual or device.

Is defined by:
expression:
${iosDevelopmentCertificate}

iosDistributionCertificate

protected java.lang.String iosDistributionCertificate

The ios Distribution certificate.

This certificate is used when AbstractTitaniumPackageMojo.executeMode is none.

Is defined by:
expression:
${iosDistributionCertificate}
Constructor Detail

TitaniumSettings

public TitaniumSettings()
Method Detail

setKeystoreAlias

public void setKeystoreAlias(java.lang.String keystoreAlias)

setKeystorePassword

public void setKeystorePassword(java.lang.String keystorePassword)

setKeystore

public void setKeystore(java.lang.String keystore)

getKeystore

public java.lang.String getKeystore(java.lang.String version,
                                    java.io.File targetDir)
                             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

getKeystoreAlias

public java.lang.String getKeystoreAlias()

getKeystorePassword

public java.lang.String getKeystorePassword()

getAndroidBuilder

public java.io.File getAndroidBuilder(java.lang.String version)

setAndroidBuilder

public void setAndroidBuilder(java.io.File androidBuilder)

getAndroidSdk

public java.io.File getAndroidSdk()
                           throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

setAndroidSdk

public void setAndroidSdk(java.io.File androidSdk)

getIosBuilder

public java.io.File getIosBuilder(java.lang.String version)

setIosBuilder

public void setIosBuilder(java.io.File iosBuilder)

getIosDistributionCertificate

public java.lang.String getIosDistributionCertificate()

setIosDistributionCertificate

public void setIosDistributionCertificate(java.lang.String iosDistributionCertificate)

getIosDevelopmentCertificate

public java.lang.String getIosDevelopmentCertificate()

setIosDevelopmentCertificate

public void setIosDevelopmentCertificate(java.lang.String iosDevelopmentCertificate)

getIosDevelopmentProvisioningProfile

public java.lang.String getIosDevelopmentProvisioningProfile()

setIosDevelopmentProvisioningProfile

public void setIosDevelopmentProvisioningProfile(java.lang.String iosDevelopmentProvisioningProfile)

getIosDistributionProvisioningProfile

public java.lang.String getIosDistributionProvisioningProfile()

setIosDistributionProvisioningProfile

public void setIosDistributionProvisioningProfile(java.lang.String iosDistributionProvisioningProfile)

getTiappFromXML

public Tiapp getTiappFromXML(java.io.File xmlFile)
                      throws java.io.IOException,
                             org.xml.sax.SAXException,
                             javax.xml.parsers.ParserConfigurationException,
                             javax.xml.xpath.XPathExpressionException
Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
javax.xml.xpath.XPathExpressionException


Copyright © 2011 SOFTEC sa. All Rights Reserved.