You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2016/04/22 19:24:59 UTC
[12/35] git commit: [flex-falcon]
[refs/heads/feature/maven-migration-test] - download junit and build test
classes as well
download junit and build test classes as well
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/0f6013b1
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/0f6013b1
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/0f6013b1
Branch: refs/heads/feature/maven-migration-test
Commit: 0f6013b1cdd0f4c868cf017c5edb00057386a58f
Parents: bc4ccb4
Author: Alex Harui <ah...@apache.org>
Authored: Wed Apr 20 13:59:48 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Apr 22 09:02:57 2016 -0700
----------------------------------------------------------------------
compiler-build-tools/build.xml | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/0f6013b1/compiler-build-tools/build.xml
----------------------------------------------------------------------
diff --git a/compiler-build-tools/build.xml b/compiler-build-tools/build.xml
index e5972dd..72d7cf5 100644
--- a/compiler-build-tools/build.xml
+++ b/compiler-build-tools/build.xml
@@ -56,6 +56,10 @@
<isset property="env.BUILD_NUMBER"/>
</condition>
+ <target name="compiler.test.downloads">
+ <ant antfile="${compiler}/../compiler/src/test/downloads.xml" inheritAll="false"/>
+ </target>
+
<!--
BUILD TOOL COMPILATION
@@ -104,8 +108,21 @@
</javac>
</target>
+ <target name="test.classes">
+ <mkdir dir="${compiler}/target/classes"/>
+ <javac debug="${javac.debug}" deprecation="${javac.deprecation}" destdir="${compiler}/target/classes" includeAntRuntime="true"
+ source="${javac.src}" target="${javac.src}">
+ <compilerarg value="-Xlint:all,-path,-fallthrough"/>
+ <src path="${compiler}/src/main/java"/>
+ <include name="org/apache/flex/utils/*.java"/>
+ <classpath>
+ <pathelement location="${compiler}/target/classes"/>
+ <fileset dir="${compiler}/../compiler/lib/external" includes="**/*.jar"/>
+ </classpath>
+ </javac>
+ </target>
- <target name="main" depends="annotate.class, unknown.tree.pattern.input.output" />
+ <target name="main" depends="annotate.class, unknown.tree.pattern.input.output, test.classes" />
<!--