Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 322698

Summary: Can't create a new C/C++ project
Product: z_Archived Reporter: Marc-André Laperle <malaperle>
Component: AutotoolsAssignee: Jeff Johnston <jjohnstn>
Status: RESOLVED FIXED QA Contact: Chris Recoskie <recoskie>
Severity: major    
Priority: P3 CC: jjohnstn
Version: 0.6   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Error log
none
AutotoolsBuildWizard messages patch akurtakov: iplog+

Description Marc-André Laperle CLA 2010-08-13 23:00:00 EDT
I updated to the Hudson nightly build this week and I can't create a C/C++ project anymore. I reverted to 7.0 but it still doesn't work. I also tried another workspace.
Comment 1 Marc-André Laperle CLA 2010-08-16 13:03:37 EDT
Created attachment 176700 [details]
Error log

Oops, forgot to attach the error log.
Comment 2 Marc-André Laperle CLA 2010-08-18 00:07:40 EDT
I tested with a new install and it seems the problem is the autotools integration. For the new install, I downloaded Eclipse for RCP, installed CDT 8.0 from the hudson builds and installed Linux stuff from the Helios update site. At that point, I couldn't create C/C++ projects anymore. When I uninstalled the autotools feature, it worked again. I will try the Linux tools hudson build tomorrow. My first install was Eclipse for Linux and I believe the problem appeared after I updated to a recent CDT 8.0 hudson build.
Comment 3 Marc-André Laperle CLA 2010-08-18 12:37:06 EDT
I tried the nightly build using the update site (Autotools 2.0.0.201008121808) and I see the same problem. It looks like Autotools needs some adjustments for CDT 8.
Comment 4 Andrew Gvozdev CLA 2010-08-18 12:53:41 EDT
Marc, do you get anything in log?
Comment 5 Marc-André Laperle CLA 2010-08-18 12:55:01 EDT
(In reply to comment #4)
> Marc, do you get anything in log?

Yes, it's attached.
Comment 6 Marc-André Laperle CLA 2010-08-18 22:20:22 EDT
Created attachment 176956 [details]
AutotoolsBuildWizard messages patch

The AutotoolsBuildWizard class doesn't compile against CDT 8.0, it uses 
org.eclipse.cdt.managedbuilder.ui.properties.Messages
which is now internal in CDT 8.0. This patch simply adds the strings in the AutotoolsWizard message bundle.

Andrew, could you change the Assigned To and QA Contact fields? I don't have the permissions, thanks!
Comment 7 Jeff Johnston CLA 2010-08-25 12:53:34 EDT
(In reply to comment #6)
> Created an attachment (id=176956) [details]
> AutotoolsBuildWizard messages patch
> 
> The AutotoolsBuildWizard class doesn't compile against CDT 8.0, it uses 
> org.eclipse.cdt.managedbuilder.ui.properties.Messages
> which is now internal in CDT 8.0. This patch simply adds the strings in the
> AutotoolsWizard message bundle.
> 
> Andrew, could you change the Assigned To and QA Contact fields? I don't have
> the permissions, thanks!

Thanks for the patch Marc-Andre.

I have applied the patch to both the Autotools 0.6 branch and HEAD.  It should appear in the next nightly build.  Can you try it out once the build is done and comment here?
Comment 8 Marc-André Laperle CLA 2010-08-29 13:18:40 EDT
It works now with the Indigo nightly build. Thanks!