Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updates to @ax-sdk2405.0.0 #409

Merged
merged 5 commits into from
Jun 21, 2024
Merged

updates to @ax-sdk2405.0.0 #409

merged 5 commits into from
Jun 21, 2024

Conversation

PTKu
Copy link
Member

@PTKu PTKu commented Jun 15, 2024

This PR update AXOpen to '@ax/simatic-ax@2405.0.0'.

Direct ax dependencies were removed from the libraries and testing applications.
ax dependencies are now grouped into the following projects:

  • @ix-ax/ax.axopen.min
  • @ix-ax/ax.axopen.hwlibary
  • @ix-ax/ax.axopen.app

PTKu added 5 commits June 15, 2024 21:00
… a process passing in the `ApaxCmd` class and a renaming of a library in the `BuildContext` class.

1. **Modification in Process Passing Criteria in `ApaxCmd` Class**: The condition to determine if a process has passed has been updated. Instead of checking for the string "OVERALLRESULT[PASSED]" in the output, the new condition checks for "FAILED:0". This implies that a process is considered successful if there are no failures reported in the output. This change could significantly affect how process outcomes are determined, potentially making the criteria for passing more straightforward or aligned with how results are reported. (File: `ApaxCmd.cs`)

2. **Renaming of Library in `BuildContext` Class**: A library previously known as "ax.axopen.hwlib" has been renamed to "ax.axopen.hwlibrary". This change is limited to the renaming of the library without affecting its packaging status, indicating a possible rebranding or standardization of library names without altering its inclusion in builds or packages. (File: `BuildContext.cs`)
…kaging process, specifically adding a condition for packaging in the build process, removing unnecessary code, and enhancing logging for better visibility of the build flow. These changes aim to improve the flexibility and maintainability of the codebase.

1. **Packaging Condition Added to Test and Build Process**: A new conditional check has been introduced in the `TestsTask` class to determine whether packaging steps should be executed based on the `DoPack` parameter. This allows for more flexible build configurations by only including packaging steps when necessary. [Reference: TestsTask class, conditional check for `context.BuildParameters.DoPack`]

2. **Removed Unnecessary Closing Bracket**: An extraneous closing bracket has been removed, likely fixing a syntax error or improving code readability. This minor change contributes to cleaner and more maintainable code. [Reference: Removal of unnecessary closing bracket after exception throw statement]

3. **Commented Out Code in CreateArtifactsTask**: Sections of code in the `CreateArtifactsTask` class have been commented out, including a block that changes build properties for Apax files and the call to `PackApax(context);`. This indicates a possible shift in packaging strategy or a temporary measure for debugging or refactoring. [Reference: Commented out code in `CreateArtifactsTask` class]

4. **Warning for Skipping Packaging**: A warning has been added to the build process to notify when the packaging step is skipped due to the `DoPack` parameter being false. This enhances the transparency of the build process by making it clear when certain steps are omitted based on build parameters. [Reference: Warning log addition for skipped packaging process]
@PTKu PTKu merged commit 3c23453 into dev Jun 21, 2024
1 check passed
@PTKu PTKu deleted the update-to-ax-sdk-2405_0_0 branch June 21, 2024 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant