Jeremy,

Thanks for the clarification. I'll give it a whirl without the .project file. If there's any added difficulty I think we should just correct the name of the project in the .project file contained in the repository. (And add the file back to the repository.)

Lawrence




"Jeremy Hughes" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

07/10/2006 11:55 AM

Please respond to
[email protected]

To
[email protected]
cc
Subject
Re: svn commit: r420512 - in /incubator/woden/java: ./ .project





Hi Lawrence,

My .project file is:

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
   <name>woden</name>
   <comment></comment>
   <projects>
   </projects>
   <buildSpec>
       <buildCommand>
           <name>org.eclipse.jdt.core.javabuilder</name>
           <arguments>
           </arguments>
       </buildCommand>
   </buildSpec>
   <natures>
       <nature>org.eclipse.jdt.core.javanature</nature>
   </natures>
</projectDescription>

the one on the server is / was:

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
   <name>java</name>
   <comment></comment>
   <projects>
   </projects>
   <buildSpec>
       <buildCommand>
           <name>org.eclipse.jdt.core.javabuilder</name>
           <arguments>
           </arguments>
       </buildCommand>
   </buildSpec>
   <natures>
       <nature>org.eclipse.jdt.core.javanature</nature>
   </natures>
</projectDescription>

The only difference being the project name. I had a project which had the correct project name so was showing as a change in the 'term synchronization perspective'. I wanted to svn:ignore it but that's only possible for files present *only* on the client. Since this file is generated by Eclipse when you check out the project, there's no real need for it in SVN. Especially when most of the time the project name is going to be wrong. If you think it serves a purpose having it on the repository please say. Hmm, perhaps I should have said all this up front before committing - sorry.

Cheers,
Jeremy


On 7/10/06, Lawrence Mandel <[EMAIL PROTECTED]> wrote:

Jeremy,


Can you clarify the problem you are encountering when using the .project file from the repository? Specifically, I don't understand the following sentence.


"
The .project file includes the name of the eclipse project, so using the one from SVN can result in the eclipse project having a different name to the one in the .project file from SVN."
If I'm using the .project file from SVN how does the Eclipse project have a different name than that stored in the .project file in SVN?

I've used this method many times without problems. The .project file is very small so should not add any significant overhead to the extraction and allows for easy importing of the project into Eclipse.

Lawrence



[EMAIL PROTECTED]

07/10/2006 08:48 AM

Please respond to
[email protected]


To
[EMAIL PROTECTED]
cc
Subject
svn commit: r420512 - in /incubator/woden/java: ./ .project







Author: hughesj
Date: Mon Jul 10 05:48:31 2006
New Revision: 420512

URL:
http://svn.apache.org/viewvc?rev=420512&view=rev
Log:
The eclipse .project file shouldn't be in SVN. The .project file includes the name of the eclipse project, so using the one from SVN can result in the eclipse project having a different name to the one in the .project file from SVN. Therefore, removed the .project file.
Also modified svn:ignore so .project is ignored for everyone.

Removed:
  incubator/woden/java/.project
Modified:
  incubator/woden/java/   (props changed)

Propchange: incubator/woden/java/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Mon Jul 10 05:48:31 2006
@@ -7,3 +7,4 @@
.settings
woden-1.0.0M4-test-results.html
woden-1.0.0M5-test-results.html
+.project



---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]



Reply via email to