Bug 2401

Summary: Existing ADT based auto-tool project migration plan between Indigo and Juno releases
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Jessica <jessica.zhang>
Component: eclipse-pluginAssignee: Jessica <jessica.zhang>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: alexandru.c.georgescu, lianhao.lu, song.liu, yp.ep.watcher, yp.watcher
Version: unspecified   
Target Milestone: 1.3 M2   
Hardware: x86   
OS: Multiple   
Whiteboard: (P1)(done)
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
project created with eclipse 3.7.2
none
my project none

Description Jessica 2012-05-03 06:02:19 UTC
There's potential that Indigo and Juno releases will break the backward compatibility for autotools project.  For ADT based existing projectes, we need to define the flow/tools to help migrate from Indigo to Juno
Comment 1 Jessica 2012-07-10 17:40:06 UTC
Feature completed by changing JunoSSH branch to master and QA has verified against Juno official release with no major issue found
Comment 2 Alexandru Georgescu 2012-07-25 13:54:46 UTC
Created attachment 660 [details]
project created with eclipse 3.7.2

Hi,
I have build a new "Hello World ANSI C Autotools Project" with the Indigo eclipse version (3.7.2). I could run it on qemux86 on my Ubuntu 12.04 64bit Machine. Then I moved it to a Fedora 17 64bit machine and opened it with Juno (eclipse 4.2). Import was successful, but I couldn't manage to build it after I have reconfigured the project.

I added the project as an attachment.

The errors displayed in eclipse are: 

make: *** No rule to make target `clean'.			 	C/C++ Problem
cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."	hwat		-1	Configure Problem
Comment 3 Alexandru Georgescu 2012-07-25 14:05:35 UTC
Jessica: Please look at the above error. Is there something I have done wrong during the test that could result to that error?

Thanks,
Alex.
Comment 4 Jessica 2012-07-25 17:07:35 UTC
Created attachment 661 [details]
my project
Comment 5 Jessica 2012-07-25 17:11:24 UTC
Err... my comments somehow get lost when adding the attachment

So somehow your project got changed during the migration, since as error stated there're files missing in the project now, e.g. install-sh.  I'm attaching my project and you can see the missing files do exist under the project directory. Here're the steps that I've been using:

Step 1: bring up eclipse Indigo and make sure using our plug-in for Indigo (we now do have 2 version of plug-in, one for indigo and one for master).  Create an ANSI c project using the template, reconfigure and build the project.  Please make sure leave it as it, don't make any changes in the project directory

Step 2: bring up eclipse Juno and make sure using our Juno version plug-in.  Import the project and rebuild the project
Comment 6 Alexandru Georgescu 2012-07-31 09:56:16 UTC
Hi,
I tested as you suggested and it worked fine.
Thanks!