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 2017/08/03 00:11:53 UTC
git commit: [flex-asjs] [refs/heads/develop] - try to not run SWF
test if target is JS only
Repository: flex-asjs
Updated Branches:
refs/heads/develop 61bb99839 -> d360e9c11
try to not run SWF test if target is JS only
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/d360e9c1
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/d360e9c1
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/d360e9c1
Branch: refs/heads/develop
Commit: d360e9c11465d8647109e94674e0c910521ca574
Parents: 61bb998
Author: Alex Harui <ah...@apache.org>
Authored: Wed Aug 2 17:11:44 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Aug 2 17:11:49 2017 -0700
----------------------------------------------------------------------
.../org/apache/flex/flexjs/examples/tests/ExampleBuildTest.java | 3 +++
examples/flexjs/pom.xml | 1 +
2 files changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d360e9c1/examples/examples-tests/src/main/java/org/apache/flex/flexjs/examples/tests/ExampleBuildTest.java
----------------------------------------------------------------------
diff --git a/examples/examples-tests/src/main/java/org/apache/flex/flexjs/examples/tests/ExampleBuildTest.java b/examples/examples-tests/src/main/java/org/apache/flex/flexjs/examples/tests/ExampleBuildTest.java
index 9fcd1f7..19bb982 100644
--- a/examples/examples-tests/src/main/java/org/apache/flex/flexjs/examples/tests/ExampleBuildTest.java
+++ b/examples/examples-tests/src/main/java/org/apache/flex/flexjs/examples/tests/ExampleBuildTest.java
@@ -67,6 +67,9 @@ public class ExampleBuildTest {
///////////////////////////////////////////////////////////////////
protected boolean isSwfProject() {
+ String targets = System.getProperty("targets", "SWF,JSFlex");
+ if (!targets.contains("SWF"))
+ return false;
String type = System.getProperty("type", "jar");
return "swf".equalsIgnoreCase(type);
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d360e9c1/examples/flexjs/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/pom.xml b/examples/flexjs/pom.xml
index 79ef510..14abd70 100644
--- a/examples/flexjs/pom.xml
+++ b/examples/flexjs/pom.xml
@@ -89,6 +89,7 @@
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<type>${project.packaging}</type>
+ <targets>${project.build.plugins.plugin.configuration.targets}</targets>
<buildDirectory>${project.build.directory}</buildDirectory>
</systemPropertyVariables>
</configuration>