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

Re: [Subclipse-users] Extension point for svnant in subclipse

From: Eugene Kuleshov <eu_at_md.pp.ru>
Date: 2006-07-24 16:57:17 CEST

I would advise against this. Such builds won't work outside of Eclipse
and users who are not using Eclipse will suffer from that.
It is responsibility of the owner of build.xml to explicitly register
required Ant tasks.

Besides, that will also force users to stick to specific version of
SvnTask that is being installed in their Eclipse.

regards,
Eugene

Manish Modh wrote:
>
> 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>
> manish.modh@gravitant.com <mailto:manish.modh@gravitant.com>
> Office: 512-535-7399
> Cell: 512-689-4397
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Mon Jul 24 16:58:02 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.