|Re: 32/64 bit variable [message #1739800 is a reply to message #1739715]
||Thu, 04 August 2016 09:15
| Ed Merks
Registered: July 2009
We have code like this to put those values into the filter context.
OS os = getOS();
So you can write a task that specifies a filter; it's an Advanced
property of SetupTask so you have to enable the Show Advanced properties
in the Properties view. There are many architectures in
For SWT we do this to copy right .classpath_* file to .classpath:
<?xml version="1.0" encoding="UTF-8"?>
In the running IDE, these properties are always available.
In the installer, the values of the properties (variables) reflect the
value for the installer itself. I.e., we put the above into the
filterContext, but not into the setup context itself; last time this
issue came up I suggested we could do that too, but no one opened a
bugzilla for it.
In your case, you're asking directly for a variable with the value, but
the above values are maybe not something you can use directly (unlike
for SWT where the naming conventions of the resources involved
conveniently match the osgi.ws values). Likely you're best to use
filters to make the task conditional...
On 04.08.2016 10:52, Christian Pontesegger wrote:
> I want to copy arbitrary libraries within my setup. These depend on
> the user selection of 32/64 bit for the installation. Is there a
> variable available that allows me to get the user selection?
Powered by FUDForum
. Page generated in 0.01729 seconds