Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[photran] Updating to PTP 6 when using old synchronized projects

Hi,

in case somebody is interested, the only way that I found to update to PTP 6 and still use my projects with all the configuration settings (except for the sync settings, which I was forced to reset) was:
1) Install the new version of Eclipse/PTP (*), create a new empty workbench
2) Before importing my project from the old workbench, modify the .project file by removing the line:
<nature>org.eclipse.ptp.rdt.sync.core.remoteSyncNature</nature>
3) Import the old project
4) Convert the imported project to a Synchronized project, de-selecting all the configurations
5) In the properties of the project, manually set all the details for each configuration in the C/C++ Build/Synchronize menu

The good point of this procedure is that I didn't have to reset the .cproject file, since I have around one hundred configurations, but I still had to reset the Synchronization settings.

(*) By the way, the Juno version of Eclipse (4.2) is unusable for me (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=385272), so I installed Eclipse 3.8 and then PTP 6.0.1 from the Juno repository. By the moment it works.

Regards,
Gianluca Bertaina
 

Il 29. 06. 12 10:19, Gianluca Bertaina ha scritto:
Hi,
even if I start with a new workspace and then import the project from the old workspace I get the same errors. There is some problem in importing the .cproject file I guess, at least in my case, but I am not so expert to dig into the error log. At the moment this prevents me to upgrade to Juno/PTP6.

Gianluca Bertaina

Il 28. 06. 12 18:38, Gianluca Bertaina ha scritto:
Hi,
since I have a very long list of local and remote configurations I just installed the new version of Eclipse/PTP/Photran and then opened the previous workspace. I get however problems with Synchronized projects. In the properties of the project, if I click on "C/C++ Build/Synchronize" I get:
Could not accept changes
The currently displayed page contains invalid values

The same for "Environment management"

Also, if I try to build synchronized projects I get the error
Errors occurred during the build.
Errors running builder 'CDT Builder' on project 'myproject'.
Internal error building project myproject configuration myconfiguration
Project not initialized
Internal error building project myproject configuration myconfiguration
Project not initialized

Is there a way of solving this or of easily importing the workspace settings?
I use Ubuntu 10.04 on a 32bit machine.

Thank you very much

Gianluca Bertaina


Il 27. 06. 12 14:57, Beth Tibbitts ha scritto:

PTP 6.0.0  (and thus Photran 8.0.0) is released today, with the big Eclipse Juno simultaneous release.

The PTP-specific update site at http://download.eclipse.org/tools/ptp/updates/juno  now contains PTP 6.0.0

For download information, see the PTP downloads page at http://www.eclipse.org/ptp/downloads.php

For complete release notes and installation instructions, see http://wiki.eclipse.org/PTP/release_notes/6.0

For a list of new features and changes in PTP 6.0, see the "New and Noteworthy" page at http://wiki.eclipse.org/PTP/new_and_noteworthy/6.0.0

The "Eclipse for Parallel Application Developers"  now contains PTP 6.0.0 and is the easiest and simplest
way to install PTP.
If you have a previous Indigo and PTP 5.0-based workbench, we recommend you install a Juno-based eclipse as
much of the eclipse infrastructure components have changed in Juno (a.k.a. Eclipse 4.2)


...Beth

Beth Tibbitts
Eclipse Parallel Tools Platform  
http://eclipse.org/ptp
IBM STG - High Performance Computing Tools
Mailing Address:  IBM Corp., 745 West New Circle Road, Lexington, KY 40511





-- 
Gianluca Bertaina
Institut de théorie des phénomènes physiques
Faculté de sciences de base
Ecole polytechnique fédérale de Lausanne (EPFL)
PH H2 515
Station 3 CH-1015 Lausanne Suisse
Ph:  +41 21 693 4509
Fax: +41 21 693 5419 

Back to the top