On 27/04/2010, Konstantin Kolinko <knst.koli...@gmail.com> wrote: > 2010/4/26 <p...@apache.org>: > > Author: pero > > Date: Mon Apr 26 10:46:01 2010 > > New Revision: 937993 > > > > URL: http://svn.apache.org/viewvc?rev=937993&view=rev > > Log: > > Include .project and .classpath files to src distribution. > > s. http://ant.apache.org/manual/dirtasks.html#defaultexcludes to not > include scm files! > > > > The ".project" and ".classpath" files do not have ASL header. I do not > think that we should include them in the src distribution how they > are. > > Eclipse IDE overwrites them from time to time, so keeping a header in > them looks like a lot of work, e.g. we did that once already: > http://svn.apache.org/viewvc?view=revision&revision=746405 > > One way to deal with it could be to make a copy of them under > different names, e.g. > ".classpath.tmpl.xml, ".project.tmpl.xml", and ignore existing > ".classpath" and ".project": > http://subversion.apache.org/faq.html#ignore-commit > > What do you think?
Also, the files are not necessarily the same for all users. For example, the classpath file may have a different JRE entry if the Eclipse default does not match the Tomcat default. Also, the local classpath file may have entries for source and javadoc jars. The project file may be different between users. E.g. if the project is set up to include additional features such as PMD or Findbugs etc. these will be added to the project file. How about adding the following starter files to SVN/source archives: eclipse.classpath eclipse.project These can be documented in the "eclipse.readme" file or similar. > Best regards, > Konstantin Kolinko > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org