Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2011-04-19 14:51:52 +0000
committerSilenio Quarti2011-04-19 14:51:52 +0000
commitc553c5dad3521887e286914e7d1312236384e990 (patch)
treec06b3f49c2f5153bf676734769012fc45448fb07 /bundles/org.eclipse.swt/tasks
parent949d4f788d529f5c72285bd4b5d06735cee21f39 (diff)
downloadeclipse.platform.swt-c553c5dad3521887e286914e7d1312236384e990.tar.gz
eclipse.platform.swt-c553c5dad3521887e286914e7d1312236384e990.tar.xz
eclipse.platform.swt-c553c5dad3521887e286914e7d1312236384e990.zip
remove bad changes
Diffstat (limited to 'bundles/org.eclipse.swt/tasks')
-rw-r--r--bundles/org.eclipse.swt/tasks/build.xml10
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 395d123464..40e6100db5 100644
--- a/bundles/org.eclipse.swt/tasks/build.xml
+++ b/bundles/org.eclipse.swt/tasks/build.xml
@@ -1149,11 +1149,13 @@
<echo>Natives changed: ${natives_changed} since ${swt_tag}</echo>
</target>
- <target name="remove_old_version" if="has_old_version">
+ <target name="new_version" if="is_new_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 -->
@@ -1237,15 +1239,13 @@
<fileset dir="${fragment}" includes="*${swt_version}*"/>
</chmod>
- <condition property="has_old_version">
+ <condition property="is_new_version">
<not>
<equals arg1="" arg2="${removed_files}"/>
</not>
</condition>
- <antcall target="remove_old_version"/>
+ <antcall target="new_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>

Back to the top