Skip to content

Conversation

@sid-srini
Copy link
Member

@sid-srini sid-srini commented Sep 21, 2024

  1. Moved the addition of the build project dirs locale_ja and locale_zh_CN to nbcode/l10n/ from inside netbeans-l10n/.

    • This is because the netbeans-l10n repo provides the build projects locale_de/ and locale_cs/ only as samples.
    • Thus the repo would not need to accept more such samples causing bloat.
    • Only the addition of localised messages for the java.lsp.server module is included in the patch.
    • This slimmed and renamed patch maybe submitted to the repo as a PR.
  2. Enhanced the Package ant task definition in netbeans-l10n to:

    • Support accepting disabledModules and enabledClusterPath as input.
    • These are used to filter unneeded clusters and modules from being built.
    • The platform properties disabled.modules and cluster.path can be used to set these parameters.
    • The former is expected to contain comma-separated module names.
    • The latter is expected to contain path-delimiter separated cluster paths.
    • This is stored in patches/l10n/filter-enabled-clusters-disabled-modules-code-cleanup.diff
    • This may also be submitted to the repo as a PR.
  3. Fixed nbcode/nbproject/platform.properties to specify ${path.separator} instead of ':' for the cluster.path value separator.

    • This is needed for build support on windows.
  4. Loaded the platform.properties in the locale build scripts and pass the values for disabled.modules and cluster.path to the buildPackage task.

  5. Updated the build.xml scripts to pass the appropriate property values for the netbeans/ and netbeans-l10n/ dirs.

  6. Fixed the clean-l10n target to clean out the copied artifacts from vscode/nbcode/extras/

  7. Fixed minor typos.

  8. Changed javac source 1.8 -> release 17

@sid-srini sid-srini self-assigned this Sep 21, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 21, 2024
@sid-srini sid-srini force-pushed the nb-l10n-remove-disabled-modules branch from 0a5d3b4 to 376557c Compare September 23, 2024 09:47
@sid-srini sid-srini requested a review from Achal1607 September 23, 2024 09:50
1. Moved the addition of the build project dirs locale_ja and locale_zh_CN to nbcode/l10n/ from inside netbeans-l10n/.
    - This is because the netbeans-l10n repo provides the build projects locale_de/ and locale_cs/ only as samples.
    - Thus the repo would not need to accept more such samples causing bloat.
    - Only the addition of localised messages for the java.lsp.server module is included in the patch.
    - This slimmed and renamed patch maybe submitted to the repo as a PR.

2. Enhanced the Package ant task definition in netbeans-l10n to:
    - Support accepting "disabledModules" and "enabledClusterPath" as input.
    - These are used to filter unneeded clusters and modules from being built.
    - The platform properties "disabled.modules" and "cluster.path" can be used to set these parameters.
    - The former is expected to contain comma-separated module names.
    - The latter is expected to contain path-delimiter separated cluster paths.
    - This is stored in patches/l10n/filter-enabled-clusters-disabled-modules-code-cleanup.diff

3. Fixed nbcode/nbproject/platform.properties to specify ${path.separator} instead of ':' for the cluster.path value separator.
    - This is needed for build support on windows.

4. Loaded the platform.properties in the locale build scripts and pass the values for "disabled.modules" and "cluster.path" to the buildPackage task.

5. Updated the build.xml scripts to pass the appropriate property values for the netbeans/ and netbeans-l10n/ dirs.

6. Fixed the clean-l10n target to clean out the copied artifacts from vscode/nbcode/extras/

7. Fixed minor typos.

8. Changed javac source 1.8 -> release 17

Signed-off-by: Siddharth Srinivasan <[email protected]>
@sid-srini sid-srini force-pushed the nb-l10n-remove-disabled-modules branch from 376557c to 40c9754 Compare September 23, 2024 15:38
Copy link
Member

@Achal1607 Achal1607 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the changes

@sid-srini sid-srini merged commit c3a5440 into oracle:main Sep 24, 2024
3 checks passed
@sid-srini sid-srini deleted the nb-l10n-remove-disabled-modules branch September 24, 2024 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants