Skip to content
Permalink
Browse files
added mock-as3 to downloads.xml, updated license information in READM…
…E, updated cleanup tasks in downloads.xml
  • Loading branch information
cyrillzadra committed Sep 13, 2013
1 parent 53d2136 commit 7f8c639f25b3bcc1512a7b12e2acc6777a80b9f4
Showing 9 changed files with 59 additions and 39 deletions.
@@ -16,10 +16,8 @@ FlexUnit4AirCIListener/libs/*
FlexUnit4FlexCoverListener/bin/*
FlexUnit4FlexCoverListener/libs/*
FlexUnit4FlexCoverListener/target/*
FlexUnit4CIListener/bin/*
FlexUnit4SampleCIProject/target/*
FlexUnit4AntTasks/target/*
FlexUnit4AntTasks/bin/*
FlexUnit4Test/libs/*
FlexUnit4Test/target/*
FlexUnit4UIListener/libs/*
@@ -28,4 +26,5 @@ FlexUnit4UIListener/target/*
.actionScriptProperties
.idea
*.iml
*/.settings
*/.settings
/lib/
@@ -56,9 +56,7 @@
<target name="clean"
description="Removes thirdparty downloads.">
<delete includeEmptyDirs="true" failonerror="false">
<fileset dir="${download.dir}">
<include name="FlexUnit1Lib*/**"/>
</fileset>
<fileset dir="${download.dir}" />
</delete>
</target>

@@ -176,7 +174,7 @@
<target name="flexunit1lib-download-swc" depends="flexunit1lib-swc-check" unless="flexunit1lib.swc.exists"
description="Downloads the flexunit1lib swc.">
<antcall target="download-swc">
<param name="srcUrl" value="https://fluint.googlecode.com/svn-history/r268/branches/skunkworks/flexUnit4/FlexUnit4/libs"/>
<param name="srcUrl" value="https://github.com/flexunit/flexunit/raw/master/FlexUnit4Test/libs"/>
<param name="srcSwcFile" value="FlexUnit1Lib.swc"/>
<param name="destSwcFile" value="${lib.dir}/FlexUnit1Lib.swc"/>
</antcall>
@@ -199,6 +197,9 @@
<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"/>

<!-- Get license file -->
<get src="https://raw.github.com/drewbourne/hamcrest-as3/master/hamcrest/LICENSE" dest="${lib.dir}/hamcrest-LICENSE"/>
</target>

<target name="hamcrest-swc-check" description="Checks if harmcrest swc exists.">
@@ -33,10 +33,10 @@
For Apache, the JARS must be removed from the repository.
Licenses:
JUnit (3.8.1) - CPL 1.0
ant (1.7.1) - Apache 2.0
ant-launcher (1.7.1) - Apache 2.0
ant-testutil (1.7.1) - Apache 2.0
ant-testutil (1.7.1) - Apache 2.0
JUnit (3.8.1) - CPL 1.0
dom4j (1.6.1) - ?
jaxen (1.1) - ?
-->
@@ -53,9 +53,7 @@

<target name="clean" description="Removes thirdparty downloads.">
<delete includeEmptyDirs="true" failonerror="false">
<fileset dir="${download.dir}">
<include name="flexcover*/**" />
</fileset>
<fileset dir="${download.dir}" />
</delete>
</target>

@@ -111,7 +111,7 @@
<target name="fluint-download-swc" depends="fluint-swc-check" unless="fluint.swc.exists"
description="Downloads the fluint swc.">
<antcall target="download-swc">
<param name="srcUrl" value="https://fluint.googlecode.com/svn-history/r268/branches/skunkworks/flexUnit4/FlexUnit4/libs"/>
<param name="srcUrl" value="https://github.com/flexunit/flexunit/raw/master/FlexUnit4Test/libs/"/>
<param name="srcSwcFile" value="fluint-1_2.swc"/>
<param name="destSwcFile" value="${lib.dir}/fluint-1_2.swc"/>
</antcall>
@@ -141,7 +141,6 @@
<delete dir="${dist.loc}" />
<delete>
<fileset dir="${lib.loc}">
<exclude name="mock-as3.swc" />
<exclude name="build/saxon*.jar" />
</fileset>
</delete>
@@ -37,15 +37,15 @@
flexunit1lib () - TODO license???
hamcrest (1.1.3) - https://github.com/drewbourne/hamcrest-as3/blob/master/hamcrest/LICENSE
mockolate (0.9.5) - https://github.com/drewbourne/mockolate/blob/master/LICENSE
mock-as - TODO
mock-as - BSD
-->

<!--
Because the downloads requires a network connection and the JARs don't change very often,
they are each downloaded only if they don't already exist.
-->

<target name="main" depends="prepare, flexunit1lib-swc, hamcrest-swc, fluint-swc, mockolate-swc"
<target name="main" depends="prepare, flexunit1lib-swc, hamcrest-swc, fluint-swc, mockolate-swc, mock-as-swc"
description="Downloads all the required thirdparty SWCs"/>

<target name="prepare" >
@@ -59,10 +59,7 @@
<target name="clean"
description="Removes thirdparty downloads.">
<delete includeEmptyDirs="true" failonerror="false">
<fileset dir="${download.dir}">
<include name="hamcrest*/**"/>
<include name="mockolate*/**"/>
</fileset>
<fileset dir="${download.dir}" />
</delete>
</target>

