You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sebb <se...@gmail.com> on 2010/03/14 13:03:57 UTC

Re: svn commit: r922773 - /commons/sandbox/convert/trunk/.classpath

On 14/03/2010, adrianc@apache.org <ad...@apache.org> wrote:
> Author: adrianc
>  Date: Sun Mar 14 06:33:58 2010
>  New Revision: 922773
>
>  URL: http://svn.apache.org/viewvc?rev=922773&view=rev
>  Log:
>  Updated classpath file.

Eclipse classpath (and project) files should not be stored in SVN, as
they are not portable.

>  Modified:
>     commons/sandbox/convert/trunk/.classpath
>
>  Modified: commons/sandbox/convert/trunk/.classpath
>  URL: http://svn.apache.org/viewvc/commons/sandbox/convert/trunk/.classpath?rev=922773&r1=922772&r2=922773&view=diff
>  ==============================================================================
>  --- commons/sandbox/convert/trunk/.classpath (original)
>  +++ commons/sandbox/convert/trunk/.classpath Sun Mar 14 06:33:58 2010
>  @@ -1,11 +1,7 @@
>   <?xml version="1.0" encoding="UTF-8"?>
>   <classpath>
>  -       <classpathentry kind="src" path="src/java"/>
>  -       <classpathentry kind="src" path="src/test"/>
>  -       <!--
>  -       <classpathentry kind="lib" path="target/lib/ant-1.5.jar"/>
>  -       <classpathentry kind="lib" path="target/lib/ant-optional-1.5.jar"/>
>  -       -->
>  +       <classpathentry kind="src" path="src/test/java"/>
>  +       <classpathentry kind="src" path="src/main/java"/>
>         <classpathentry kind="lib" path="target/lib/junit-4.8.1.jar"/>
>         <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
>         <classpathentry kind="output" path="bin"/>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: svn commit: r922773 - /commons/sandbox/convert/trunk/.classpath

Posted by Adrian Crum <ad...@yahoo.com>.
That makes sense. Thank you for the explanation.

-Adrian

--- On Sun, 3/14/10, sebb <se...@gmail.com> wrote:

> From: sebb <se...@gmail.com>
> Subject: Re: svn commit: r922773 - /commons/sandbox/convert/trunk/.classpath
> To: "Commons Developers List" <de...@commons.apache.org>
> Date: Sunday, March 14, 2010, 8:33 AM
> On 14/03/2010, Adrian Crum <ad...@yahoo.com>
> wrote:
> > I know you mentioned that previously. It would help me
> understand better if you could tell me what it is about the
> file that isn't portable. As far as I can tell, it only
> contains pointers to the two source paths and the JUnit
> library. It seems to me all Eclipse users would need at
> least that much information.
> 
> Yes, the information is needed, but the locations may
> vary.
> 
> For example, I have just checked out the project, and
> enabled Maven on it.
> 
> This has changed the .project file
>  - added Maven builder and nature
> and also changed the .classpath file
> - added MAVEN2_CLASSPATH_CONTAINER and made other changes
> - changed the output directory
> 
> Even without using Maven, I need to use a different JRE
> entry, because
> my default Eclipse JRE is not the same as the one required
> by the
> project.
> 
> There are many other Eclipse plugins that change either the
> .classpath
> or .project file or both.
> 
> For example, Findbugs will change the .project file if you
> enable "run
> automatically" for the project.
> 
> >  Over at OFBiz, we have kept an Eclipse
> configuration file in SVN for years, with hundreds of
> developers sharing it, and there have been no objections to
> it being there.  So, I'm puzzled by your reply.
> 
> See above.
> 
> >  -Adrian
> >
> >  --- On Sun, 3/14/10, sebb <se...@gmail.com>
> wrote:
> >
> >  > From: sebb <se...@gmail.com>
> >  > Subject: Re: svn commit: r922773 -
> /commons/sandbox/convert/trunk/.classpath
> >  > To: dev@commons.apache.org
> >  > Date: Sunday, March 14, 2010, 5:03 AM
> >
> > > On 14/03/2010, adrianc@apache.org
> >  > <ad...@apache.org>
> >  > wrote:
> >  > > Author: adrianc
> >  > >  Date: Sun Mar 14 06:33:58 2010
> >  > >  New Revision: 922773
> >  > >
> >  > >  URL: http://svn.apache.org/viewvc?rev=922773&view=rev
> >  > >  Log:
> >  > >  Updated classpath file.
> >  >
> >  > Eclipse classpath (and project) files
> should not be stored
> >  > in SVN, as
> >  > they are not portable.
> >  >
> >  > >  Modified:
> >  > >
> >  >   
> commons/sandbox/convert/trunk/.classpath
> >  > >
> >  > >  Modified:
> >  > commons/sandbox/convert/trunk/.classpath
> >  > >  URL: http://svn.apache.org/viewvc/commons/sandbox/convert/trunk/.classpath?rev=922773&r1=922772&r2=922773&view=diff
> >  > >
> >  >
> ==============================================================================
> >  > >  ---
> commons/sandbox/convert/trunk/.classpath
> >  > (original)
> >  > >  +++
> commons/sandbox/convert/trunk/.classpath Sun
> >  > Mar 14 06:33:58 2010
> >  > >  @@ -1,11 +1,7 @@
> >  > >   <?xml
> version="1.0"
> >  > encoding="UTF-8"?>
> >  > >   <classpath>
> >  > >  -
> >  >    <classpathentry kind="src"
> >  > path="src/java"/>
> >  > >  -
> >  >    <classpathentry kind="src"
> >  > path="src/test"/>
> >  > >  -   
>    <!--
> >  > >  -
> >  >    <classpathentry kind="lib"
> >  > path="target/lib/ant-1.5.jar"/>
> >  > >  -
> >  >    <classpathentry kind="lib"
> >  >
> path="target/lib/ant-optional-1.5.jar"/>
> >  > >  -   
>    -->
> >  > >  +
> >  >    <classpathentry kind="src"
> >  > path="src/test/java"/>
> >  > >  +
> >  >    <classpathentry kind="src"
> >  > path="src/main/java"/>
> >  > >
> >  >    <classpathentry kind="lib"
> >  > path="target/lib/junit-4.8.1.jar"/>
> >  > >
> >  >    <classpathentry kind="con"
> >  >
> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
> >  > >
> >  >    <classpathentry
> kind="output"
> >  > path="bin"/>
> >  > >
> >  > >
> >  > >
> >  >
> >
> > >
> ---------------------------------------------------------------------
> >  > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> >  > For additional commands, e-mail: dev-help@commons.apache.org
> >  >
> >  >
> >
> >
> >
> >
> > 
> ---------------------------------------------------------------------
> >  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> >  For additional commands, e-mail: dev-help@commons.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
> 
> 


      

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: svn commit: r922773 - /commons/sandbox/convert/trunk/.classpath

