xpoTools is a Powershell module contains advanced functions that splits one XPO file into separate XPO files and combines a set of interdependent XPO files into a single XPO file.
XPO file is a text file contains Microsoft Dynamics AX (Axapta) objects. See tests/assets folder for example.
xpoTools features:
- convert jobs and classes
xpo
toxpp
files (similar toax7
) - create target folders by groups in developer projects, AOT objects path, object prefix, project names
- choose target folders structure by switch
pathStyle
:Default
,AOT
,Flat
,FlatAOT
,Project
,FlatProject
,All
andmazzy
- define own target folders structure
- include and exclude files based on a file name. For example, to exclude
DEL_
objects - filter AOT objects based on a text within XPO elements
- uses Encoding parameter
xpoTools inspired by:
Automatic install xpoTools module from the PowerShell Gallery:
Install-Module -Name xpoTools
Import-Module xpoTools
Automatic install Write-ProgressEx module from the NuGet.org:
Install-Package -Name xpoTools
Import-Module xpoTools
or manual:
- Download and unblock the latest .zip file.
- Extract the .zip into your
$PSModulePath
, e.g.~\Documents\WindowsPowerShell\Modules
. - Ensure the extracted folder is named
xpoTools
. - Set an execution policy to
RemoteSigned
orUnrestricted
to execute not signed modulesSet-ExecutionPolicy RemoteSigned
. - Run
Import-Module xpoTools
.
xpoTools use regexp to parse XPO files. It have no validation of XPO elements.
This project is released under the licensed under the MIT License.