@@ -180,13 +177,13 @@
<target name="flexunit1lib-download-swc" depends="flexunit1lib-swc-check" unless="flexunit1lib.swc.exists"
description="Downloads the flexunit1lib swc.">
<antcall target="download-swc">
<param name="srcUrl" value="https://fluint.googlecode.com/svn-history/r268/branches/skunkworks/flexUnit4/FlexUnit4/libs"/>
<param name="srcUrl" value="https://github.com/flexunit/flexunit/raw/master/FlexUnit4Test/libs/"/>
<param name="srcSwcFile" value="FlexUnit1Lib.swc"/>
<param name="destSwcFile" value="${lib.dir}/FlexUnit1Lib.swc"/>
</antcall>

<!-- Get license file -->
<!--get src="" dest="${lib.dir}/fluint-LICENSE"/-->
<!--get src="" dest="${lib.dir}/flexunit1lib-LICENSE"/-->
</target>


@@ -239,7 +236,7 @@
<target name="fluint-download-swc" depends="fluint-swc-check" unless="fluint.swc.exists"
description="Downloads the fluint swc.">
<antcall target="download-swc">
<param name="srcUrl" value="https://fluint.googlecode.com/svn-history/r268/branches/skunkworks/flexUnit4/FlexUnit4/libs"/>
<param name="srcUrl" value="https://github.com/flexunit/flexunit/raw/master/FlexUnit4Test/libs/"/>
<param name="srcSwcFile" value="fluint-1_2.swc"/>
<param name="destSwcFile" value="${lib.dir}/fluint-1_2.swc"/>
</antcall>
@@ -275,5 +272,31 @@
<!-- Get license file -->
<get src="https://raw.github.com/drewbourne/mockolate/master/LICENSE" dest="${lib.dir}/mockolate-LICENSE"/>
</target>

<!--
mock-as
-->
<target name="mock-as-swc-check" description="Checks if mock-as swc exists.">
<condition property="mock-as.swc.exists">
<and>
<available file="${lib.dir}/mock-as3.swc"/>
</and>
</condition>
</target>

<target name="mock-as-swc" depends="mock-as-swc-check"
unless="mock-as.swc.exists"
description="Downloads and copies mock-as to the lib directory.">
<echo message="Obtaining lib/mock-as3.swc"/>
<antcall target="download-swc">
<param name="srcUrl" value="https://github.com/flexunit/flexunit/raw/master/FlexUnit4Test/libs/"/>
<param name="srcSwcFile" value="mock-as3.swc"/>
<param name="destSwcFile" value="${lib.dir}/mock-as3.swc"/>
</antcall>

<!-- Get license file -->
<get src="https://raw.github.com/drewbourne/mock-as3/master/core/license.txt" dest="${lib.dir}/mock-as3-LICENSE"/>

</target>

</project>
25 README
@@ -98,24 +98,29 @@ Software Dependencies

The following dependencies have licenses which Apache considers to be not compatible
with the Apache License Version 2.0. You will be prompted to read and agree to the
license terms of the dependency before the software can be downloaded to your system.
license terms of the dependency before the software can be downloaded to your system.

...

TODO

(swcs)
harmcrest - http://cloud.github.com/downloads/drewbourne/hamcrest-as3/mockolate-0.9.5.zip (License - https://github.com/drewbourne/hamcrest-as3/blob/master/hamcrest/LICENSE)
mockolate - http://cloud.github.com/downloads/drewbourne/hamcrest-as3/hamcrest-as3-flex-1.1.3.zip (License - https://github.com/drewbourne/mockolate/blob/master/LICENSE)
fluint - https://fluint.googlecode.com/svn-history/r268/branches/skunkworks/flexUnit4/FlexUnit4/libs/fluint-1_2.swc (License - MIT)
coverageagent - https://flexcover.googlecode.com/files/flexcover-0.90.zip (License - MIT)
mock-as - https://github.com/flexunit/flexunit/raw/master/FlexUnit4Test/libs/mock-as3.swc (License BSD License)

(jars)
junit - http://search.maven.org/remotecontent?filepath=junit/junit/3.8.1/junit-3.8.1.jar (License - CPL 1.0)

TODO


(jars)

dom4j - http://search.maven.org/remotecontent?filepath=dom4j/dom4j/1.6.1/dom4j-1.6.1.jar (License - ???)
jaxen - http://search.maven.org/remotecontent?filepath=jaxen/jaxen/1.1-beta-6/jaxen-1.1-beta-6.jar (License - ???)
dom4j - http://search.maven.org/remotecontent?filepath=dom4j/dom4j/1.6.1/dom4j-1.6.1.jar (License - ???) License is in jar.
jaxen - http://search.maven.org/remotecontent?filepath=jaxen/jaxen/1.1-beta-6/jaxen-1.1-beta-6.jar (License - ???) License is in jar.

(swcs)
flexunit1lib - https://fluint.googlecode.com/svn-history/r268/branches/skunkworks/flexUnit4/FlexUnit4/libs/FlexUnit1Lib.swc (License - ???)

flexunit1lib - https://github.com/flexunit/flexunit/raw/master/FlexUnit4Test/libs/FlexUnit1Lib.swc (License - ???)
fluint - https://github.com/flexunit/flexunit/raw/master/FlexUnit4Test/libs/fluint-1_2.swc (License - MIT) Can't locate license file.
coverageagent - https://flexcover.googlecode.com/files/flexcover-0.90.zip (License - MIT) Can't locate license file.

Building Apache Flex (FlexUnit)
-----------------------------------------------
@@ -56,12 +56,7 @@
<target name="clean"
description="Removes thirdparty downloads.">
<delete includeEmptyDirs="true" failonerror="false">
<fileset dir="${download.dir}">
<include name="junit*/**"/>
<include name="ant*/**"/>
<include name="dom4j*/**"/>
<include name="jaxen*/**"/>
</fileset>
<fileset dir="${download.dir}" />
</delete>
</target>

0 comments on commit 7f8c639

Please sign in to comment.