Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Webtools Releng
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Projects
webtools
Releng
Webtools Releng
Commits
e1839daa
Commit
e1839daa
authored
15 years ago
by
david_williams
Browse files
Options
Downloads
Patches
Plain Diff
format
parent
fab962c2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
releng.wtpbuilder/one_time_use_scripts/fixzips.xml
+78
-39
78 additions, 39 deletions
releng.wtpbuilder/one_time_use_scripts/fixzips.xml
with
78 additions
and
39 deletions
releng.wtpbuilder/one_time_use_scripts/fixzips.xml
+
78
−
39
View file @
e1839daa
<project
default=
"fixzips"
basedir=
"."
>
<target
name=
"fixzips"
>
<property
name=
"buildDirectory"
value=
"/shared/webtools/committers/wtp-R3.0-R/20080616152118"
/>
<property
name=
"buildLabel"
value=
"R-3.0-20080616152118"
/>
<antcall
target=
"fixzip"
>
<param
name=
"newarchiveName"
value=
"wtp-jpt-sdk-R-3.0-20080616152118.zip"
/>
<param
name=
"archiveName"
value=
"wtp-jpt-sdk-R-3.0-20080616152118ORIG.zip"
/>
</antcall>
<antcall
target=
"fixzip"
>
<param
name=
"newarchiveName"
value=
"wtp-sdk-noop-R-3.0-20080616152118.zip"
/>
<param
name=
"archiveName"
value=
"wtp-sdk-noop-R-3.0-20080616152118ORIG.zip"
/>
</antcall>
<antcall
target=
"fixzip"
>
<param
name=
"newarchiveName"
value=
"wtp-sdk-R-3.0-20080616152118.zip"
/>
<param
name=
"archiveName"
value=
"wtp-sdk-R-3.0-20080616152118ORIG.zip"
/>
</antcall>
</target>
<target
name=
"fixzip"
>
<zip
destfile=
"${buildDirectory}/${buildLabel}/${newarchiveName}"
>
<zipfileset
src=
"${buildDirectory}/${buildLabel}/${archiveName}"
excludes=
"eclipse/features/org.eclipse.jpt.sdk*/**"
/>
</zip>
<antcall
target=
"createChecksums"
>
<param
name=
"archiveName"
value=
"${newarchiveName}"
/>
</antcall>
</target>
<target
name=
"createChecksums"
>
<!-- This createChecksums task creates two files, for use in two contexts.
a. an x.md5 file, that has the name of the file in the contents.
This is good for some "third party" executables, like md5summ, that
expects the name in the file.
b. since ant does not deal well with md5 files with anything in them
other than the checksum, we provide same thing in a file with
an md5antformat extension, that has only the checksum.
-->
<mkdir
dir=
"${buildDirectory}/${buildLabel}/checksum"
/>
<checksum
file=
"${buildDirectory}/${buildLabel}/${archiveName}"
property=
"md5"
/>
<echo
message=
"${md5} *${archiveName}"
file=
"${buildDirectory}/${buildLabel}/checksum/${archiveName}.md5"
/>
<echo
message=
"${md5}"
file=
"${buildDirectory}/${buildLabel}/checksum/${archiveName}.md5antformat"
/>
</target>
<project
default=
"fixzips"
basedir=
"."
>
<target
name=
"fixzips"
>
<property
name=
"buildDirectory"
value=
"/shared/webtools/committers/wtp-R3.0-R/20080616152118"
/>
<property
name=
"buildLabel"
value=
"R-3.0-20080616152118"
/>
<antcall
target=
"fixzip"
>
<param
name=
"newarchiveName"
value=
"wtp-jpt-sdk-R-3.0-20080616152118.zip"
/>
<param
name=
"archiveName"
value=
"wtp-jpt-sdk-R-3.0-20080616152118ORIG.zip"
/>
</antcall>
<antcall
target=
"fixzip"
>
<param
name=
"newarchiveName"
value=
"wtp-sdk-noop-R-3.0-20080616152118.zip"
/>
<param
name=
"archiveName"
value=
"wtp-sdk-noop-R-3.0-20080616152118ORIG.zip"
/>
</antcall>
<antcall
target=
"fixzip"
>
<param
name=
"newarchiveName"
value=
"wtp-sdk-R-3.0-20080616152118.zip"
/>
<param
name=
"archiveName"
value=
"wtp-sdk-R-3.0-20080616152118ORIG.zip"
/>
</antcall>
</target>
<target
name=
"fixzip"
>
<zip
destfile=
"${buildDirectory}/${buildLabel}/${newarchiveName}"
>
<zipfileset
src=
"${buildDirectory}/${buildLabel}/${archiveName}"
excludes=
"eclipse/features/org.eclipse.jpt.sdk*/**"
/>
</zip>
<antcall
target=
"createChecksums"
>
<param
name=
"archiveName"
value=
"${newarchiveName}"
/>
</antcall>
</target>
<target
name=
"createChecksums"
>
<!--
This createChecksums task creates two files, for use in two
contexts. a. an x.md5 file, that has the name of the file in
the contents. This is good for some "third party"
executables, like md5summ, that expects the name in the
file. b. since ant does not deal well with md5 files with
anything in them other than the checksum, we provide same
thing in a file with an md5antformat extension, that has
only the checksum.
-->
<mkdir
dir=
"${buildDirectory}/${buildLabel}/checksum"
/>
<checksum
file=
"${buildDirectory}/${buildLabel}/${archiveName}"
property=
"md5"
/>
<echo
message=
"${md5} *${archiveName}"
file=
"${buildDirectory}/${buildLabel}/checksum/${archiveName}.md5"
/>
<echo
message=
"${md5}"
file=
"${buildDirectory}/${buildLabel}/checksum/${archiveName}.md5antformat"
/>
</target>
</project>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment