Bug 2436

Summary: ADT build.sh build file path is wrong for org.eclipse.pde.build_*
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Laurentiu Serban <laurentiu.serban>
Component: eclipse-pluginAssignee: Lianhao Lu <lianhao.lu>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, yp.ep.watcher, yp.watcher
Version: 1.2   
Target Milestone: 1.3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Laurentiu Serban 2012-05-08 04:15:29 UTC
build file ( local list=`ls ${ECLIPSE_BASE}/plugins/org.eclipse.pde.build_*/scripts/build.xml`) is wrong as the path for org.eclipse.pde.build_* is ${ECLIPSE_HOME}/dropins/sdk/plugins/
Comment 1 Lianhao Lu 2012-05-08 04:39:00 UTC
What's your eclipse version?
Comment 2 Laurentiu Serban 2012-05-08 04:40:05 UTC
The eclipse version is Indigo
Comment 3 Lianhao Lu 2012-05-08 04:45:39 UTC
I mean the detailed version of Eclipse? How you setup the building eclipse environment?
Comment 4 Laurentiu Serban 2012-05-08 04:52:09 UTC
The version is 3.7.0.
The setup was performed according to the steps mentioned in the page.

I also tried on a fresh installation of Ubuntu all the installation steps from scratch.
Indeed the setup.sh script copies the build directory in the ECLIPSE_HOME, but if the script is not used, then the default installation is made as I specified in the first comment
Comment 5 Lianhao Lu 2012-05-08 05:04:30 UTC
I recommend you (In reply to comment #4)
> The version is 3.7.0.
> The setup was performed according to the steps mentioned in the page.

If you use setup.sh, the version should be 3.7.2.
Do you install the eclipse 3.7.0 from Ubuntu's own software repository? If so, I recommend you either using setup.sh or installing the Eclipse from its official website, http://www.eclipse.org/downloads/, please choose "Eclipse Classic".

> 
> I also tried on a fresh installation of Ubuntu all the installation steps
> from scratch.
> Indeed the setup.sh script copies the build directory in the ECLIPSE_HOME,
> but if the script is not used, then the default installation is made as I
> specified in the first comment
Comment 6 Laurentiu Serban 2012-05-08 05:07:43 UTC
Ok, Lianhao,
Is there any way to update the wiki in order to clarify this?
Thank you,
Laurentiu
Comment 7 Lianhao Lu 2012-05-08 05:44:02 UTC
I think Section 4.1.1 of the ADT manual (http://www.yoctoproject.org/docs/current/adt-manual/adt-manual.html#installing-eclipse-ide) already mentioned how to download and install the base Eclipse framework.

Maybe we should file a bug against documentation to add a NOTE of "not recommend using Eclipse from ubuntu repository"?
Comment 8 Laurentiu Serban 2012-05-08 05:51:06 UTC
Yes, this is a better solution.
I missed the Eclipse Classic step as I already had Eclipse installed on the workstation
Comment 9 Lianhao Lu 2012-05-10 10:44:42 UTC
I'll open a new documentation bug about "not recommend using Eclipse from ubuntu repository"