Kaushik,
I doubt very much that you can set anything for these plugins via IU
properties. Most likely these plugins look at environment variables or
at preferences, which might be configuration scoped but are more likely
to be workspace scoped; in either case, preferences are not something
you can control with p2 director.
Perhaps you could use Oomph to define/configure your own specialized
products:
https://wiki.eclipse.org/Eclipse_Oomph_Authoring
You'll first need to find out how these specific plugins determine the
toolchain information and where it's actually stored. I know for CDT,
for example, that it looks for gcc on the PATH environment variable, so
that's something that needs to be configured by the user in their
system-wide environment variables before launching any particular
installation.
Regards,
Ed
On 05.12.2018 17:38, Kaushik Datta wrote:
Hello P2 developers,
I am using p2 director to add some plugins to the basic Eclipse
release. However, I don’t know how to configure these plugins.
Specifically, I am using the Yocto plugin and MCU Eclipse plugin, both
of which allow the user to specify a toolchain path so that the plugin
can perform cross-compilation within the Eclipse IDE. I’d like to set
the toolchain paths for these plugins using p2 director. I see that
there is a flag called -iuProfileProperties that lets the user specify
a IU properties file with a list of properties to set, but I haven’t
had any luck using it. So, I guess my question is two-fold:
1. How do I determine the name of the property within these plugins
that specifies the toolchain path? Or, more generally, how do I
list the properties associated with a plugin?
2. How do I set this property? I would imagine that this would use
the -iuProfileproperties flag, but how exactly should the input
properties file be set up? A sample file that shows how this is
done would be greatly appreciated.
I haven’t found much documentation online about the above, so any help
you could offer is most appreciated. Thank you very much for your time.
-Kaushik
___
p2-dev mailing list
p2-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://www.eclipse.org/mailman/listinfo/p2-dev
___
p2-dev mailing list
p2-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://www.eclipse.org/mailman/listinfo/p2-dev