[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] svnant - .project and .classpath files for Eclipse IDE

From: JP Fiset <jp_at_fiset.ca>
Date: 2005-09-15 16:43:54 CEST

Since svnant is part of Subclipse and Subclipse is dedicated to
supporting Elcipse, I am assuming I am not the only one using Eclipse to
work on svnant. Why are there not project files for the Eclipse IDE in
svnant? Is it bad form?

If interested, I include such files.

[[[
Provides 2 project files for the Eclipse IDE:
- .project
- .classpath

These files set the nature of the project to "Java" and specifies a
classpath to include all jars found in the lib directory. As well,
ignore "bin" dirctory, which is used only to host .class file during
automatic builds.
]]]

Index: .classpath
===================================================================
--- .classpath (revision 0)
+++ .classpath (revision 147)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/main"/>
+ <classpathentry kind="src" path="src/testcases"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="lib" path="lib/ant.jar"/>
+ <classpathentry kind="lib" path="lib/ant-launcher.jar"/>
+ <classpathentry kind="lib" path="lib/commons-lang-2.0.jar"/>
+ <classpathentry kind="lib" path="lib/jakarta-regexp-1.3.jar"/>
+ <classpathentry kind="lib" path="lib/junit.jar"/>
+ <classpathentry kind="lib" path="lib/svnClientAdapter.jar"/>
+ <classpathentry kind="lib" path="lib/svnjavahl.jar"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Index: .project
===================================================================
--- .project (revision 0)
+++ .project (revision 147)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>svnant</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>

Property changes on: .
___________________________________________________________________
Name: svn:ignore
   +
bin
Received on Fri Sep 16 00:43:54 2005

This is an archived mail posted to the Subclipse Dev mailing list.