Is it possible to add only Foundation Library Security (without Pack NET) to a VEE Port?

Hi MicroEJ team,

I would like to use the class GeneralSecurityException in my Java application but I don’t want to import in my VEE Port the NET pack that features the Security Foundation Library.

Is it possible to add only the Foundation Library Security (without Pack NET) to a VEE Port?

Thanks in advance for your help,
S.

Hi,

The Security Foundation Library is included in the NET pack. You can add this Foundation Library to your VEE Port by adding the associated module dependency on the NET pack in the module.ivy file. Then, update the VEE Port module configuration “.platform” file (see Platform Creation — MicroEJ Documentation) to add the Security component. A rebuild of the VEE Port is necessary to have an up to date VEE Port including the new Foundation Library.

Kind regards,
Julien

1 Like

Hi Julien,

Thanks for your reply.
It works in my side now!

Best regards,
S.