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

Improvements around JNA and build isolation #71

Open
wants to merge 1 commit into
base: 2023.2
Choose a base branch
from

Conversation

sergej-koscejev
Copy link
Contributor

@sergej-koscejev sergej-koscejev commented Jan 26, 2024

  • Specify idea.config.path and idea.system.path for generation.

    If left unspecified, <generate> task will write under MPS home and this can be problematic in case of multiple builds running from the same MPS home in parallel.

  • Add an Ant property for the JNA path so that it can be easily overridden.

    When running tests from the generic distribution the path has to be overridden to point to the platform-specific subdirectory. However, it was previously hardcoded to ${artifacts.mps}/lib/jna and impossible to override.

* Specify idea.config.path and idea.system.path for generation.

  If left unspecified, `<generate>` task will write under MPS home and
  this can be problematic in case of multiple builds running from the
  same MPS home in parallel.

* Add an Ant property for the JNA path so that it can be easily
  overridden.

  When running tests from the generic distribution the path has to be
  overridden to point to the platform-specific subdirectory. However, it
  was previously hardcoded to `${artifacts.mps}/lib/jna` and impossible
  to override.
@sergej-koscejev
Copy link
Contributor Author

sergej-koscejev commented Jan 26, 2024

This solves MPS-36590 and should also help with local MPS-extensions build on macOS. Currently MPS-extensions tests fail on macOS and complain about being unable to load the JNA library.

sergej-koscejev added a commit to JetBrains/MPS-extensions that referenced this pull request Jan 28, 2024
Necessary to run tests on macOS until
JetBrains/MPS#71 is fixed
sergej-koscejev added a commit to JetBrains/MPS-extensions that referenced this pull request Jan 28, 2024
Necessary to run tests on macOS until
JetBrains/MPS#71 is fixed
sergej-koscejev added a commit to mbeddr/mps-qa that referenced this pull request Feb 7, 2024
This fixes the build on macOS until JetBrains/MPS#71 is fixed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant