Author: hibou
Date: Tue Nov 25 11:50:20 2008
New Revision: 720575
URL: http://svn.apache.org/viewvc?rev=720575&view=rev
Log:
Add some usefull target to install the home made IvyDE build into an Eclipse
installation
Modified:
ant/ivy/ivyde/trunk/build.xml
Modified: ant/ivy/ivyde/trunk/build.xml
URL:
http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/build.xml?rev=720575&r1=720574&r2=720575&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/build.xml (original)
+++ ant/ivy/ivyde/trunk/build.xml Tue Nov 25 11:50:20 2008
@@ -251,6 +251,30 @@
<!--
======================================================================================
+ Targets related to the installation of IvyDE in the Eclipse install
+
======================================================================================
+ -->
+
+ <target name="clean-installed-ivyde" description="Remove every IvyDE
version installed in Eclipse">
+ <delete>
+ <fileset dir="${baseLocation}/plugins/"
includes="org.apache.ivyde*.jar"/>
+ <fileset dir="${baseLocation}/features/"
includes="org.apache.ivyde*.jar"/>
+ </delete>
+ </target>
+
+ <target name="list-installed-ivyde" depends="check-baseLocation"
description="List the IvyDE plugin(s) in your Eclipse install">
+ <path id="ivyde.eclipse.paths">
+ <fileset dir="${baseLocation}/plugins"
includes="org.apache.ivyde*.jar"/>
+ </path>
+ <echo message="The IvyDE installed in ${baseLocation}:
${toString:ivyde.eclipse.paths}" />
+ </target>
+
+ <target name="install" depends="dist,clean-installed-ivyde"
description="Install the IvyDE bundle into the eclipse install">
+ <unzip src="${dist.dir}/org.apache.ivyde.feature-${build.version}.zip"
dest="${baseLocation}"/>
+ </target>
+
+ <!--
+
======================================================================================
Targets related to the checksums of the distribution
======================================================================================
-->