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

[Subclipse-users] Extension point for svnant in subclipse

From: Manish Modh <manish.modh_at_gravitant.com>
Date: 2006-07-24 16:42:02 CEST

Why doesn't the Subclipse core plugin include the svnant.jar and an ant
extension point in the plugin.xml? This makes the usage of svn ant task in
a build.xml a lot easier when running in the context of Eclipse. It also
avoids having to install the svn client adapter separately as well.

 

What I did was add the svnant.jar to the
plugins\org.tigris.subversion.subclipse.core_1.0.3\lib directory and modify
the plugin.xml to add this section:

 

   <!-- Ant Tasks -->

   <extension point="org.eclipse.ant.core.antTasks">

      <antTask

            eclipseRuntime="true"

            class="org.tigris.subversion.svnant.SvnTask"

            headless="true"

            library="lib/svnant.jar"

            name="svn">

      </antTask>

   </extension>

 

Now, I can just use the svn task in any build.xml that is configured to run
in the same JVM as eclipse. No special task definition or resolution of
classpath issues are required.

 

Should an issue be created in tracker to resolve this?

 

Thanks,

 

Manish Modh
Gravitant, Inc. <http://gravitant.com>
 <mailto:manish.modh@gravitant.com> manish.modh@gravitant.com
Office: 512-535-7399
Cell: 512-689-4397

 
Received on Mon Jul 24 16:49:28 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.