aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-01-22setup.sh: add documentation for eclipse full and partial mirrorsHEADmasterChin Huat Ang
[YOCTO #13050] Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2019-01-22setup.sh: generate trace.ini when requiredChin Huat Ang
Instead of pointing to static trace.ini which doesn't work well when the build is not run within scripts/ directory, dynamically generate the file in PWD to enable P2 trace messages when -q or --quiet is not set. [YOCTO #13050] Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2019-01-22setup.sh: fix getoptChin Huat Ang
* Replace getopts with getopt as it supports long and short options, also make sure all options are handled via getopt. * Suppress trace messages using -q or --quiet * Use P2 mirrors whenever -u or --upstream is set. [YOCTO #13050] Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2019-01-22setup.sh: rename P2 debug trace optionChin Huat Ang
* P2_INSTALL_DEBUG -> P2_INSTALL_TRACE * P2_INSTALL_TRACE enabled by default * debug.ini -> trace.ini [YOCTO #13050] Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2019-01-22setup.sh: allow disabling P2 mirrorsChin Huat Ang
Add new option for disabling P2 mirrors when downloading IUs. Note that setting "-vmargs -Declipse.p2.mirrors=false" at the end of the command line doesn't seem to work, so instead we set them by modifying the config.ini file from the eclipse archive that's being extracted. [YOCTO #13050] Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2019-01-22setup.sh: add P2 debug trace optionChin Huat Ang
Add new option for turning on P2 debug traces to enable troubleshooting P2 mirrors related issues such as when downloading installation units (IUs). These trace options are documented here: https://wiki.eclipse.org/Equinox/p2/TracingOptions [YOCTO #13050] Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-12-17org.yocto.cmake.core : fix missing cmake project template in maven buildLee Chee Yang
the problem only observed when using the plugin build with maven. running from workspace will not see the issue. Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
2018-11-16Update plugin names and descriptions in pom.xmlChin Huat Ang
Make sure all plugin names' begin with "Yocto Project", especially plugins which are placeholders for upstream feature contribution and bug fixes. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16Fix missing copyright and license infoChin Huat Ang
Reuse license info from org.yocto.sdk for new org.yocto.sdk2.* features. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.sdk.docker.ui: fix profile preference store for create profileLee Chee Yang
fix UI issue for create and delete new Cross developement profile. change from error to warning message when no profile selected. Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.sdk.repo: add optional experimental featuresChin Huat Ang
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16pom.xml: add experimental featuresChin Huat Ang
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16Group new plugins as featuresChin Huat Ang
"Yocto Project SDK Support - Experimental" feature (org.yocto.sdk2) provides the following plugins: * org.yocto.ui * org.yocto.docker.launcher * org.yocto.docker.ui * org.yocto.sdk.core * org.yocto.sdk.ui * org.yocto.sdk.docker.launcher * org.yocto.sdk.docker.ui "Yocto Project SDK Autotools Support - Experimental" feature (org.yocto.sdk2.autotools) provides the following plugins: * org.yocto.sdk.autotools.core * org.yocto.sdk.autotools.ui "Yocto Project SDK CMake Support - Experimental" feature (org.yocto.sdk2.cmake) provides the following plugins: * org.yocto.cmake.ore * org.yocto.cmake.ui * org.yocto.sdk.cmake.core * org.yocto.sdk.cmake.ui Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.sdk.repo: add documentation featureChin Huat Ang
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16pom.xml: build main features repository projectChin Huat Ang
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.sdk.repo: build main features repositoryChin Huat Ang
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16eclipse-yocto-alpha.psf : add org.yocto.sdk.autotools.ui and ↵cheeyang
org.yocto.sdk.cmake.ui Signed-off-by: cheeyang <chee.yang.lee@intel.com> Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.sdk.autotools.ui: fix autotools toolchain settingsChin Huat Ang
Make sure Autotools project converted to use Yocto Project Autotools toolchain is configured with a new configuration with the expected toolchain ID. Also make sure the configure tool is executed with ${CONFIGURE_FLAGS} variable set by the environment setup script. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.cmake.ui: import cmake project with fixed toolchainChin Huat Ang
Disable the toolchain selector in import wizard, and instead always import cmake project with host cmake toolchain. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.sdk.docker.ui: fix missing validationChin Huat Ang
Make sure the validation messages are refreshed whenever the project properties page is shown. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16Temporarily disable sysroot optionChin Huat Ang
Support for custom sysroot is incomplete, so disable it temporarily until it is fully supported. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.sdk.docker.ui: fix project preferences persistenceChin Huat Ang
Make sure only the first two editors (use project specific settings, and profile combo) are always backed by project preference store. Also make sure that in performApply(), all editor changes are stored into the preference store before saving it. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.sdk.docker.ui: add missing validationChin Huat Ang
Don't assume workspace profile preferences are always valid, instead validate them when the preference page is shown. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.sdk.docker.ui: fix project preferences storeChin Huat Ang
Inheriting CDT AbstractPage has an unexpected side-effect where CDT's project preference store would be used instead. This is fixed by adding an extra project preference store and getter method, and make sure this preference store is serialized when performOk() is invoked. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16pom.xml: add org.yocto.sdk.autotools.ui pluginChin Huat Ang
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.sdk.autotools.ui: configure as Yocto Project autotools projectChin Huat Ang
Add a configure as Yocto Project autotools project right click menu option, which adds Yocto Project nature and sets the Yocto Project autotools toolchain to the selected project. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.sdk.autotools.core: clean up plugin.xmlChin Huat Ang
Use proper id for Yocto Project autotools related build definitions. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.sdk.docker.ui: validate container build settingChin Huat Ang
When the profile's container build setting do not match the project's, show an error message in project's property page. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.cmake.ui: improve cmake regeneration actionChin Huat Ang
Regeneration action no longer shows a modal progress dialog, instead all long running jobs (delete build directory, regenerating makefiles and refresh build directory) are now running in background. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.cmake.core: improve makefile generationChin Huat Ang
The methods regenerateMakefile() and generateMakefiles(IResourceDelta) are no longer identical, instead generateMakefiles method now makes makefile generation optional (as intended) if the makefiles already exists, whereas the regenerateMakefile method will always regenerate regardless of whether existing makefiles exist or not. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.sdk.docker.launcher: fix container buildChin Huat Ang
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.sdk.cmake.core: fix incorrect builderChin Huat Ang
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16pom.xml: add org.yocto.sdk.cmake.uiChin Huat Ang
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.sdk.cmake.ui: configure as Yocto Project CMake projectChin Huat Ang
Add an action to configure a vanilla CMake project as Yocto Project CMake project, which adds Yocto Project nature to the project as well as a new configuration configured with Yocto Project CMake toolchain. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.sdk.ui: remove generic enable Yocto Project nature actionChin Huat Ang
Enabling Yocto Project nature without updating build system specific settings (e.g. toolchain) is not very useful, remove this feature from UI and instead export the underlying EnableNatureAction class as API for extension to support updating build system specific configurations. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.cmake.core: fix default build typeChin Huat Ang
When default build type is selected in project properties -> C/C++ Build ->Settings -> Tool Settings -> CMake (alpha) -> General -> Build type, do not set -DCMAKE_BUILD_TYPE=, instead just omit the entire flag. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.sdk.core: fix duplicated preference nameChin Huat Ang
This fixes a side-effect where selecting a workspace profile in workspace preference page would also caused the workspace profile to be selected in a project whenever project preference page is launched. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.sdk.cmake.core: enable ELF parserChin Huat Ang
Select CDT builtin ELF parser so that detected ELF binaries will appear under the Binaries virtual folder. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.cmake.core: enable ELF parserChin Huat Ang
Select CDT builtin ELF parser so that detected ELF binaries will appear under the Binaries virtual folder. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.cmake.ui: import project with cmake toolchain onlyChin Huat Ang
The import wizard page now show a list of cmake toolchains which extends the base CMake toolchain. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.cmake.ui: externalize import wizard stringChin Huat Ang
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.cmake.ui: add regenerate CMake build files menu optionChin Huat Ang
CMake projects updated with CMake nature will now show a new menu option "Regenerate CMake build files" which will delete the CMake build directory and regenerate all build files. A dialog will prompt for confirmation to delete the build directory if it already exists. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.cmake.ui: add CMake nature to imported projectChin Huat Ang
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.cmake.core: generate CMake build files only onceChin Huat Ang
Only generate CMake build files if they are missing. Subsequent builds should reuse the generated build files (Makefile, CMakeCache.txt, CMakeFiles dir etc.). Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.cmake.core: add CMake natureChin Huat Ang
CMake projects created from template will now have CMake nature set via NewCMakeProject process. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.cmake.ui: fix externalized stringsChin Huat Ang
Classes extending NLS for handling externalized strings must not be part of internal package, otherwise NLS API would not be able to load the externalized strings. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.cmake.core: fix incorrect cmake console IDChin Huat Ang
The CMake build console was broken and do not show up during project build, which appeared to be caused by refactoring to core vs UI plugins. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.cmake.ui: add import wizardChin Huat Ang
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16Improve preferences default values and initial valuesChin Huat Ang
When a C/C++ project is configured with Yocto Project nature via EnableNatureAction, an instance of YoctoProjectProjectPreferences will be created and configured with both default and initial values. This also means that both project and profile preferences no longer rely on the editors in YoctoProjectProfileComposedEditor to initialize the preferences' initial values. Furthermore, the initial values for the project or profile preferences are always applied when the preferences are created for the first time, and this has an added benefit which ensures that any prior preferences store would also be reinitialized. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16README.dev: update to Eclipse Photon releaseChin Huat Ang
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>