Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - How to prevent changes in .project file: (3 Items)
   
How to prevent changes in .project file  
The .project file is under SVN control, but once in a while for certain people Eclipse makes modification to the file.  
The line that changes is always the one that start with 

<value>?name?=outputEntries ....

Why is Eclipse making modification to that line.  How can it be prevented?
RE: How to prevent changes in .project file  
Are you using CDT managed build projects? Do you see it similar to below
snip?

<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
                        <triggers>clean,full,incremental,</triggers>
                        <arguments>
                                <dictionary>
                                        <key>?children?</key>
 
<value>?name?=outputEntries\|?children?=?name?=entry\\\\\\\|\\\|\||</val
ue>
                                </dictionary>

It's one of the child tag (argument) to the "genmakebuilder" tag. I
don't know why it changes often but since managed build project
generates the build spec dynamically so you may not want to change it.

-----Original Message-----
From: Mario Charest [mailto:community-noreply@qnx.com] 
Sent: Tuesday, November 30, 2010 11:40 AM
To: general-ide
Subject: How to prevent changes in .project file

The .project file is under SVN control, but once in a while for certain
people Eclipse makes modification to the file.  The line that changes is
always the one that start with 

<value>?name?=outputEntries ....

Why is Eclipse making modification to that line.  How can it be
prevented?
RE: How to prevent changes in .project file  

> -----Message d'origine-----
> De : Andy Jin [mailto:community-noreply@qnx.com]
> Envoyé : 30 novembre 2010 12:06
> À : general-ide
> Objet : RE: How to prevent changes in .project file
> 
> Are you using CDT managed build projects? Do you see it similar to below
> snip?
> 

Yep it`s exactly like that.  It`s a makefile project.  Could it be that it`s some related to the project location in the
 path space.
For example my project is d:\ide\project.  For some other people it d:\ide\4.7\project.  The project doesn't live at the
 same depth.

> <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
>                         <triggers>clean,full,incremental,</triggers>
>                         <arguments>
>                                 <dictionary>
>                                         <key>?children?</key>
> 
> <value>?name?=outputEntries\|?children?=?name?=entry\\\\\\\|\\\|\||<
> /val
> ue>
>                                 </dictionary>
> 
> It's one of the child tag (argument) to the "genmakebuilder" tag. I don't
> know why it changes often but since managed build project generates the
> build spec dynamically so you may not want to change it.

For a  test I created a C++ Makefile project and there is no
> 
> -----Original Message-----
> From: Mario Charest [mailto:community-noreply@qnx.com]
> Sent: Tuesday, November 30, 2010 11:40 AM
> To: general-ide
> Subject: How to prevent changes in .project file
> 
> The .project file is under SVN control, but once in a while for certain people
> Eclipse makes modification to the file.  The line that changes is always the
> one that start with
> 
> <value>?name?=outputEntries ....
> 
> Why is Eclipse making modification to that line.  How can it be prevented?
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post76485
>