diff options
author | Silenio Quarti <silenio> | 2011-04-19 14:43:42 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2011-04-19 14:43:42 +0000 |
commit | d903e5d736bdf7f3a52265f3410a66f8e99d1796 (patch) | |
tree | 3d12b604680f10f1544241e63cc4a67945e5d2e0 /bundles/org.eclipse.swt/tasks | |
parent | df675c920218d299aa22e6a413728fcfc2258a79 (diff) | |
download | eclipse.platform.swt-d903e5d736bdf7f3a52265f3410a66f8e99d1796.tar.gz eclipse.platform.swt-d903e5d736bdf7f3a52265f3410a66f8e99d1796.tar.xz eclipse.platform.swt-d903e5d736bdf7f3a52265f3410a66f8e99d1796.zip |
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.swt/tasks')
-rw-r--r-- | bundles/org.eclipse.swt/tasks/build.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bundles/org.eclipse.swt/tasks/build.xml b/bundles/org.eclipse.swt/tasks/build.xml index 40e6100db5..395d123464 100644 --- a/bundles/org.eclipse.swt/tasks/build.xml +++ b/bundles/org.eclipse.swt/tasks/build.xml @@ -1149,13 +1149,11 @@ <echo>Natives changed: ${natives_changed} since ${swt_tag}</echo> </target> - <target name="new_version" if="is_new_version"> + <target name="remove_old_version" if="has_old_version"> <echo>Removing ${removed_files}</echo> <cvs dest="${fragment}" command="remove -f ${removed_files}" cvsRoot="${cvsRoot}" cvsrsh="${cvsRsh}" failonerror="true"/> <echo>Commiting ${removed_files}</echo> <cvs dest="${fragment}" command="commit -m 'remove old libs v${swt_version}' ${removed_files}" cvsRoot="${cvsRoot}" cvsrsh="${cvsRsh}" failonerror="true"/> - <echo>Adding ${added_files}</echo> - <cvs dest="${fragment}" command="add -kb ${added_files}" cvsRoot="${cvsRoot}" cvsrsh="${cvsRsh}" failonerror="true"/> </target> <!-- Params: cvsRsh, tmpdir, and swt_new_tag --> @@ -1239,13 +1237,15 @@ <fileset dir="${fragment}" includes="*${swt_version}*"/> </chmod> - <condition property="is_new_version"> + <condition property="has_old_version"> <not> <equals arg1="" arg2="${removed_files}"/> </not> </condition> - <antcall target="new_version"/> + <antcall target="remove_old_version"/> + <echo>Adding ${added_files}</echo> + <cvs dest="${fragment}" command="add -kb ${added_files}" cvsRoot="${cvsRoot}" cvsrsh="${cvsRsh}" failonerror="true"/> <echo>"Commiting ${added_files}</echo> <cvs dest="${fragment}" command="commit -m 'v${swt_version}' ${added_files}" cvsRoot="${cvsRoot}" cvsrsh="${cvsRsh}" failonerror="true"/> </target> |