Extracting the Deployment Unit

Use the AFX_EXTRACTOR utility to extract the deployment unit from the model file.

Syntax

java -classpath "AFX_EXTRACTOR_PATH;LOG4J_PATH" com.sybase.uep.tooling.utilities.AFXExtractor "MODEL_FILE_PATH" "DIRECTORY_STORED_AFX"

Parameters

  • AFX_EXTRACTOR_PATH – represents the path of the JAR file including the AFXExtractor class, which is installed in the SMP_HOME\MobileSDK<Version>\MobileWorkSpace\mobile\eclipse\plugins directory.
  • LOG4J_PATH – represents the path of the log4j JAR file, which is installed in the SMP_HOME\MobileSDK<Version>\MobileWorkSpace\mobile\eclipse\plugins\com.sybase.uep.tooling.api_<version number>\lib directory.
  • MODEL_FILE_PATH – represents the path of the model file.
  • DIRECTORY_STORED_AFX – represents the directory path which contains the deployment unit file.

Examples

  • java -classpath "C:\<SAP Mobile Platform_InstallDir>\MobileSDK<version>\MobileWorkSpace\mobile\eclipse\plugins\com.sybase.uep.tooling_utilities_1.7.0.201104081506.jar;C:\<SAP Mobile Platform_InstallDir>\MobileSDK<version>\MobileWorkSpace\mobile\eclipse\plugins\com.sybase.uep.tooling.api_1.5.5.201012021142\lib\log4j-1.2.15.jar " com.sybase.uep.tooling.utilities.AFXExtractor "c:\sup.model" "c:\afx\result"

    Errors are logged to the afx_extractor.log file located in the directory from which you run the AFX_EXTRACTOR utility. For example, if you run the utility from the default command-line directory, C:\Documents and Settings\<USERNAME>, then the log file is C:\Documents and Settings\<USERNAME>\afx_extractor.log.