Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370759 - Copying synch'ed project fails
Summary: Copying synch'ed project fails
Status: CLOSED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RDT.sync (show other bugs)
Version: 5.0.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: John Eblen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 371507
Blocks:
  Show dependency tree
 
Reported: 2012-02-06 14:34 EST by Brian Watt CLA
Modified: 2012-09-21 11:48 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Watt CLA 2012-02-06 14:34:43 EST
Build Identifier: Build id: M20110909-1335

After copying a synchronized C/C++ project, doing a build or a clean reports the following errors:

Errors occurred during the build.
Errors running builder 'CDT Builder' on project 'simple2'.
Project configurations not yet initialized.
Project configurations not yet initialized.
Project configurations not yet initialized.
Project configurations not yet initialized.

Also when investigating that project's properties, under "C/C++ Build", selecting 'Synchronize" reports the error "The currently displayed page contains invalid values"

Reproducible: Always

Steps to Reproduce:
== Create and connect to small synchronized project on remote system ==

1. Create directory named '/home/<userid>/simple_linux' on remote system named 'x'. In that directory put a 'main.c' and a 'Makefile' files as shown below.

> cat main.c
#include <stdio.h>
int main() {
        printf("In main\n");
        return 0;
}

> cat Makefile
all: simple
simple: main.c
        gcc -o simple main.c
clean:
        rm simple

2. Select File > New > Project...
3. Select Remote > Synchronized C/C++ Project > Next
4. On "New Synchronized Project" enter Project Name: 'simple', select Makefile project > Empty Project, and select --Other Toolchain-- > Next
5. On "Select Configurations" select Next
6. On "Configure Remote Synchronization" select "Remote Provider:" Remote Tools, select "Connection:"  for system 'x' and "Location:" select Browse... and browse to /home/<userid>/simple_linux
7. Select Finish

== Copy small synchronized project ==

1. Right click on 'simple' project, and select Copy
2. Right click on 'simple' project, and select Paste
3. On "Copy Project" enter "Project Name:" simple2, and select OK
4. The copied project is created

== Error occurs ==

1. Right click on the newly created 'simple2' project, and select Build
2. A "Problem Occurred" popup appears with message 'Build Project' has encountered a problem. Errors occurred during the build., select Details>> and get:

Errors occurred during the build.
Errors running builder 'CDT Builder' on project 'simple4'.
Project configurations not yet initialized.
Project configurations not yet initialized.
Project configurations not yet initialized.
Project configurations not yet initialized.

== Secondary errors occur ==
1. Right click on 'simple2' project, and select Properties
2. Select C/C++ Build > Synchronize
3. "A "Could Not Accept Changes" popup appears with message "The currently displayed page contains invalid values"
4. Then selecting any other preference under C/C++ Build, reports the same error.
Comment 1 John Eblen CLA 2012-05-07 12:42:06 EDT
Fixed as part of bug 371507.