public class SetEnvironmentVariable extends ProcessRunner
<process type="org.eclipse.cdt.core.SetEnvironmentVariable">
<simple name="projectName" value="$(projectName)"/>
<complex-array name="variables">
<element>
<simple name="name" value="QMAKE"/>
<simple name="value" value="$(qmake)"/>
</element>
</complex-array>
</process>
This will create an environment variable called "QMAKE" and will set the value to
be the value entered in a field (called qmake) in the New Project wizard.| Constructor and Description |
|---|
SetEnvironmentVariable() |
| Modifier and Type | Method and Description |
|---|---|
void |
process(TemplateCore template,
ProcessArgument[] args,
String processId,
org.eclipse.core.runtime.IProgressMonitor monitor) |
areArgumentsMatchingRequiredParameters, getArgumentsMismatchMessage, getProcessMessage, getProcessParameters, missingArgExceptionpublic void process(TemplateCore template, ProcessArgument[] args, String processId, org.eclipse.core.runtime.IProgressMonitor monitor) throws ProcessFailureException
process in class ProcessRunnerProcessFailureExceptionCopyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.