Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[photran-dev] Update your Photran sources

The Photran sources have changed around again due to the talk at the CDT Summit. Please update your source tree as follows...

1. Check out the (new) org.eclipse.photran.cdtinterface project from CVS. This contains every aspect of CDT integration (including UI).

2. Delete the org.eclipse.photran.modelicons project. The stuff that was here is now in the cdtinterface project. This will be deleted from CVS soon.

3. Select all of the CDT projects, right-click on the selection, and choose Replace With > Latest from HEAD

4. Select all of the Photran projects, right-click on the selection, and choose Team > Update (this way you will not lose any of your uncommitted changes)

5. Right-click on the top CDT project, click Team, click Apply Patch

6. Choose Workspace, expand org.eclipse.photran-misc, and choose photran32-cdt32-patch-20060327.txt; then click Finish

Everything should compile. After Doug gets my patch committed (I think this will be the "final" version), the CDT patch won't be necessary anymore.

We now have a Fortran perspective, New Fortran Project wizard, etc. These are all in the cdtinterface project and are created by either (1) telling Eclipse to use the relevant CDT class directly (e.g., the New File wizard), or (2) inheriting from the relevant CDT class, replacing relevant text and images in the constructor (e.g., New Source File wizard).

Jeff


Back to the top