Skip to content
Permalink
Browse files
FLEX-33572 patch by Yennick Trevels and added a downloads.xml for thi…
…rdparty downloads
  • Loading branch information
cyrillzadra committed Sep 3, 2013
1 parent 6b1ac4a commit 82eb1b9dffbce9ca3a4c4432299b8e1bea1425ac
Showing 11 changed files with 298 additions and 181 deletions.
@@ -11,6 +11,8 @@ FlexUnit4FluintExtensions/libs/*
FlexUnit4CIListener/target/*
FlexUnit4CIListener/libs/*
FlexUnit4AirCIListener/bin/*
FlexUnit4AirCIListener/target/*
FlexUnit4AirCIListener/libs/*
FlexUnit4FlexCoverListener/bin/*
FlexUnit4FlexCoverListener/libs/*
FlexUnit4FlexCoverListener/target/*
@@ -24,4 +26,6 @@ FlexUnit4UIListener/libs/*
FlexUnit4UIListener/target/*
.metadata
.actionScriptProperties
.idea
*.iml
*/.settings
@@ -191,29 +191,28 @@
</target>

<target name="deploy" depends="package" description="Requires Ant-Contrib and GPG to work.">
<!-- Copy artifacts w/o build number for use with sonatype -->
<copy todir="${sonatype.loc}">
<fileset dir="${dist.loc}">
<include name="flexunit*.swc" />
</fileset>
<filtermapper>
<replacestring from="-${build.number}-" to="-" />
</filtermapper>
</copy>

<!-- prepare sonatype bundle -->
<sonatype-bundle dir="${sonatype.loc}"
todir="${sonatype.loc}"
pomTemplate="${basedir}/../pom.template"
artifact="${build.artifactId}"
type="${build.packaging}"
name="${build.deploy.name}"
version="${build.version}"
description="${build.deploy.description}">
<includes>
<include name="flexunit*.swc" />
<include name="pom.xml" />
</includes>
</sonatype-bundle>
<!-- deploy flex swc to sonatype -->
<sonatype-deploy
binaryFile="${bin.loc}/${build.finalName.flex}.${build.packaging}"
todir="${sonatype.loc}/flex"
pomTemplate="${basedir}/../pom.template"
artifact="${build.artifactId}-flex"
type="${build.packaging}"
name="${build.deploy.name}"
version="${build.version}"
description="${build.deploy.description}">
</sonatype-deploy>

<!-- deploy as3 swc to sonatype -->
<sonatype-deploy
binaryFile="${bin.loc}/${build.finalName.as3}.${build.packaging}"
todir="${sonatype.loc}/as3"
pomTemplate="${basedir}/../pom.template"
artifact="${build.artifactId}-as3"
type="${build.packaging}"
name="${build.deploy.name}"
version="${build.version}"
description="${build.deploy.description}">
</sonatype-deploy>
</target>
</project>
@@ -106,29 +106,16 @@
</target>

<target name="deploy" depends="package" description="Requires Ant-Contrib and GPG to work.">
<!-- Copy artifacts w/o build number for use with sonatype -->
<copy todir="${sonatype.loc}">
<fileset dir="${dist.loc}">
<include name="*.swc" />
</fileset>
<filtermapper>
<replacestring from="-${build.number}-" to="-" />
</filtermapper>
</copy>

<!-- prepare sonatype bundle -->
<sonatype-bundle dir="${sonatype.loc}"
<!-- deploy to sonatype repo -->
<sonatype-deploy
binaryFile="${bin.loc}/${build.finalName}.${build.packaging}"
todir="${sonatype.loc}"
pomTemplate="${basedir}/../pom.template"
artifact="${build.artifactId}"
type="${build.packaging}"
name="${build.deploy.name}"
version="${build.version}"
description="${build.deploy.description}">
<includes>
<include name="*.swc" />
<include name="pom.xml" />
</includes>
</sonatype-bundle>
</sonatype-deploy>
</target>
</project>
@@ -94,29 +94,17 @@
</target>

