This change introduces three new ProcessRunners that can be used in the
New Project wizard's template.xml files. These will be used by two new
Qt project wizards that I will introduce in a second patch.
The three new rules are:
1) "AddMakeTarget" which creates new Make Targets (in the Make Targets
view) for the new projects.
2) "SetEnvironmentVariable" which sets an environment variable in all of
the new project's build configurations.
3) "ExtraLanguageSettingsProvider" which modifies the new project's
build configurations to include a new ILanguageSettingsProvider.
The first two are straightforward, the third is a bit different.
Instead of creating a new Toolchain or Configuration it modifies the
Configurations that were created for the new project. In this case the
only modification is to add the extra ILanguageSettingsProvider, but it
might be useful to extend this to other customizations as well.
Change-Id: I30710400e9b0dffcbe6e8965ce7ce2078c1c99ca
Signed-off-by: Andrew Eidsness <eclipse@jfront.com>
Reviewed-on: https://git.eclipse.org/r/16817
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
An implementation of IEnvironmentVariable is returning null for its key
or value. The javadoc on this interface doesn't mention null, which I
guess makes it a valid value.
This patch checks the result before trying to put it into an instance of
java.util.Properties.
Change-Id: Ic04ddd72dfb558ca403b549b64847c3437971407
Signed-off-by: Andrew Eidsness <andrewe@jfront.com>
Reviewed-on: https://git.eclipse.org/r/15820
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
-isystem
https://bugs.eclipse.org/bugs/show_bug.cgi?id=394959
Simple patch to treat -isystem as -I, so that at least the paths show
up in the configuration:
- added two include parse options (copied/adapted from -I)
- added junit test case (copied/adapted from -I)
Change-Id: Ib3f3764ad75def49f6ec180bfecc0d6f42eabb1d
Signed-off-by: Fabrizio Iannetti <fabrizio.iannetti@intel.com>
Reviewed-on: https://git.eclipse.org/r/15584
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
- Add a check after calling applicability calculator to see if the
option passed in isElementExtension() in which case look for it's
id as if it is a superclass id.
Change-Id: Id9fb007a138dfc4fc056c465bbb1842bba4fe4ba
Reviewed-on: https://git.eclipse.org/r/11991
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
IP-Clean: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
This fixes the parallel build case (for the InternalBuilder) to update
the configuration build state on successful builds. Because parallel
builds follow a different code path than the non-parallel case, updating
the state was misssed.
Change-Id: Idab10c39c3093a731fe6961b451d0fdb5975f240
Reviewed-on: https://git.eclipse.org/r/11286
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>