| <project default="copyJars" basedir="."> |
| |
| <property name="pluginName" value="org.eclipse.wst.wsdl"/> |
| <property name="version" value=""/> |
| |
| <target name="copyJars" if="downloadPath"> |
| <antcall target="copyJars2"/> |
| </target> |
| |
| <target name="copyJars2" if="pluginsPath"> |
| <antcall target="copyJars3"/> |
| </target> |
| |
| <target name="copyJars3" if="pluginName"> |
| <copy todir="${pluginsPath}/${pluginName}${version}/lib" overwrite="true"> |
| <fileset dir="${downloadPath}/${pluginName}${version}"> |
| <filename name="*.jar"/> |
| </fileset> |
| </copy> |
| </target> |
| |
| <target name="cleanupJars" if="pluginsPath"> |
| <antcall target="cleanupJars2"/> |
| </target> |
| |
| <target name="cleanupJars2" if="pluginName"> |
| <delete> |
| <fileset dir="${pluginsPath}/${pluginName}${version}/lib"> |
| <filename name="*.jar"/> |
| </fileset> |
| </delete> |
| </target> |
| |
| </project> |