Posted by sebb <se...@gmail.com>.
On 14/03/2010, Adrian Crum <ad...@yahoo.com> wrote:
> I know you mentioned that previously. It would help me understand better if you could tell me what it is about the file that isn't portable. As far as I can tell, it only contains pointers to the two source paths and the JUnit library. It seems to me all Eclipse users would need at least that much information.

Yes, the information is needed, but the locations may vary.

For example, I have just checked out the project, and enabled Maven on it.

This has changed the .project file
 - added Maven builder and nature
and also changed the .classpath file
- added MAVEN2_CLASSPATH_CONTAINER and made other changes
- changed the output directory

Even without using Maven, I need to use a different JRE entry, because
my default Eclipse JRE is not the same as the one required by the
project.

There are many other Eclipse plugins that change either the .classpath
or .project file or both.

For example, Findbugs will change the .project file if you enable "run
automatically" for the project.

>  Over at OFBiz, we have kept an Eclipse configuration file in SVN for years, with hundreds of developers sharing it, and there have been no objections to it being there.  So, I'm puzzled by your reply.

See above.

>  -Adrian
>
>  --- On Sun, 3/14/10, sebb <se...@gmail.com> wrote:
>
>  > From: sebb <se...@gmail.com>
>  > Subject: Re: svn commit: r922773 - /commons/sandbox/convert/trunk/.classpath
>  > To: dev@commons.apache.org
>  > Date: Sunday, March 14, 2010, 5:03 AM
>
> > On 14/03/2010, adrianc@apache.org
>  > <ad...@apache.org>
>  > wrote:
>  > > Author: adrianc
>  > >  Date: Sun Mar 14 06:33:58 2010
>  > >  New Revision: 922773
>  > >
>  > >  URL: http://svn.apache.org/viewvc?rev=922773&view=rev
>  > >  Log:
>  > >  Updated classpath file.
>  >
>  > Eclipse classpath (and project) files should not be stored
>  > in SVN, as
>  > they are not portable.
>  >
>  > >  Modified:
>  > >
>  >    commons/sandbox/convert/trunk/.classpath
>  > >
>  > >  Modified:
>  > commons/sandbox/convert/trunk/.classpath
>  > >  URL: http://svn.apache.org/viewvc/commons/sandbox/convert/trunk/.classpath?rev=922773&r1=922772&r2=922773&view=diff
>  > >
>  > ==============================================================================
>  > >  --- commons/sandbox/convert/trunk/.classpath
>  > (original)
>  > >  +++ commons/sandbox/convert/trunk/.classpath Sun
>  > Mar 14 06:33:58 2010
>  > >  @@ -1,11 +1,7 @@
>  > >   <?xml version="1.0"
>  > encoding="UTF-8"?>
>  > >   <classpath>
>  > >  -
>  >    <classpathentry kind="src"
>  > path="src/java"/>
>  > >  -
>  >    <classpathentry kind="src"
>  > path="src/test"/>
>  > >  -       <!--
>  > >  -
>  >    <classpathentry kind="lib"
>  > path="target/lib/ant-1.5.jar"/>
>  > >  -
>  >    <classpathentry kind="lib"
>  > path="target/lib/ant-optional-1.5.jar"/>
>  > >  -       -->
>  > >  +
>  >    <classpathentry kind="src"
>  > path="src/test/java"/>
>  > >  +
>  >    <classpathentry kind="src"
>  > path="src/main/java"/>
>  > >
>  >    <classpathentry kind="lib"
>  > path="target/lib/junit-4.8.1.jar"/>
>  > >
>  >    <classpathentry kind="con"
>  > path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
>  > >
>  >    <classpathentry kind="output"
>  > path="bin"/>
>  > >
>  > >
>  > >
>  >
>
> > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  > For additional commands, e-mail: dev-help@commons.apache.org
>  >
>  >
>
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: svn commit: r922773 - /commons/sandbox/convert/trunk/.classpath

