Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] materialize-products fails because of missing Java Module

Hi,
If you're targetting a recent enough java runtime for your product (are you?) then Tycho defines a synthetic p2 unit for resolution that contains the default visible exported modules. There is at the moment nothing similar to --add-modules support for p2 dependency resolution.
However, you can define a profile and use this profile as executionEnvironment. In your custom profile, you can declare that this package is publicly visiible. See https://wiki.eclipse.org/Tycho/Execution_Environments#Custom_execution_environment_profiles for details ; or -maybe better- you can define your own Java installation that makes this module public and use it to build so Tycho will make this package visible.

HTH

Back to the top