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

CLDR-18402 CLDRConfig to always set CLDR_DIR=. with a warning #4482

Merged
merged 1 commit into from
Mar 26, 2025

Conversation

srl295
Copy link
Member

@srl295 srl295 commented Mar 11, 2025

  • .. if the current dir seems to be a CLDR dir
  • we already do this for the .jar, but do this everywhere (such as from mvn:exec)

CLDR-18402

  • This PR completes the ticket.

ALLOW_MANY_COMMITS=true

Sorry, something went wrong.

- .. if the current dir seems to be a CLDR dir
- we already do this for the .jar, but do this everywhere (such as from mvn:exec)
@srl295 srl295 self-assigned this Mar 11, 2025
@@ -23,6 +23,7 @@
import org.unicode.cldr.icu.dev.test.TestFmwk;
import org.unicode.cldr.icu.dev.test.TestLog;
import org.unicode.cldr.test.CheckCLDR.Phase;
import org.unicode.cldr.test.SubmissionLocales;
Copy link
Member Author

Choose a reason for hiding this comment

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

this is a spotless change - SubmissionLocales is mentioned in a javadoc comment somewhere.


/**
* If CLDR_DIR is not set as a system property, try to set it. This does not invoke the
* CLDRConfig mechanism, and so would be ignored if run from (say) the SurveyTool environment.
Copy link
Member Author

Choose a reason for hiding this comment

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

in the survey tool, the explicit property file would override the environment var anyway.

@srl295 srl295 requested review from btangmu and macchiati March 11, 2025 14:13
@srl295 srl295 merged commit 150cfed into unicode-org:main Mar 26, 2025
13 checks passed
@srl295 srl295 deleted the cldr-18402/auto-cldr-dir branch March 26, 2025 16:50
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.

None yet

3 participants