Age | Commit message (Collapse) | Author |
|
[YOCTO #13050]
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
|
|
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>
|
|
* 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>
|
|
* 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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Reuse license info from org.yocto.sdk for new org.yocto.sdk2.* features.
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
|
|
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>
|
|
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
|
|
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
|
|
"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>
|
|
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
|
|
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
|
|
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
|
|
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>
|
|
Use proper id for Yocto Project autotools related build definitions.
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
|
|
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
|
|
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
|
|
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>
|
|
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
|
|
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>
|
|
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
|