This is an automated email from the ASF dual-hosted git repository. joshtynjala pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/flex-flexunit.git
commit 79fb0ab8ae64ffd4912ce97ed9e0a182f3654468 Author: Josh Tynjala <joshtynj...@bowlerhat.dev> AuthorDate: Mon Mar 4 09:46:49 2024 -0800 fix broken hamcrest and mockolate .swc downloads The .zip file was not migrated from old GitHub Downloads to GitHub Releases, so it seems to be completely gone now. However, we downloaded other .swc files from another source, and these .swc files are available from the same place. --- FlexUnit4/downloads.xml | 19 ++++++++----------- FlexUnit4Test/downloads.xml | 20 ++++++++------------ README.md | 4 ++-- 3 files changed, 18 insertions(+), 25 deletions(-) diff --git a/FlexUnit4/downloads.xml b/FlexUnit4/downloads.xml index 80e2a60..a5bc3e5 100644 --- a/FlexUnit4/downloads.xml +++ b/FlexUnit4/downloads.xml @@ -34,7 +34,7 @@ Licenses: flexunit1lib () - TODO license??? - hamcrest (1.1.3) - (https://github.com/drewbourne/hamcrest-as3/blob/master/hamcrest/LICENSE) + hamcrest (1.1.0) - (https://github.com/drewbourne/hamcrest-as3/blob/master/hamcrest/LICENSE) --> <!-- @@ -189,15 +189,12 @@ <target name="hamcrest-swc" depends="hamcrest-swc-check" unless="hamcrest.swc.exists" description="Downloads and copies hamcrest to the lib directory."> - <echo message="Obtaining lib/hamcrest-as3-flex-1.1.3.swc"/> - <antcall target="download-zip"> - <param name="srcUrl" value="https://github.com/downloads/drewbourne/hamcrest-as3"/> - <param name="zipFile" value="hamcrest-as3-flex-1.1.3.zip"/> - <param name="srcJarPath" value="hamcrest-as3-flex-1.1.3/hamcrest-as3-flex-1.1.3.swc"/> - <param name="md5" value="b73fe1bb5f443993adcf8b274f6a48b2"/> - <param name="destJarFile" value="${lib.dir}/hamcrest-as3-flex-1.1.3.swc"/> - </antcall> - <delete dir="${download.dir}/temp/hamcrest-as3-flex-1.1.3"/> + <echo message="Obtaining lib/hamcrest-as3-flex-1.1.0.swc"/> + <antcall target="download-swc"> + <param name="srcUrl" value="https://github.com/flexunit/flexunit/raw/master/FlexUnit4Test/libs"/> + <param name="srcSwcFile" value="hamcrest-as3-1.1.0.swc"/> + <param name="destSwcFile" value="${lib.dir}/hamcrest-as3-1.1.0.swc"/> + </antcall> <!-- Get license file --> <get src="https://raw.github.com/drewbourne/hamcrest-as3/master/hamcrest/LICENSE" dest="${lib.dir}/hamcrest-LICENSE"/> @@ -206,7 +203,7 @@ <target name="hamcrest-swc-check" description="Checks if hamcrest swc exists."> <condition property="hamcrest.swc.exists"> <and> - <available file="${lib.dir}/hamcrest-as3-flex-1.1.3.swc"/> + <available file="${lib.dir}/hamcrest-as3-flex-1.1.0.swc"/> </and> </condition> </target> diff --git a/FlexUnit4Test/downloads.xml b/FlexUnit4Test/downloads.xml index 608f7bb..5d21897 100644 --- a/FlexUnit4Test/downloads.xml +++ b/FlexUnit4Test/downloads.xml @@ -208,12 +208,10 @@ unless="hamcrest.swc.exists" description="Downloads and copies hamcrest to the lib directory."> <echo message="Obtaining lib/hamcrest-as3-flex-1.1.3.swc"/> - <antcall target="download-zip"> - <param name="srcUrl" value="https://github.com/downloads/drewbourne/hamcrest-as3"/> - <param name="zipFile" value="hamcrest-as3-flex-1.1.3.zip"/> - <param name="srcJarPath" value="hamcrest-as3-flex-1.1.3/hamcrest-as3-flex-1.1.3.swc"/> - <param name="md5" value="b73fe1bb5f443993adcf8b274f6a48b2"/> - <param name="destJarFile" value="${lib.dir}/hamcrest-as3-flex-1.1.3.swc"/> + <antcall target="download-swc"> + <param name="srcUrl" value="https://github.com/flexunit/flexunit/raw/master/FlexUnit4/libs"/> + <param name="srcSwcFile" value="hamcrest-as3-flex-1.1.3.swc"/> + <param name="destSwcFile" value="${lib.dir}/hamcrest-as3-flex-1.1.3.swc"/> </antcall> <delete dir="${download.dir}/temp/hamcrest-as3-flex-1.1.3"/> @@ -274,12 +272,10 @@ unless="mockolate.swc.exists" description="Downloads and copies mockolate to the lib directory."> <echo message="Obtaining lib/mockolate-0.9.5.swc"/> - <antcall target="download-zip"> - <param name="srcUrl" value="https://github.com/downloads/drewbourne/mockolate"/> - <param name="zipFile" value="mockolate-0.9.5.zip"/> - <param name="srcJarPath" value="mockolate-0.9.5/mockolate-0.9.5.swc"/> - <param name="md5" value="b73fe1bb5f443993adcf8b274f6a48b2"/> - <param name="destJarFile" value="${lib.dir}/mockolate-0.9.5.swc"/> + <antcall target="download-swc"> + <param name="srcUrl" value="https://github.com/flexunit/flexunit/raw/master/FlexUnit4Test/libs"/> + <param name="srcSwcFile" value="mockolate-0.9.5.swc"/> + <param name="destSwcFile" value="${lib.dir}/mockolate-0.9.5.swc"/> </antcall> <delete dir="${download.dir}/temp/mockolate-0.9.5"/> diff --git a/README.md b/README.md index e313817..645c455 100644 --- a/README.md +++ b/README.md @@ -97,9 +97,9 @@ Version 2.0 license. You will not be prompted to acknowledge the download. ### swcs - coverageagent - https://flexcover.googlecode.com/files/flexcover-0.90.zip (MIT License) - fluint - https://github.com/flexunit/flexunit/raw/master/FlexUnit4Test/libs/fluint-1_2.swc (MIT License) - - hamcrest - http://cloud.github.com/downloads/drewbourne/hamcrest-as3/hamcrest-as3-flex-1.1.3.zip (MIT License) + - hamcrest - https://github.com/flexunit/flexunit/raw/master/FlexUnit4/libs/hamcrest-as3-flex-1.1.3.swc (BSD License) - mock-as - https://github.com/flexunit/flexunit/raw/master/FlexUnit4Test/libs/mock-as3.swc (BSD License) - - mockolate - http://cloud.github.com/downloads/drewbourne/hamcrest-as3/mockolate-0.9.5.zip (BSD License) + - mockolate - https://github.com/flexunit/flexunit/raw/master/FlexUnit4Test/libs/mockolate-0.9.5.swc (MIT License) - flexunit1lib - https://github.com/flexunit/flexunit/raw/master/FlexUnit4Test/libs/FlexUnit1Lib.swc (BSD License) The following dependencies have licenses which Apache considers to be reciprocal