Bug 6522

Summary: [KEPLER] change yocto project settings menu missing on Ubuntu UNITY
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu>
Component: eclipse-pluginAssignee: Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu>
Status: RESOLVED FIXED QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: normal    
Priority: Medium CC: ioanax.grigoropol, stanciux.mihail, todor.minchev, yp.ep.watcher, yp.watcher
Version: 1.7   
Target Milestone: 1.8 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: Don't know
Attachments:
Description Flags
change yocto project settings menu missing on Ubuntu UNITY
none
missing option none

Description Bogdan Alexandru Voiculescu 2014-07-10 14:55:01 UTC
Created attachment 2037 [details]
change yocto project settings menu missing on Ubuntu UNITY

I installed Eclipse by following steps on Ubuntu UNITY:
(https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=24)

Git commit: 4a167fd662262ebdaa3cf0d332ac0debb52d7904
 
1.Git clone eclipse-poky source and checkout the testing version,git clone git://git.yoctoproject.org/eclipse-poky .
2.Go to the source, modify script/setup.sh's proxy to make sure your network may approach the internet.
3.Run the script setup.sh, it will take a while to download and install the eclipse and other plug-in.
4.Step 3 will prompt a commander to tell you how to build it, e.g:

"ECLIPSE_HOME=/home/tester/git-work/eclipse-poky/eclipse scripts/build.sh <branch name> <release name>"

To build, for example, we build milestone 1.2M4, then i run ECLIPSE_HOME=/home/tester/git-work/eclipse-poky/eclipse scripts/build.sh 1.2_M4 myEclipse1.2M4
5.After step 4, it will generate several  tarballs, and among one that contains the work archive e.g.: 
   org.yocto.sdk-myeclipse1.2M4-201204051002-archive.zip and  org.yocto.sdk-myeclipse1.2M4-201204051002.zip.

6. Install org.yocto.sdk-myeclipse1.2M4-201204051002-archive.zip with eclipse to make sure it can work well:
  Help -> "Install new Software" -> Add -> Archive -> "Select the archive builded in step 5 -> Ok -> Finish

I created several 'Hello World' projects and different project settings. 
I can not switch from one settings to other because the menu option 'change yocto project settings' is missing. 


See attached file.

If I connect using SSH with X  Forward option from an Windows machine and start eclipse, menu option appears ok.
Comment 1 Todor Minchev 2015-02-13 11:27:51 UTC
I am not sure if you are trying to change the sysroot and toolchain for your projects. If yes, then the menu you are looking for is under "Window -> Preferences -> Yocto Project ADT". Please provide more info if this is not the menu you are missing.

Also by looking at your build log it appears that this test was done in April 2012, please retest using the repo below using the luna-next branch.

http://git.yoctoproject.org/cgit/cgit.cgi/eclipse-poky-luna/ 

Thanks,
Todor
Comment 2 Mihail Stanciu 2015-02-16 14:37:18 UTC
Created attachment 2412 [details]
missing option

Tested on latest kepler release: b4d75601847b4c5b060265a37b47c2a9642da62d

The menu option shows up only after a project is built. See attached screenshot.
Comment 3 Todor Minchev 2015-02-18 13:11:28 UTC
Hello,
I just retested this with luna and the "Change Yocto Project Settings" option is there before a project is built.

Please retest using the luna-next branch.
Comment 4 Bogdan Alexandru Voiculescu 2015-03-10 08:12:30 UTC
Not reproducible on luna-master: commit 3176a8e0394daea3f0e0ae04b15eb70f59594ae2