Hi,

I solved the problem by simply deleting my .classpath and .profile files 
so that svn could download the ones from the repository. It was a bit of a 
shock when 'svn update' failed initially though. I thought that the 
preferred way was to run 'maven eclipse', or is this going away with maven 
2?

Cheers

Brian DePradine
Web Services Development
IBM Hursley
External  +44 (0) 1962 816319         Internal 246319

If you can't find the time to do it right the first time, where will you 
find the time to do it again?


[EMAIL PROTECTED] wrote on 11/08/2006 16:50:32:

> Hi, What's the diff between the two .classpath files? Are you
> referring to dependencies located outside the project? Could you
> change to using the dependencies as listed in the svn version of the
> .classpath? (which would be downloaded by an initialmvn/maven is run)?
> 
> Cheers,
> Jeremy
> 
> On 8/11/06, Brian De Pradine <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > The problem I have is that when I do an 'svn update' the update fails 
with
> > the following error:
> >
> > svn: Failed to add file '.classpath': object of the same name already 
exists
> >
> > The 'object of the same name' is my pre-existing .classpath file, 
which is
> > not managed by svn.
> >
> >
> >  Cheers
> >
> >  Brian DePradine
> >  Web Services Development
> >  IBM Hursley
> >  External  +44 (0) 1962 816319         Internal 246319
> >
> >  If you can't find the time to do it right the first time, where will 
you
> > find the time to do it again?
> >
> >
> > [EMAIL PROTECTED] wrote on 11/08/2006 14:56:15:
> >
> >
> >  > Actually I quite like there being .classpath files as this is 
always a
> >  > pain to set up for a new project. It only really works though if
> >  > either all the dependencies are relative to the project root, or
> >  > alternatively there's a well-known eclipse variable which is 
extended
> >  > in the .classpath ... such as MAVEN_REPO. This seems to be ok for
> >  > axiom and XmlSchema.
> >  >
> >  > Jeremy
> >  >
> >  > On 8/11/06, Brian De Pradine <[EMAIL PROTECTED]> wrote:
> >  > >
> >  > > Hi,
> >  > >
> >  > > There also appears to be .classpath and .project files in Axiom. 
This
> > will
> >  > > cause problems for eclipse users.
> >  > >
> >  > >  Cheers
> >  > >
> >  > >  Brian DePradine
> >  > >  Web Services Development
> >  > >  IBM Hursley
> >  > >  External  +44 (0) 1962 816319         Internal 246319
> >  > >
> >  > >  If you can't find the time to do it right the first time, where 
will
> > you
> >  > > find the time to do it again?
> >  > >
> >  > >
> >  > > [EMAIL PROTECTED] wrote on 11/08/2006 13:49:24:
> >  > >
> >  > >
> >  > >  > Hi, is there any reason to add the .project file. I've found 
this
> > one
> >  > >  > to be a pain because if I check out XmlSchema to a project in
> > eclipse
> >  > >  > with a different name then the .project file created by 
eclipse has
> > a
> >  > >  > different <name> value and then syncing with repository shows 
the
> >  > >  > .project as having been changed. You can't then svn:ignore the
> >  > >  > .project because it's in the repo.
> >  > >  >
> >  > >  > In the Woden incubator podling we deleted the .project file 
and
> > added
> >  > >  > an svn:ignore. The ignore settings are unlike those in CVS 
because
> >  > >  > they get checked into the repo.
> >  > >  >
> >  > >  > Cheers,
> >  > >  > Jeremy
> >  > >  >
> >  > >  > On 8/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >  > >  > > Author: jochen
> >  > >  > > Date: Fri Aug 11 05:16:47 2006
> >  > >  > > New Revision: 430772
> >  > >  > >
> >  > >  > > URL:
> > http://svn.apache.org/viewvc?rev=430772&view=rev
> >  > >  > > Log:
> >  > >  > > Added Eclipse build files.
> >  > >  > >
> >  > >  > > Added:
> >  > >  > >
> >  > > webservices/commons/trunk/modules/XmlSchema/.classpath
> >  > >  > >
> >  > > webservices/commons/trunk/modules/XmlSchema/.project
> >  > >  > >
> >  > > webservices/commons/trunk/modules/XmlSchema/.settings/
> >  > >  > >
> >  > >
> > webservices/commons/trunk/modules/XmlSchema/.settings/org.
> >  > >  > eclipse.jdt.core.prefs
> >  > >  > >
> >  > >  > > Added:
> >  > > webservices/commons/trunk/modules/XmlSchema/.classpath
> >  > >  > > URL: http://svn.apache.
> >  > >  >
> >  > >
> > org/viewvc/webservices/commons/trunk/modules/XmlSchema/.classpath?
> >  > >  > rev=430772&view=auto
> >  > >  > >
> >  > >  >
> >  > >
> >  >
> > 
> 
==============================================================================
> >  > >  > > ---
> >  > > webservices/commons/trunk/modules/XmlSchema/.classpath
> >  > > (added)
> >  > >  > > +++
> >  > > webservices/commons/trunk/modules/XmlSchema/.classpath
> > Fri
> >  > > Aug
> >  > >  > 11 05:16:47 2006
> >  > >  > > @@ -0,0 +1,8 @@
> >  > >  > > +<?xml version="1.0" encoding="UTF-8"?>
> >  > >  > > +<classpath>
> >  > >  > > +       <classpathentry kind="con" path="org.eclipse.jdt.
> >  > >  > launching.JRE_CONTAINER"/>
> >  > >  > > +       <classpathentry kind="con" 
path="org.maven.ide.eclipse.
> >  > >  > MAVEN2_CLASSPATH_CONTAINER"/>
> >  > >  > > +       <classpathentry kind="src" output="target/classes"
> > path="src"/>
> >  > >  > > +       <classpathentry kind="src" 
output="target/test-classes"
> >  > >  > path="test"/>
> >  > >  > > +       <classpathentry kind="output" 
path="target/classes"/>
> >  > >  > > +</classpath>
> >  > >  > >
> >  > >  > > Added:
> >  > > webservices/commons/trunk/modules/XmlSchema/.project
> >  > >  > > URL: http://svn.apache.
> >  > >  >
> >  > >
> > org/viewvc/webservices/commons/trunk/modules/XmlSchema/.project?
> >  > >  > rev=430772&view=auto
> >  > >  > >
> >  > >  >
> >  > >
> >  >
> > 
> 
==============================================================================
> >  > >  > > ---
> >  > > webservices/commons/trunk/modules/XmlSchema/.project
> >  > > (added)
> >  > >  > > +++
> >  > > webservices/commons/trunk/modules/XmlSchema/.project
> > Fri
> >  > > Aug
> >  > >  > 11 05:16:47 2006
> >  > >  > > @@ -0,0 +1,23 @@
> >  > >  > > +<?xml version="1.0" encoding="UTF-8"?>
> >  > >  > > +<projectDescription>
> >  > >  > > +       <name>XmlSchema</name>
> >  > >  > > +       <comment></comment>
> >  > >  > > +       <projects>
> >  > >  > > +       </projects>
> >  > >  > > +       <buildSpec>
> >  > >  > > +               <buildCommand>
> >  > >  > > +
> >  > > <name>org.eclipse.jdt.core.javabuilder</name>
> >  > >  > > +                       <arguments>
> >  > >  > > +                       </arguments>
> >  > >  > > +               </buildCommand>
> >  > >  > > +               <buildCommand>
> >  > >  > > +
> >  > > <name>org.maven.ide.eclipse.maven2Builder</name>
> >  > >  > > +                       <arguments>
> >  > >  > > +                       </arguments>
> >  > >  > > +               </buildCommand>
> >  > >  > > +       </buildSpec>
> >  > >  > > +       <natures>
> >  > >  > > + <nature>org.eclipse.jdt.core.javanature</nature>
> >  > >  > > +
> >  > > <nature>org.maven.ide.eclipse.maven2Nature</nature>
> >  > >  > > +       </natures>
> >  > >  > > +</projectDescription>
> >  > >  > >
> >  > >  > > Added:
> >  > >
> > webservices/commons/trunk/modules/XmlSchema/.settings/org.
> >  > >  > eclipse.jdt.core.prefs
> >  > >  > > URL: http://svn.apache.
> >  > >  >
> > org/viewvc/webservices/commons/trunk/modules/XmlSchema/.
> >  > >  >
> > settings/org.eclipse.jdt.core.prefs?rev=430772&view=auto
> >  > >  > >
> >  > >  >
> >  > >
> >  >
> > 
> 
==============================================================================
> >  > >  > > ---
> >  > >
> > webservices/commons/trunk/modules/XmlSchema/.settings/org.
> >  > >  > eclipse.jdt.core.prefs (added)
> >  > >  > > +++
> >  > >
> > webservices/commons/trunk/modules/XmlSchema/.settings/org.
> >  > >  > eclipse.jdt.core.prefs Fri Aug 11 05:16:47 2006
> >  > >  > > @@ -0,0 +1,4 @@
> >  > >  > > +#Fri Aug 11 15:23:58 CEST 2006
> >  > >  > > +eclipse.preferences.version=1
> >  > >  > >
> >  > >
> > +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.3
> >  > >  > > +org.eclipse.jdt.core.compiler.compliance=1.3
> >  > >  > >
> >  > >  > >
> >  > >  > >
> >  > >  > >
> >  > >
> > ---------------------------------------------------------------------
> >  > >  > > To unsubscribe, e-mail:
> >  > > [EMAIL PROTECTED]
> >  > >  > > For additional commands, e-mail: 
[EMAIL PROTECTED]
> >  > >  > >
> >  > >  > >
> >  > >  >
> >  > >  >
> >  > >
> > ---------------------------------------------------------------------
> >  > >  > To unsubscribe, e-mail:
> >  > > [EMAIL PROTECTED]
> >  > >  > For additional commands, e-mail: 
[EMAIL PROTECTED]
> >  > >  >
> >  > >
> >  > >
> >  >
> >  >
> > ---------------------------------------------------------------------
> >  > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> >  > For additional commands, e-mail: [EMAIL PROTECTED]
> >  >
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to