<target name="deploy" depends="package" description="Requires Ant-Contrib and GPG to work.">
<!-- Copy artifacts w/o build number for use with sonatype -->
<copy todir="${sonatype.loc}">
<fileset dir="${dist.loc}">
<include name="*.jar" />
</fileset>
<filtermapper>
<replacestring from="-${build.number}" to="" />
</filtermapper>
</copy>

<!-- prepare sonatype bundle -->
<sonatype-bundle dir="${sonatype.loc}"
<sonatype-deploy
binaryFile="${dist.loc}/${build.finalName}.${build.packaging}"
sourcesFile="${dist.loc}/${build.finalName}-sources.${build.packaging}"
docFile="${dist.loc}/${build.finalName}-javadoc.${build.packaging}"
todir="${sonatype.loc}"
pomTemplate="${basedir}/../pom.template"
artifact="${build.artifactId}"
type="${build.packaging}"
name="${build.deploy.name}"
version="${build.version}"
description="${build.deploy.description}">
<includes>
<include name="*.jar" />
<include name="pom.xml" />
</includes>
</sonatype-bundle>
</sonatype-deploy>
</target>
</project>
@@ -100,29 +100,16 @@
</target>

<target name="deploy" depends="package" description="Requires Ant-Contrib and GPG to work.">
<!-- Copy artifacts w/o build number for use with sonatype -->
<copy todir="${sonatype.loc}">
<fileset dir="${dist.loc}">
<include name="*.swc" />
</fileset>
<filtermapper>
<replacestring from="-${build.number}-" to="-" />
</filtermapper>
</copy>

<!-- prepare sonatype bundle -->
<sonatype-bundle dir="${sonatype.loc}"
<!-- deploy to sonatype repo -->
<sonatype-deploy
binaryFile="${bin.loc}/${build.finalName}.${build.packaging}"
todir="${sonatype.loc}"
pomTemplate="${basedir}/../pom.template"
artifact="${build.artifactId}"
type="${build.packaging}"
name="${build.deploy.name}"
version="${build.version}"
description="${build.deploy.description}">
<includes>
<include name="*.swc" />
<include name="pom.xml" />
</includes>
</sonatype-bundle>
</sonatype-deploy>
</target>
</project>
@@ -113,29 +113,16 @@
</target>

<target name="deploy" depends="package" description="Requires Ant-Contrib and GPG to work.">
<!-- Copy artifacts w/o build number for use with sonatype -->
<copy todir="${sonatype.loc}">
<fileset dir="${dist.loc}">
<include name="*.swc" />
</fileset>
<filtermapper>
<replacestring from="-${build.number}-" to="-" />
</filtermapper>
</copy>

<!-- prepare sonatype bundle -->
<sonatype-bundle dir="${sonatype.loc}"
<!-- deploy to sonatype repo -->
<sonatype-deploy
binaryFile="${bin.loc}/${build.finalName}.${build.packaging}"
todir="${sonatype.loc}"
pomTemplate="${basedir}/../pom.template"
artifact="${build.artifactId}"
type="${build.packaging}"
name="${build.deploy.name}"
version="${build.version}"
description="${build.deploy.description}">
<includes>
<include name="*.swc" />
<include name="pom.xml" />
</includes>
</sonatype-bundle>
</sonatype-deploy>
</target>
</project>
@@ -107,29 +107,16 @@
</target>

<target name="deploy" depends="package" description="Requires Ant-Contrib and GPG to work.">
<!-- Copy artifacts w/o build number for use with sonatype -->
<copy todir="${sonatype.loc}">
<fileset dir="${dist.loc}">
<include name="*.swc" />
</fileset>
<filtermapper>
<replacestring from="-${build.number}-" to="-" />
</filtermapper>
</copy>

