Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/releng
diff options
context:
space:
mode:
authorRoland Grunberg2013-12-10 19:51:04 +0000
committerAlexander Kurtakov2013-12-11 13:00:25 +0000
commit8ff9bdc537dd6270936e86f1412f772a568e8abf (patch)
treec44e435cae439c33a9fb822c3af09992151fe7aa /releng
parent326f6dd3874e52346f5fabd52f0b7d501715b86b (diff)
downloadorg.eclipse.linuxtools-8ff9bdc537dd6270936e86f1412f772a568e8abf.tar.gz
org.eclipse.linuxtools-8ff9bdc537dd6270936e86f1412f772a568e8abf.tar.xz
org.eclipse.linuxtools-8ff9bdc537dd6270936e86f1412f772a568e8abf.zip
Always regenerate the artifacts.jar from scratch rather than updating.
If a zip/jar archive contains a file that must be updated, Ant's zip task will silently fail if the updated file's timestamp is within 2 seconds of the entry in the archive. See http://ant.apache.org/manual/Tasks/zip.html . Change-Id: I7601af09eb3336096325059e79cb9b3e5f6911a9 Reviewed-on: https://git.eclipse.org/r/19618 Tested-by: Hudson CI Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> IP-Clean: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'releng')
-rw-r--r--releng/org.eclipse.linuxtools.releng-site/promoter.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/releng/org.eclipse.linuxtools.releng-site/promoter.xml b/releng/org.eclipse.linuxtools.releng-site/promoter.xml
index 5e965def56..0dc320b178 100644
--- a/releng/org.eclipse.linuxtools.releng-site/promoter.xml
+++ b/releng/org.eclipse.linuxtools.releng-site/promoter.xml
@@ -40,6 +40,8 @@
<unzip dest="${build.root}/repository">
<fileset file="${build.root}/repository/artifacts.jar" />
</unzip>
+ <!-- Delete the archive, it will be re-generated -->
+ <delete file="${build.root}/repository/artifacts.jar" />
<move file="${build.root}/repository/artifacts.xml" tofile="${build.root}/repository/artifacts.original.xml" />
<xslt style="p2.xsl" in="${build.root}/repository/artifacts.original.xml" out="${build.root}/repository/artifacts.xml">
<param name="mirrorsURL" expression="http://www.eclipse.org/downloads/download.php?file=${mirror.repository.path}&amp;format=xml" />

Back to the top