Showing posts with label Startup. Show all posts
Showing posts with label Startup. Show all posts

Tuesday, November 18, 2014

How to import and compile an xpo from Start Up


How to import and compile an xpo from Start Up
In order to import an XPO from command line in AX 2009 we can use AX32.exe StartUp command;
ax32.exe -StartupCmd=AutoRun_c:\Configuration.XML

The configuration XML would contain path to the AOT object to compile after import the XPO.
    exitWhenDone="true"
    version="4.0"
    logFile="C:\Temp\AxaptaAutorun.log">

     file="C:\Temp\CodeFile.xpo" />