Posted by Adrian Crum <ad...@yahoo.com>.
I know you mentioned that previously. It would help me understand better if you could tell me what it is about the file that isn't portable. As far as I can tell, it only contains pointers to the two source paths and the JUnit library. It seems to me all Eclipse users would need at least that much information.

Over at OFBiz, we have kept an Eclipse configuration file in SVN for years, with hundreds of developers sharing it, and there have been no objections to it being there.  So, I'm puzzled by your reply.

-Adrian

--- On Sun, 3/14/10, sebb <se...@gmail.com> wrote:

> From: sebb <se...@gmail.com>
> Subject: Re: svn commit: r922773 - /commons/sandbox/convert/trunk/.classpath
> To: dev@commons.apache.org
> Date: Sunday, March 14, 2010, 5:03 AM
> On 14/03/2010, adrianc@apache.org
> <ad...@apache.org>
> wrote:
> > Author: adrianc
> >  Date: Sun Mar 14 06:33:58 2010
> >  New Revision: 922773
> >
> >  URL: http://svn.apache.org/viewvc?rev=922773&view=rev
> >  Log:
> >  Updated classpath file.
> 
> Eclipse classpath (and project) files should not be stored
> in SVN, as
> they are not portable.
> 
> >  Modified:
> > 
>    commons/sandbox/convert/trunk/.classpath
> >
> >  Modified:
> commons/sandbox/convert/trunk/.classpath
> >  URL: http://svn.apache.org/viewvc/commons/sandbox/convert/trunk/.classpath?rev=922773&r1=922772&r2=922773&view=diff
> > 
> ==============================================================================
> >  --- commons/sandbox/convert/trunk/.classpath
> (original)
> >  +++ commons/sandbox/convert/trunk/.classpath Sun
> Mar 14 06:33:58 2010
> >  @@ -1,11 +1,7 @@
> >   <?xml version="1.0"
> encoding="UTF-8"?>
> >   <classpath>
> >  -   
>    <classpathentry kind="src"
> path="src/java"/>
> >  -   
>    <classpathentry kind="src"
> path="src/test"/>
> >  -       <!--
> >  -   
>    <classpathentry kind="lib"
> path="target/lib/ant-1.5.jar"/>
> >  -   
>    <classpathentry kind="lib"
> path="target/lib/ant-optional-1.5.jar"/>
> >  -       -->
> >  +   
>    <classpathentry kind="src"
> path="src/test/java"/>
> >  +   
>    <classpathentry kind="src"
> path="src/main/java"/>
> >     
>    <classpathentry kind="lib"
> path="target/lib/junit-4.8.1.jar"/>
> >     
>    <classpathentry kind="con"
> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
> >     
>    <classpathentry kind="output"
> path="bin"/>
> >
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
> 
> 


      

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org