You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2018/10/14 21:22:37 UTC

[royale-compiler] 01/03: find resource bundles by waiting for locale list to be configured first

This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git

commit 1f65aecb373107e73f9af8d44d8db0978ec9e062
Author: Alex Harui <ah...@apache.org>
AuthorDate: Fri Oct 12 12:37:41 2018 -0700

    find resource bundles by waiting for locale list to be configured first
---
 .../main/java/org/apache/royale/compiler/clients/JSConfiguration.java   | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/clients/JSConfiguration.java b/compiler-jx/src/main/java/org/apache/royale/compiler/clients/JSConfiguration.java
index c4570b5..491e160 100644
--- a/compiler-jx/src/main/java/org/apache/royale/compiler/clients/JSConfiguration.java
+++ b/compiler-jx/src/main/java/org/apache/royale/compiler/clients/JSConfiguration.java
@@ -35,6 +35,7 @@ import org.apache.royale.compiler.internal.config.annotations.Config;
 import org.apache.royale.compiler.internal.config.annotations.RoyaleOnly;
 import org.apache.royale.compiler.internal.config.annotations.InfiniteArguments;
 import org.apache.royale.compiler.internal.config.annotations.Mapping;
+import org.apache.royale.compiler.internal.config.annotations.SoftPrerequisites;
 import org.apache.royale.compiler.internal.mxml.MXMLNamespaceMapping;
 
 import com.google.common.collect.ImmutableList;
@@ -204,6 +205,7 @@ public class JSConfiguration extends Configuration
     @Mapping({ "compiler", "js-library-path" })
     @Arguments(Arguments.PATH_ELEMENT)
     @InfiniteArguments
+    @SoftPrerequisites({ "locale", "target-player", "exclude-native-js-libraries" })
     public void setCompilerJsLibraryPath(ConfigurationValue cv, String[] pathlist) throws CannotOpen
     {
         final ImmutableList<String> resolvedPaths = expandTokens(Arrays.asList(pathlist), locales, cv,