<!-- prepare sonatype bundle -->
<sonatype-bundle dir="${sonatype.loc}"
<!-- deploy to sonatype repo -->
<sonatype-deploy
binaryFile="${bin.loc}/${build.finalName}.${build.packaging}"
todir="${sonatype.loc}"
pomTemplate="${basedir}/../pom.template"
artifact="${build.artifactId}"
type="${build.packaging}"
name="${build.deploy.name}"
version="${build.version}"
description="${build.deploy.description}">
<includes>
<include name="*.swc" />
<include name="pom.xml" />
</includes>
</sonatype-bundle>
</sonatype-deploy>
</target>
</project>
@@ -117,7 +117,7 @@
<jvmarg value="-Xmx256M" />
<arg line="+flexlib '${FLEX_HOME}/frameworks'" />
<arg line="-compatibility-version=3.0.0" />
<arg line="-namespace http://www.adobe.com/2006/mxml ${FLEX_HOME}/frameworks/mxml-manifest.xml" />
<arg line="-namespace http://www.adobe.com/2006/mxml '${FLEX_HOME}/frameworks/mxml-manifest.xml'" />
<arg line="-namespace ${build.namespace} ${src.loc}/FlexUnit4UIRunner-manifest.xml" />
<arg line="-include-namespaces ${build.namespace}" />
<arg line="-include-classes ${src.class-list}" />
@@ -160,29 +160,16 @@
</target>

<target name="deploy" depends="package" description="Requires Ant-Contrib and GPG to work.">
<!-- Copy artifacts w/o build number for use with sonatype -->
<copy todir="${sonatype.loc}">
<fileset dir="${dist.loc}">
<include name="*.swc" />
</fileset>
<filtermapper>
<replacestring from="-${build.number}-" to="-" />
</filtermapper>
</copy>

<!-- prepare sonatype bundle -->
<sonatype-bundle dir="${sonatype.loc}"
<!-- deploy to sonatype repo -->
<sonatype-deploy
binaryFile="${bin.loc}/${build.finalName}.${build.packaging}"
todir="${sonatype.loc}"
pomTemplate="${basedir}/../pom.template"
artifact="${build.artifactId}"
type="${build.packaging}"
name="${build.deploy.name}"
version="${build.version}"
description="${build.deploy.description}">
<includes>
<include name="*.swc" />
<include name="pom.xml" />
</includes>
</sonatype-bundle>
</sonatype-deploy>
</target>
</project>
@@ -49,6 +49,13 @@ to contribute to our CI process.
<property name="turnkey.loc" location="${basedir}/FlexUnit4TurnKey" />
<property name="sampleCI.loc" location="${basedir}/FlexUnit4SampleCIProject" />

<!-- xml namespace which is used to deploy the artifacts with maven -->
<typedef resource="org/apache/maven/artifact/ant/antlib.xml"
uri="antlib:org.apache.maven.artifact.ant"
classpath="lib/maven-ant-tasks-2.1.3.jar"/>
<taskdef resource="net/sf/antcontrib/antcontrib.properties"
classpath="lib/ant-contrib-1.0b3.jar"/>

<!--
Optional jars but should be in place for a real release build.
@@ -82,6 +89,10 @@ to contribute to our CI process.
</fileset>
</delete>
</target>

<target name="prebuild">
<ant antfile="${basedir}/downloads.xml" dir="${basedir}" />
</target>

<!-- Builds the FlexUnit4AntTasks project -->
<target name="anttasks">
@@ -238,7 +249,7 @@ to contribute to our CI process.
</zip>
</target>

<target name="sonatype" description="Target used to generate bundles for deployment to Sonatype.">
<target name="sonatype" depends="prebuild" description="Target used to generate bundles for deployment to Sonatype.">
<ant dir="${anttasks.loc}" target="deploy" inheritall="false">
<propertyset>
<propertyref prefix="build" />

0 comments on commit 82eb1b9

Please sign in to comment.