| Summary: | org.eclipse.rephraserengine appears misnamed? | ||
|---|---|---|---|
| Product: | [Tools] PTP | Reporter: | David Williams <david_williams> |
| Component: | Photran.Unknown | Assignee: | Jeffrey Overbey <com-eclipse-dot-org> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P2 | CC: | com-eclipse-dot-org, g.watson |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
David Williams
Jeff, are there any issues with changing this to org.eclipse.photran.rephraserengine? Hi David, Thanks for the bug report. This was discussed briefly on the Photran(-dev?) mailing list, but it's probably good to have it documented here. The "org.eclipse.rephraserengine" naming was intentional. Photran is actually divided into two major architectural components: Photran itself, which supports Fortran development in Eclipse, and the Rephraser Engine, which contains a number of language independent components and extension points to support refactoring, language-based searching, indexing, etc. We originally had the code that became the Rephraser Engine mixed in with the Photran code, but developers (particularly ones new to the project) were having trouble remembering which classes were intended to be language-independent and which ones could have Fortran-specific code in them. Several times I had to reject patches, trying to explain, "Yes, this is a class in Photran, but you can't put any Fortran-specific code in it" (which raised a few eyebrows). Separating the Fortran-specific and language-independent parts into two separate features has alleviated that problem. At UIUC, we have several different refactoring tools that all depend on the Rephraser Engine, so it does make sense to keep it a separate feature from Photran. (Photran is the only tool that we've contributed to the Eclipse Foundation, since the others are still prototypes.) We haven't made an effort to publicize the Rephraser API, since it's still changing somewhat, but I hope some other Eclipse projects can benefit from it in the future. It does have some nice features, like the ability to contribute a new refactoring with basically one line of XML and one Java class. I hope this explains the situation.
> I hope this explains the situation.
Yes, thanks for documenting.
|