Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 379854 - "Convert to Fortran Project" converts all projects
Summary: "Convert to Fortran Project" converts all projects
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Photran.Refactoring Engine (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: 8.1   Edit
Assignee: Jeffrey Overbey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-17 17:22 EDT by Greg Watson CLA
Modified: 2013-04-29 18:38 EDT (History)
3 users (show)

See Also:


Attachments
proposed patch (2.26 KB, text/plain)
2013-02-20 16:13 EST, Louis Orenstein CLA
no flags Details
updated patch (2.73 KB, text/plain)
2013-02-21 12:45 EST, Louis Orenstein CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Watson CLA 2012-05-17 17:22:28 EDT
I had two C projects in my workspace, one local, one synchronized. I used the "Convert to Fortran Project" on the synchronized project, and both projects were converted to Fortran.
Comment 1 Louis Orenstein CLA 2013-02-20 16:13:19 EST
Created attachment 227366 [details]
proposed patch

I confirm that:

(a) I wrote 100% of the code without incorporating content from elsewhere or relying on the intellectual property of others.
(b) I have the right to contribute the code to Eclipse.
(c) I have included the EPL license header in all source files.
Comment 2 Louis Orenstein CLA 2013-02-21 12:45:22 EST
Created attachment 227412 [details]
updated patch

updated patch to avoid an error if a user selects a project that isn't open

I confirm that:

(a) I wrote 100% of the code without incorporating content from elsewhere or relying on the intellectual property of others.
(b) I have the right to contribute the code to Eclipse.
(c) I have included the EPL license header in all source files.
Comment 3 Jeffrey Overbey CLA 2013-04-29 18:16:04 EDT
This is a small patch, so I was able to commit it without a full IP review.  Thanks again, Lou.

Applied in master for Kepler GA.