Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-user] Git and synchronized projects

On Tuesday, July 02, 2013 12:00:08 "Dr. David E Hudak" <dhudak@xxxxxxx> wrote:

> Hi All,

>

> Am I allowed to use git for source control with a synchronized project in

> PTP 7?  

>

> Here is what is happening:

>         1.  I created a synchronized project.  

>         2.  I copied in my files and got it to build. 

>         3.  I right-clicked on the project in the Project Explorer and did

> "Team"-> "Share Project"->"Git" and created a local repository.   4.  I

> staged my new files and committed them.

>         5.  I began editing my source file.

>         6.  I try to save my source file and I get a "Save As" dialog box

> that says: "The original file "helloheat_omp.c" has been deleted or is not

> accessible.  

>

> Any insight appreciated!

>

> Thanks,

> Dave

 

Dave,

 

the general answer to your question is - yes you can.

I am doing that all the time, using EGIT for revision control and PTP for synchronization. EGIT is using the git repository .git and PTP the git repository .ptp-sync, and they are pretty much independent.

 

Reading your 6 steps above, I can't see a flaw in them - it should work. However, I was using a different way to get my git repository into Eclipse.

I am usually importing the repository via import->import from git as general project. Then convert this to a C/C++ project, if needed convert it further to a Fortran project, then convert it to a synchronized project.

 

I did so on Iuno, I haven't yet tried with Kepler. Will do so within the next few days. I am considering to re-execute your six steps above, when moving my workspaces to Kepler. Hopefully, I can give you a more specific answer then.

 

Thanks, Christoph

--

 

Mit freundlichen Grüßen / Kind regards

 

Dr. Christoph Pospiech

High Performance & Parallel Computing

Phone: +49-351 86269826

Mobile: +49-171-765 5871

E-Mail: christoph.pospiech@xxxxxxxxxx

-------------------------------------------------------------------------------------------------------------------------------------------

IBM Deutschland GmbH / Vorsitzender des Aufsichtsrats: Martin Jetter

Geschäftsführung: Martina Koederitz (Vorsitzende), Reinhard Reschke, Dieter Scholz, Gregor Pillen, Joachim Heel, Christian Noll

Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 14562 / WEEE-Reg.-Nr. DE 99369940

 


Back to the top