Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 82065200CE7 for ; Thu, 3 Aug 2017 02:11:55 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8058116A55C; Thu, 3 Aug 2017 00:11:55 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C676516A557 for ; Thu, 3 Aug 2017 02:11:54 +0200 (CEST) Received: (qmail 64644 invoked by uid 500); 3 Aug 2017 00:11:54 -0000 Mailing-List: contact commits-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list commits@flex.apache.org Received: (qmail 64636 invoked by uid 99); 3 Aug 2017 00:11:54 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2017 00:11:54 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 52CC3E00C5; Thu, 3 Aug 2017 00:11:53 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: aharui@apache.org To: commits@flex.apache.org Message-Id: <4de5e3a423b84c1a87e44411e03e358a@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: [flex-asjs] [refs/heads/develop] - try to not run SWF test if target is JS only Date: Thu, 3 Aug 2017 00:11:53 +0000 (UTC) archived-at: Thu, 03 Aug 2017 00:11:55 -0000 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 Authored: Wed Aug 2 17:11:44 2017 -0700 Committer: Alex Harui 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 @@ ${project.artifactId} ${project.version} ${project.packaging} + ${project.build.plugins.plugin.configuration.targets} ${project.build.directory}