Skip to content
Permalink
Browse files
renamed target from "prebuild" to "thirdparty-downloads" and added a …
…thirdparty-downloads target in main build.xml
  • Loading branch information
cyrillzadra committed Sep 3, 2013
1 parent 82eb1b9 commit 5dd2d8511b2f91874c2c3266dfbd84056f7555ce
Showing 6 changed files with 20 additions and 13 deletions.
@@ -97,11 +97,11 @@
<xslt in="${basedir}/.flexLibProperties" out="${bin.loc}/flexLib.properties" style="${basedir}/flexLibProperties.xsl" />
</target>

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

<target name="compile" depends="init, prebuild, compile-flex,compile-as3,as3-linker-check" />
<target name="compile" depends="init, thirdparty-downloads, compile-flex,compile-as3,as3-linker-check" />

<target name="compile-flex">
<!-- Pull in class file list for compc -->
@@ -39,7 +39,7 @@
<delete dir="${dist.loc}" />
</target>

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

@@ -50,7 +50,7 @@
<mkdir dir="${doc.loc}" />
</target>

<target name="compile" depends="init, prebuild">
<target name="compile" depends="init, thirdparty-downloads">
<javac target="1.5" source="1.5" fork="true" memoryMaximumSize="256m" srcdir="${src.loc}" failonerror="yes" verbose="false" nowarn="true" destdir="${bin.loc}">
<classpath>
<fileset dir="${lib.loc}">
@@ -71,11 +71,11 @@
</copy>
</target>

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

<target name="compile" depends="init, prebuild">
<target name="compile" depends="init, thirdparty-downloads">
<compc output="${bin.loc}/${build.finalName}.${build.packaging}">
<include-sources dir="${src.loc}" includes="*" append="true" />
<source-path path-element="${src.loc}" />
@@ -69,11 +69,11 @@
</copy>
</target>

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

<target name="compile" depends="init, prebuild">
<target name="compile" depends="init, thirdparty-downloads">
<compc output="${bin.loc}/${build.finalName}.${build.packaging}">
<include-sources dir="${src.loc}" includes="*" append="true" />
<source-path path-element="${src.loc}" />
@@ -191,11 +191,11 @@
</taskdef>
</target>

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

<target name="test" depends="init,prebuild,test-only,test-and-instrument" />
<target name="test" depends="init,thirdparty-downloads,test-only,test-and-instrument" />

<target name="test-only" unless="build.instrument">
<echo message="Testing FlexUnit Flex build..." />
@@ -90,8 +90,15 @@ to contribute to our CI process.
</delete>
</target>

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

<ant dir="${anttasks.loc}" target="thirdparty-downloads" inheritall="false" />
<ant dir="${core.loc}" target="thirdparty-downloads" inheritall="false" />
<ant dir="${fluint.loc}" target="thirdparty-downloads" inheritall="false" />
<ant dir="${tests.loc}" target="thirdparty-downloads" inheritall="false" />
<ant dir="${flexcoverlistener.loc}" target="thirdparty-downloads" inheritall="false" />

</target>

<!-- Builds the FlexUnit4AntTasks project -->
@@ -249,7 +256,7 @@ to contribute to our CI process.
</zip>
</target>

<target name="sonatype" depends="prebuild" description="Target used to generate bundles for deployment to Sonatype.">
<target name="sonatype" depends="thirdparty-downloads" 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 5dd2d85

Please sign in to comment.