From: Atanas Gegov <atanas.ge...@bmw-carit.de>

Hi,

this patch series does a refactoring in the project natures. It does not add new
functionality. In detail, this means the following:

Initially, the org.yocto.sdk.ide plugin defined 2 natures:
1/ YoctoSDKProjectNature (every template project has this nature,
strongly coupled with Autotools)
2/ YoctoSDKEmptyProjectNature (additional nature for empty projects)

With this change there are now 3 natures available:
1/ YoctoSDKProjectNature (the "basic" nature,
every Yocto IDE project has this nature)
2/ YoctoSDKAutotoolsProjectNature (requires YoctoSDKProjectNature,
strongly coupled with Autotools, all existing template projects get it)
3/ YoctoSDKEmptyProjectNature (additional nature for empty projects,
requires YoctoSDKProjectNature)

Now it is possible to introduce new type of Yocto projects that
for example use CMake instead of Autotools. These projects still
have the YoctoSDKProjectNature which provides the right environment,
the cross-development profiles, etc.

Cheers,
Atanas

P.S: This patch series apply on the current master "Remove clutter project 
templates"
(5e20d3c32072ddd91dceb8b2b793ef13f25b915e). However, it should be updated if the
patch currently discussed on the mailing list "[yocto][PATCH 
v2][eclipse-poky][master]
Add more comprehensive error message for invalid project name" is applied 
before this
patch series.

Atanas Gegov (7):
  plugins/sdk.ide: Prepared templates for autotools nature
  plugins/sdk.ide: Added a new YoctoSDKAutotoolsProjectNature
  plugins/sdk.ide: Added a check method for the global target profie
  plugins/sdk.ide: Switch to YoctoSDKAutotoolsProjectNature
  plugins/sdk.ide: Renamed the NewYoctoProjectPostProcess
  plugins/sdk.ide: Improved usage of strings in class
  plugins/sdk.ide: Extracted error message to YoctoSDKMessages

 .../OSGI-INF/l10n/bundle.properties                |    1 +
 plugins/org.yocto.sdk.ide/plugin.xml               |   28 ++++++-
 .../src/org/yocto/sdk/ide/YoctoSDKChecker.java     |   13 +++
 .../org/yocto/sdk/ide/YoctoSDKMessages.properties  |    3 +-
 .../natures/YoctoSDKAutotoolsProjectNature.java    |   86 ++++++++++++++++++++
 .../sdk/ide/natures/YoctoSDKProjectNature.java     |   70 ----------------
 .../src/org/yocto/sdk/ide/utils/YoctoSDKUtils.java |    6 +-
 .../NewYoctoAutotoolsProjectPostProcess.java       |   81 ++++++++++++++++++
 .../sdk/ide/wizard/NewYoctoCProjectTemplate.java   |   84 +++++++++++--------
 .../sdk/ide/wizard/NewYoctoProjectPostProcess.java |   73 -----------------
 .../projecttemplates/EmptyCPPProject/template.xml  |    1 +
 .../projecttemplates/EmptyCProject/template.xml    |    1 +
 .../HelloWorldCAutotoolsProject/template.xml       |    3 +-
 .../HelloWorldCGTKProject/template.xml             |    3 +-
 .../HelloWorldCPPAutotoolsProject/template.xml     |    3 +-
 15 files changed, 268 insertions(+), 188 deletions(-)
 create mode 100644 
plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/natures/YoctoSDKAutotoolsProjectNature.java
 create mode 100644 
plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/wizard/NewYoctoAutotoolsProjectPostProcess.java
 delete mode 100644 
plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/wizard/NewYoctoProjectPostProcess.java

-- 
1.7.9.5

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to