Skip to content
Snippets Groups Projects
Commit a950936b authored by david_williams's avatar david_williams
Browse files

237668 org.eclipse.jpt.eclipselink_sdk.feature not optional as it should be

parent abdbb99c
No related branches found
No related tags found
No related merge requests found
mv /shared/webtools/committers/wtp-R3.0-R/20080616152118/R-3.0-20080616152118/wtp-jpt-R-3.0-20080616152118.zip /shared/webtools/committers/wtp-R3.0-R/20080616152118/R-3.0-20080616152118/wtp-jpt-R-3.0-20080616152118ORIG.zip
mv /shared/webtools/committers/wtp-R3.0-R/20080616152118/R-3.0-20080616152118/wtp-noop-R-3.0-20080616152118.zip /shared/webtools/committers/wtp-R3.0-R/20080616152118/R-3.0-20080616152118/wtp-noop-R-3.0-20080616152118ORIG.zip
mv /shared/webtools/committers/wtp-R3.0-R/20080616152118/R-3.0-20080616152118/wtp-R-3.0-20080616152118.zip /shared/webtools/committers/wtp-R3.0-R/20080616152118/R-3.0-20080616152118/wtp-R-3.0-20080616152118ORIG.zip
mv /shared/webtools/committers/wtp-R3.0-R/20080616152118/R-3.0-20080616152118/checksum/wtp-jpt-R-3.0-20080616152118.zip.md5 /shared/webtools/committers/wtp-R3.0-R/20080616152118/R-3.0-20080616152118/checksum/wtp-jpt-R-3.0-20080616152118ORIG.zip.md5
mv /shared/webtools/committers/wtp-R3.0-R/20080616152118/R-3.0-20080616152118/checksum/wtp-noop-R-3.0-20080616152118.zip.md5 /shared/webtools/committers/wtp-R3.0-R/20080616152118/R-3.0-20080616152118/checksum/wtp-noop-R-3.0-20080616152118ORIG.zip.md5
mv /shared/webtools/committers/wtp-R3.0-R/20080616152118/R-3.0-20080616152118/checksum/wtp-R-3.0-20080616152118.zip.md5 /shared/webtools/committers/wtp-R3.0-R/20080616152118/R-3.0-20080616152118/checksum/wtp-R-3.0-20080616152118ORIG.zip.md5
mv /shared/webtools/committers/wtp-R3.0-R/20080616152118/R-3.0-20080616152118/checksum/wtp-jpt-R-3.0-20080616152118.zip.md5antformat /shared/webtools/committers/wtp-R3.0-R/20080616152118/R-3.0-20080616152118/checksum/wtp-jpt-R-3.0-20080616152118ORIG.zip.md5antformat
mv /shared/webtools/committers/wtp-R3.0-R/20080616152118/R-3.0-20080616152118/checksum/wtp-noop-R-3.0-20080616152118.zip.md5antformat /shared/webtools/committers/wtp-R3.0-R/20080616152118/R-3.0-20080616152118/checksum/wtp-noop-R-3.0-20080616152118ORIG.zip.md5antformat
mv /shared/webtools/committers/wtp-R3.0-R/20080616152118/R-3.0-20080616152118/checksum/wtp-R-3.0-20080616152118.zip.md5antformat /shared/webtools/committers/wtp-R3.0-R/20080616152118/R-3.0-20080616152118/checksum/wtp-R-3.0-20080616152118ORIG.zip.md5antformat
fromString="20080616152118"
toString="20080616152118ORIG"
replaceCommand="s!${fromString}!${toString}!g"
perl -w -pi -e ${replaceCommand} /shared/webtools/committers/wtp-R3.0-R/20080616152118/R-3.0-20080616152118/checksum/*.md5
<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-R-3.0-20080616152118a.zip"/>
<param
name="archiveName"
value="wtp-jpt-R-3.0-20080616152118ORIG.zip"/>
</antcall>
<antcall
target="fixzip">
<param
name="newarchiveName"
value="wtp-noop-R-3.0-20080616152118a.zip"/>
<param
name="archiveName"
value="wtp-noop-R-3.0-20080616152118ORIG.zip"/>
</antcall>
<antcall
target="fixzip">
<param
name="newarchiveName"
value="wtp-R-3.0-20080616152118a.zip"/>
<param
name="archiveName"
value="wtp-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_2*/**"/>
</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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment