-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1f9b7eb
commit 62576e9
Showing
30 changed files
with
4,644 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="14.0"> | ||
<PropertyGroup> | ||
<MetadataDirectory>$(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dynamics\AX\7.0\SDK@MetadataPath)</MetadataDirectory> | ||
<DynamicsSDK>$(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dynamics\AX\7.0\SDK@DynamicsSDK)</DynamicsSDK> | ||
<PackagesPath>$(AGENT_BUILDDIRECTORY)\Packages</PackagesPath> | ||
<TestResultsPath>$(AGENT_BUILDDIRECTORY)\TestResults</TestResultsPath> | ||
<ArtifactsPath>$(AGENT_BUILDDIRECTORY)\Artifacts</ArtifactsPath> | ||
</PropertyGroup> | ||
|
||
<!-- Instrument that build has started --> | ||
<Target Name="InstrumentBuildStart" Condition="Exists('$(DynamicsSDK)\DevALMInstrumentor.ps1')"> | ||
<Exec Command="powershell.exe -NonInteractive -ExecutionPolicy RemoteSigned -Command "& {$(DynamicsSDK)\DevALMInstrumentor.ps1 -TaskBuildStart}"" ContinueOnError="WarnAndContinue" /> | ||
</Target> | ||
|
||
<!-- Clean output from previous build --> | ||
<Target Name="Clean" AfterTargets="InstrumentBuildStart"> | ||
<RemoveDir Directories="$(OutputPath)" Condition="Exists('$(OutputPath)')" /> | ||
<RemoveDir Directories="$(LogPath)" Condition="Exists('$(LogPath)')" /> | ||
<RemoveDir Directories="$(PackagesPath)" Condition="Exists('$(PackagesPath)')" /> | ||
<RemoveDir Directories="$(TestResultsPath)" Condition="Exists('$(TestResultsPath)')" /> | ||
<RemoveDir Directories="$(ArtifactsPath)" Condition="Exists('$(ArtifactsPath)')" /> | ||
</Target> | ||
|
||
<!-- Generate Metadata.proj --> | ||
<Target Name="GenerateProjFiles" AfterTargets="InstrumentBuildStart" Condition="Exists('$(DynamicsSDK)\GenerateProjFiles.ps1')"> | ||
<Exec Command="powershell.exe -NonInteractive -ExecutionPolicy RemoteSigned -Command "& {$(DynamicsSDK)\GenerateProjFiles.ps1 -MetadataPath '$(MSBuildProjectDirectory)\Metadata' -ProjectMetadataDependencyXml '$(DependencyXml)' -ErrorLogPath '$(LogPath)\GenerateProjErrors.log' -Verbose}"" ContinueOnError="ErrorAndStop" /> | ||
<Error Condition="Exists('$(LogPath)\GenerateProjErrors.log')" Text="Failed to generate project files. Please check GenerateProjErrors.log in the additional logs for details." /> | ||
</Target> | ||
|
||
<!-- Build generated projects --> | ||
<Target Name="ExecuteMetadata_Project_BuildProj" AfterTargets="GenerateProjFiles" Condition="Exists('Metadata_Project_Build.proj')"> | ||
<MSBuild Projects="Metadata_Project_Build.proj" ContinueOnError="ErrorAndStop" StopOnFirstFailure="true"/> | ||
</Target> | ||
|
||
<!-- Ensure that the output path exists as it is passed to the Generate Packages and Execute Tests steps --> | ||
<Target Name="CreateOutputPath" AfterTargets="ExecuteMetadata_Project_BuildProj"> | ||
<MakeDir Directories="$(OutputPath)" Condition="!Exists('$(OutputPath)')" /> | ||
</Target> | ||
|
||
<!-- Instrument that build has ended --> | ||
<Target Name="InstrumentBuildEnd" AfterTargets="CreateOutputPath" Condition="Exists('$(DynamicsSDK)\DevALMInstrumentor.ps1')"> | ||
<Exec Command="powershell.exe -NonInteractive -ExecutionPolicy RemoteSigned -Command "& {$(DynamicsSDK)\DevALMInstrumentor.ps1 -TaskBuildEnd}"" ContinueOnError="WarnAndContinue" /> | ||
</Target> | ||
</Project> |
95 changes: 95 additions & 0 deletions
95
Metadata/AOTBrowser/AOTBrowser/AxClass/ARBAOTObjectPopulateController.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<AxClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> | ||
<Name>ARBAOTObjectPopulateController</Name> | ||
<SourceCode> | ||
<Declaration><![CDATA[ | ||
/// <summary> | ||
/// Controller for generating setup data for parameter comparison | ||
/// </summary> | ||
class ARBAOTObjectPopulateController extends SysOperationserviceController | ||
{ | ||
} | ||
]]></Declaration> | ||
<Methods> | ||
<Method> | ||
<Name>new</Name> | ||
<Source><![CDATA[ | ||
/// <summary> | ||
/// Constructor for ACMAOTObjectPopulateController class | ||
/// </summary> | ||
/// <param name = "_className">The name of the class</param> | ||
/// <param name = "_methodName">The method name</param> | ||
/// <param name = "_executionMode">The execution mode</param> | ||
protected void new(IdentifierName _className = '', IdentifierName _methodName = '', SysOperationExecutionMode _executionMode = SysOperationExecutionMode::Synchronous) | ||
{ | ||
super(classStr(ARBAOTObjectPopulateService), methodStr(ARBAOTObjectPopulateService, populateAOTObjects), _executionMode); | ||
} | ||
]]></Source> | ||
</Method> | ||
<Method> | ||
<Name>construct</Name> | ||
<Source><![CDATA[ | ||
/// <summary> | ||
/// Construct method for ACMAOTObjectPopulateController | ||
/// </summary> | ||
/// <returns>The new ACMAOTObjectPopulateController</returns> | ||
public static ARBAOTObjectPopulateController construct() | ||
{ | ||
return new ARBAOTObjectPopulateController(); | ||
} | ||
]]></Source> | ||
</Method> | ||
<Method> | ||
<Name>caption</Name> | ||
<Source><![CDATA[ | ||
/// <summary> | ||
/// The caption for the controller | ||
/// </summary> | ||
/// <returns>The caption</returns> | ||
public ClassDescription caption() | ||
{ | ||
return "@AOTBrowser:PopulateAOTObjectTable"; | ||
} | ||
]]></Source> | ||
</Method> | ||
<Method> | ||
<Name>parmDialogCaption</Name> | ||
<Source><![CDATA[ | ||
/// <summary> | ||
/// The dialog caption | ||
/// </summary> | ||
/// <param name = "_dialogCaption">The new dialog caption</param> | ||
/// <returns>The dialog caption</returns> | ||
public LabelType parmDialogCaption(LabelType _dialogCaption = dialogCaption) | ||
{ | ||
LabelType ret; | ||
ret = "@AOTBrowser:PopulateAOTObjectTable"; | ||
return ret; | ||
} | ||
]]></Source> | ||
</Method> | ||
<Method> | ||
<Name>main</Name> | ||
<Source><![CDATA[ | ||
/// <summary> | ||
/// The main method | ||
/// </summary> | ||
/// <param name = "_args">The arguments</param> | ||
public static void main(Args _args) | ||
{ | ||
ARBAOTObjectPopulateController controller = ARBAOTObjectPopulateController::construct(); | ||
controller.startOperation(); | ||
} | ||
]]></Source> | ||
</Method> | ||
</Methods> | ||
</SourceCode> | ||
</AxClass> |
Oops, something went wrong.