You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jo...@apache.org on 2014/04/24 18:05:33 UTC
[01/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - clean
up dead code, unused imports,
etc caused by stripping out stuff it appears we don't need
Repository: flex-falcon
Updated Branches:
refs/heads/maven fb8462aea -> a7a21def1 (forced update)
clean up dead code, unused imports, etc caused by stripping out stuff it appears we don't need
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/83236614
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/83236614
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/83236614
Branch: refs/heads/maven
Commit: 83236614e5ec4e8b1a51635d6af8d2bd36379f5a
Parents: aa8685a
Author: Alex Harui <ah...@apache.org>
Authored: Fri Apr 4 11:30:07 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Apr 4 11:30:07 2014 -0700
----------------------------------------------------------------------
.../src/flex2/compiler/CompilerAPI.java | 8 +++----
.../src/flex2/compiler/Source.java | 17 +++++++------
.../src/flex2/compiler/SourceList.java | 4 ----
.../src/flex2/compiler/SourcePath.java | 8 +------
.../compiler/common/CompilerConfiguration.java | 6 +++--
.../flex2/compiler/common/Configuration.java | 3 +--
.../compiler/common/FontsConfiguration.java | 7 ++----
.../compiler/common/MxmlConfiguration.java | 4 ++--
.../config/CommandLineConfigurator.java | 1 -
.../compiler/config/ConfigurationBuffer.java | 14 ++++++++---
.../flex2/compiler/config/FileConfigurator.java | 2 +-
.../config/ServicesDependenciesWrapper.java | 15 ++++++++----
.../src/flex2/compiler/io/LocalFile.java | 3 ++-
.../flex2/compiler/mxml/lang/StandardDefs.java | 2 +-
.../flex2/compiler/mxml/lang/TextParser.java | 14 ++++-------
.../src/flex2/compiler/util/NameFormatter.java | 1 -
.../src/flex2/linker/SimpleMovie.java | 2 +-
.../flex2/tools/CommandLineConfiguration.java | 3 ---
.../src/flex2/tools/CompcConfiguration.java | 6 -----
flex-compiler-oem/src/flex2/tools/PreLink.java | 6 ++---
.../src/flex2/tools/ToolsConfiguration.java | 8 ++-----
.../tools/flexbuilder/BuilderApplication.java | 5 ++--
.../flex2/tools/flexbuilder/BuilderLibrary.java | 5 ++--
.../src/flex2/tools/oem/Application.java | 25 +++++---------------
.../src/flex2/tools/oem/Library.java | 24 ++++---------------
.../ApplicationCompilerConfiguration.java | 2 +-
.../internal/LibraryCompilerConfiguration.java | 1 -
.../tools/oem/internal/OEMConfiguration.java | 9 +++----
.../flex2/tools/oem/internal/OEMLogAdapter.java | 1 -
.../src/flex2/tools/oem/internal/OEMReport.java | 2 +-
.../src/flex2/tools/oem/internal/OEMUtil.java | 15 ------------
.../src/macromedia/asc/util/ObjectList.java | 7 +++++-
32 files changed, 86 insertions(+), 144 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/compiler/CompilerAPI.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/compiler/CompilerAPI.java b/flex-compiler-oem/src/flex2/compiler/CompilerAPI.java
index 00d8376..54cd78e 100644
--- a/flex-compiler-oem/src/flex2/compiler/CompilerAPI.java
+++ b/flex-compiler-oem/src/flex2/compiler/CompilerAPI.java
@@ -47,10 +47,10 @@ import flex2.compiler.common.PathResolver;
*/
public final class CompilerAPI
{
- private final static int INHERITANCE = 1;
- private final static int NAMESPACES = 2;
- private final static int TYPES = 3;
- private final static int EXPRESSIONS = 4;
+ //private final static int INHERITANCE = 1;
+ //private final static int NAMESPACES = 2;
+ //private final static int TYPES = 3;
+ //private final static int EXPRESSIONS = 4;
static String constructClassName(String namespaceURI, String localPart)
{
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/compiler/Source.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/compiler/Source.java b/flex-compiler-oem/src/flex2/compiler/Source.java
index a610047..91a1ce6 100644
--- a/flex-compiler-oem/src/flex2/compiler/Source.java
+++ b/flex-compiler-oem/src/flex2/compiler/Source.java
@@ -20,7 +20,6 @@
package flex2.compiler;
import flex2.compiler.io.VirtualFile;
-import java.util.*;
/**
* This class represents the information associated with a single file
@@ -38,7 +37,7 @@ public final class Source implements Comparable<Source>
public Source(VirtualFile file, Source original)
{
this(file, original.pathRoot, original.relativePath, original.shortName, original.owner, original.isInternal, original.isRoot, original.isDebuggable);
- this.delegate = original;
+ //this.delegate = original;
}
// used by InterfaceCompiler.createInlineComponentUnit(). Note the owner will be set
@@ -47,7 +46,7 @@ public final class Source implements Comparable<Source>
public Source(VirtualFile file, Source original, String shortName, boolean isInternal, boolean isRoot)
{
this(file, original.pathRoot, original.relativePath, shortName, null, isInternal, isRoot, true);
- this.delegate = original;
+ //this.delegate = original;
}
// used by FileSpec
@@ -81,10 +80,10 @@ public final class Source implements Comparable<Source>
if (file != null)
{
- fileTime = file.getLastModified();
+ //fileTime = file.getLastModified();
}
- fileIncludeTimes = new HashMap<VirtualFile, Long>(4);
+ //fileIncludeTimes = new HashMap<VirtualFile, Long>(4);
}
private VirtualFile file;
@@ -94,15 +93,15 @@ public final class Source implements Comparable<Source>
private boolean isInternal;
private boolean isRoot;
private boolean isDebuggable;
- private boolean isPreprocessed;
+ //private boolean isPreprocessed;
- private long fileTime;
- private Map<VirtualFile, Long> fileIncludeTimes;
+ //private long fileTime;
+ //private Map<VirtualFile, Long> fileIncludeTimes;
// 1. path resolution
// 2. backing file
// 3. source fragments
- private Source delegate;
+ //private Source delegate;
public int compareTo(Source source)
{
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/compiler/SourceList.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/compiler/SourceList.java b/flex-compiler-oem/src/flex2/compiler/SourceList.java
index 1e2e3e0..ef5258c 100644
--- a/flex-compiler-oem/src/flex2/compiler/SourceList.java
+++ b/flex-compiler-oem/src/flex2/compiler/SourceList.java
@@ -23,11 +23,7 @@ import flex2.compiler.io.FileUtil;
import flex2.compiler.io.LocalFile;
import flex2.compiler.io.VirtualFile;
import flex2.compiler.util.CompilerMessage;
-import flex2.compiler.util.NameFormatter;
-import flex2.compiler.util.QName;
import flex2.compiler.util.ThreadLocalToolkit;
-import flex2.tools.oem.ApplicationCache;
-
import java.io.File;
import java.util.*;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/compiler/SourcePath.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/compiler/SourcePath.java b/flex-compiler-oem/src/flex2/compiler/SourcePath.java
index 4e356a0..3e8ad86 100644
--- a/flex-compiler-oem/src/flex2/compiler/SourcePath.java
+++ b/flex-compiler-oem/src/flex2/compiler/SourcePath.java
@@ -24,12 +24,6 @@ import flex2.compiler.io.FileUtil;
import flex2.compiler.io.LocalFile;
import flex2.compiler.io.VirtualFile;
import flex2.compiler.util.CompilerMessage;
-import flex2.compiler.util.MimeMappings;
-import flex2.compiler.util.NameFormatter;
-import flex2.compiler.util.QName;
-import flex2.compiler.util.ThreadLocalToolkit;
-import flex2.tools.oem.ApplicationCache;
-
import java.io.File;
import java.util.*;
@@ -44,7 +38,7 @@ public class SourcePath extends SourcePathBase
implements SinglePathResolver
{
protected final List<File> directories;
- private ApplicationCache applicationCache;
+ //private ApplicationCache applicationCache;
public SourcePath(VirtualFile[] classPath, VirtualFile appPath, String[] mimeTypes, boolean allowSourcePathOverlap)
{
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/compiler/common/CompilerConfiguration.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/compiler/common/CompilerConfiguration.java b/flex-compiler-oem/src/flex2/compiler/common/CompilerConfiguration.java
index ba7411c..24c8998 100644
--- a/flex-compiler-oem/src/flex2/compiler/common/CompilerConfiguration.java
+++ b/flex-compiler-oem/src/flex2/compiler/common/CompilerConfiguration.java
@@ -319,6 +319,7 @@ public class CompilerConfiguration implements As3Configuration,
}
}
+ /*
private VirtualFile[] toVirtualFileArray(String[] files, ConfigurationValue cv)
throws ConfigurationException
{
@@ -329,7 +330,8 @@ public class CompilerConfiguration implements As3Configuration,
}
return vfiles;
}
-
+ */
+
private VirtualFile getVirtualFile(String file, ConfigurationValue cv)
throws ConfigurationException
{
@@ -3271,7 +3273,7 @@ public class CompilerConfiguration implements As3Configuration,
return advancedTelemetry;
}
- public void setAdvancedTelemetry(boolean accessible)
+ public void setAdvancedTelemetry(boolean advancedTelemetry)
{
this.advancedTelemetry = advancedTelemetry;
}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/compiler/common/Configuration.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/compiler/common/Configuration.java b/flex-compiler-oem/src/flex2/compiler/common/Configuration.java
index 952ec0b..7f26804 100644
--- a/flex-compiler-oem/src/flex2/compiler/common/Configuration.java
+++ b/flex-compiler-oem/src/flex2/compiler/common/Configuration.java
@@ -39,7 +39,6 @@ import java.util.Map;
import java.util.HashMap;
import java.util.List;
import java.util.LinkedList;
-import java.util.Locale;
import java.util.HashSet;
import java.util.Set;
import java.util.Collection;
@@ -1354,7 +1353,7 @@ public class Configuration implements LinkerConfiguration, Cloneable
}
private List<RslPathInfo> rslPathInfoList; // list of CdRslInfo objects
- private Set<String> loadedRsls; // swc location of the rsls that will be loaded
+ //private Set<String> loadedRsls; // swc location of the rsls that will be loaded
/**
* @return List of of all the -runtime-shared-libraries-path options.
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/compiler/common/FontsConfiguration.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/compiler/common/FontsConfiguration.java b/flex-compiler-oem/src/flex2/compiler/common/FontsConfiguration.java
index b8b17da..62d2dab 100644
--- a/flex-compiler-oem/src/flex2/compiler/common/FontsConfiguration.java
+++ b/flex-compiler-oem/src/flex2/compiler/common/FontsConfiguration.java
@@ -29,8 +29,6 @@ import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Properties;
-import java.util.Map;
-import java.util.HashMap;
/**
* This class defines the fonts related configuration options. These
@@ -39,14 +37,13 @@ import java.util.HashMap;
* @author Kyle Quevillon
* @author Peter Farland
*/
-@SuppressWarnings("unchecked")
public class FontsConfiguration
{
- private CompilerConfiguration compilerConfig;
+ //private CompilerConfiguration compilerConfig;
public void setCompilerConfiguration(CompilerConfiguration compilerConfig)
{
- this.compilerConfig = compilerConfig;
+ //this.compilerConfig = compilerConfig;
}
private ConfigurationPathResolver configResolver;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/compiler/common/MxmlConfiguration.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/compiler/common/MxmlConfiguration.java b/flex-compiler-oem/src/flex2/compiler/common/MxmlConfiguration.java
index d496c32..c8043e5 100644
--- a/flex-compiler-oem/src/flex2/compiler/common/MxmlConfiguration.java
+++ b/flex-compiler-oem/src/flex2/compiler/common/MxmlConfiguration.java
@@ -38,11 +38,11 @@ import flex2.compiler.config.ConfigurationInfo;
*/
public class MxmlConfiguration
{
- private ConfigurationPathResolver configResolver;
+ //private ConfigurationPathResolver configResolver;
public void setConfigPathResolver( ConfigurationPathResolver resolver )
{
- this.configResolver = resolver;
+ //this.configResolver = resolver;
}
//
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/compiler/config/CommandLineConfigurator.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/compiler/config/CommandLineConfigurator.java b/flex-compiler-oem/src/flex2/compiler/config/CommandLineConfigurator.java
index f459a40..9632b47 100644
--- a/flex-compiler-oem/src/flex2/compiler/config/CommandLineConfigurator.java
+++ b/flex-compiler-oem/src/flex2/compiler/config/CommandLineConfigurator.java
@@ -24,7 +24,6 @@ package flex2.compiler.config;
import java.util.Arrays;
import java.util.List;
import java.util.LinkedList;
-import java.util.TreeSet;
import java.util.Set;
import java.util.Iterator;
import java.util.HashSet;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/compiler/config/ConfigurationBuffer.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/compiler/config/ConfigurationBuffer.java b/flex-compiler-oem/src/flex2/compiler/config/ConfigurationBuffer.java
index 340780d..9116885 100644
--- a/flex-compiler-oem/src/flex2/compiler/config/ConfigurationBuffer.java
+++ b/flex-compiler-oem/src/flex2/compiler/config/ConfigurationBuffer.java
@@ -225,6 +225,7 @@ public final class ConfigurationBuffer
if (value == null)
{
+ /*
if (false && isValidVar( token ))
{
if (varMap.containsKey( token ))
@@ -246,6 +247,7 @@ public final class ConfigurationBuffer
value = first.getArgs().get( 0 );
}
}
+ */
if (value == null)
{
@@ -290,6 +292,7 @@ public final class ConfigurationBuffer
}
}
+ @SuppressWarnings("unchecked")
private void storeValue( String avar, ConfigurationValue val, boolean append ) throws ConfigurationException
{
String var = unalias( avar );
@@ -327,11 +330,13 @@ public final class ConfigurationBuffer
return varCache.keySet().iterator();
}
+ /*
private Iterator<String> getSetVarIterator()
{
return varMap.keySet().iterator();
}
-
+ */
+
public void merge( ConfigurationBuffer other )
{
assert ( configClass == other.configClass );
@@ -430,6 +435,7 @@ public final class ConfigurationBuffer
return ((basename == null)? membername : (basename + "." + membername));
}
+ @SuppressWarnings("unchecked")
private static ConfigurationInfo createInfo( Method setterMethod )
{
ConfigurationInfo info = null;
@@ -466,6 +472,7 @@ public final class ConfigurationBuffer
return info;
}
+ /*
private static ConfigurationInfo createChildInfo( Method childGetMethod )
{
ConfigurationInfo info = null;
@@ -503,11 +510,12 @@ public final class ConfigurationBuffer
{
info = new ConfigurationInfo();
}
-
+
return info;
}
-
+ */
+
/**
* load - prefetch all the interesting names into a dictionary so that we can find them
* again more easily. At the end of this call, we will have a list of every variable
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/compiler/config/FileConfigurator.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/compiler/config/FileConfigurator.java b/flex-compiler-oem/src/flex2/compiler/config/FileConfigurator.java
index bf11dce..f96e500 100644
--- a/flex-compiler-oem/src/flex2/compiler/config/FileConfigurator.java
+++ b/flex-compiler-oem/src/flex2/compiler/config/FileConfigurator.java
@@ -509,7 +509,7 @@ public class FileConfigurator
this.ignore = false;
}
- public String localVar;
+ //public String localVar;
public String var;
public String base;
public String item;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/compiler/config/ServicesDependenciesWrapper.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/compiler/config/ServicesDependenciesWrapper.java b/flex-compiler-oem/src/flex2/compiler/config/ServicesDependenciesWrapper.java
index 15d85d1..ba8c522 100644
--- a/flex-compiler-oem/src/flex2/compiler/config/ServicesDependenciesWrapper.java
+++ b/flex-compiler-oem/src/flex2/compiler/config/ServicesDependenciesWrapper.java
@@ -19,13 +19,8 @@
package flex2.compiler.config;
-import java.io.File;
import java.lang.reflect.*;
-import java.util.ArrayList;
-import java.util.HashSet;
import java.util.Map;
-import java.util.HashMap;
-import java.util.Iterator;
import java.util.List;
import java.util.Set;
@@ -42,6 +37,7 @@ public class ServicesDependenciesWrapper
private Object servicesDependenciesInstance;
private Class servicesDependenciesClass;
+ @SuppressWarnings("unchecked")
public ServicesDependenciesWrapper(String path, String parserClass, String contextRoot)
{
try
@@ -81,6 +77,7 @@ public class ServicesDependenciesWrapper
}
}
+ @SuppressWarnings("unchecked")
public Set getLazyAssociations(String destination)
{
if (servicesDependenciesClass != null)
@@ -101,6 +98,7 @@ public class ServicesDependenciesWrapper
return null;
}
+ @SuppressWarnings("unchecked")
public void addLazyAssociation(String destination, String associationProp)
{
if (servicesDependenciesClass != null)
@@ -120,6 +118,7 @@ public class ServicesDependenciesWrapper
}
}
+ @SuppressWarnings("unchecked")
public String getServerConfigXmlInit()
{
if (servicesDependenciesClass != null)
@@ -139,6 +138,7 @@ public class ServicesDependenciesWrapper
return null;
}
+ @SuppressWarnings("unchecked")
public String getImports()
{
if (servicesDependenciesClass != null)
@@ -158,6 +158,7 @@ public class ServicesDependenciesWrapper
return null;
}
+ @SuppressWarnings("unchecked")
public String getReferences()
{
if (servicesDependenciesClass != null)
@@ -177,6 +178,7 @@ public class ServicesDependenciesWrapper
return null;
}
+ @SuppressWarnings("unchecked")
public List getChannelClasses()
{
if (servicesDependenciesClass != null)
@@ -196,6 +198,7 @@ public class ServicesDependenciesWrapper
return null;
}
+ @SuppressWarnings("unchecked")
public void addChannelClass(String className)
{
if (servicesDependenciesClass != null)
@@ -213,6 +216,7 @@ public class ServicesDependenciesWrapper
}
}
+ @SuppressWarnings("unchecked")
public void addConfigPath(String path, long modified)
{
if (servicesDependenciesClass != null)
@@ -232,6 +236,7 @@ public class ServicesDependenciesWrapper
}
}
+ @SuppressWarnings("unchecked")
public Map getConfigPaths()
{
if (servicesDependenciesClass != null)
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/compiler/io/LocalFile.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/compiler/io/LocalFile.java b/flex-compiler-oem/src/flex2/compiler/io/LocalFile.java
index 1980267..346b9c5 100644
--- a/flex-compiler-oem/src/flex2/compiler/io/LocalFile.java
+++ b/flex-compiler-oem/src/flex2/compiler/io/LocalFile.java
@@ -69,7 +69,8 @@ public class LocalFile implements VirtualFile
return getName();
}
- public String getURL()
+ @SuppressWarnings("deprecation")
+ public String getURL()
{
try
{
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/compiler/mxml/lang/StandardDefs.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/compiler/mxml/lang/StandardDefs.java b/flex-compiler-oem/src/flex2/compiler/mxml/lang/StandardDefs.java
index 177fa8e..eb28175 100644
--- a/flex-compiler-oem/src/flex2/compiler/mxml/lang/StandardDefs.java
+++ b/flex-compiler-oem/src/flex2/compiler/mxml/lang/StandardDefs.java
@@ -152,7 +152,7 @@ public abstract class StandardDefs
// spark.*
private static final String PACKAGE_SPARK_COMPONENTS = "spark.components";
private static final String PACKAGE_SPARK_CORE = "spark.core";
- private static final String PACKAGE_SPARK_PRIMITIVES = "spark.primitives";
+ //private static final String PACKAGE_SPARK_PRIMITIVES = "spark.primitives";
private static final String PACKAGE_TEXT_ELEMENTS = "flashx.textLayout.elements";
private static final String PACKAGE_TEXT_FORMATS = "flashx.textLayout.formats";
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/compiler/mxml/lang/TextParser.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/compiler/mxml/lang/TextParser.java b/flex-compiler-oem/src/flex2/compiler/mxml/lang/TextParser.java
index d267d7f..ed90994 100644
--- a/flex-compiler-oem/src/flex2/compiler/mxml/lang/TextParser.java
+++ b/flex-compiler-oem/src/flex2/compiler/mxml/lang/TextParser.java
@@ -19,12 +19,6 @@
package flex2.compiler.mxml.lang;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
-
/**
* MXML text parser, used to parse attribute values and text
* content. Some utility functionality is also exposed in static
@@ -35,17 +29,17 @@ public abstract class TextParser
/**
* valid percentage expressions are: [whitespace] positive-whole-or-decimal-number [whitespace] % [whitespace]
*/
- private static final Pattern percentagePattern = Pattern.compile("\\s*((\\d+)(.(\\d)+)?)\\s*%\\s*");
+ //private static final Pattern percentagePattern = Pattern.compile("\\s*((\\d+)(.(\\d)+)?)\\s*%\\s*");
/**
* valid qualified names are series of 1 or more leading-alpha-or-_-followed-by-alphanumerics words, separated by dots
*/
- private static final Pattern qualifiedNamePattern = Pattern.compile("([a-zA-Z_]\\w*)(\\.([a-zA-Z_]\\w*))*");
+ //private static final Pattern qualifiedNamePattern = Pattern.compile("([a-zA-Z_]\\w*)(\\.([a-zA-Z_]\\w*))*");
/**
* valid AS RegExps are: / 0-or-more-of-anything / 0-or-more-flag chars. We leave pattern validation to ASC.
*/
- private static final Pattern regExpPattern = Pattern.compile("/.*/[gimsx]*");
+ //private static final Pattern regExpPattern = Pattern.compile("/.*/[gimsx]*");
// error codes
public final static int Ok = 0;
@@ -132,9 +126,9 @@ public abstract class TextParser
/**
*
- */
private static boolean isQualifiedName(String text)
{
return qualifiedNamePattern.matcher(text).matches() && !StandardDefs.isReservedWord(text);
}
+ */
}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/compiler/util/NameFormatter.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/compiler/util/NameFormatter.java b/flex-compiler-oem/src/flex2/compiler/util/NameFormatter.java
index b03cf51..9abc74d 100644
--- a/flex-compiler-oem/src/flex2/compiler/util/NameFormatter.java
+++ b/flex-compiler-oem/src/flex2/compiler/util/NameFormatter.java
@@ -19,7 +19,6 @@
package flex2.compiler.util;
-import flex2.compiler.Source;
import flex2.compiler.SymbolTable;
import flex2.compiler.mxml.lang.StandardDefs;
//import flex2.compiler.swc.SwcScript;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/linker/SimpleMovie.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/linker/SimpleMovie.java b/flex-compiler-oem/src/flex2/linker/SimpleMovie.java
index 7c6ce78..223caca 100644
--- a/flex-compiler-oem/src/flex2/linker/SimpleMovie.java
+++ b/flex-compiler-oem/src/flex2/linker/SimpleMovie.java
@@ -35,7 +35,7 @@ public class SimpleMovie extends Movie
* Use this dummy password instead of generating one.
* @see http://bugs.adobe.com/jira/browse/SDK-27210
*/
- private static final String NO_PASSWORD = "NO-PASSWORD";
+ //private static final String NO_PASSWORD = "NO-PASSWORD";
public SimpleMovie(LinkerConfiguration configuration)
{
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/tools/CommandLineConfiguration.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/tools/CommandLineConfiguration.java b/flex-compiler-oem/src/flex2/tools/CommandLineConfiguration.java
index 2673be5..b0a4f12 100644
--- a/flex-compiler-oem/src/flex2/tools/CommandLineConfiguration.java
+++ b/flex-compiler-oem/src/flex2/tools/CommandLineConfiguration.java
@@ -27,9 +27,6 @@ import flex2.compiler.config.ConfigurationException;
import flex2.compiler.config.ConfigurationInfo;
import flex2.compiler.config.ConfigurationValue;
import flex2.compiler.io.VirtualFile;
-import flex2.compiler.util.ThreadLocalToolkit;
-
-import java.io.File;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/tools/CompcConfiguration.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/tools/CompcConfiguration.java b/flex-compiler-oem/src/flex2/tools/CompcConfiguration.java
index 2738d54..78cac66 100644
--- a/flex-compiler-oem/src/flex2/tools/CompcConfiguration.java
+++ b/flex-compiler-oem/src/flex2/tools/CompcConfiguration.java
@@ -26,14 +26,8 @@ import flex2.compiler.config.ConfigurationBuffer;
import flex2.compiler.config.ConfigurationException;
import flex2.compiler.config.ConfigurationInfo;
import flex2.compiler.config.ConfigurationValue;
-import flex2.compiler.config.FileConfigurator;
import flex2.compiler.io.VirtualFile;
-import flex2.compiler.util.ThreadLocalToolkit;
-
import java.io.File;
-import java.io.PrintWriter;
-import java.io.BufferedOutputStream;
-import java.io.FileOutputStream;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/tools/PreLink.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/tools/PreLink.java b/flex-compiler-oem/src/flex2/tools/PreLink.java
index e8c792d..f1bd25e 100644
--- a/flex-compiler-oem/src/flex2/tools/PreLink.java
+++ b/flex-compiler-oem/src/flex2/tools/PreLink.java
@@ -34,9 +34,9 @@ import flex2.compiler.util.CompilerMessage;
*/
public class PreLink// implements flex2.compiler.PreLink
{
- private final static String DEFAULTS_CSS = "defaults.css";
- private final static String DEFAULTS_DASH = "defaults-";
- private final static String DOT_CSS = ".css";
+ //private final static String DEFAULTS_CSS = "defaults.css";
+ //private final static String DEFAULTS_DASH = "defaults-";
+ //private final static String DOT_CSS = ".css";
public static class CouldNotParseNumber extends CompilerMessage.CompilerError
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/tools/ToolsConfiguration.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/tools/ToolsConfiguration.java b/flex-compiler-oem/src/flex2/tools/ToolsConfiguration.java
index 4929925..5646562 100644
--- a/flex-compiler-oem/src/flex2/tools/ToolsConfiguration.java
+++ b/flex-compiler-oem/src/flex2/tools/ToolsConfiguration.java
@@ -31,12 +31,8 @@ import flex2.compiler.io.VirtualFile;
import flex2.compiler.util.CompilerMessage;
//import flex2.compiler.util.ThreadLocalToolkit;
-import java.io.BufferedOutputStream;
import java.io.File;
-import java.io.FileOutputStream;
import java.io.IOException;
-import java.io.PrintWriter;
-import java.lang.reflect.Method;
import java.util.Iterator;
/**
@@ -64,8 +60,8 @@ public abstract class ToolsConfiguration extends Configuration
if (info.isDeprecated() && configurationBuffer.getVar(var) != null)
{
CompilerMessage.CompilerWarning warning = info.getDeprecatedMessage();
- String replacement = info.getDeprecatedReplacement();
- String since = info.getDeprecatedSince();
+ //String replacement = info.getDeprecatedReplacement();
+ //String since = info.getDeprecatedSince();
if (warning != null)
{
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/tools/flexbuilder/BuilderApplication.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/tools/flexbuilder/BuilderApplication.java b/flex-compiler-oem/src/flex2/tools/flexbuilder/BuilderApplication.java
index 5e75030..19eb852 100644
--- a/flex-compiler-oem/src/flex2/tools/flexbuilder/BuilderApplication.java
+++ b/flex-compiler-oem/src/flex2/tools/flexbuilder/BuilderApplication.java
@@ -27,7 +27,6 @@ import java.util.Set;
import flex2.compiler.config.ConfigurationBuffer;
import flex2.compiler.config.ConfigurationException;
-import flex2.compiler.io.FileUtil;
import flex2.tools.oem.Application;
import flex2.tools.oem.Configuration;
import flex2.tools.oem.LibraryCache;
@@ -114,7 +113,7 @@ public class BuilderApplication extends Application
protected int compile(boolean incremental)
{
- File dumpConfigFile = null;
+ //File dumpConfigFile = null;
OEMConfiguration config = null;
// step over special-cased configuration options:
@@ -366,6 +365,7 @@ public class BuilderApplication extends Application
int result = super.compile(incremental);
+ /*
if (dumpConfigFile != null && config != null && config.cfgbuf != null)
{
try
@@ -378,6 +378,7 @@ public class BuilderApplication extends Application
ex.printStackTrace();
}
}
+ */
return result;
}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/tools/flexbuilder/BuilderLibrary.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/tools/flexbuilder/BuilderLibrary.java b/flex-compiler-oem/src/flex2/tools/flexbuilder/BuilderLibrary.java
index 4f2f606..10679be 100644
--- a/flex-compiler-oem/src/flex2/tools/flexbuilder/BuilderLibrary.java
+++ b/flex-compiler-oem/src/flex2/tools/flexbuilder/BuilderLibrary.java
@@ -29,7 +29,6 @@ import java.util.Set;
import flex2.compiler.config.ConfigurationBuffer;
import flex2.compiler.config.ConfigurationException;
import flex2.compiler.config.ConfigurationValue;
-import flex2.compiler.io.FileUtil;
import flex2.tools.oem.Configuration;
import flex2.tools.oem.Library;
import flex2.tools.oem.internal.OEMConfiguration;
@@ -105,7 +104,7 @@ public class BuilderLibrary extends Library
protected int compile(boolean incremental)
{
- File dumpConfigFile = null;
+ //File dumpConfigFile = null;
OEMConfiguration config = null;
// step over special-cased configuration options:
@@ -354,6 +353,7 @@ public class BuilderLibrary extends Library
int result = super.compile(incremental);
+ /*
if (dumpConfigFile != null && config != null && config.cfgbuf != null)
{
try
@@ -366,6 +366,7 @@ public class BuilderLibrary extends Library
ex.printStackTrace();
}
}
+ */
return result;
}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/tools/oem/Application.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/tools/oem/Application.java b/flex-compiler-oem/src/flex2/tools/oem/Application.java
index df89790..a39e92b 100644
--- a/flex-compiler-oem/src/flex2/tools/oem/Application.java
+++ b/flex-compiler-oem/src/flex2/tools/oem/Application.java
@@ -19,29 +19,20 @@
package flex2.tools.oem;
-import java.io.BufferedOutputStream;
-import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
-import java.io.FileOutputStream;
import java.io.FilenameFilter;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
-import java.io.RandomAccessFile;
import java.lang.annotation.Annotation;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.ArrayList;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Set;
-
import org.apache.flex.compiler.clients.MXMLC;
import org.apache.flex.compiler.clients.problems.ProblemQuery;
import org.apache.flex.compiler.problems.CompilerProblemSeverity;
@@ -51,13 +42,8 @@ import org.apache.flex.swf.ISWF;
import org.apache.flex.swf.types.RGB;
import flash.swf.tags.SetBackgroundColor;
-import flex2.compiler.CompilerException;
import flex2.compiler.Source;
import flex2.compiler.SourceList;
-import flex2.compiler.SymbolTable;
-import flex2.compiler.common.CompilerConfiguration;
-import flex2.compiler.common.FontsConfiguration;
-import flex2.compiler.config.ConfigurationException;
import flex2.compiler.io.FileUtil;
import flex2.compiler.io.LocalFile;
import flex2.compiler.io.VirtualFile;
@@ -66,11 +52,9 @@ import flex2.compiler.util.CompilerControl;
import flex2.compiler.util.CompilerMessage;
import flex2.compiler.util.MimeMappings;
import flex2.compiler.util.PerformanceData;
-import flex2.compiler.util.QName;
import flex2.compiler.util.ThreadLocalToolkit;
import flex2.linker.SimpleMovie;
import flex2.tools.ToolsConfiguration;
-import flex2.tools.oem.internal.ApplicationCompilerConfiguration;
import flex2.tools.oem.internal.OEMConfiguration;
import flex2.tools.oem.internal.OEMReport;
import flex2.tools.oem.internal.OEMUtil;
@@ -277,6 +261,7 @@ public class Application implements Builder
*
* @param files
*/
+ @SuppressWarnings("unchecked")
private void init(VirtualFile[] files)
{
this.files = new ArrayList(files.length);
@@ -291,7 +276,7 @@ public class Application implements Builder
meter = null;
resolver = null;
cc = new CompilerControl();
- isGeneratedTargetFile = false;
+ //isGeneratedTargetFile = false;
//data = null;
cacheName = null;
@@ -307,7 +292,7 @@ public class Application implements Builder
private ProgressMeter meter;
protected PathResolver resolver;
private CompilerControl cc;
- private boolean isGeneratedTargetFile;
+ //private boolean isGeneratedTargetFile;
private ApplicationCache applicationCache;
private LibraryCache libraryCache;
@@ -446,6 +431,7 @@ public class Application implements Builder
//TODO PERFORMANCE: A lot of unnecessary recopying and buffering here
try
{
+ @SuppressWarnings("unused")
int result = compile(incremental);
return size;
@@ -502,6 +488,7 @@ public class Application implements Builder
{
try
{
+ @SuppressWarnings("unused")
int result = compile(incremental);
/*
if (result == OK || result == LINK)
@@ -632,7 +619,7 @@ public class Application implements Builder
cc.run();
OEMUtil.init(OEMUtil.getLogger(logger, messages), mimeMappings, meter, resolver, cc);
- Map licenseMap = OEMUtil.getLicenseMap(tempOEMConfiguration.configuration);
+ //Map licenseMap = OEMUtil.getLicenseMap(tempOEMConfiguration.configuration);
mxmlc = new MXMLC();
int returnValue = mxmlc.mainCompileOnly(constructCommandLine2(tempOEMConfiguration.configuration), null);
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/tools/oem/Library.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/tools/oem/Library.java b/flex-compiler-oem/src/flex2/tools/oem/Library.java
index 38a93d3..7d5b95b 100644
--- a/flex-compiler-oem/src/flex2/tools/oem/Library.java
+++ b/flex-compiler-oem/src/flex2/tools/oem/Library.java
@@ -19,20 +19,13 @@
package flex2.tools.oem;
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
import java.io.File;
-import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
-import java.io.RandomAccessFile;
import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collection;
import java.util.Comparator;
import java.util.HashMap;
-import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
@@ -43,12 +36,6 @@ import java.net.URI;
import org.apache.flex.compiler.clients.COMPC;
-import flex2.compiler.CompilerAPI;
-import flex2.compiler.CompilerException;
-import flex2.compiler.Source;
-import flex2.compiler.SourceList;
-import flex2.compiler.SourcePath;
-import flex2.compiler.SymbolTable;
import flex2.compiler.common.CompilerConfiguration;
import flex2.compiler.config.ConfigurationException;
import flex2.compiler.io.FileUtil;
@@ -57,13 +44,8 @@ import flex2.compiler.io.VirtualFile;
import flex2.compiler.util.Benchmark;
import flex2.compiler.util.CompilerControl;
import flex2.compiler.util.MimeMappings;
-import flex2.compiler.util.NameFormatter;
import flex2.compiler.util.PerformanceData;
-import flex2.compiler.util.QName;
import flex2.compiler.util.ThreadLocalToolkit;
-import flex2.linker.LinkerConfiguration;
-import flex2.linker.SimpleMovie;
-import flex2.tools.ToolsConfiguration;
import flex2.tools.oem.internal.OEMConfiguration;
import flex2.tools.oem.internal.OEMReport;
import flex2.tools.oem.internal.OEMUtil;
@@ -632,6 +614,7 @@ public class Library implements Builder, Cloneable
//TODO PERFORMANCE: A lot of unnecessary recopying and buffering here
try
{
+ @SuppressWarnings("unused")
int result = compile(incremental);
return size;
@@ -685,6 +668,7 @@ public class Library implements Builder, Cloneable
{
try
{
+ @SuppressWarnings("unused")
int result = compile(incremental);
/*
@@ -856,7 +840,7 @@ public class Library implements Builder, Cloneable
OEMUtil.init(OEMUtil.getLogger(logger, messages), mimeMappings, meter, resolver, cc);
// if there is any problem getting the licenses, this method will return.
- Map licenseMap = OEMUtil.getLicenseMap(tempOEMConfiguration.configuration);
+ //Map licenseMap = OEMUtil.getLicenseMap(tempOEMConfiguration.configuration);
// if there are no SWC inputs, output an error and return -1
VirtualFile[] includeLibs = (tempOEMConfiguration.configuration == null) ? null : tempOEMConfiguration.configuration.getCompilerConfiguration().getIncludeLibraries();
@@ -970,7 +954,6 @@ public class Library implements Builder, Cloneable
* @param s1
* @param s2
* @return
- */
private <T> boolean isDifferent(Collection<T> s1, Collection<T> s2)
{
for (Iterator<T> i = s2.iterator(); i.hasNext(); )
@@ -983,6 +966,7 @@ public class Library implements Builder, Cloneable
return s1.size() > s2.size();
}
+ */
/**
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/tools/oem/internal/ApplicationCompilerConfiguration.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/tools/oem/internal/ApplicationCompilerConfiguration.java b/flex-compiler-oem/src/flex2/tools/oem/internal/ApplicationCompilerConfiguration.java
index 604d7ef..e7f2bcc 100644
--- a/flex-compiler-oem/src/flex2/tools/oem/internal/ApplicationCompilerConfiguration.java
+++ b/flex-compiler-oem/src/flex2/tools/oem/internal/ApplicationCompilerConfiguration.java
@@ -19,7 +19,6 @@
package flex2.tools.oem.internal;
-import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedList;
@@ -177,6 +176,7 @@ public class ApplicationCompilerConfiguration extends ToolsConfiguration
return resourceBundles;
}
+ @SuppressWarnings("unchecked")
public void cfgIncludeResourceBundles(ConfigurationValue val, List includeResourceBundles)
{
resourceBundles.addAll(toQNameString(includeResourceBundles));
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/tools/oem/internal/LibraryCompilerConfiguration.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/tools/oem/internal/LibraryCompilerConfiguration.java b/flex-compiler-oem/src/flex2/tools/oem/internal/LibraryCompilerConfiguration.java
index 6062445..be0df19 100644
--- a/flex-compiler-oem/src/flex2/tools/oem/internal/LibraryCompilerConfiguration.java
+++ b/flex-compiler-oem/src/flex2/tools/oem/internal/LibraryCompilerConfiguration.java
@@ -23,7 +23,6 @@ import java.util.HashMap;
import java.util.Map;
import flex2.compiler.common.Configuration;
-import flex2.compiler.config.ConfigurationBuffer;
import flex2.compiler.config.ConfigurationException;
import flex2.compiler.config.ConfigurationInfo;
import flex2.compiler.config.ConfigurationValue;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/tools/oem/internal/OEMConfiguration.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/tools/oem/internal/OEMConfiguration.java b/flex-compiler-oem/src/flex2/tools/oem/internal/OEMConfiguration.java
index d48f8fd..f8f3ff1 100644
--- a/flex-compiler-oem/src/flex2/tools/oem/internal/OEMConfiguration.java
+++ b/flex-compiler-oem/src/flex2/tools/oem/internal/OEMConfiguration.java
@@ -2104,7 +2104,6 @@ public class OEMConfiguration implements Configuration, ConfigurationConstants,
*
* @param key
* @param urls
- */
private void addURLs(String key, URL[] urls)
{
URL[] existing = null;
@@ -2127,6 +2126,7 @@ public class OEMConfiguration implements Configuration, ConfigurationConstants,
more.put(key, urls);
}
+ */
/**
*
@@ -2158,7 +2158,8 @@ public class OEMConfiguration implements Configuration, ConfigurationConstants,
* @param f
* @return
*/
- private URL toURL(VirtualFile f)
+ @SuppressWarnings({ "unused", "deprecation" })
+ private URL toURL(VirtualFile f)
{
try
{
@@ -2174,11 +2175,11 @@ public class OEMConfiguration implements Configuration, ConfigurationConstants,
*
* @param p
* @return
- */
private File toFile(String p)
{
return (p != null) ? new File(p) : null;
}
+ */
/**
*
@@ -2215,7 +2216,6 @@ public class OEMConfiguration implements Configuration, ConfigurationConstants,
*
* @param list
* @return
- */
private URL[] toURLs(List list)
{
URL[] urls = new URL[list == null ? 0 : list.size()];
@@ -2232,6 +2232,7 @@ public class OEMConfiguration implements Configuration, ConfigurationConstants,
}
return urls;
}
+ */
/**
*
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/tools/oem/internal/OEMLogAdapter.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/tools/oem/internal/OEMLogAdapter.java b/flex-compiler-oem/src/flex2/tools/oem/internal/OEMLogAdapter.java
index 20730a0..4ca94d7 100644
--- a/flex-compiler-oem/src/flex2/tools/oem/internal/OEMLogAdapter.java
+++ b/flex-compiler-oem/src/flex2/tools/oem/internal/OEMLogAdapter.java
@@ -21,7 +21,6 @@ package flex2.tools.oem.internal;
import flex2.compiler.ILocalizableMessage;
import flex2.compiler.util.AbstractLogger;
-import flex2.compiler.util.ThreadLocalToolkit;
import flex2.tools.oem.*;
/**
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/tools/oem/internal/OEMReport.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/tools/oem/internal/OEMReport.java b/flex-compiler-oem/src/flex2/tools/oem/internal/OEMReport.java
index e718736..0181884 100644
--- a/flex-compiler-oem/src/flex2/tools/oem/internal/OEMReport.java
+++ b/flex-compiler-oem/src/flex2/tools/oem/internal/OEMReport.java
@@ -288,7 +288,7 @@ public class OEMReport implements Report
private String linkReport, sizeReport, configurationReport;
private Message[] messages;
- private String[][] assetNames, definitionNames;
+ //private String[][] assetNames, definitionNames;
private List<File> sourceListPaths;
public boolean contentUpdated()
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/flex2/tools/oem/internal/OEMUtil.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/tools/oem/internal/OEMUtil.java b/flex-compiler-oem/src/flex2/tools/oem/internal/OEMUtil.java
index 08ccd6c..09c3037 100644
--- a/flex-compiler-oem/src/flex2/tools/oem/internal/OEMUtil.java
+++ b/flex-compiler-oem/src/flex2/tools/oem/internal/OEMUtil.java
@@ -19,23 +19,11 @@
package flex2.tools.oem.internal;
-import java.io.BufferedInputStream;
-import java.io.ByteArrayInputStream;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.io.RandomAccessFile;
import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
-import flex2.compiler.CompilerAPI;
-import flex2.compiler.Source;
import flex2.compiler.common.CompilerConfiguration;
import flex2.compiler.common.DefaultsConfigurator;
import flex2.compiler.config.CommandLineConfigurator;
@@ -43,11 +31,8 @@ import flex2.compiler.config.ConfigurationBuffer;
import flex2.compiler.config.ConfigurationException;
import flex2.compiler.config.FileConfigurator;
import flex2.compiler.config.SystemPropertyConfigurator;
-import flex2.compiler.io.FileUtil;
-import flex2.compiler.io.VirtualFile;
import flex2.compiler.util.CompilerControl;
import flex2.compiler.util.MimeMappings;
-import flex2.compiler.util.QName;
import flex2.compiler.util.ThreadLocalToolkit;
import flex2.tools.CommandLineConfiguration;
import flex2.tools.CompcConfiguration;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83236614/flex-compiler-oem/src/macromedia/asc/util/ObjectList.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/macromedia/asc/util/ObjectList.java b/flex-compiler-oem/src/macromedia/asc/util/ObjectList.java
index ba4af50..a20be86 100644
--- a/flex-compiler-oem/src/macromedia/asc/util/ObjectList.java
+++ b/flex-compiler-oem/src/macromedia/asc/util/ObjectList.java
@@ -28,7 +28,12 @@ import java.util.List;
*/
public class ObjectList<E> extends ArrayList<E>
{
- public ObjectList()
+ /**
+ *
+ */
+ private static final long serialVersionUID = -1316638550648554823L;
+
+ public ObjectList()
{
super(0);
}
[18/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - add
missing headers
Posted by jo...@apache.org.
add missing headers
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/2807e507
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/2807e507
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/2807e507
Branch: refs/heads/maven
Commit: 2807e507452e7346957346a95ae8c0c6635ee916
Parents: fdf521a
Author: Alex Harui <ah...@apache.org>
Authored: Mon Apr 7 21:40:31 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Apr 7 21:40:31 2014 -0700
----------------------------------------------------------------------
compiler.jx.tests/.classpath | 2 +-
.../codegen/mxml/TestMXMLApplication.java | 18 ++++++++++++++++++
.../codegen/mxml/TestMXMLAttributes.java | 18 ++++++++++++++++++
.../internal/codegen/mxml/TestMXMLNodes.java | 18 ++++++++++++++++++
.../internal/codegen/mxml/TestMXMLScript.java | 18 ++++++++++++++++++
.../mxml/flexjs/TestFlexJSMXMLApplication.java | 18 ++++++++++++++++++
.../flex/compiler/internal/test/ASTestBase.java | 18 ++++++++++++++++++
.../compiler/internal/test/FlexJSTestBase.java | 18 ++++++++++++++++++
.../compiler/internal/test/MXMLTestBase.java | 18 ++++++++++++++++++
.../flex/compiler/internal/test/TestBase.java | 16 ++++++++++++++--
.../flexjs/files/FlexJSTest_again_result.js | 13 +++++++++++++
.../test-files/flexjs/files/LocalFunction.as | 18 ++++++++++++++++++
.../flexjs/files/LocalFunction_result.js | 13 +++++++++++++
.../flexjs/files/MyInitialView_result.js | 13 +++++++++++++
.../flexjs/files/StockDataJSONItemConverter.js | 13 +++++++++++++
.../files/controllers/MyController_result.js | 13 +++++++++++++
.../flexjs/files/models/MyModel_result.js | 13 +++++++++++++
.../test-files/flexjs/files/wildcard_import.mxml | 19 +++++++++++++++++++
.../flexjs/files/wildcard_import_result.js | 13 +++++++++++++
.../flexjs/projects/interfaces/Test.as | 18 ++++++++++++++++++
.../flexjs/projects/interfaces/Test_result.js | 13 +++++++++++++
.../flexjs/projects/interfaces/classes/A.as | 18 ++++++++++++++++++
.../projects/interfaces/classes/A_result.js | 13 +++++++++++++
.../flexjs/projects/interfaces/classes/B.as | 18 ++++++++++++++++++
.../projects/interfaces/classes/B_result.js | 13 +++++++++++++
.../flexjs/projects/interfaces/classes/C.as | 18 ++++++++++++++++++
.../projects/interfaces/classes/C_result.js | 13 +++++++++++++
.../flexjs/projects/interfaces/interfaces/IA.as | 18 ++++++++++++++++++
.../projects/interfaces/interfaces/IA_result.js | 13 +++++++++++++
.../flexjs/projects/interfaces/interfaces/IB.as | 18 ++++++++++++++++++
.../projects/interfaces/interfaces/IB_result.js | 13 +++++++++++++
.../flexjs/projects/interfaces/interfaces/IC.as | 18 ++++++++++++++++++
.../projects/interfaces/interfaces/IC_result.js | 13 +++++++++++++
.../flexjs/projects/interfaces/interfaces/ID.as | 18 ++++++++++++++++++
.../projects/interfaces/interfaces/ID_result.js | 13 +++++++++++++
.../flexjs/projects/interfaces/interfaces/IE.as | 18 ++++++++++++++++++
.../projects/interfaces/interfaces/IE_result.js | 13 +++++++++++++
.../test-files/flexjs/projects/super/Base.as | 18 ++++++++++++++++++
.../flexjs/projects/super/Base_result.js | 13 +++++++++++++
.../test-files/flexjs/projects/super/Super.as | 18 ++++++++++++++++++
.../flexjs/projects/super/Super_result.js | 13 +++++++++++++
.../test-files/goog/files/call-super.as | 18 ++++++++++++++++++
.../test-files/goog/files/call-super_result.js | 13 +++++++++++++
.../test-files/goog/files/get-set.as | 18 ++++++++++++++++++
.../test-files/goog/files/get-set_result.js | 13 +++++++++++++
compiler.jx.tests/test-files/goog/files/input.as | 18 ++++++++++++++++++
.../test-files/goog/files/output.js | 13 +++++++++++++
compiler.jx.tests/test-files/goog/files/poc.as | 18 ++++++++++++++++++
.../test-files/goog/files/poc_result.js | 13 +++++++++++++
.../test-files/goog/files/qualify-new-object.as | 18 ++++++++++++++++++
.../goog/files/qualify-new-object_result.js | 13 +++++++++++++
.../test-files/goog/projects/imports/Case.as | 18 ++++++++++++++++++
.../goog/projects/imports/Case_result.js | 13 +++++++++++++
.../test-files/goog/projects/imports/comps/A.as | 18 ++++++++++++++++++
.../goog/projects/imports/comps/A_result.js | 13 +++++++++++++
.../test-files/goog/projects/imports/comps/B.as | 18 ++++++++++++++++++
.../goog/projects/imports/comps/B_result.js | 13 +++++++++++++
.../flex/compiler/codegen/IEmitterTokens.java | 18 ++++++++++++++++++
.../internal/codegen/js/JSDocEmitterTokens.java | 18 ++++++++++++++++++
.../internal/codegen/js/JSEmitterTokens.java | 18 ++++++++++++++++++
.../codegen/js/amd/JSAMDEmitterTokens.java | 18 ++++++++++++++++++
.../codegen/js/goog/JSGoogDocEmitterTokens.java | 18 ++++++++++++++++++
.../codegen/js/goog/JSGoogEmitterTokens.java | 18 ++++++++++++++++++
.../codegen/js/goog/JSGoogPublisher.java | 18 ++++++++++++++++++
.../codegen/mxml/flexjs/MXMLFlexJSPublisher.java | 18 ++++++++++++++++++
.../js/flexjs/JSCSSCompilationSession.java | 18 ++++++++++++++++++
.../compiler/internal/graph/GoogDepsWriter.java | 18 ++++++++++++++++++
67 files changed, 1056 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/.classpath
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/.classpath b/compiler.jx.tests/.classpath
index d268df0..5889950 100644
--- a/compiler.jx.tests/.classpath
+++ b/compiler.jx.tests/.classpath
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.launching.macosx.MacOSXType/Java 1.7"/>
<classpathentry combineaccessrules="false" kind="src" path="/compiler"/>
<classpathentry kind="lib" path="lib/junit-4.10.jar"/>
<classpathentry combineaccessrules="false" kind="src" path="/compiler.jx"/>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLApplication.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLApplication.java b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLApplication.java
index 4821107..c5c2a4e 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLApplication.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLApplication.java
@@ -1,3 +1,21 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
package org.apache.flex.compiler.internal.codegen.mxml;
import org.apache.flex.compiler.internal.test.MXMLTestBase;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLAttributes.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLAttributes.java b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLAttributes.java
index 40d5405..5292df3 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLAttributes.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLAttributes.java
@@ -1,3 +1,21 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
package org.apache.flex.compiler.internal.codegen.mxml;
import static org.hamcrest.core.Is.is;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLNodes.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLNodes.java b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLNodes.java
index d387741..1e46f33 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLNodes.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLNodes.java
@@ -1,3 +1,21 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
package org.apache.flex.compiler.internal.codegen.mxml;
import org.apache.flex.compiler.internal.test.MXMLTestBase;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLScript.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLScript.java b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLScript.java
index 8fda669..9b03d9a 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLScript.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLScript.java
@@ -1,3 +1,21 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
package org.apache.flex.compiler.internal.codegen.mxml;
import org.apache.flex.compiler.internal.test.MXMLTestBase;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLApplication.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLApplication.java b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLApplication.java
index bef6865..3d67bc3 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLApplication.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLApplication.java
@@ -1,3 +1,21 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
package org.apache.flex.compiler.internal.codegen.mxml.flexjs;
import org.apache.flex.compiler.internal.test.FlexJSTestBase;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/ASTestBase.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/ASTestBase.java b/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/ASTestBase.java
index 56de14d..8720512 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/ASTestBase.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/ASTestBase.java
@@ -1,3 +1,21 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
package org.apache.flex.compiler.internal.test;
import java.io.File;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/FlexJSTestBase.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/FlexJSTestBase.java b/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/FlexJSTestBase.java
index 1059594..a8c945f 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/FlexJSTestBase.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/FlexJSTestBase.java
@@ -1,3 +1,21 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
package org.apache.flex.compiler.internal.test;
import java.io.File;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/MXMLTestBase.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/MXMLTestBase.java b/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/MXMLTestBase.java
index 00e65a3..2aa964c 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/MXMLTestBase.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/MXMLTestBase.java
@@ -1,3 +1,21 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
package org.apache.flex.compiler.internal.test;
import java.io.File;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/TestBase.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/TestBase.java b/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/TestBase.java
index adc16a1..6e475fa 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/TestBase.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/TestBase.java
@@ -428,6 +428,7 @@ public class TestBase implements ITestBase
protected String readCodeFile(File file)
{
+ boolean isResult = file.getName().contains("_result") || file.getName().equals("output.js");
String code = "";
try
{
@@ -435,7 +436,19 @@ public class TestBase implements ITestBase
new FileInputStream(file), "UTF8"));
String line = in.readLine();
-
+ if (line.contains("/**") && isResult)
+ {
+ // eat opening comment which should be apache header
+ while (line != null)
+ {
+ line = in.readLine();
+ if (line.contains("*/"))
+ {
+ line = in.readLine();
+ break;
+ }
+ }
+ }
while (line != null)
{
code += line + "\n";
@@ -448,7 +461,6 @@ public class TestBase implements ITestBase
catch (Exception e)
{
}
-
return code;
}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/files/FlexJSTest_again_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/files/FlexJSTest_again_result.js b/compiler.jx.tests/test-files/flexjs/files/FlexJSTest_again_result.js
index e966348..2c637cb 100644
--- a/compiler.jx.tests/test-files/flexjs/files/FlexJSTest_again_result.js
+++ b/compiler.jx.tests/test-files/flexjs/files/FlexJSTest_again_result.js
@@ -1,4 +1,17 @@
/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
* FlexJSTest_again
*
* @fileoverview
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/files/LocalFunction.as
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/files/LocalFunction.as b/compiler.jx.tests/test-files/flexjs/files/LocalFunction.as
index e7e9b70..70d3981 100644
--- a/compiler.jx.tests/test-files/flexjs/files/LocalFunction.as
+++ b/compiler.jx.tests/test-files/flexjs/files/LocalFunction.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
package
{
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/files/LocalFunction_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/files/LocalFunction_result.js b/compiler.jx.tests/test-files/flexjs/files/LocalFunction_result.js
index bdf5d09..3c4ce2f 100644
--- a/compiler.jx.tests/test-files/flexjs/files/LocalFunction_result.js
+++ b/compiler.jx.tests/test-files/flexjs/files/LocalFunction_result.js
@@ -1,4 +1,17 @@
/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
* LocalFunction
*
* @fileoverview
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/files/MyInitialView_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/files/MyInitialView_result.js b/compiler.jx.tests/test-files/flexjs/files/MyInitialView_result.js
index e14a8ec..1cb09f4 100644
--- a/compiler.jx.tests/test-files/flexjs/files/MyInitialView_result.js
+++ b/compiler.jx.tests/test-files/flexjs/files/MyInitialView_result.js
@@ -1,4 +1,17 @@
/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
* MyInitialView
*
* @fileoverview
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/files/StockDataJSONItemConverter.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/files/StockDataJSONItemConverter.js b/compiler.jx.tests/test-files/flexjs/files/StockDataJSONItemConverter.js
index 48b4f00..34f5caa 100644
--- a/compiler.jx.tests/test-files/flexjs/files/StockDataJSONItemConverter.js
+++ b/compiler.jx.tests/test-files/flexjs/files/StockDataJSONItemConverter.js
@@ -1,3 +1,16 @@
+/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
goog.provide('StockDataJSONItemConverter');
goog.require('org.apache.flex.net.JSONItemConverter');
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/files/controllers/MyController_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/files/controllers/MyController_result.js b/compiler.jx.tests/test-files/flexjs/files/controllers/MyController_result.js
index 20b1e39..9ca4b97 100644
--- a/compiler.jx.tests/test-files/flexjs/files/controllers/MyController_result.js
+++ b/compiler.jx.tests/test-files/flexjs/files/controllers/MyController_result.js
@@ -1,4 +1,17 @@
/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
* controllers.MyController
*
* @fileoverview
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/files/models/MyModel_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/files/models/MyModel_result.js b/compiler.jx.tests/test-files/flexjs/files/models/MyModel_result.js
index 6e220a4..46ec945 100644
--- a/compiler.jx.tests/test-files/flexjs/files/models/MyModel_result.js
+++ b/compiler.jx.tests/test-files/flexjs/files/models/MyModel_result.js
@@ -1,4 +1,17 @@
/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
* models.MyModel
*
* @fileoverview
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/files/wildcard_import.mxml
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/files/wildcard_import.mxml b/compiler.jx.tests/test-files/flexjs/files/wildcard_import.mxml
index 2198884..99406bc 100644
--- a/compiler.jx.tests/test-files/flexjs/files/wildcard_import.mxml
+++ b/compiler.jx.tests/test-files/flexjs/files/wildcard_import.mxml
@@ -1,3 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<basic:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:basic="library://ns.apache.org/flexjs/basic"
>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/files/wildcard_import_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/files/wildcard_import_result.js b/compiler.jx.tests/test-files/flexjs/files/wildcard_import_result.js
index 43d55ff..d9bd942 100644
--- a/compiler.jx.tests/test-files/flexjs/files/wildcard_import_result.js
+++ b/compiler.jx.tests/test-files/flexjs/files/wildcard_import_result.js
@@ -1,4 +1,17 @@
/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
* wildcard_import
*
* @fileoverview
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/projects/interfaces/Test.as
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/projects/interfaces/Test.as b/compiler.jx.tests/test-files/flexjs/projects/interfaces/Test.as
index 0e26861..cd7791a 100644
--- a/compiler.jx.tests/test-files/flexjs/projects/interfaces/Test.as
+++ b/compiler.jx.tests/test-files/flexjs/projects/interfaces/Test.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
package
{
import classes.A;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/projects/interfaces/Test_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/projects/interfaces/Test_result.js b/compiler.jx.tests/test-files/flexjs/projects/interfaces/Test_result.js
index ced2a20..c0358a0 100644
--- a/compiler.jx.tests/test-files/flexjs/projects/interfaces/Test_result.js
+++ b/compiler.jx.tests/test-files/flexjs/projects/interfaces/Test_result.js
@@ -1,4 +1,17 @@
/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
* Test
*
* @fileoverview
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/A.as
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/A.as b/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/A.as
index d610c70..978f038 100644
--- a/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/A.as
+++ b/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/A.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
package classes
{
public class A extends C
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/A_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/A_result.js b/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/A_result.js
index c359d00..321c04b 100644
--- a/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/A_result.js
+++ b/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/A_result.js
@@ -1,4 +1,17 @@
/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
* classes.A
*
* @fileoverview
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/B.as
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/B.as b/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/B.as
index 8f5748a..b410e59 100644
--- a/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/B.as
+++ b/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/B.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
package classes
{
public class B
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/B_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/B_result.js b/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/B_result.js
index 3ad1605..2fef89c 100644
--- a/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/B_result.js
+++ b/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/B_result.js
@@ -1,4 +1,17 @@
/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
* classes.B
*
* @fileoverview
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/C.as
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/C.as b/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/C.as
index 953c9f1..d414a26 100644
--- a/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/C.as
+++ b/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/C.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
package classes
{
public class C
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/C_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/C_result.js b/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/C_result.js
index 90e19db..729cda3 100644
--- a/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/C_result.js
+++ b/compiler.jx.tests/test-files/flexjs/projects/interfaces/classes/C_result.js
@@ -1,4 +1,17 @@
/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
* classes.C
*
* @fileoverview
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IA.as
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IA.as b/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IA.as
index b288321..5fbd6c2 100644
--- a/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IA.as
+++ b/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IA.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
package interfaces
{
public interface IA extends IC {}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IA_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IA_result.js b/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IA_result.js
index 2e31477..2a00144 100644
--- a/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IA_result.js
+++ b/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IA_result.js
@@ -1,4 +1,17 @@
/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
* interfaces.IA
*
* @fileoverview
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IB.as
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IB.as b/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IB.as
index b6f8925..a995635 100644
--- a/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IB.as
+++ b/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IB.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
package interfaces
{
public interface IB {}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IB_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IB_result.js b/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IB_result.js
index 862ce1a..d4933c8 100644
--- a/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IB_result.js
+++ b/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IB_result.js
@@ -1,4 +1,17 @@
/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
* interfaces.IB
*
* @fileoverview
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IC.as
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IC.as b/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IC.as
index 9fcdd56..9183bac 100644
--- a/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IC.as
+++ b/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IC.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
package interfaces
{
public interface IC extends ID {}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IC_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IC_result.js b/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IC_result.js
index 6332a80..9e5298b 100644
--- a/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IC_result.js
+++ b/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IC_result.js
@@ -1,4 +1,17 @@
/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
* interfaces.IC
*
* @fileoverview
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/ID.as
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/ID.as b/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/ID.as
index 1bae05b..d5e9543 100644
--- a/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/ID.as
+++ b/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/ID.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
package interfaces
{
public interface ID {}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/ID_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/ID_result.js b/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/ID_result.js
index d5165de..a730bbb 100644
--- a/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/ID_result.js
+++ b/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/ID_result.js
@@ -1,4 +1,17 @@
/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
* interfaces.ID
*
* @fileoverview
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IE.as
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IE.as b/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IE.as
index 4fe6ad4..d2c7ce1 100644
--- a/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IE.as
+++ b/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IE.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
package interfaces
{
public interface IE {
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IE_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IE_result.js b/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IE_result.js
index 4ca2e21..63d68c7 100644
--- a/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IE_result.js
+++ b/compiler.jx.tests/test-files/flexjs/projects/interfaces/interfaces/IE_result.js
@@ -1,4 +1,17 @@
/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
* interfaces.IE
*
* @fileoverview
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/projects/super/Base.as
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/projects/super/Base.as b/compiler.jx.tests/test-files/flexjs/projects/super/Base.as
index 22510c9..2e8ed8f 100644
--- a/compiler.jx.tests/test-files/flexjs/projects/super/Base.as
+++ b/compiler.jx.tests/test-files/flexjs/projects/super/Base.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
package
{
import Super;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/projects/super/Base_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/projects/super/Base_result.js b/compiler.jx.tests/test-files/flexjs/projects/super/Base_result.js
index 9ad4a17..179a96d 100644
--- a/compiler.jx.tests/test-files/flexjs/projects/super/Base_result.js
+++ b/compiler.jx.tests/test-files/flexjs/projects/super/Base_result.js
@@ -1,4 +1,17 @@
/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
* Base
*
* @fileoverview
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/projects/super/Super.as
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/projects/super/Super.as b/compiler.jx.tests/test-files/flexjs/projects/super/Super.as
index 4869541..76c1d7a 100644
--- a/compiler.jx.tests/test-files/flexjs/projects/super/Super.as
+++ b/compiler.jx.tests/test-files/flexjs/projects/super/Super.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
package
{
public class Super
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/flexjs/projects/super/Super_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/projects/super/Super_result.js b/compiler.jx.tests/test-files/flexjs/projects/super/Super_result.js
index 9ae78de..5a11768 100644
--- a/compiler.jx.tests/test-files/flexjs/projects/super/Super_result.js
+++ b/compiler.jx.tests/test-files/flexjs/projects/super/Super_result.js
@@ -1,4 +1,17 @@
/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
* Super
*
* @fileoverview
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/goog/files/call-super.as
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/goog/files/call-super.as b/compiler.jx.tests/test-files/goog/files/call-super.as
index 47316e7..ae7d40c 100644
--- a/compiler.jx.tests/test-files/goog/files/call-super.as
+++ b/compiler.jx.tests/test-files/goog/files/call-super.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
package org.apache.flex
{
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/goog/files/call-super_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/goog/files/call-super_result.js b/compiler.jx.tests/test-files/goog/files/call-super_result.js
index fcd361f..0b8783e 100644
--- a/compiler.jx.tests/test-files/goog/files/call-super_result.js
+++ b/compiler.jx.tests/test-files/goog/files/call-super_result.js
@@ -1,3 +1,16 @@
+/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
goog.provide('org.apache.flex.A');
goog.require('flash.events.IEventDispatcher');
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/goog/files/get-set.as
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/goog/files/get-set.as b/compiler.jx.tests/test-files/goog/files/get-set.as
index fc33367..18417ad 100644
--- a/compiler.jx.tests/test-files/goog/files/get-set.as
+++ b/compiler.jx.tests/test-files/goog/files/get-set.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
package org.apache.flex
{
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/goog/files/get-set_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/goog/files/get-set_result.js b/compiler.jx.tests/test-files/goog/files/get-set_result.js
index aff117f..75637a6 100644
--- a/compiler.jx.tests/test-files/goog/files/get-set_result.js
+++ b/compiler.jx.tests/test-files/goog/files/get-set_result.js
@@ -1,3 +1,16 @@
+/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
goog.provide('org.apache.flex.A');
/**
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/goog/files/input.as
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/goog/files/input.as b/compiler.jx.tests/test-files/goog/files/input.as
index 7dce8fc..fd9baf3 100644
--- a/compiler.jx.tests/test-files/goog/files/input.as
+++ b/compiler.jx.tests/test-files/goog/files/input.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
package org.apache.flex
{
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/goog/files/output.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/goog/files/output.js b/compiler.jx.tests/test-files/goog/files/output.js
index ab2100e..e6ef05a 100644
--- a/compiler.jx.tests/test-files/goog/files/output.js
+++ b/compiler.jx.tests/test-files/goog/files/output.js
@@ -1,3 +1,16 @@
+/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
goog.provide('org.apache.flex.A');
goog.require('flash.events.IEventDispatcher');
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/goog/files/poc.as
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/goog/files/poc.as b/compiler.jx.tests/test-files/goog/files/poc.as
index ae3dfb4..ceca776 100644
--- a/compiler.jx.tests/test-files/goog/files/poc.as
+++ b/compiler.jx.tests/test-files/goog/files/poc.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
package
{
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/goog/files/poc_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/goog/files/poc_result.js b/compiler.jx.tests/test-files/goog/files/poc_result.js
index 289e9b3..4367c20 100644
--- a/compiler.jx.tests/test-files/goog/files/poc_result.js
+++ b/compiler.jx.tests/test-files/goog/files/poc_result.js
@@ -1,3 +1,16 @@
+/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
goog.provide('Example');
goog.require('flash.events.MouseEvent');
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/goog/files/qualify-new-object.as
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/goog/files/qualify-new-object.as b/compiler.jx.tests/test-files/goog/files/qualify-new-object.as
index 5a7246f..0991176 100644
--- a/compiler.jx.tests/test-files/goog/files/qualify-new-object.as
+++ b/compiler.jx.tests/test-files/goog/files/qualify-new-object.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
package org.apache.flex
{
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/goog/files/qualify-new-object_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/goog/files/qualify-new-object_result.js b/compiler.jx.tests/test-files/goog/files/qualify-new-object_result.js
index 6efc8e3..0863529 100644
--- a/compiler.jx.tests/test-files/goog/files/qualify-new-object_result.js
+++ b/compiler.jx.tests/test-files/goog/files/qualify-new-object_result.js
@@ -1,3 +1,16 @@
+/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
goog.provide('org.apache.flex.A');
goog.require('flash.events.EventDispatcher');
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/goog/projects/imports/Case.as
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/goog/projects/imports/Case.as b/compiler.jx.tests/test-files/goog/projects/imports/Case.as
index 4aed38d..2e97dc5 100644
--- a/compiler.jx.tests/test-files/goog/projects/imports/Case.as
+++ b/compiler.jx.tests/test-files/goog/projects/imports/Case.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
package
{
import comps.A;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/goog/projects/imports/Case_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/goog/projects/imports/Case_result.js b/compiler.jx.tests/test-files/goog/projects/imports/Case_result.js
index 928234a..c1cd56e 100644
--- a/compiler.jx.tests/test-files/goog/projects/imports/Case_result.js
+++ b/compiler.jx.tests/test-files/goog/projects/imports/Case_result.js
@@ -1,3 +1,16 @@
+/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
goog.provide('Case');
goog.require('comps.A');
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/goog/projects/imports/comps/A.as
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/goog/projects/imports/comps/A.as b/compiler.jx.tests/test-files/goog/projects/imports/comps/A.as
index fda31a6..5779917 100644
--- a/compiler.jx.tests/test-files/goog/projects/imports/comps/A.as
+++ b/compiler.jx.tests/test-files/goog/projects/imports/comps/A.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
package comps
{
public class A
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/goog/projects/imports/comps/A_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/goog/projects/imports/comps/A_result.js b/compiler.jx.tests/test-files/goog/projects/imports/comps/A_result.js
index 5280574..971ce86 100644
--- a/compiler.jx.tests/test-files/goog/projects/imports/comps/A_result.js
+++ b/compiler.jx.tests/test-files/goog/projects/imports/comps/A_result.js
@@ -1,3 +1,16 @@
+/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
goog.provide('comps.A');
/**
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/goog/projects/imports/comps/B.as
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/goog/projects/imports/comps/B.as b/compiler.jx.tests/test-files/goog/projects/imports/comps/B.as
index 38addd5..e2e3e4c 100644
--- a/compiler.jx.tests/test-files/goog/projects/imports/comps/B.as
+++ b/compiler.jx.tests/test-files/goog/projects/imports/comps/B.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
package comps
{
public class B
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx.tests/test-files/goog/projects/imports/comps/B_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/goog/projects/imports/comps/B_result.js b/compiler.jx.tests/test-files/goog/projects/imports/comps/B_result.js
index d487b8a..9382710 100644
--- a/compiler.jx.tests/test-files/goog/projects/imports/comps/B_result.js
+++ b/compiler.jx.tests/test-files/goog/projects/imports/comps/B_result.js
@@ -1,3 +1,16 @@
+/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
goog.provide('comps.B');
/**
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx/src/org/apache/flex/compiler/codegen/IEmitterTokens.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/codegen/IEmitterTokens.java b/compiler.jx/src/org/apache/flex/compiler/codegen/IEmitterTokens.java
index ca176b5..09be781 100644
--- a/compiler.jx/src/org/apache/flex/compiler/codegen/IEmitterTokens.java
+++ b/compiler.jx/src/org/apache/flex/compiler/codegen/IEmitterTokens.java
@@ -1,3 +1,21 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
package org.apache.flex.compiler.codegen;
public interface IEmitterTokens
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/JSDocEmitterTokens.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/JSDocEmitterTokens.java b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/JSDocEmitterTokens.java
index fca25e3..813e36b 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/JSDocEmitterTokens.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/JSDocEmitterTokens.java
@@ -1,3 +1,21 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
package org.apache.flex.compiler.internal.codegen.js;
import org.apache.flex.compiler.codegen.IEmitterTokens;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/JSEmitterTokens.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/JSEmitterTokens.java b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/JSEmitterTokens.java
index 0d75158..f12049a 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/JSEmitterTokens.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/JSEmitterTokens.java
@@ -1,3 +1,21 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
package org.apache.flex.compiler.internal.codegen.js;
import org.apache.flex.compiler.codegen.IEmitterTokens;
[43/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] -
unstable changes (need deep revision)
Posted by jo...@apache.org.
unstable changes (need deep revision)
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/a4a32915
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/a4a32915
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/a4a32915
Branch: refs/heads/maven
Commit: a4a32915882807c864a8c8c3c5ed16ae12a9803f
Parents: 05c2e93
Author: Carlos Rovira <ca...@apache.org>
Authored: Fri Dec 27 22:57:54 2013 +0100
Committer: Jose Barragan <jo...@apache.org>
Committed: Thu Apr 24 18:03:13 2014 +0200
----------------------------------------------------------------------
compiler/pom.xml | 78 +++++++++++++++++++++++++++++++++++++++++++--------
1 file changed, 66 insertions(+), 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/a4a32915/compiler/pom.xml
----------------------------------------------------------------------
diff --git a/compiler/pom.xml b/compiler/pom.xml
index 2180fb4..3ecc4f0 100644
--- a/compiler/pom.xml
+++ b/compiler/pom.xml
@@ -25,13 +25,14 @@
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
- <!-- JFLEX 1.4.3 http://jflex.sourceforge.net/maven-jflex-plugin/usage.html-->
+ <!-- JFLEX 1.4.3 http://jflex.sourceforge.net/maven-jflex-plugin/usage.html -->
<plugin>
<groupId>de.jflex</groupId>
<artifactId>maven-jflex-plugin</artifactId>
<version>1.4.3</version>
<configuration>
<outputDirectory>target/generated/src</outputDirectory>
+ <skeleton>src/org/apache/flex/compiler/internal/parsing/as/skeleton.default</skeleton>
</configuration>
<executions>
<execution>
@@ -41,7 +42,8 @@
</goals>
<configuration>
<lexDefinitions>
- <lexDefinition>src/org/apache/flex/compiler/internal/parsing/as/RawASTokenizer.lex</lexDefinition>
+ <lexDefinition>src/org/apache/flex/compiler/internal/parsing/as/RawASTokenizer.lex
+ </lexDefinition>
</lexDefinitions>
<skeleton>src/org/apache/flex/compiler/internal/parsing/as/skeleton.falcon</skeleton>
</configuration>
@@ -53,7 +55,8 @@
</goals>
<configuration>
<lexDefinitions>
- <lexDefinition>src/org/apache/flex/compiler/internal/parsing/as/RawASDocTokenizer.lex</lexDefinition>
+ <lexDefinition>src/org/apache/flex/compiler/internal/parsing/as/RawASDocTokenizer.lex
+ </lexDefinition>
</lexDefinitions>
</configuration>
</execution>
@@ -64,7 +67,8 @@
</goals>
<configuration>
<lexDefinitions>
- <lexDefinition>src/org/apache/flex/compiler/internal/parsing/mxml/RawMXMLTokenizer.lex</lexDefinition>
+ <lexDefinition>src/org/apache/flex/compiler/internal/parsing/mxml/RawMXMLTokenizer.lex
+ </lexDefinition>
</lexDefinitions>
</configuration>
</execution>
@@ -80,6 +84,7 @@
<outputDirectory>target/generated/src</outputDirectory>
</configuration>
<executions>
+ <!-- Generating ASParser and ASTokenTypes -->
<execution>
<id>as.parser</id>
<goals>
@@ -88,37 +93,86 @@
<configuration>
<grammars>parsing/as/ASParser.g</grammars>
</configuration>
+ <!-- TODO ASParser.java annotate tool @SuppressWarnings("unused") -->
+ <!-- TODO ASTokenTypes.java annotate tool @SuppressWarnings("unused") -->
</execution>
+ <!-- Generating MetadataParser and MetadataTokenTypes -->
<execution>
<id>metadata.parser</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
- <grammars>parsing/as/MetadataParser.g</grammars>
+ <sourceDirectory>src/org/apache/flex/compiler/internal/parsing/as</sourceDirectory>
+ <grammars>MetadataParser.g</grammars>
+ <!--<includes>ImportMetadataTokenTypes.txt</includes>-->
</configuration>
+ <!-- TODO MetadataParser.java annotate tool @SuppressWarnings("all") -->
+ <!-- TODO MetadataTokenTypes.java annotate tool @SuppressWarnings("unused") -->
</execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.2.1</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ <configuration>
+ <mainClass>org.apache.flex.compiler.tools.AnnotateClass</mainClass>
+
+ <!--<argument>-classpath</argument>
+ <classpath>
+ <dependency>commons-io:commons-io</dependency>
+ <dependency>commons-lang:commons-lang</dependency>
+ </classpath>
+ <executable>maven</executable>
+ <workingDirectory>/tmp</workingDirectory>-->
+
+
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <!--- See more at: http://www.vineetmanohar.com/2009/11/3-ways-to-run-java-main-from-maven/#sthash.iBz2SwMh.dpuf-->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>antlr3-maven-plugin</artifactId>
+ <version>3.1.0</version>
+ <configuration>
+ <sourceDirectory>src/org/apache/flex/compiler/internal</sourceDirectory>
+ <outputDirectory>target/generated/src</outputDirectory>
+ </configuration>
+ <executions>
+ <!-- Generating CSSLexer and CSSParser -->
<execution>
<id>css.lexer.and.parser</id>
<goals>
- <goal>generate</goal>
+ <goal>antlr</goal>
</goals>
<configuration>
- <grammars>css/CSS.g</grammars>
+ <sourceDirectory>css/CSS.g</sourceDirectory>
</configuration>
+ <!-- TODO CSSLexer.java annotate tool @SuppressWarnings("unused") -->
+ <!-- TODO CSSParser.java annotate tool @SuppressWarnings("unused") -->
</execution>
+ <!-- Generating CSSTree -->
<execution>
<id>css.tree</id>
<goals>
- <goal>generate</goal>
+ <goal>antlr</goal>
</goals>
<configuration>
- <grammars>css/CSSTree.g</grammars>
+ <sourceDirectory>css/CSSTree.g</sourceDirectory>
</configuration>
+ <!-- TODO CSSTree.java annotate tool @SuppressWarnings({"rawtypes", "unchecked", "unused"} -->
</execution>
</executions>
</plugin>
- <plugin>
+ <!--<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>apt-maven-plugin</artifactId>
<version>1.0-alpha-5</version>
@@ -128,7 +182,7 @@
<goal>process</goal>
</goals>
<configuration>
- <includea>
+ <includes>
<include>generated/src/org/apache/flex/compiler/internal/parsing/as/ASParser.java</include>
</includes>
<factory>@SuppressWarnings("unused")</factory>
@@ -136,7 +190,7 @@
</configuration>
</execution>
</executions>
- </plugin>
+ </plugin>-->
<!-- The AnnotateClass tool is used to add @SupressWarnings annotations to Java code produced by ANTLR and JBurg -->
<!--<plugin>
<groupId>org.apache.maven.plugins</groupId>
[37/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - handle
different FP versions
Posted by jo...@apache.org.
handle different FP versions
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/afdd6674
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/afdd6674
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/afdd6674
Branch: refs/heads/maven
Commit: afdd66741db481c97ad18d9be5b8aff8baf8fbbc
Parents: e823ab6
Author: Alex Harui <ah...@apache.org>
Authored: Tue Apr 22 12:46:10 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Apr 22 12:46:10 2014 -0700
----------------------------------------------------------------------
compiler/build.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/afdd6674/compiler/build.xml
----------------------------------------------------------------------
diff --git a/compiler/build.xml b/compiler/build.xml
index 2b4d16d..4202ff0 100644
--- a/compiler/build.xml
+++ b/compiler/build.xml
@@ -40,6 +40,7 @@
<!-- Properties can be overridden locally by loading a local.properties file -->
<property file="${compiler}/local.properties"/>
+ <property name="playerglobal.version" value="11.1" />
<property name="env.FLEX_HOME" value="${compiler}/generated/dist/sdk"/>
<property name="env.PLAYERGLOBAL_HOME" value="${compiler}/generated/dist/sdk/frameworks/libs/player"/>
@@ -817,7 +818,7 @@
<include name="lzma*"/>
</fileset>
</copy>
- <copy file="${env.PLAYERGLOBAL_HOME}/11.1/playerglobal.swc" todir="${sdk}/frameworks/libs/player/11.1"/>
+ <copy file="${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc" todir="${sdk}/frameworks/libs/player/${playerglobal.version}"/>
<copy file="${env.AIR_HOME}/frameworks/libs/air/airglobal.swc" todir="${sdk}/frameworks/libs/air"/>
<!-- Create an env.properties file that tells the compiler's configuration system how to expand {playerglobalHome} and {airHome} -->
<echo message="env.PLAYERGLOBAL_HOME=${sdk}/frameworks/libs/player${line.separator}" file="${sdk}/env.properties"/>
[05/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - try to
fix build
Posted by jo...@apache.org.
try to fix build
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/02ff887e
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/02ff887e
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/02ff887e
Branch: refs/heads/maven
Commit: 02ff887e12e6608b863ab83eea6a39cd3ad0dc11
Parents: 11946a1
Author: Alex Harui <ah...@apache.org>
Authored: Sun Apr 6 06:38:11 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Sun Apr 6 06:38:11 2014 -0700
----------------------------------------------------------------------
.../src/macromedia/asc/embedding/WarningConstants.java | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/02ff887e/flex-compiler-oem/src/macromedia/asc/embedding/WarningConstants.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/macromedia/asc/embedding/WarningConstants.java b/flex-compiler-oem/src/macromedia/asc/embedding/WarningConstants.java
index c036475..58c3e6a 100644
--- a/flex-compiler-oem/src/macromedia/asc/embedding/WarningConstants.java
+++ b/flex-compiler-oem/src/macromedia/asc/embedding/WarningConstants.java
@@ -663,7 +663,8 @@ public class WarningConstants
public static void initWarningConstants()
{
- initWarningConstantsEN();
+/*
+ initWarningConstantsEN();
initWarningConstantsCN();
initWarningConstantsCS();
initWarningConstantsDA();
@@ -682,10 +683,13 @@ public class WarningConstants
initWarningConstantsSV();
initWarningConstantsTR();
initWarningConstantsTW();
+
+ */
}
static final AscWarning[] warningConstantsEN= new AscWarning[kNumWarningConstants];
+ /*
private static void initWarningConstantsEN()
{
int index=0;
@@ -11223,5 +11227,5 @@ public class WarningConstants
warningConstantsTR,
warningConstantsTW,
};
-
+*/
};
[12/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - add
notice files required for releases
Posted by jo...@apache.org.
add notice files required for releases
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/63e66dc5
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/63e66dc5
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/63e66dc5
Branch: refs/heads/maven
Commit: 63e66dc587df09c250df9d4bf9e1ee4d6369dfb1
Parents: 14a382c
Author: Alex Harui <ah...@apache.org>
Authored: Mon Apr 7 14:59:29 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Apr 7 14:59:29 2014 -0700
----------------------------------------------------------------------
LICENSE | 203 ++++++++++++++++++++++++++++++++++++++
NOTICE | 9 ++
NOTICE_JX | 5 +
README | 266 ++++++++++++++++++++++++++++++++++++++++++++++++--
README_JX | 124 +++++++++++++++++++++++
RELEASE_NOTES | 23 +++++
RELEASE_NOTES_JX | 19 ++++
build.xml | 16 ++-
8 files changed, 654 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/63e66dc5/LICENSE
----------------------------------------------------------------------
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..6b0b127
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,203 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/63e66dc5/NOTICE
----------------------------------------------------------------------
diff --git a/NOTICE b/NOTICE
new file mode 100644
index 0000000..3144d36
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1,9 @@
+Apache Flex Compiler
+Copyright 2014 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+The Initial Developer of the Original Code, known as Adobe ASC 2.0,
+is Adobe Systems Incorporated (http://www.adobe.com/).
+ Copyright 2003 - 2012 Adobe Systems Incorporated. All Rights Reserved.
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/63e66dc5/NOTICE_JX
----------------------------------------------------------------------
diff --git a/NOTICE_JX b/NOTICE_JX
new file mode 100644
index 0000000..1e17421
--- /dev/null
+++ b/NOTICE_JX
@@ -0,0 +1,5 @@
+Apache Flex Cross-Compiler
+Copyright 2014 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/63e66dc5/README
----------------------------------------------------------------------
diff --git a/README b/README
index b874c16..6702de2 100644
--- a/README
+++ b/README
@@ -1,13 +1,267 @@
Apache Flex Compiler
====================
-Before trying to build Falcon, you must:
+ This Apache Flex Compiler is also known as the 'Falcon' compiler. It is
+ the next-generation replacement to the MXMLC compiler that is currently
+ bundled with the Apache Flex SDK and is based on the Adobe ASC2.0 code base
+ donated to Apache by Adobe Systems Inc.
-1. Build the the "develop" branch of the SDK in the GIT repository at https://git-wip-us.apache.org/repos/asf/flex-falcon.git by doing 'ant main'.
-See the README there for instructions.
+ For detailed information about Apache Flex please visit
+ http://flex.apache.org/
-2. Set the environment variables JAVA_HOME, ANT_HOME, PLAYERGLOBAL_HOME, and FLASHPLAYER_DEBUGGER as when building the SDK.
+ This compiler may eventually replace MXMLC in the Apache Flex SDK, but is
+ also being used as the compiler for the Apache FlexJS SDK. FlexJS is a
+ next-generation SDK that allows the developer to leverage MXML and ActionScript
+ to build applications that not only run as a SWF, but can also be cross-compiled
+ to JavaScript and run natively in a browser or anywhere JavaScript runs.
-3. Set the environment variable JFLEX_JAR to point to the JAR file for JFlex 1.4.3.
+Getting the latest sources via git
+==================================
-Before running unit-, functional- or feature-tests you need to create a unittest.properties file ( template is found here compiler.tests/template-unittest.properties ).
\ No newline at end of file
+ Getting the source code is the recommended way to get the Apache Flex Compiler.
+ We also offer an automated installer along with binary distributions on our
+ website at http://flex.apache.org/.
+
+ You can always checkout the latest source via git using the following
+ command:
+
+ git clone https://git-wip-us.apache.org/repos/asf/flex-falcon.git falcon
+ cd falcon
+ git checkout develop
+
+ The Apache Flex Compiler also requires code from other Apache Flex git
+ repositories or an Apache Flex SDK. To get the latest source via git
+ for the Apache Flex SDK use the following command:
+
+ git clone https://git-wip-us.apache.org/repos/asf/flex-sdk.git sdk
+ cd sdk
+ git checkout develop
+
+ The Apache Flex SDK requires the Text Layout Framework repository which
+ you can get as follows:
+
+ git clone https://git-wip-us.apache.org/repos/asf/flex-tlf.git tlf
+ cd tlf
+ git checkout develop
+
+ To use an Apache Flex SDK, install an Apache Flex SDK on your computer and
+ follow the instructions in 'Install Prerequisites'.
+
+Building the Apache Flex Compiler
+=================================
+
+ The Apache Flex Compiler is a large project. It requires some build tools
+ which must be installed prior to building the compiler and it depends on
+ some external software which are downloaded as part of the build process.
+ Some of these have different licenses. See the Software Dependencies section
+ for more information on the external software dependencies.
+
+ From Apache's perspective, the JFlex jar has an excluded license so they can
+ not be bundled with the Apache Flex binaries.
+ It must be installed prior to building Apache Flex.
+
+ Linux support is currently experimental and while it is possible to compile
+ the SDK it has not been fully tested so you may run into issues.
+
+Install Prerequisites
+---------------------
+
+ Before building the Apache Flex Compiler you must install the following software
+ and set the corresponding environment variables using absolute file paths.
+ Relative file paths will result in build errors.
+
+ ==================================================================================
+ SOFTWARE ENVIRONMENT VARIABLE (absolute paths)
+ ==================================================================================
+
+ Java SDK 1.6 or greater (*1) JAVA_HOME
+ (for Java 1.7 see note at (*2))
+
+ Ant 1.7.1 or greater (*1) ANT_HOME
+ (for Java 1.7 see note at (*2))
+
+ Adobe AIR Integration Kit (*3) AIR_HOME
+
+ Adobe Flash Player Content Debugger (*4) FLASHPLAYER_DEBUGGER
+
+ Adobe Flash Player playerglobal swcs (*5) PLAYERGLOBAL_HOME
+
+ JFlex jar (*6) JFLEX_JAR
+
+ Adobe Flex SDK or repository FLEX_HOME
+
+ ==================================================================================
+
+ *1) The bin directories for ANT_HOME and JAVA_HOME should be added to your
+ PATH.
+
+ On Windows, set PATH to
+
+ PATH=%PATH%;%ANT_HOME%\bin;%JAVA_HOME%\bin
+
+ On the Mac (bash), set PATH to
+
+ export PATH="$PATH:$ANT_HOME/bin:$JAVA_HOME/bin"
+
+ On Linux make sure you path include ANT_HOME and JAVA_HOME.
+
+ *2) If you are using Java SDK 1.7 or greater on a Mac you must use Ant 1.8
+ or greater. If you use Java 1.7 with Ant 1.7, ant reports the java
+ version as 1.6 so the JVM args for the data model (-d32/-d64) will not
+ be set correctly and you will get compile errors.
+
+ *3) The Adobe AIR integration kit for Windows can be downloaded from:
+ http://airdownload.adobe.com/air/win/download/4.0/AdobeAIRSDK.zip
+
+ The Adobe AIR integration kit for Mac can be downloaded from:
+ http://airdownload.adobe.com/air/mac/download/4.0/AdobeAIRSDK.tbz2
+
+ The Adobe AIR integration kit for Linux can be downloaded from:
+ http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRSDK.tbz2
+
+ This version of Apache Flex was certified for use with AIR 4.0, and
+ should be compatible with other versions of AIR newer than 3.1. However
+ it hasn't been fully tested on AIR 3.2, 3.3, 3.5, 3.6 or 3.7.
+
+ Download the AIR SDK for your platform and unzip it. Set AIR_HOME to the
+ absolute path of the AIR SDK directory.
+
+ *4) The Adobe Flash Player content debuggers can be found here:
+ http://www.adobe.com/support/flashplayer/downloads.html
+
+ This version of Apache Flex was certified for use with Adobe Flash
+ Player 11.1, and is compatible with versions 10.2 through 13.0. It has
+ been tested with versions 11.1, 11.7, 11.8, 11.9 and 12.0 on Windows
+ and Mac. It has been compiled against other Adobe Flash Player versions
+ but has not been fully tested. It has not been fully tested on Linux.
+
+ On Windows, set FLASHPLAYER_DEBUGGER to the absolute path including the
+ filename of the FlashPlayerDebugger.exe. Note the filename of flash
+ player debugger maybe different.
+ e.g. C:\MyPath\FlashPlayerDebugger.exe
+
+ On the Mac, set FLASHPLAYER_DEBUGGER to the absolute path of
+ Flash Player Debugger.app/Contents/MacOS/Flash Player Debugger
+
+ On Linux, set FLASHPLAYER_DEBUGGER to the absolute path of
+ flashplayerdebugger
+
+ *5) The Adobe Flash Player playerglobal.swc for 11.1 can be downloaded from:
+ http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_1.swc
+
+ Use URL above to download playerglobal11_1.swc. Create the directory,
+ player/11.1 and copy playerglobal11_1.swc to
+ player/11.1/playerglobal.swc.
+
+ Set PLAYERGLOBAL_HOME to the absolute path of the player directory (not
+ including the version subdirectory). The target-player option controls
+ which PLAYERGLOBAL_HOME subdirectory is used.
+
+ Other more recent versions of Adobe Flash Player playerglobal.swc can be
+ downloaded from:
+ http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_2.swc
+ http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_3.swc
+ http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_4.swc
+ http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_5.swc
+ http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_6.swc
+ http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_7.swc
+ http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_8.swc
+ http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_9.swc
+ http://download.macromedia.com/get/flashplayer/updaters/12/playerglobal12_0.swc
+
+ These can be used with Apache Flex but not all have not been fully
+ tested.
+
+ *6) The JFlex jar can be downloaded from:
+ http://jflex.de/download.html
+
+ Set JFLEX_JAR to the absolute path of JFlex.jar
+ e.g JFLEX_JAR=/path/to/jflex-1.4.3/lib/JFlex.jar
+
+
+Software Dependencies
+---------------------
+
+ The Apache Flex Compiler uses third-party code that will be downloaded as
+ part of the build.
+
+ The Apache Version 2.0 license is in the LICENSE file.
+
+ The following dependencies have licenses which are, or are compatible with,
+ the Apache Version 2.0 license. You will not be prompted to acknowledge the
+ download. Most of the jars are installed in lib/external when installed
+ into an Apache Flex SDK and the lib folder in the repository working copy.
+
+ antler - http://antlr3.org/download/antlr-3.3-complete.jar
+ commons-cli - http://archive.apache.org/dist/commons/cli/binaries/commons-cli-1.2-bin.tar.gz
+ commons-io - http://archive.apache.org/dist/commons/io/binaries/commons-io-2.0.1.tar.gz
+ guava - http://search.maven.org/remotecontent?filepath=com/google/guava/guava/15.0/guava-15.0.jar
+ jburg - http://downloads.sourceforge.net/project/jburg/jburg-1.10.1.tar.gz
+ lzma - http://www.java2s.com/Code/JarDownload/lzma/lzma-9.20.jar.zip
+
+
+Using the Binary Distribution
+-----------------------------
+
+ The binary distribution is intended to be installed into an existing Apache Flex
+ SDK or Apache FlexJS SDK.
+
+ There is an Apache Ant script in the binary distribution that will copy the
+ files into the right places.
+
+ To run it, use:
+ ant -f installer.xml -DFLEX_HOME=<path to Flex or FlexJS SDK
+
+ The script does not check the FLEX_HOME environment variable as that often
+ points to your primary Flex SDK.
+
+ If you expand the binary distribution into the "in" folder of an Apache Flex or
+ FlexJS SDK, the installer.xml script should find FLEX_HOME automatically.
+
+ Another option is to use the InstallApacheFlex (version 3.0 or higher).
+
+Building the Source in the Source Distribution
+----------------------------------------------
+
+ When you have all the prerequisites in place and the environment variables
+ set (see Install Prerequisites above), use
+
+ cd <falcon.dir>
+ ant main (or just ant since the default target is main)
+
+ to download the thirdparty dependencies and build the source. Since the
+ third-party dependencies take a little while to download and they don't
+ change very often, they are not cleaned with the regular clean target.
+
+ To clean the build, of everything other than the downloaded third-party
+ dependencies use
+
+ ant clean
+
+ To clean the build, of everything, including the downloaded third-party
+ dependencies use
+
+ ant wipe (which is just thirdparty-clean followed by clean)
+
+ To generate a source distribution package and a binary distribution package
+ use
+
+ ant -Dbuild.number=<YYYYMMDD> -Dbuild.noprompt= release
+
+ The packages can be found in the "out" subdirectory.
+
+ To get a brief listing of all the targets type
+
+ ant -projecthelp
+
+Running Tests
+---------------------
+
+Before running unit-, functional- or feature-tests you need to create a unittest.properties file ( template is found here compiler.tests/template-unittest.properties ).
+
+
+
+Thanks for using Apache Flex. Enjoy!
+
+ The Apache Flex Project
+ <http://flex.apache.org>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/63e66dc5/README_JX
----------------------------------------------------------------------
diff --git a/README_JX b/README_JX
new file mode 100644
index 0000000..758ece5
--- /dev/null
+++ b/README_JX
@@ -0,0 +1,124 @@
+Apache Flex Cross-Compiler
+====================
+
+ This Apache Flex Cross-Compiler is also known as the 'FalconJX' compiler. It
+ leverages code from the Apache Flex 'Falcon' Compiler but outputs JavaScript
+ instead of a SWF.
+
+ For detailed information about Apache Flex please visit
+ http://flex.apache.org/
+
+ This compiler is used in the Apache FlexJS SDK. FlexJS is a
+ next-generation SDK that allows the developer to leverage MXML and ActionScript
+ to build applications that not only run as a SWF, but can also be cross-compiled
+ to JavaScript and run natively in a browser or anywhere JavaScript runs.
+
+Getting the latest sources via git
+==================================
+
+ Getting the source code is the recommended way to get the Apache Flex Cross-Compiler.
+ We also offer an automated installer along with binary distributions on our
+ website at http://flex.apache.org/.
+
+ You can always checkout the latest source via git using the following
+ command:
+
+ git clone https://git-wip-us.apache.org/repos/asf/flex-falcon.git falcon
+ cd falcon
+ git checkout develop
+
+ See the main README for instructions on setting up and building the Apache
+ Flex 'Falcon' cross-compiler.
+
+Building the Apache Flex Cross-Compiler
+=======================================
+
+ The Apache Flex Cross-Compiler is a large project. It requires that the
+ Apache Flex Compiler has been built. See the main README for instructions.
+
+ Linux support is currently experimental and while it is possible to compile
+ the SDK it has not been fully tested so you may run into issues.
+
+Software Dependencies
+---------------------
+
+ The Apache Flex Cross-Compiler uses third-party code that will be downloaded as
+ part of the build.
+
+ The Apache Version 2.0 license is in the LICENSE file.
+
+ The following dependencies have licenses which are, or are compatible with,
+ the Apache Version 2.0 license. You will not be prompted to acknowledge the
+ download. Most of the jars are installed in lib/external when installed
+ into an Apache Flex SDK and the lib folder in the repository working copy.
+
+ Google Closure Compiler - http://dl.google.com/closure-compiler/compiler-latest.zip
+ commons-io - http://archive.apache.org/dist/commons/io/binaries/commons-io-2.0.1.tar.gz
+
+
+Using the Binary Distribution
+-----------------------------
+
+ The binary distribution is intended to be installed into an existing
+ Apache FlexJS SDK.
+
+ There is an Apache Ant script in the binary distribution that will copy the
+ files into the right places.
+
+ To run it, use:
+ ant -f installer.xml -DFLEX_HOME=<path to FlexJS SDK
+
+ The script does not check the FLEX_HOME environment variable as that often
+ points to your primary Flex SDK.
+
+ If you expand the binary distribution into the "in" folder of an Apache
+ FlexJS SDK, the installer.xml script should find FLEX_HOME automatically.
+
+ Another option is to use the InstallApacheFlex (version 3.0 or higher).
+
+Building the Source in the Source Distribution
+----------------------------------------------
+
+ When you have all the prerequisites in place and the environment variables
+ set (see Install Prerequisites above), use
+
+ cd <falcon.dir>
+ ant all (or just ant since the default target is main)
+
+ to download the thirdparty dependencies and build the source. Since the
+ third-party dependencies take a little while to download and they don't
+ change very often, they are not cleaned with the regular clean target.
+
+ To clean the build, of everything other than the downloaded third-party
+ dependencies use
+
+ ant clean-all
+
+ To clean the build, of everything, including the downloaded third-party
+ dependencies use
+
+ ant wipe-all (which is just thirdparty-clean followed by clean)
+
+ To generate a source distribution package and a binary distribution package
+ use
+
+ ant -Dbuild.number=<YYYYMMDD> -Dbuild.noprompt= release
+
+ The packages can be found in the "out" subdirectory.
+
+ To get a brief listing of all the targets type
+
+ ant -projecthelp
+
+
+Running Tests
+---------------------
+
+Before running unit-, functional- or feature-tests you need to create a unittest.properties file ( template is found here compiler.tests/template-unittest.properties ).
+
+
+
+Thanks for using Apache Flex. Enjoy!
+
+ The Apache Flex Project
+ <http://flex.apache.org>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/63e66dc5/RELEASE_NOTES
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
new file mode 100644
index 0000000..daa471c
--- /dev/null
+++ b/RELEASE_NOTES
@@ -0,0 +1,23 @@
+Apache Flex 'Falcon' Compiler 0.0.1
+=================
+
+Apache Flex 'Falcon' Compiler 0.0.1 is the initial release of a next-generation
+compiler intended to someday replace the MXMLC in Apache Flex SDKs, and is the
+compiler for Apache FlexJS SDKs. It is based on the Adobe ASC2.0 compiler but
+officially supports MXML compilation and includes some bug fixes.
+
+Known Issues
+_____________
+
+Adobe Flash Builder Integration
+
+The Apache Flex Falcon compiler should work in Adobe Flash Builder 4.7, but does
+not support incremental compilation and may compile the project even if nothing
+has changed.
+
+Please report new issues to our bugbase at:
+
+ https://issues.apache.org/jira/browse/FLEX
+
+ The Apache Flex Project
+ <http://flex.apache.org/>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/63e66dc5/RELEASE_NOTES_JX
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES_JX b/RELEASE_NOTES_JX
new file mode 100644
index 0000000..aa2ec67
--- /dev/null
+++ b/RELEASE_NOTES_JX
@@ -0,0 +1,19 @@
+Apache Flex 'FalconJX' Cross-Compiler 0.0.1
+=================
+
+Apache Flex 'FalconJX' Compiler 0.0.1 is the initial release of a next-generation
+compiler that, instead of creating a SWF or SWC, cross compiles MXML and ActionScript
+to JavaScript. It is intended for use as the cross-compiler for Apache FlexJS SDKs.
+It is an extension of the Apache Flex 'Falcon' Compiler.
+
+Known Issues
+_____________
+
+None at this time.
+
+Please report new issues to our bugbase at:
+
+ https://issues.apache.org/jira/browse/FLEX
+
+ The Apache Flex Project
+ <http://flex.apache.org/>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/63e66dc5/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index e09e471..68f1255 100644
--- a/build.xml
+++ b/build.xml
@@ -210,15 +210,13 @@
<include name="build.xml"/>
<include name="build.properties"/>
<include name="env-template.properties"/>
- <include name="READme"/>
+ <include name="README"/>
+ <include name="LICENSE"/>
+ <include name="NOTICE"/>
<include name="RELEASE_NOTES"/>
<include name="installer.xml"/>
<include name="installer.properties/**"/>
</fileset>
- <fileset dir="${FLEX_SDK_HOME}">
- <include name="LICENSE"/>
- <include name="NOTICE"/>
- </fileset>
</copy>
<!-- compiler -->
@@ -313,6 +311,14 @@
<target name="stage-source-jx"
description="Package jx source files with other falcon files required to build in zip file" >
+ <copy todir="${basedir}/temp" includeEmptyDirs="false">
+ <fileset dir="${basedir}">
+ <include name="README_JX"/>
+ <include name="NOTICE_JX"/>
+ <include name="RELEASE_NOTES_JX"/>
+ </fileset>
+ </copy>
+
<copy todir="${basedir}/temp/compiler.jx" includeEmptyDirs="false">
<fileset dir="${basedir}/compiler.jx">
<include name="**"/>
[45/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - antlr
execution pass
Posted by jo...@apache.org.
antlr execution pass
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/0b43ce3f
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/0b43ce3f
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/0b43ce3f
Branch: refs/heads/maven
Commit: 0b43ce3f03a1d71cd1f2448ebf016fb317166d5e
Parents: 2bd7b24
Author: Jose Barragan <jo...@apache.org>
Authored: Fri Feb 28 22:53:40 2014 +0100
Committer: Jose Barragan <jo...@apache.org>
Committed: Thu Apr 24 18:03:14 2014 +0200
----------------------------------------------------------------------
compiler/pom.xml | 26 ++++++++++++++------------
1 file changed, 14 insertions(+), 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/0b43ce3f/compiler/pom.xml
----------------------------------------------------------------------
diff --git a/compiler/pom.xml b/compiler/pom.xml
index fb92b95..cf258ca 100644
--- a/compiler/pom.xml
+++ b/compiler/pom.xml
@@ -70,13 +70,14 @@
</execution>
</executions>
</plugin>
+
<!-- ANTLR -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>antlr-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
- <sourceDirectory>src/org/apache/flex/compiler/internal</sourceDirectory>
+ <sourceDirectory>${project.build.sourceDirectory}/org/apache/flex/compiler/internal</sourceDirectory>
<outputDirectory>target/generated/src</outputDirectory>
</configuration>
<executions>
@@ -99,7 +100,7 @@
<goal>generate</goal>
</goals>
<configuration>
- <sourceDirectory>src/org/apache/flex/compiler/internal/parsing/as</sourceDirectory>
+ <sourceDirectory>${project.build.sourceDirectory}/org/apache/flex/compiler/internal/parsing/as</sourceDirectory>
<grammars>MetadataParser.g</grammars>
<!--<includes>ImportMetadataTokenTypes.txt</includes>-->
</configuration>
@@ -108,6 +109,7 @@
</execution>
</executions>
</plugin>
+
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
@@ -133,13 +135,13 @@
</execution>
</executions>
</plugin>
- <!--- See more at: http://www.vineetmanohar.com/2009/11/3-ways-to-run-java-main-from-maven/#sthash.iBz2SwMh.dpuf-->
+
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>antlr3-maven-plugin</artifactId>
- <version>1.0</version>
+ <groupId>org.antlr</groupId>
+ <artifactId>antlr4-maven-plugin</artifactId>
+ <version>4.2</version>
<configuration>
- <sourceDirectory>src/org/apache/flex/compiler/internal</sourceDirectory>
+ <sourceDirectory>${project.build.sourceDirectory}/org/apache/flex/compiler/internal</sourceDirectory>
<outputDirectory>target/generated/src</outputDirectory>
</configuration>
<executions>
@@ -147,7 +149,7 @@
<execution>
<id>css.lexer.and.parser</id>
<goals>
- <goal>antlr</goal>
+ <goal>antlr4</goal>
</goals>
<configuration>
<sourceDirectory>css/CSS.g</sourceDirectory>
@@ -159,7 +161,7 @@
<execution>
<id>css.tree</id>
<goals>
- <goal>antlr</goal>
+ <goal>antlr4</goal>
</goals>
<configuration>
<sourceDirectory>css/CSSTree.g</sourceDirectory>
@@ -207,11 +209,11 @@
</build>
<dependencies>
- <!-- antlr - http://www.antlr.org/download/antlr-3.3-complete.jar -->
+ <!-- antlr - http://www.antlr.org/download/antlr-4.2-complete.jar -->
<dependency>
<groupId>org.antlr</groupId>
- <artifactId>antlr-runtime</artifactId>
- <version>3.3</version>
+ <artifactId>antlr4-runtime</artifactId>
+ <version>4.2</version>
</dependency>
<!-- commons-cli - http://archive.apache.org/dist/commons/cli/binaries/commons-cli-1.2-bin.tar.gz -->
<dependency>
[23/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - JFlex
1.5 is BSD so no longer a pre-req
Posted by jo...@apache.org.
JFlex 1.5 is BSD so no longer a pre-req
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/6f979265
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/6f979265
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/6f979265
Branch: refs/heads/maven
Commit: 6f979265f3d7be60b2c8f459734433a51e46ae7d
Parents: 285da92
Author: Alex Harui <ah...@apache.org>
Authored: Tue Apr 15 09:58:41 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Apr 15 20:13:20 2014 -0700
----------------------------------------------------------------------
README | 13 +------------
compiler/build.xml | 11 +++--------
compiler/downloads.xml | 36 +++++++++++++++++++++++++++++++++++-
3 files changed, 39 insertions(+), 21 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/6f979265/README
----------------------------------------------------------------------
diff --git a/README b/README
index 1009aad..5a88c1a 100644
--- a/README
+++ b/README
@@ -56,10 +56,6 @@ Building the Apache Flex Compiler
Some of these have different licenses. See the Software Dependencies section
for more information on the external software dependencies.
- From Apache's perspective, the JFlex jar has an excluded license so they can
- not be bundled with the Apache Flex binaries.
- It must be installed prior to building Apache Flex.
-
Linux support is currently experimental and while it is possible to compile
the SDK it has not been fully tested so you may run into issues.
@@ -86,8 +82,6 @@ Install Prerequisites
Adobe Flash Player playerglobal swcs (*5) PLAYERGLOBAL_HOME
- JFlex jar (*6) JFLEX_JAR
-
Apache Flex SDK or repository FLEX_HOME
==================================================================================
@@ -172,12 +166,6 @@ Install Prerequisites
These can be used with Apache Flex but not all have not been fully
tested.
- *6) The JFlex jar can be downloaded from:
- http://jflex.de/download.html
-
- Set JFLEX_JAR to the absolute path of JFlex.jar
- e.g JFLEX_JAR=/path/to/jflex-1.4.3/lib/JFlex.jar
-
Software Dependencies
---------------------
@@ -197,6 +185,7 @@ Software Dependencies
commons-io - http://archive.apache.org/dist/commons/io/binaries/commons-io-2.0.1.tar.gz
guava - http://search.maven.org/remotecontent?filepath=com/google/guava/guava/15.0/guava-15.0.jar
jburg - http://downloads.sourceforge.net/project/jburg/jburg-1.10.1.tar.gz
+ jflex - http://jflex.de/jflex-1.5.1.tar.gz
lzma - http://www.java2s.com/Code/JarDownload/lzma/lzma-9.20.jar.zip
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/6f979265/compiler/build.xml
----------------------------------------------------------------------
diff --git a/compiler/build.xml b/compiler/build.xml
index 92651e9..6ead735 100644
--- a/compiler/build.xml
+++ b/compiler/build.xml
@@ -115,7 +115,7 @@
<attribute name="skeleton" default="${compiler}/src/org/apache/flex/compiler/internal/parsing/as/skeleton.default"/>
<attribute name="output"/>
<sequential>
- <java jar="${env.JFLEX_JAR}" fork="true">
+ <java jar="${compiler}/lib/JFlex.jar" fork="true">
<arg value="-d"/>
<arg value="@{output}"/>
<arg value="-q"/>
@@ -222,18 +222,12 @@
-->
- <target name="checkenv" description="Checks environment variables">
- <echo message="JFLEX_JAR is ${env.JFLEX_JAR}"/>
- <available file="${env.JFLEX_JAR}" type="file" property="JFLEX_JAR.set"/>
- <fail message="JFLEX_JAR must be set correctly." unless="JFLEX_JAR.set"/>
- </target>
-
<target name="download" description="Downloads third-party JARs">
<ant antfile="${compiler}/downloads.xml" dir="${compiler}"/>
<delete dir="${compiler}/in"/>
</target>
- <target name="setup" depends="checkenv, download" description="Does prelimary build setup">
+ <target name="setup" depends="download" description="Does prelimary build setup">
</target>
<!--
@@ -771,6 +765,7 @@
-->
<target name="bin-legacy">
+ <mkdir dir="${sdk}/bin-legacy" />
<copy todir="${sdk}/bin-legacy" includeEmptyDirs="false">
<fileset dir="${sdk.branch}/bin">
<include name="**/*"/>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/6f979265/compiler/downloads.xml
----------------------------------------------------------------------
diff --git a/compiler/downloads.xml b/compiler/downloads.xml
index 3938b2a..9e5021d 100644
--- a/compiler/downloads.xml
+++ b/compiler/downloads.xml
@@ -46,6 +46,7 @@
<property name="commons-cli.name" value="commons-cli-1.2"/>
<property name="commons-io.name" value="commons-io-2.0.1"/>
<property name="guava.name" value="guava-15.0"/>
+ <property name="jflex.name" value="jflex-1.5.1"/>
<property name="jburg.name" value="jburg-1.10.1"/>
<property name="lzma.name" value="lzma-sdk-9.2"/>
@@ -59,7 +60,7 @@
they are each downloaded only if they don't already exist.
-->
- <target name="main" depends="prepare, antlr-jar, commons-jars, guava-jar, jburg-jar, lzma-jar"
+ <target name="main" depends="prepare, antlr-jar, commons-jars, guava-jar, jflex-jar, jburg-jar, lzma-jar"
description="Downloads all the required thirdparty JARs"/>
<target name="prepare" >
@@ -79,6 +80,7 @@
<include name="commons-cli*/**"/>
<include name="commons-io*/**"/>
<include name="guava*/**"/>
+ <include name="jflex*/**"/>
<include name="jburg*/**"/>
<include name="lzma*/**"/>
</fileset>
@@ -333,6 +335,38 @@
<get src="http://www.apache.org/licenses/LICENSE-2.0" dest="${lib.dir}/guava-LICENSE.txt"/>
</target>
+ <!--
+ jflex
+ -->
+
+ <target name="jflex-jar-check" description="Checks if jflex.jar has been downloaded.">
+ <available file="${lib.dir}/jflex.jar" property="jflex.jar.exists"/>
+ </target>
+
+ <target name="jflex-jar" depends="jflex-jar-check" unless="jflex.jar.exists"
+ description="Downloads and copies jflex.jar to the lib directory.">
+ <echo file="${basedir}/jflex.properties">jflex.echo=${INFO_DOWNLOADING_FILE_FROM}</echo>
+ <replace file="${basedir}/jflex.properties" token="{0}" value="${jflex.name}.tar.gz" />
+ <replace file="${basedir}/jflex.properties" token="{1}" value="http://jflex.de" />
+ <property file="${basedir}/jflex.properties" />
+ <delete file="${basedir}/jflex.properties" />
+ <echo>${cli.echo}</echo>
+ <antcall target="download-zip">
+ <param name="srcUrl" value="http://jflex.de"/>
+ <param name="zipFile" value="${jflex.name}.tar.gz"/>
+ <param name="md5" value="a05956c9ac8bacdc2b8d07fb2cb331ce"/>
+ <param name="srcJarPath" value="${jflex.name}/lib/${jflex.name}.jar"/>
+ <param name="destJarFile" value="${lib.dir}/JFlex.jar"/>
+ </antcall>
+ <copy todir="${lib.dir}">
+ <fileset dir="${download.dir}/temp/${jflex.name}">
+ <include name="LICENSE.txt"/>
+ </fileset>
+ <globmapper from="*" to="JFlex-*"/>
+ </copy>
+ <delete dir="${download.dir}/temp/${jflex.name}"/>
+ </target>
+
<!--
jburg - for codegen of certain java source files
-->
[03/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - neuter
this hack for now
Posted by jo...@apache.org.
neuter this hack for now
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/740724cb
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/740724cb
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/740724cb
Branch: refs/heads/maven
Commit: 740724cb149148aad41cf441230926102c916f9d
Parents: eeb5fc1
Author: Alex Harui <ah...@apache.org>
Authored: Sat Apr 5 23:46:37 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Sat Apr 5 23:46:37 2014 -0700
----------------------------------------------------------------------
jenkins.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/740724cb/jenkins.xml
----------------------------------------------------------------------
diff --git a/jenkins.xml b/jenkins.xml
index 78aca83..b9eecf7 100644
--- a/jenkins.xml
+++ b/jenkins.xml
@@ -35,7 +35,7 @@
</target>
<target name="clear.sdk.lock" >
- <!-- attempt to delete file on builds.apache.org that is gumming up the sdk build -->
+ <!-- attempt to delete file on builds.apache.org that is gumming up the sdk build
<delete file="f:/hudson/hudson-slave/workspace/flex-sdk/.git/index.lock" />
<echo>Running git status</echo>
<exec executable="git" dir="f:/hudson/hudson-slave/workspace/flex-sdk" failonerror="true">
@@ -52,6 +52,7 @@
<arg value="clean"/>
<arg value="-fd"/>
</exec>
+ -->
</target>
<target name="jflex-download" description="Copies JFlex from JFlex website">
[46/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - ignore
maven target folder
Posted by jo...@apache.org.
ignore maven target folder
Signed-off-by: Jose Barragan <jo...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/fab83147
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/fab83147
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/fab83147
Branch: refs/heads/maven
Commit: fab831474b075c05183d3845f6d0a684709b0bde
Parents: a4a3291
Author: Jose Barragan <jo...@apache.org>
Authored: Fri Feb 28 19:08:27 2014 +0100
Committer: Jose Barragan <jo...@apache.org>
Committed: Thu Apr 24 18:03:14 2014 +0200
----------------------------------------------------------------------
.gitignore | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/fab83147/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 0eecb39..4b80a65 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,3 +23,6 @@ local.properties
out/
temp/
rat.report
+
+# maven
+target
[15/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - need
default value
Posted by jo...@apache.org.
need default value
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/dacde80e
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/dacde80e
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/dacde80e
Branch: refs/heads/maven
Commit: dacde80e7f0776ab244db711f5c351680d0cfb5f
Parents: c5557f5
Author: Alex Harui <ah...@apache.org>
Authored: Mon Apr 7 21:39:05 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Apr 7 21:39:05 2014 -0700
----------------------------------------------------------------------
compiler/build.xml | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dacde80e/compiler/build.xml
----------------------------------------------------------------------
diff --git a/compiler/build.xml b/compiler/build.xml
index 92ea3e2..92651e9 100644
--- a/compiler/build.xml
+++ b/compiler/build.xml
@@ -62,6 +62,8 @@
property="sdk.branch"
value="${compiler}/../../sdk" />
+ <property name="sdk.branch" value="${FLEX_HOME}" />
+
<!-- The 'sdk' property is the absolute path, with forward slashes, to the compiler/generated/dist/sdk directory -->
<!-- where a Falcon SDK is built -->
<!-- All output paths are expressed as absolute paths starting with ${sdk} -->
[06/50] [abbrv] try to fix build
Posted by jo...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/391a051e/flex-compiler-oem/src/macromedia/asc/embedding/WarningConstants.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/macromedia/asc/embedding/WarningConstants.java b/flex-compiler-oem/src/macromedia/asc/embedding/WarningConstants.java
index 58c3e6a..b1ea9aa 100644
--- a/flex-compiler-oem/src/macromedia/asc/embedding/WarningConstants.java
+++ b/flex-compiler-oem/src/macromedia/asc/embedding/WarningConstants.java
@@ -663,10569 +663,8 @@ public class WarningConstants
public static void initWarningConstants()
{
-/*
- initWarningConstantsEN();
- initWarningConstantsCN();
- initWarningConstantsCS();
- initWarningConstantsDA();
- initWarningConstantsDE();
- initWarningConstantsES();
- initWarningConstantsFI();
- initWarningConstantsFR();
- initWarningConstantsIT();
- initWarningConstantsJP();
- initWarningConstantsKR();
- initWarningConstantsNB();
- initWarningConstantsNL();
- initWarningConstantsPL();
- initWarningConstantsPT();
- initWarningConstantsRU();
- initWarningConstantsSV();
- initWarningConstantsTR();
- initWarningConstantsTW();
-
- */
}
static final AscWarning[] warningConstantsEN= new AscWarning[kNumWarningConstants];
- /*
- private static void initWarningConstantsEN()
- {
- int index=0;
- warningConstantsEN[index++] = new AscWarning(kWarning_NoTypeDecl, "Missing type declaration." );
- warningConstantsEN[index++] = new AscWarning(kWarning_NoTypeDecl_specific, "%s '%s' has no type declaration." );
- warningConstantsEN[index++] = new AscWarning(kWarning_BadUndefinedComparision, "Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined." );
- warningConstantsEN[index++] = new AscWarning(kWarning_BadUndefinedComparision_specific, "Variables of type %s cannot be undefined. The value undefined will be type coerced to %s before comparison." );
- warningConstantsEN[index++] = new AscWarning(kWarning_ConstructorReturnsValue, "Function used in new expression returns a value. Result will be what the function returns, rather than a new instance of that function." );
- warningConstantsEN[index++] = new AscWarning(kWarning_ConstructorReturnsValue_specific, "Migration issue: Result of new %s will be the return value of %s, rather than a new instance of that function." );
- warningConstantsEN[index++] = new AscWarning(kWarning_BooleanConstructorWithNoArgs, "Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0." );
- warningConstantsEN[index++] = new AscWarning(kWarning_BooleanConstructorWithNoArgs_specific, "Use of Boolean() with no arguments." );
- warningConstantsEN[index++] = new AscWarning(kWarning_NumberFromStringChanges, "In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns NaN in ActionScript 2.0 when the parameter is '' or contains white space." );
- warningConstantsEN[index++] = new AscWarning(kWarning_NumberFromStringChanges_specific, "Migration issue: When the Number('') function is called with an empty string argument it returns 0 in ActionScript 3.0, and NaN in ActionScript 2.0." );
- warningConstantsEN[index++] = new AscWarning(kWarning_ArrayToStringChanges, "Array.toString() format has changed." );
- warningConstantsEN[index++] = new AscWarning(kWarning_ArrayToStringChanges_specific, "Migration issue: Array.toString() handling of null and undefined elements has changed." );
- warningConstantsEN[index++] = new AscWarning(kWarning_DepricatedPropertyError, "Unsupported ActionScript 2.0 property." );
- warningConstantsEN[index++] = new AscWarning(kWarning_DepricatedPropertyError_specific, "Migration issue: The property %s is no longer supported. %s." );
- warningConstantsEN[index++] = new AscWarning(kWarning_DepricatedFunctionError, "Unsupported ActionScript 2.0 function." );
- warningConstantsEN[index++] = new AscWarning(kWarning_DepricatedFunctionError_specific, "Migration issue: The method %s is no longer supported. %s." );
- warningConstantsEN[index++] = new AscWarning(kWarning_ChangesInResolve, "__resolve is no longer supported." );
- warningConstantsEN[index++] = new AscWarning(kWarning_ChangesInResolve_specific, "Migration issue: __resolve is no longer supported. Use the new Proxy class for similar functionality." );
- warningConstantsEN[index++] = new AscWarning(kWarning_LevelNotSupported, "_level is no longer supported. For more information, see the flash.display package." );
- warningConstantsEN[index++] = new AscWarning(kWarning_LevelNotSupported_specific, "Migration issue: _level is no longer supported. For more information, see the flash.display package." );
- warningConstantsEN[index++] = new AscWarning(kWarning_ClassIsSealed, "Class is sealed. It cannot have members added to it dynamically." );
- warningConstantsEN[index++] = new AscWarning(kWarning_ClassIsSealed_specific, "Migration issue: %s is not a dynamic class. Instances cannot have members added to them dynamically." );
- warningConstantsEN[index++] = new AscWarning(kWarning_ScopingChangeInThis, "Change in scoping for the this keyword. Class methods extracted from an instance of a class will always resolve this back to that instance. In ActionScript 2.0 this is looked up dynamically based on where the method is invoked from." );
- warningConstantsEN[index++] = new AscWarning(kWarning_ScopingChangeInThis_specific, "Migration issue: Method %s will behave differently in ActionScript 3.0 due to the change in scoping for the this keyword. See the entry for warning 1083 for additional information." );
- warningConstantsEN[index++] = new AscWarning(kWarning_MissingNamespaceDecl, "Missing namespace declaration (e.g. variable is not defined to be public, private, etc.)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_MissingNamespaceDecl_specific, "%s will be scoped to the default namespace: %s internal. It will not be visible outside of this package." );
- warningConstantsEN[index++] = new AscWarning(kWarning_ForVarInChanges, "ActionScript 3.0 iterates over an object's properties within a \"for x in target\" statement in random order." );
- warningConstantsEN[index++] = new AscWarning(kWarning_ForVarInChanges_specific, "Migration issue: ActionScript 3.0 iterates over an object's properties within a \"for x in target\" statement in random order." );
- warningConstantsEN[index++] = new AscWarning(kWarning_InternalError, "Internal error in compiler." );
- warningConstantsEN[index++] = new AscWarning(kWarning_InternalError_specific, "Error code: %s." );
- warningConstantsEN[index++] = new AscWarning(kWarning_DepricatedEventHandlerError, "EventHandler was not added as a listener." );
- warningConstantsEN[index++] = new AscWarning(kWarning_DepricatedEventHandlerError_specific, "Migration issue: %s" );
- warningConstantsEN[index++] = new AscWarning(kWarning_NegativeUintLiteral, "Negative value will become a large positive value when assigned to a uint data type." );
- warningConstantsEN[index++] = new AscWarning(kWarning_NegativeUintLiteral_specific, "Negative value used where a uint (non-negative) value is expected." );
- warningConstantsEN[index++] = new AscWarning(kWarning_BadNullComparision, "Illogical comparison with null." );
- warningConstantsEN[index++] = new AscWarning(kWarning_BadNullComparision_specific, "Illogical comparison with null. Variables of type %s cannot be null." );
- warningConstantsEN[index++] = new AscWarning(kWarning_BadNaNComparision, "Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN." );
- warningConstantsEN[index++] = new AscWarning(kWarning_BadNaNComparision_specific, "Illogical comparison with NaN. This statement always evaluates to false." );
- warningConstantsEN[index++] = new AscWarning(kWarning_AssignmentWithinConditional, "Assignment within conditional." );
- warningConstantsEN[index++] = new AscWarning(kWarning_AssignmentWithinConditional_specific, "Assignment within conditional. Did you mean == instead of =?" );
- warningConstantsEN[index++] = new AscWarning(kWarning_BadNullAssignment, "Impossible null assignment." );
- warningConstantsEN[index++] = new AscWarning(kWarning_BadNullAssignment_specific, "null used where a %s value was expected." );
- warningConstantsEN[index++] = new AscWarning(kWarning_NoConstructor, "Missing constructor." );
- warningConstantsEN[index++] = new AscWarning(kWarning_NoConstructor_specific, "No constructor function was specified for class %s." );
- warningConstantsEN[index++] = new AscWarning(kWarning_UnexpectedEmptyStatement, "Empty statement." );
- warningConstantsEN[index++] = new AscWarning(kWarning_UnexpectedEmptyStatement_specific, "Empty statement found where block of code expected. Did you type ';' accidentally?" );
- warningConstantsEN[index++] = new AscWarning(kWarning_ConstNotInitialized, "Constant not initialized." );
- warningConstantsEN[index++] = new AscWarning(kWarning_ConstNotInitialized_specific, "The constant was not initialized." );
- warningConstantsEN[index++] = new AscWarning(kWarning_BadArrayCast, "Possibly invalid Array cast operation." );
- warningConstantsEN[index++] = new AscWarning(kWarning_BadArrayCast_specific, "Array(x) behaves the same as new Array(x). To cast a value to type Array use the expression x as Array instead of Array(x)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_NoExplicitSuperCallInConstructor, "The super() statement was not called within the constructor." );
- warningConstantsEN[index++] = new AscWarning(kWarning_NoExplicitSuperCallInConstructor_specific, "The super() statement will be executed prior to entering this constructor. Add a call to super() within the constructor if you want to explicitly control when it is executed." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_version, "Use Capabilities.version instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Focusrect, "For more information, see InteractiveObject.focusRect." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Highquality, "For more information, see Stage.quality." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_DisplayObj_HighQuality, "For more information, see Stage.quality." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_DisplayObj_Quality, "For more information, see Stage.quality." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Quality, "For more information, see Stage.quality." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_TextField_Soundbuftime, "Use the static property flash.media.SoundMixer.bufferTime instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_TextField_Target, "This functionality is no longer supported." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_TextField_Url, "For more information, see LoaderInfo.url." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_TextField_Variable, "This functionality is no longer supported." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_NewLine, "Use '\n' for newline." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_MaxScroll, "For more information, see textField.maxScroll." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Level, "The concept of levels does not exist in ActionScript 3.0, which instead provides direct access to the display list. See the flash.display package for details." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Parent, "Use the parent property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Root, "This property has been removed. The closest equivalent is the Stage, which serves as the root of the ActionScript 3.0 display list." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Arguments_Caller, "Try declaring caller as an argument of the function instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Button_Target, "This functionality is no longer supported." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_MovieClip_Parent, "Use the parent property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_MovieClip_target, "This functionality is no longer supported." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_MovieClip_hitArea, "For more information, see Sprite.hitArea." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Scroll, "For more information, see the scrollH and scrollV properties of flash.text.TextField class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_TargetPath, "Use MovieClip objects directly as arguments instead of paths." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Video_Height, "For more information, see Video.videoHeight." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Video_Width, "For more information, see Video.videoWidth." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp__Proto__, "For more information, see obsolete __proto__." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Stage, "For more information, see DisplayObject.stage." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp__remoteClass, "Use the registerClass() method in the flash.net package instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_random, "Use Math.random() instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_chr, "Use String.fromCharCode() instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_mbchr, "Use String.fromCharCode() instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_ord, "Use String.charCodeAt() instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_mbord, "Use String.charCodeAt() instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_substring, "Use the String.substr method instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_mbsubstring, "Use the String.substr method instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_length, "Use the length property of the argument instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_mblength, "Use the length property of the argument instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_ASNative, "For more information, see changes to ASnative." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_addProperty, "Set properties directly on the instance using dot (.) notation instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_getProperty, "Access properties directly using dot (.) notation instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_setProperty, "Set properties directly on the instance using dot (.) notation instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_asfunction, "For more information, see TextEvent.LINK and addEventListener()." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_clearInterval, "This method has moved to the flash.utils package." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_duplicateMovieClip, "Replaced by new MovieClip class constructor function." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_fscommand, "Moved to flash.system package. Also, please see flash.external.ExternalInterface class for Javascript/ActionScript communication." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_getURL, "For equivalent functionality, see flash.net.URLLoader. The flash.net package also contains package-level functions navigateToURL() and sendToURL()." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_gotoAndPlay, "For more information, see MovieClip.gotoAndPlay()." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_gotoAndStop, "For more information, see MovieClip.gotoAndStop()." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_play, "For more information, see MovieClip.play()." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_print, "For more information, see PrintJob.start()." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_printAsBitmap, "For more information, see PrintJob." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_printAsBitmapNum, "For more information, see PrintJob." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_printNum, "For more information, see PrintJob." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_removeMovieClip, "Use Container.removeChild(childName). For more information, see the DisplayObjectContainer class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_setInterval, "Moved to the flash.utils package. Consider using the Timer class instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_nextFrame, "For more information, see MovieClip.nextFrame()." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_startDrag, "For more information, see MovieClip.startDrag()." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_stop, "For more information, see MovieClip.stop()." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_stopAllSounds, "For more information, see Sound.stopAllSounds()." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_stopDrag, "For more information, see MovieClip.stopDrag()." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_tellTarget, "Use the dot (.) operator or the with statement instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_toggleHighQuality, "For more information, see DisplayObject.stage and Stage.quality." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_unloadMovie, "Use DisplayObjectContainer.removeChild(childName) instead. For more information, see the DisplayObjectContainer class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_unloadMovieNum, "Use DisplayObjectContainer.removeChild(childName) instead. For more information, see the DisplayObjectContainer class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_updateAfterEvent, "This function is no longer a global function, but is still available as a method of the TimerEvent, MouseEvent, and KeyboardEvent classes." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Video_attachVideo, "For more information, see Video.attachNetStream, Video.attachCamera." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_TextField_StyleSheet_load, "Use the URLLoader class to perform loading and pass the result to StyleSheet.parseCSS()" );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Object_registerClass, "In ActionScript 3.0 all classes are registered by default. If you are using AMF, see flash.utils.registerClassAlias() for more information." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Object_unwatch, "Use accessor properties (get/set functions) or the flash.utils.Proxy class for similar functionality." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Object_watch, "Use accessor properties (get/set functions) or the flash.utils.Proxy class for similar functionality." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_loadMovie, "For more information, see MovieClip.loadMovie()." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_loadMovieNum, "For more information, see MovieClip.loadMovieNum()." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_loadVariables, "For more information, see Loader.load()." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_loadVariablesNum, "For more information, see Loader.load()." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Stage_addListener, "For more information, see addEventListener ( eventName, listener, useCapture, priority )." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Stage_removeListener, "For more information, see removeEventListener ( eventName, listener, useCapture)." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_TextField_addListener, "For more information, see addEventListener ( eventName, listener, useCapture, priority )." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_TextField_removeListener, "For more information, see removeEventListener ( eventName, listener, useCapture)." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Mouse_addListener, "For more information, see addEventListener ( eventName, listener, useCapture, priority )." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Mouse_removeListener, "For more information, see removeEventListener ( eventName, listener, useCapture)." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Keyboard_addListener, "For more information, see addEventListener ( eventName, listener, useCapture, priority )." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Keyboard_removeListener, "For more information, see removeEventListener ( eventName, listener, useCapture)." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Sound_attachSound, "Use SWF class to create sounds from library" );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onStatus, "The onStatus event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'status', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onID3, "The onID3 event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'id3', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onLoad, "The onLoad event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'load', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onSoundComplete, "The onSoundComplete event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'soundComplete', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onSetFocus, "The onSetFocus event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'focusIn', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onResize, "The onResize event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'resize', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onChanged, "The onChanged event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'change', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onKillFocus, "The onKillFocus event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'focusOut', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onScroller, "The onScroller event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'scroll', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onMouseDown, "The onMouseDown event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'mouseDown', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onMouseUp, "The onMouseUp event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'mouseUp', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onMouseMove, "The onMouseMove event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'mouseMove', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onMouseWheel, "The onMouseWheel event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'mouseWheel', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onKeyDown, "The onKeyDown event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'keyDown', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onKeyUp, "The onKeyUp event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'keyUp', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onData, "The onData event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'data', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onHTTPStatus, "The onHTTPStatus event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'httpStatus', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onDragOut, "The onDragOut event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'mouseOut', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onDragOver, "The onDragOver event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'mouseOver', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onPress, "The onPress event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'mouseDown', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onRelease, "The onRelease event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'click', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onReleaseOutside, "The onReleaseOutside event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'mouseUp', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onRollOut, "The onRollOut event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'mouseOut', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onRollOver, "The onRollOver event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'mouseOver', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onActivity, "The onActivity event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'activity', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onSelect, "The onSelect event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'menuSelect', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onEnterFrame, "The onEnterFrame is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'enterFrame', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onUnload, "The onUnload event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'unload', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onLoadComplete, "The onLoadComplete is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'load', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onLoadError, "The onLoadError event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'error', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onLoadInit, "The onLoadInit event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'init', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onLoadProgress, "The onLoadProgress event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'progress', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onLoadStart, "The onLoadStart is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'start', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onClose, "The onClose event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'close', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onConnect, "The onConnect event handler is not triggered automatically by Flash player in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'connect', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onXML, "onXML is not triggered automatically by Flash Player in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'xml', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_hasChildNodes, "Use the property hasChildNodes instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_XMLEvent, "The XMLEvent class is obsolete, and the xml event is no longer dispatched. Only the data event is dispatched during file loading." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_XMLDoc, "The XMLDoc class has been renamed XMLDocument." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Accessibility_isActive, "Use the Accessibility.active property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_ActivityEvent_ACTIVITY_TYPE, "Use ActivityEvent.ACTIVITY constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_SimpleButton_getDepth, "Use DisplayObjectContainer.parent.getChildIndex instead. See help for the DisplayObjectContainer class, which is extended by MovieClip." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_SimpleButton_swapDepths, "Use DisplayObjectContainer.parent.setChildIndex instead. See help for the DisplayObjectContainer class, which is extended by MovieClip." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_SimpleButton_getInstanceAtDepth, "Use DisplayObjectContainer.getChildAt instead. See help for the DisplayObjectContainer class, which is extended by MovieClip." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_SimpleButton_getNextHighestDepth, "Use DisplayObjectContainer.numChildren instead. DisplayObjectContainer.addChild always adds the new child to index DisplayObjectContainer.numChildren." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_ByteArray_available, "Use the ByteArray.bytesAvailable property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_ByteArray_getFilePointer, "Use the ByteArray.position property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_ByteArray_seek, "Use the ByteArray.position property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Camera_get, "Use the Camera.getCamera() method instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Camera_currentFps, "Use the Camera.currentFPS property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Camera_setKeyFrameInterval, "Use the Camera.keyFrameInterval property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Camera_setLoopback, "Use the Camera.loopback property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_ColorTransform_getRGB, "Use the ColorTransform.color property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_ColorTransform_setRGB, "Use the ColorTransform.color property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_DisplayObjectContainer_getTextSnapshot, "Use the Container.textSnapshot property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_ContextMenu_copy, "Use the ContextMenu.clone() method instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_ContextMenu_forward_back, "Use the ContextMenu.forwardAndBack property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_ContextMenuItem_copy, "Use the ContextMenuItem.clone() method instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_CustomActions_listActions, "Use the CustomActions.actionsList property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_DataEvent_DATA_TYPE, "Use the DataEvent.DATA constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_DisplayObject_xscale, "Use the DisplayObject.scaleX property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_DisplayObject__xscale, "Use the DisplayObject.scaleX property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_DisplayObject_yscale, "Use the DisplayObject.scaleY property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_DisplayObject__yscale, "Use the DisplayObject.scaleY property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_DisplayObject_xmouse, "Use the DisplayObject.mouseX property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_DisplayObject__xmouse, "Use the DisplayObject.mouseX property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_DisplayObject_ymouse, "Use the DisplayObject.mouseY property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_DisplayObject__ymouse, "Use the DisplayObject.mouseY property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_DisplayObject_setRootClass, "This feature is no longer supported." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_DisplayObject_mapSymbolToClass, "This feature is no longer supported." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_DisplayObject__name, "Use the DisplayObject.name property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_DisplayObject__parent, "Use the DisplayObject.parent property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_DisplayObject__mask, "Use the DisplayObject.mask property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_DisplayObject__visible, "Use the DisplayObject.visible property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_DisplayObject__x, "Use the DisplayObject.x property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_DisplayObject__y, "Use the DisplayObject.y property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_DisplayObject__rotation, "Use the DisplayObject.rotation property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_DisplayObject__alpha, "Use the DisplayObject.alpha property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_DisplayObject__width, "Use the DisplayObject.width property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_DisplayObject__height, "Use the DisplayObject.height property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_ExternalInterface_available, "Use the ExternalInterface.available property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_ErrorEvent_ERROR_TYPE, "Use the ErrorEvent.ERROR constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Event_isDefaultPrevented, "Use the Event.isDefaultPrevented property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Event_ACTIVATE_TYPE, "Use the Event.ACTIVATE constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Event_ADDED_TYPE, "Use the Event.ADDED constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Event_CANCEL_TYPE, "Use the Event.CANCEL constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Event_CHANGE_TYPE, "Use the Event.CHANGE constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Event_CLOSE_TYPE, "Use the Event.CLOSE constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Event_COMPLETE_TYPE, "Use the Event.COMPLETE constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Event_CONNECT_TYPE, "Use the Event.CONNECT constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Event_DEACTIVATE_TYPE, "Use the Event.DEACTIVATE constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Event_ENTER_FRAME_TYPE, "Use the Event.ENTER_FRAME constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Event_ID3_TYPE, "Use the Event.ID3 constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Event_INIT_TYPE, "Use the Event.INIT constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Event_MOUSE_LEAVE_TYPE, "Use the Event.MOUSE_LEAVE constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Event_OPEN_TYPE, "Use the Event.OPEN constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Event_REMOVED_TYPE, "Use the Event.REMOVED constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Event_RENDER_TYPE, "Use the Event.RENDER constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Event_RESIZE_TYPE, "Use the Event.RESIZE constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Event_SCROLL_TYPE, "Use the Event.SCROLL constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Event_SELECT_TYPE, "Use the Event.SELECT constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Event_SOUND_COMPLETE_TYPE, "Use the Event.SOUND_COMPLETE constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Event_TAB_CHILDREN_CHANGE_TYPE, "Use the Event.TAB_CHILDREN_CHANGE constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Event_TAB_ENABLED_CHANGE_TYPE, "Use the Event.TAB_ENABLED_CHANGE constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Event_TAB_INDEX_CHANGE_TYPE, "Use the Event.TAB_INDEX_CHANGE constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Event_UNLOAD_TYPE, "Use the Event.UNLOAD constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_FocusEvent_FOCUS_IN_TYPE, "Use the FocusEvent.FOCUS_IN constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_FocusEvent_FOCUS_OUT_TYPE, "Use the FocusEvent.FOCUS_OUT constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_FocusEvent_KEY_FOCUS_CHANGE_TYPE, "Use the FocusEvent.KEY_FOCUS_CHANGE constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_FocusEvent_MOUSE_FOCUS_CHANGE_TYPE, "Use the FocusEvent.MOUSE_FOCUS_CHANGE constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Graphics_beginImageFill, "Use the Graphics.beginBitmapFill() method instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_BitmapFilter_XYZ_QUALITY, "Use the BitmapFilter.quality property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Keyboard_getAscii, "Use KeyboardEvent.charCode instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Keyboard_getCode, "Use KeyboardEvent.keyCode instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Keyboard_isDown, "For more information, see the KeyboardEvent class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Keyboard_isToggled, "For more information, see KeyboardEvent.ctrlKey, KeyboardEvent.altKey, and KeyboardEvent.shiftKey." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Keyboard_PGDN, "Use the PAGE_DOWN constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Keyboard_PGUP, "Use the PAGE_UP constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Keyboard_DELETEKEY, "Use the DELETE constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Keyboard_CAPSLOCK, "Use the CAPS_LOCK constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Keyboard_NUMPAD, "Use one of the NUMPAD_0 -> NUMPAD_9 constants instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_InteractiveObject__focusrect, "Use the InteractiveObject.focusRect property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_InteractiveObject_menu, "Use the InteractiveObject.contextMenu property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_KeyboardEvent_ascii, "Use the KeyboardEvent.charCode property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_KeyboardEvent_code, "Use the KeyboardEvent.keyCode property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Loader_loaderInfo, "Use the Loader.contentLoaderInfo property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Loader_preload, "This feature is no longer supported." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Loader_loadCached, "This feature is no longer supported." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_LoaderInfo_loaderUrl, "Use the LoaderInfo.loaderURL property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_LocalConnection_domain, "Use the LocalConnection.domain property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_ContextMenuEvent_menuOwner, "Use the MenuEvent.contextMenuOwner property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Microphone_get, "Use the Microphone.getMicrophone() method instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_attachMovie, "If the MovieClip subclass name is A use var mc= new A(); addChild(mc). For more information, see the DisplayObjectContainer class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_createEmptyMovieClip, "Use var mc= new MovieClip(); addChild(mc). For more information, see the DisplayObjectContainer class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_createTextField, "Use var tf= new TextField(); addChild(mc). For more information, see the DisplayObjectContainer class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_removeMovieClip, "Use Container.removeChild(childName). For more information, see the DisplayObjectContainer class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_loadMovie, "Use var l = new Loader(); addChild(l); l.load(new URLRequest(\"your url\"));. For more information, see the Loader and DisplayObjectContainer classes." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_unloadMovie, "Use DisplayObjectContainer.removeChild(childName) instead. For more information, see the DisplayObjectContainer class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_unloadMovieNum, "Use DisplayObjectContainer.removeChild(childName) instead. For more information, see the DisplayObjectContainer class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_getDepth, "Use DisplayObjectContainer.parent.getChildIndex instead. For more information, see the DisplayObjectContainer class, is extended by MovieClip." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_swapDepths, "Use DisplayObjectContainer.parent.setChildIndex instead. For more information, see the DisplayObjectContainer class, which is extended by MovieClip." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_getInstanceAtDepth, "Use DisplayObjectContainer.getChildAt instead. For more information, see the DisplayObjectContainer class, which is extended by MovieClip." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_getNextHighestDepth, "Use DisplayObjectContainer.numChildren instead. DisplayObjectContainer.addChild always adds the new child to index DisplayObjectContainer.numChildren." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_attachAudio, "For more information, see DisplayObject.addChild." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_getBytesLoaded, "For more information, see LoaderInfo.bytesLoaded and the Loader class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_getBytesTotal, "For more information, see LoaderInfo.bytesTotal and the Loader class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_getURL, "For equivalent functionality, see flash.net.URLLoader. The flash.net package also contains package-level functions navigateToURL() and sendToURL()." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_MovieClip_url, "For more information, see LoaderInfo.url and the Loader class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_MovieClip__url, "For more information, see LoaderInfo.url and the Loader class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_setMask, "Use the MovieClip.mask property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_getSWFVersion, "For more information, see LoaderInfo.swfVersion and the Loader class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_MovieClip__currentframe, "Use the MovieClip.currentFrame property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_MovieClip__framesloaded, "Use the MovieClip.framesLoaded property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_MovieClip__totalframes, "Use the MovieClip.totalFrames property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_MovieClip_lockroot, "For more information, see displayObjectInstance.root." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_MovieClip__lockroot, "For more information, see displayObjectInstance.root." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_MovieClip__soundbuftime, "Use the static propery flash.media.SoundMixer.bufferTime instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_clear, "For more information, see the Graphics class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_beginFill, "For more information, see the Graphics class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_beginGradientFill, "For more information, see the Graphics class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_lineGradientStyle, "For more information, see the Graphics class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_beginImageFill, "For more information, see the Graphics class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_lineStyle, "For more information, see the Graphics class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_drawRect, "For more information, see the Graphics class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_drawRoundRect, "For more information, see the Graphics class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_drawRoundRectComplex, "For more information, see the Graphics class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_drawCircle, "For more information, see the Graphics class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_moveTo, "For more information, see the Graphics class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_lineTo, "For more information, see the Graphics class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_curveTo, "For more information, see the Graphics class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_endFill, "For more information, see the Graphics class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_NetStream_setBufferTime, "Use the NetStream.bufferTime property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_NetStream_currentFps, "Use the NetStream.currentFPS property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_NetStream_videocodec, "Use the NetStream.videoCodec property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_NetStream_audiocodec, "Use the NetStream.audioCodec property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_ProductManager_isIntalled, "Use the ProductManager.isInstalled property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_ProductManager_installedVersion, "Use the ProductManager.installedVersion property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_ProductManager_isRunning, "Use the ProductManager.isRunning property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Point_addTo, "Use the Point.add() method instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Proxy_delDescendants, "Use the Proxy.deleteDescendants property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Profiler_heapdump, "Use the heapDump() method instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_ProgressEvent_current, "Use the ProgressEvent.bytesLoaded property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_ProgressEvent_total, "Use the ProgressEvent.bytesTotal property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Rectangle_isEmpty, "Use the Rectangle.isEmpty property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_SoundTransform_setPan, "Use the SoundTransform.pan property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Socket_available, "Use the Sockect.bytesAvailable property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_SharedObject_getSize, "Use the SharedObject.size property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_SharedObject_setFps, "Use the SharedObject.fps property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Sprite_getSWF, "This is no longer supported." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Sprite_constructChild, "Use the Sprite.constructChildren() method instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Sprite__droptarget, "Use the Sprite.dropTarget property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Stage_getFocus, "Use the Stage.focus property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Stage_setFocus, "Use the Stage.focus property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Stage_showMenu, "Use the Stage.showDefaultContextMenu property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_StyleSheet_getStyleNames, "Use the StyleSheet.styleNames property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_StyleSheet_onData, "Use an instance of URLLoader to load the StyleSheet data, and then pass the loaders data to the StyleSheet.parseCSS method. For more information, see the URLLoader and EventDispatcher classes." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_StyleSheet_load, "Use an instance of URLLoader to load the StyleSheet data, and then pass the loaders data to the StyleSheet.parseCSS method. For more information, see the URLLoader and EventDispatcher classes." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_StyleSheet_loaded, "Use an instance of URLLoader to load the StyleSheet data, and then pass the loaders data to the StyleSheet.parseCSS method. For more information, see the URLLoader and EventDispatcher classes." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_StyleSheet_getBytesLoaded, "Use an instance of URLLoader to load the StyleSheet data, and then pass the loaders data to the StyleSheet.parseCSS method. For more information, see the URLLoader and EventDispatcher classes." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_StyleSheet_getBytesTotal, "Use an instance of URLLoader to load the StyleSheet data, and then pass the loaders data to the StyleSheet.parseCSS method. For more information, see the URLLoader and EventDispatcher classes." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_IME_getEnabled, "Use the IME.enabled property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_IME_setEnabled, "Use the IME.enabled property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_IME_getInstance, "Use the IME.instance property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_IME_getConversionMode, "Use the IME.conversionMode property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_IME_setConversionMode, "Use the IME.conversionMode property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_System_getAvmplusVersion, "Use the System.vmVersion property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_SWFLoaderInfo_SWFVersion, "Use the SWFLoaderInfo.swfVersion property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_SWFLoaderInfo_ASVersion, "Use the SWFLoaderInfo.actionScriptVersion property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_TextField_getNewTextFormat, "Use the TextField.defaultTextFormat property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_TextField_setNewTextFormat, "Use the TextField.defaultTextFormat property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_TextField_getDepth, "Use DisplayObjectContainer.parent.getChildIndex instead. For more information, see the DisplayObjectContainer class, which MovieClip extends." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_TextField_swapDepths, "Use DisplayObjectContainer.parent.setChildIndex instead. For more information, see the DisplayObjectContainer class, which MovieClip extends." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_TextField_getInstanceAtDepth, "Use DisplayObjectContainer.getChildAt instead. For more information, see the DisplayObjectContainer class, which MovieClip extends." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_TextField_getNextHighestDepth, "Use DisplayObjectContainer.numChildren instead. DisplayObjectContainer.addChild always adds the new child to index DisplayObjectContainer.numChildren." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_TextField_replaceSel, "Use the TextField.replaceSelectedText() method instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_TextField_getLineIndexOfCharacter, "Use the TextField.getLineIndexOfChar() method instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_TextField_getSelectionBeginIndex, "Use the TextField.selectionBeginIndex property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_TextField_getSelectionEndIndex, "Use the TextField.selectionEndIndex property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_TextField_getCaretIndex, "Use the TextField.caretIndex property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_TextField_getFontList, "Use the Font.enumerateFonts() method instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_TextField_maxscroll, "Use the TextField.maxScrollV property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_TextField_hscroll, "Use the TextField.scrollH property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_TextField_maxhscroll, "Use the TextField.maxScrollH property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_TextField_newTextFormat, "Use the TextField.defaultTextFormat property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_TextFormat_getTextExtent, "Create a temporary TextField and use TextField.getLineMetrics instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_TextSnapshot_getCount, "Use the TextSnapshot.charCount property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_URLLoader_navigate, "Use the navigateToURL() method in the flash.net package instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_URLLoader_send, "Use the sendToURL() method in the flash.net package instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_URLLoader_binary, "Use the URLLoader.dataFormat property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_URLStream_available, "Use the URLStream.bytesAvailable property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_URLRequest_digest, "This property is no longer supported." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_URLRequest_importToSandbox, "Use the URLRequest.applicationDomain property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_URLRequest_addRequestHeader, "To add request headers, set the URLRequest.requestHeaders property to an array of URLRequestHeader objects." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_XMLDocument_load, "Use an instance of URLLoader to load the XML file, then pass the URLLoaders data to the XMLDocuments constructor. For more information, see the URLLoader and EventDispatcher classes." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_XMLDocument_send, "Use the sendToURL() method in the flash.net package instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_XMLDocument_sendAndLoad, "Set a URLRequest object postData property and use it with a URLLoader object to load the XML file. Pass the URLLoaders data to the XMLDocuments constructor. For more information, see the URLLoader, URLRequest and EventDispatcher classes." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_XMLDocument_onData, "Use an instance of URLLoader to load the XML file, then pass the URLLoaders data to the XMLDocuments constructor. For more information, see the URLLoader and EventDispatcher classes." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_XMLDocument_addRequestHeader, "To add request headers, set the URLRequest.requestHeaders property to an array of URLRequestHeader objects." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_XMLDocument_getBytesLoaded, "For more information, see URLLoader.bytesLoaded and the URLLoader class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_XMLDocument_getBytesTotal, "For more information, see URLLoader.bytesTotal and the URLLoader class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_XMLDocument_loaded, "Use an instance of URLLoader to load the XML file, then pass the loaders data to the StyleSheet.parseCSS method. For more information, see the URLLoader and EventDispatcher classes." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_XMLDocument_contentType, "Use the URLRequest.contentType property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_XMLDocument_status, "Check for the possible exceptions thrown by the XMLDocument constructor or the XMLDocument.parseXML method instead. For more information, see XMLDocument." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Button, "The Button class has been renamed SimpleButton." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Container, "The Container class has been renamed DisplayObjectContainer." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Image, "The Image class has been renamed BitmapData." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_ImageFilter, "The ImageFilter class has been renamed BitmapFilter." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_ImageSprite, "The ImageSprite class has been renamed Bitmap." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_ImageLoaderInfo, "The ImageLoaderInfo class has been renamed BitmapLoaderInfo." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_ImeEvent, "The ImeEvent class has been renamed IMEEvent." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Key, "The Key class has been renamed Keyboard." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_LineMetrics, "The LineMetrics class has been renamed TextLineMetrics." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_LoadVars, "For more information, see the URLVariables class, the URLRequest.urlVariables and URLRequest.postData properties, and the URLLoader.dataFormat property." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_MenuEvent, "The MenuEvent class has been renamed ContextMenuEvent." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_SystemCapabilities, "The SystemCapabilities class has been renamed Capabilities." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_TextExtents, "Use the TextField.getLineMetrics property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Button, "The Button class has been renamed SimpleButton." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Container, "The Container class has been renamed DisplayObjectContainer." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Image, "The Image class has been renamed BitmapData." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_ImageFilter, "The ImageFilter class has been renamed BitmapFilter." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_ImageSprite, "The ImageSprite class has been renamed Bitmap." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_ImageLoaderInfo, "The ImageLoaderInfo class has been renamed BitmapLoaderInfo." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_ImeEvent, "The ImeEvent class has been renamed IMEEvent." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Key, "The Key class has been renamed Keyboard." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_LineMetrics, "The LineMetrics class has been renamed TextLineMetrics." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_LoadVars, "For more information, see the URLVariables class, the URLRequest.urlVariables and URLRequest.postData properties, and the URLLoader.dataFormat property." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MenuEvent, "The MenuEvent class has been renamed ContextMenuEvent." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_SystemCapabilities, "The SystemCapabilities class has been renamed Capabilities." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_TextExtents, "Use the TextField.getLineMetrics property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Object___resolve , "For more information, see help for the Proxy class, which offers similar functionality." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_XMLUI_get, "Use the XMLUI.getProperty method instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_XMLUI_set, "Use the XMLUI.setProperty method instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_DisplayObject_accProps, "Use the DisplayObject.accessibilityProperties property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_DisplayObject_setScalingGrid, "Use the DisplayObject.scale9Grid property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Graphics_drawCircle, "Use the Graphics.drawOval method instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_NetConnection_isConnected, "Use the NetConnection.connected property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Socket_isConnected, "Use the Socket.connected property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_URLStream_isConnected, "Use the URLStream.connected property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_SyncEvent_list, "Use the SyncEvent.changeList property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_TextField_scroll, "Use the TextField.scrollV property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_TextField_bottomScroll, "Use the TextField.bottomScrollV property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_BitmapData_RED_CHANNEL, "Use the BitmapDataChannel.RED constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_BitmapData_GREEN_CHANNEL, "Use the BitmapDataChannel.GREEN constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_BitmapData_BLUE_CHANNEL, "Use the BitmapDataChannel.BLUE constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_BitmapData_ALPHA_CHANNEL, "Use the BitmapDataChannel.ALPHA constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_instanceof, "Use the is operator instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_System_showSettings, "Use the flash.system.Security.showSettings method instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_System_useCodepage, "Use the System.useCodePage property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_AsBroadcaster, "Use the flash.events.EventDispatcher class instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_SimpleButton_Soundbuftime, "Use the static propery flash.media.SoundMixer.bufferTime instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_BitmapData_loadBitmap, "Create a new instance of the bitmap library symbol class, i.e. new myBitmapName(), instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_loadVariables, "For more information, see Loader.load()." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_MovieClipLoader, "The MovieClipLoader class has been replaced by the flash.display.Loader class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClipLoader, "The MovieClipLoader class has been replaced by the flash.display.Loader class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_IME_addListener, "For more information, see addEventListener(eventName, listener, useCapture, priority )." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_IME_removeListener, "For more information, see removeEventListener(eventName, listener, useCapture)." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_IME_ALPHANUMERIC_FULL, "Use the flash.system.IMEConversionMode.ALPHANUMERIC_FULL constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_IME_ALPHANUMERIC_HALF, "Use the flash.system.IMEConversionMode.ALPHANUMERIC_HALF constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_IME_CHINESE, "Use the flash.system.IMEConversionMode.CHINESE constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_IME_JAPANESE_HIRAGANA, "Use the flash.system.IMEConversionMode.JAPANESE_HIRAGANA constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_IME_JAPANESE_KATAKANA_FULL, "Use the flash.system.IMEConversionMode.JAPANESE_KATAKANA_FULL constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_IME_JAPANESE_KATAKANA_HALF, "Use the flash.system.IMEConversionMode.JAPANESE_KATAKANA_HALF constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_IME_KOREAN, "Use the flash.system.IMEConversionMode.KOREAN constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_IME_UNKNOWN, "Use the flash.system.IMEConversionMode.UNKNOWN constant instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_FileReferenceList_addListener, "For more information, see addEventListener ( eventName, listener, useCapture, priority )." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_FileReferenceList_removeListener, "For more information, see removeEventListener ( eventName, listener, useCapture)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onCancel, "The onCancel event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( cancel, onCancel)." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Keyboard__listeners, "There is no direct replacement. The willTrigger() method can be used to tell if any listeners have been registered." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onIMEComposition, "The onIMEComposition event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( imeComposition, handlerName)." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_SimpleButton__url, "For more information, see LoaderInfo.url and the Loader class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Date_getYear, "Use the getFullYear() method instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Date_setYear, "Use the setFullYear() method instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Date_getUTCYear, "Use the getUTCFullYear() method instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Microphone_setRate, "Use the rate property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Selection, "The Selection class has been removed. For more information, see the addEventListener method of the class you want selection information from." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Selection, "The Selection class has been removed. For more information, see the addEventListener method of the class you want selection information from." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Microphone_setGain, "Use the gain property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_ColorTransform_getTransform, "Color values can be assigned directly using the ColorTransform class constructor or properties." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_ColorTransform_setTransform, "Color values can be assigned directly using the ColorTransform class constructor or properties." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_MovieClip_focusEnabled, "See help for the focus related properties of the flash.display.InteractiveObject class." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_beginBitmapFill, "See help for the flash.display.Graphics.beginBitmapFill method." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_hitTest, "See help for the flash.display.DisplayObject.hitTestObject() method." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_MovieClip_attachBitmap, "See help for the addChild() method." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Sound_loadSound, "Use the load() method instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Sound_getVolume, "Use flash.media.SoundChannel.leftPeak and flash.media.SoundChannel.rightPeak to monitor and control the amplitude of a sound channel." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Sound_getTransform, "Use the soundTransform property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Sound_getPan, "Use the SoundTransform.pan property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Sound_setPan, "Use the SoundTransform.pan property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Sound_getBytesLoaded, "Use the bytesLoaded property instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Sound_getBytesTotal, "Use the bytesTotal property instead." );
- warningConstantsEN[index++] = new AscWarning(kWarning_SlowTextFieldAddition, "Inefficient use of += on a TextField." );
- warningConstantsEN[index++] = new AscWarning(kWarning_SlowTextFieldAddition_specific, "Appending text to a TextField using += is many times slower than using the TextField.appendText() method." );
- warningConstantsEN[index++] = new AscWarning(kWarning_UnlikelyFunctionValue, "Possible missing parentheses." );
- warningConstantsEN[index++] = new AscWarning(kWarning_UnlikelyFunctionValue_specific, "Function value used where type %s was expected. Possibly the parentheses () are missing after this function reference." );
- warningConstantsEN[index++] = new AscWarning(kWarning_InstanceOfChanges, "Use of the instanceof operator." );
- warningConstantsEN[index++] = new AscWarning(kWarning_InstanceOfChanges_specific, "The instanceof operator is deprecated, use the is operator instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_LocalConnection_allowDomain, "The allowDomain() event handler is now a standard method, rather than an event callback. For more information, see the new LocalConnection.allowDomain method." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_LocalConnection_allowInsecureDomain, "The allowInsecureDomain() event handler is now a standard method, rather than an event callback. For more information, see the new LocalConnection.allowInsecureDomain method." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_call, "The global call() method is no longer supported." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_Color, "The Color class has been removed. Use the flash.geom.ColorTransform class for equivalent functionality." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Color, "The Color class has been removed. Use the flash.geom.ColorTransform class for equivalent functionality." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_System_exactSettings, "ActionScript 3.0 SWF files always use exact domain matching rules." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp_capabilities, "The capabilities class has been renamed Capabilities." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_capabilities, "The capabilities class has been renamed Capabilities." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_FileReference_addListener, "For more information, see addEventListener(eventName, listener, useCapture, priority )." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_FileReference_removeListener, "For more information, see removeEventListener(eventName, listener, useCapture)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onComplete, "The onComplete event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ('complete', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onHTTPError, "The onHTTPError event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ('httpError', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onIOError, "The onIOError event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ('ioError', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onProgress, "The onProgress event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ('progress', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onSecurityError, "The onSecurityError event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ('securityError', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_Event_onOpen, "The onOpen event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ('open', callback_handler)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_XML_ClassHasChanged, "Possible usage of the ActionScript 2.0 XML class." );
- warningConstantsEN[index++] = new AscWarning(kWarning_XML_ClassHasChanged_specific, "Migration issue: The ActionScript 2.0 XML class has been renamed XMLDocument." );
- warningConstantsEN[index++] = new AscWarning(kWarning_BadDateCast, "Invalid Date cast operation." );
- warningConstantsEN[index++] = new AscWarning(kWarning_BadDateCast_specific, "Date(x) behaves the same as new Date().toString(). To cast a value to type Date use \"x as Date\" instead of Date(x)." );
- warningConstantsEN[index++] = new AscWarning(kWarning_ImportHidesClass, "Importing a package by the same name as the current class will hide that class identifier in this scope." );
- warningConstantsEN[index++] = new AscWarning(kWarning_ImportHidesClass_specific, "Importing a package by the same name as the current class will hide that class identifier in this scope." );
- warningConstantsEN[index++] = new AscWarning(kWarning_DuplicateArgumentNames, "More than one argument has the same name." );
- warningConstantsEN[index++] = new AscWarning(kWarning_DuplicateArgumentNames_specific, "More than one argument named '%s' specified. References to that argument will always resolve to the last one." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_Rectangle_containsRectangle, "Use the Rectangle.containsRect method instead." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_eval, "This functionality has been removed." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_getVersion, "This functionality has been replaced by the flash.system.Capabilities.version property." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedMeth_ifFrameLoaded, "This functionality has been replaced by the flash.display.MovieClip.framesLoaded property." );
- warningConstantsEN[index++] = new AscWarning(kUnsupportedProp__global, "The _global property has been removed. For equivalent functionality, use a static member of a class." );
- warningConstantsEN[index++] = new AscWarning(kWarning_BadBoolAssignment, "Non-Boolean value used where a Boolean value was expected." );
- warningConstantsEN[index++] = new AscWarning(kWarning_BadBoolAssignment_specific, "%s used where a Boolean value was expected. The expression will be type coerced to Boolean." );
- warningConstantsEN[index++] = new AscWarning(kWarning_BadES3TypeProp, "Unknown property." );
- warningConstantsEN[index++] = new AscWarning(kWarning_BadES3TypeProp_specific, "%s is not a recognized property of the dynamic class %s." );
- warningConstantsEN[index++] = new AscWarning(kWarning_BadES3TypeMethod, "Unknown method." );
- warningConstantsEN[index++] = new AscWarning(kWarning_BadES3TypeMethodProp_specific, "%s is not a recognized method of the dynamic class %s." );
- warningConstantsEN[index++] = new AscWarning(kWarning_DuplicateVariableDef, "Duplicate variable definition." );
- warningConstantsEN[index++] = new AscWarning(kWarning_DuplicateVariableDef_specific, "Duplicate variable definition." );
- warningConstantsEN[index++] = new AscWarning(kWarning_DefinitionShadowedByPackageName, "Definition name is the same as an imported package name. Unqualified references to that name will resolve to the package and not the definition." );
- warningConstantsEN[index++] = new AscWarning(kWarning_DefinitionShadowedByPackageName_specific, "Definition name is the same as an imported package name. Unqualified references to that
<TRUNCATED>
[17/50] [abbrv] add missing headers
Posted by jo...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/amd/JSAMDEmitterTokens.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/amd/JSAMDEmitterTokens.java b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/amd/JSAMDEmitterTokens.java
index 2902098..122f711 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/amd/JSAMDEmitterTokens.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/amd/JSAMDEmitterTokens.java
@@ -1,3 +1,21 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
package org.apache.flex.compiler.internal.codegen.js.amd;
import org.apache.flex.compiler.codegen.IEmitterTokens;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogDocEmitterTokens.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogDocEmitterTokens.java b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogDocEmitterTokens.java
index 17e3bdb..bfff957 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogDocEmitterTokens.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogDocEmitterTokens.java
@@ -1,3 +1,21 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
package org.apache.flex.compiler.internal.codegen.js.goog;
import org.apache.flex.compiler.codegen.IEmitterTokens;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitterTokens.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitterTokens.java b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitterTokens.java
index 043f4ec..9380cf6 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitterTokens.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitterTokens.java
@@ -1,3 +1,21 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
package org.apache.flex.compiler.internal.codegen.js.goog;
import org.apache.flex.compiler.codegen.IEmitterTokens;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogPublisher.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogPublisher.java b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogPublisher.java
index d43c932..01b52f2 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogPublisher.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogPublisher.java
@@ -1,3 +1,21 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
package org.apache.flex.compiler.internal.codegen.js.goog;
import java.io.File;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
index 61f175e..050df56 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
@@ -1,3 +1,21 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
package org.apache.flex.compiler.internal.codegen.mxml.flexjs;
import java.io.BufferedReader;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx/src/org/apache/flex/compiler/internal/driver/js/flexjs/JSCSSCompilationSession.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/driver/js/flexjs/JSCSSCompilationSession.java b/compiler.jx/src/org/apache/flex/compiler/internal/driver/js/flexjs/JSCSSCompilationSession.java
index c285aac..b063168 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/driver/js/flexjs/JSCSSCompilationSession.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/driver/js/flexjs/JSCSSCompilationSession.java
@@ -1,3 +1,21 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
package org.apache.flex.compiler.internal.driver.js.flexjs;
import java.util.ArrayList;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2807e507/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java b/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
index 8a3209d..9ec9c1b 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
@@ -1,3 +1,21 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
package org.apache.flex.compiler.internal.graph;
import java.io.File;
[19/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - fix
wrong label
Posted by jo...@apache.org.
fix wrong label
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/0c04cd45
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/0c04cd45
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/0c04cd45
Branch: refs/heads/maven
Commit: 0c04cd450dd91d69218e1500d71c8ea82addcbfd
Parents: 2807e50
Author: Alex Harui <ah...@apache.org>
Authored: Mon Apr 7 22:45:20 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Apr 7 22:45:20 2014 -0700
----------------------------------------------------------------------
README | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/0c04cd45/README
----------------------------------------------------------------------
diff --git a/README b/README
index 6702de2..496bf6c 100644
--- a/README
+++ b/README
@@ -88,7 +88,7 @@ Install Prerequisites
JFlex jar (*6) JFLEX_JAR
- Adobe Flex SDK or repository FLEX_HOME
+ Apache Flex SDK or repository FLEX_HOME
==================================================================================
[35/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - try to
get compiler.jx scripts to be executable
Posted by jo...@apache.org.
try to get compiler.jx scripts to be executable
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/0797bba1
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/0797bba1
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/0797bba1
Branch: refs/heads/maven
Commit: 0797bba1b93ab8b86119846e1cc7306361cac15d
Parents: 1b0aa55
Author: Alex Harui <ah...@apache.org>
Authored: Wed Apr 16 23:20:17 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Apr 16 23:20:17 2014 -0700
----------------------------------------------------------------------
build.xml | 6 ++++++
compiler.jx/build.xml | 2 ++
2 files changed, 8 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/0797bba1/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 70af1ee..6ce3256 100644
--- a/build.xml
+++ b/build.xml
@@ -356,6 +356,7 @@
<exclude name="compiler/generated/dist/sdk/bin/**"/>
<exclude name="compiler/generated/dist/sdk/bin-legacy/**"/>
<exclude name="compiler/commandline/**"/>
+ <exclude name="compiler.jx/bin/**"/>
<exclude name="**/assets/**"/>
<exclude name="**/*.fla"/>
<exclude name="**/*.flv"/>
@@ -371,6 +372,11 @@
<fixcrlf srcdir="${basedir}/temp/compiler/commandline" eol="crlf" fixlast="false">
<include name="**.bat"/>
</fixcrlf>
+ <fixcrlf srcdir="${basedir}/temp/compiler.jx/bin" eol="crlf" fixlast="false">
+ <include name="**.bat"/>
+ </fixcrlf>
+ <chmod dir="${basedir}/temp/compiler/commandline" excludes="**/*.bat" perm="+x" />
+ <chmod dir="${basedir}/temp/compiler.jx/bin" excludes="**/*.bat" perm="+x" />
<!--
Unix shell scripts need the correct line endings.
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/0797bba1/compiler.jx/build.xml
----------------------------------------------------------------------
diff --git a/compiler.jx/build.xml b/compiler.jx/build.xml
index 7d53854..e47c8e0 100644
--- a/compiler.jx/build.xml
+++ b/compiler.jx/build.xml
@@ -116,6 +116,8 @@
</filelist>
</copy>
+ <chmod dir="${basedir}/bin" excludes="**/*.bat" perm="+x" />
+
<antcall target="clean" />
</target>
[02/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - fix
some line-ending issues
Posted by jo...@apache.org.
fix some line-ending issues
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/eeb5fc1c
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/eeb5fc1c
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/eeb5fc1c
Branch: refs/heads/maven
Commit: eeb5fc1cf4c9cd476e952f942c412bfd5b3b0b9c
Parents: 8323661
Author: Alex Harui <ah...@apache.org>
Authored: Sat Apr 5 15:39:07 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Sat Apr 5 15:39:07 2014 -0700
----------------------------------------------------------------------
build.xml | 21 ++++++++++++---------
installer.xml | 2 ++
2 files changed, 14 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/eeb5fc1c/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 6baf9b9..28380fb 100644
--- a/build.xml
+++ b/build.xml
@@ -233,10 +233,10 @@
<!--
Source files have Windows line endings. Most UNIX editors can handle
either type of line endings but the converse is often not true.
- The bin directory is handled in stage-bin.
-->
<fixcrlf srcdir="${basedir}/temp" eol="crlf" fixlast="false">
- <exclude name="bin/**"/>
+ <exclude name="compiler/generated/dist/sdk/bin/**"/>
+ <exclude name="compiler/generated/dist/sdk/bin-legacy/**"/>
<exclude name="**/assets/**"/>
<exclude name="**/*.fla"/>
<exclude name="**/*.flv"/>
@@ -252,11 +252,11 @@
<!--
Unix shell scripts need the correct line endings.
- The bin directory is handled in stage-bin.
- -->
+ -->
<fixcrlf srcdir="${basedir}/temp" eol="unix" fixlast="false">
<include name="**.sh"/>
- <exclude name="bin/**"/>
+ <exclude name="compiler/generated/dist/sdk/bin/**"/>
+ <exclude name="compiler/generated/dist/sdk/bin-legacy/**"/>
</fixcrlf>
</target>
@@ -335,10 +335,10 @@
<!--
Source files have Windows line endings. Most UNIX editors can handle
either type of line endings but the converse is often not true.
- The bin directory is handled in stage-bin.
-->
<fixcrlf srcdir="${basedir}/temp" eol="crlf" fixlast="false">
- <exclude name="bin/**"/>
+ <exclude name="compiler/generated/dist/sdk/bin/**"/>
+ <exclude name="compiler/generated/dist/sdk/bin-legacy/**"/>
<exclude name="**/assets/**"/>
<exclude name="**/*.fla"/>
<exclude name="**/*.flv"/>
@@ -354,11 +354,11 @@
<!--
Unix shell scripts need the correct line endings.
- The bin directory is handled in stage-bin.
-->
<fixcrlf srcdir="${basedir}/temp" eol="unix" fixlast="false">
<include name="**.sh"/>
- <exclude name="bin/**"/>
+ <exclude name="compiler/generated/dist/sdk/bin/**"/>
+ <exclude name="compiler/generated/dist/sdk/bin-legacy/**"/>
</fixcrlf>
</target>
@@ -431,6 +431,9 @@
<include name="swfdump"/>
</fixcrlf>
+ <chmod dir="${basedir}/temp/compiler/generated/dist/sdk/bin" excludes="**/*.bat" perm="+x" />
+ <chmod dir="${basedir}/temp/compiler/generated/dist/sdk/bin-legacy" excludes="**/*.bat" perm="+x" />
+
<antcall target="binary-package-zip"/>
<antcall target="binary-package-tgz"/>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/eeb5fc1c/installer.xml
----------------------------------------------------------------------
diff --git a/installer.xml b/installer.xml
index 0eb1ed9..26d8b79 100644
--- a/installer.xml
+++ b/installer.xml
@@ -151,11 +151,13 @@
<include name="**/**"/>
</fileset>
</copy>
+ <!-- flex-asjs has custom files
<copy todir="${FLEX_HOME}/js/bin" failOnError="false" overwrite="true">
<fileset dir="${FALCON_HOME}/js/bin">
<include name="**/**"/>
</fileset>
</copy>
+ -->
</target>
</project>
[20/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - more
info for readmes
Posted by jo...@apache.org.
more info for readmes
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/44c1e682
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/44c1e682
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/44c1e682
Branch: refs/heads/maven
Commit: 44c1e68278e0a7975eacf9336f0cd5145b891711
Parents: 0c04cd4
Author: Alex Harui <ah...@apache.org>
Authored: Tue Apr 8 09:08:02 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Apr 8 09:08:02 2014 -0700
----------------------------------------------------------------------
README | 2 +-
README_JX | 16 ++++++++++++++++
2 files changed, 17 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/44c1e682/README
----------------------------------------------------------------------
diff --git a/README b/README
index 496bf6c..1009aad 100644
--- a/README
+++ b/README
@@ -88,7 +88,7 @@ Install Prerequisites
JFlex jar (*6) JFLEX_JAR
- Apache Flex SDK or repository FLEX_HOME
+ Apache Flex SDK or repository FLEX_HOME
==================================================================================
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/44c1e682/README_JX
----------------------------------------------------------------------
diff --git a/README_JX b/README_JX
index 758ece5..97d9e6f 100644
--- a/README_JX
+++ b/README_JX
@@ -39,6 +39,22 @@ Building the Apache Flex Cross-Compiler
Linux support is currently experimental and while it is possible to compile
the SDK it has not been fully tested so you may run into issues.
+Install Prerequisites
+---------------------
+
+ Before building the Apache Flex FalconJX Compiler you must install the same
+ software as specified in the main README. In addition, you will also need:
+
+ ==================================================================================
+ SOFTWARE ENVIRONMENT VARIABLE (absolute paths)
+ ==================================================================================
+
+ Apache FlexJS SDK or repository ASJS_HOME
+
+ ==================================================================================
+
+ *1) Set the ASJS_HOME variable to the root of the Apache FlexJS SDK or repository.
+
Software Dependencies
---------------------
[44/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - first
two poms for mavenizing flex falcon project and main compiler. Both build
successful. Note that JBurg dependency is not available in public repository
yet
Posted by jo...@apache.org.
first two poms for mavenizing flex falcon project and main compiler. Both build successful. Note that JBurg dependency is not available in public repository yet
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/4ae81a82
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/4ae81a82
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/4ae81a82
Branch: refs/heads/maven
Commit: 4ae81a82215ec3e0fbfe211205cb882adfaae0ec
Parents: a0afc81
Author: Jose Barragan <jo...@apache.org>
Authored: Fri Feb 28 10:45:22 2014 +0100
Committer: Jose Barragan <jo...@apache.org>
Committed: Thu Apr 24 18:03:13 2014 +0200
----------------------------------------------------------------------
compiler/pom.xml | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++
pom.xml | 21 ++++++++++++++
2 files changed, 98 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/4ae81a82/compiler/pom.xml
----------------------------------------------------------------------
diff --git a/compiler/pom.xml b/compiler/pom.xml
new file mode 100644
index 0000000..3aa8061
--- /dev/null
+++ b/compiler/pom.xml
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <artifactId>falcon</artifactId>
+ <groupId>org.apache.flex</groupId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>compiler</artifactId>
+ <name>Falcon Compiler</name>
+ <description>Falcon Flex main compiler</description>
+
+ <packaging>jar</packaging>
+
+ <!-- JFLEX 1.4.3 http://jflex.sourceforge.net/maven-jflex-plugin/usage.html-->
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>de.jflex</groupId>
+ <artifactId>maven-jflex-plugin</artifactId>
+ <version>1.4.3</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <!-- antlr - http://www.antlr.org/download/antlr-3.3-complete.jar -->
+ <dependency>
+ <groupId>org.antlr</groupId>
+ <artifactId>antlr-runtime</artifactId>
+ <version>3.3</version>
+ </dependency>
+ <!-- commons-cli - http://archive.apache.org/dist/commons/cli/binaries/commons-cli-1.2-bin.tar.gz -->
+ <dependency>
+ <groupId>commons-cli</groupId>
+ <artifactId>commons-cli</artifactId>
+ <version>1.2</version>
+ </dependency>
+ <!-- commons-io - http://archive.apache.org/dist/commons/io/binaries/commons-io-2.0.1-bin.tar.gz -->
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>2.0.1</version>
+ </dependency>
+ <!-- guava - http://guava-libraries.googlecode.com/files/guava-r08.zip -->
+ <dependency>
+ <groupId>com.google.guava</groupId>
+ <artifactId>guava</artifactId>
+ <version>r08</version>
+ </dependency>
+ <!-- JBurg - http://downloads.sourceforge.net/project/jburg/jburg-1.10.1.tar.gz (warning! this is not avaialbe publicly, I'm using a private maven repo for this one-->
+ <dependency>
+ <groupId>net.sourceforge</groupId>
+ <artifactId>jburg</artifactId>
+ <version>1.10.1</version>
+ </dependency>
+ <!-- lzma-sdk - http://downloads.sourceforge.net/project/sevenzip/LZMA%20SDK/lzma920.tar.bz2 -->
+ <dependency>
+ <groupId>com.github.jponge</groupId>
+ <artifactId>lzma-java</artifactId>
+ <version>1.2</version>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/4ae81a82/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..eb992e6
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.apache.flex</groupId>
+ <artifactId>falcon</artifactId>
+ <version>1.0-SNAPSHOT</version>
+
+ <name>Falcon</name>
+ <description>Flex Java Compiler Modules</description>
+
+ <packaging>pom</packaging>
+
+ <modules>
+ <module>compiler</module>
+ </modules>
+
+</project>
\ No newline at end of file
[26/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - add
more issues
Posted by jo...@apache.org.
add more issues
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/bd224cf9
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/bd224cf9
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/bd224cf9
Branch: refs/heads/maven
Commit: bd224cf966cc9b3f02569221372f295aa21df931
Parents: 07f66be
Author: Alex Harui <ah...@apache.org>
Authored: Tue Apr 15 11:22:50 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Apr 15 20:13:22 2014 -0700
----------------------------------------------------------------------
RELEASE_NOTES | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/bd224cf9/RELEASE_NOTES
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index daa471c..847540d 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -4,7 +4,9 @@ Apache Flex 'Falcon' Compiler 0.0.1
Apache Flex 'Falcon' Compiler 0.0.1 is the initial release of a next-generation
compiler intended to someday replace the MXMLC in Apache Flex SDKs, and is the
compiler for Apache FlexJS SDKs. It is based on the Adobe ASC2.0 compiler but
-officially supports MXML compilation and includes some bug fixes.
+officially supports MXML compilation and includes some bug fixes. This is an
+'alpha' type of release. Expect to find lots of bugs and missing features, but
+please file bugs and contribute fixes.
Known Issues
_____________
@@ -15,6 +17,20 @@ The Apache Flex Falcon compiler should work in Adobe Flash Builder 4.7, but does
not support incremental compilation and may compile the project even if nothing
has changed.
+
+Unit Test results in compiler.tests
+
+The jar.tests report "Java Result: 1" which is expected as all these tests do is verify that the jar is executable and has a "main" entry point which in this case reports the compiler usage help and returns 1.
+
+Compilation Warnings
+
+The Java compiler will report warnings for several files in this release.
+
+Files in compiler/commandline
+
+The files in compiler/commandline are templates used to create a 'final' SDK. You cannot run the files in compiler/commandline. Instead, after the build is complete, there will be an SDK with a bin folder with the same files in compiler/generated/dist/sdk
+
+
Please report new issues to our bugbase at:
https://issues.apache.org/jira/browse/FLEX
[39/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] -
another hardcoded player version
Posted by jo...@apache.org.
another hardcoded player version
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/e6d94dd2
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/e6d94dd2
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/e6d94dd2
Branch: refs/heads/maven
Commit: e6d94dd2b062327037d241cc23fdcf4a322bf4f1
Parents: af9b79f
Author: Alex Harui <ah...@apache.org>
Authored: Tue Apr 22 14:41:59 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Apr 22 14:41:59 2014 -0700
----------------------------------------------------------------------
compiler.tests/functional-tests/f/SDKSWCTests.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/e6d94dd2/compiler.tests/functional-tests/f/SDKSWCTests.java
----------------------------------------------------------------------
diff --git a/compiler.tests/functional-tests/f/SDKSWCTests.java b/compiler.tests/functional-tests/f/SDKSWCTests.java
index 56b0bef..67caeae 100644
--- a/compiler.tests/functional-tests/f/SDKSWCTests.java
+++ b/compiler.tests/functional-tests/f/SDKSWCTests.java
@@ -91,7 +91,7 @@ public class SDKSWCTests
{
"-load-config+=" + configFile,
"+env.PLAYERGLOBAL_HOME=" + env.FPSDK,
- "+playerglobal.version=11.1",
+ "+playerglobal.version=" + env.FPVER,
"-output=" + output
};
[04/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - the --
got in the way so just delete it
Posted by jo...@apache.org.
the -- got in the way so just delete it
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/11946a1f
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/11946a1f
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/11946a1f
Branch: refs/heads/maven
Commit: 11946a1f9000a243b59ee920897a2890b28c4558
Parents: 740724c
Author: Alex Harui <ah...@apache.org>
Authored: Sun Apr 6 00:02:45 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Sun Apr 6 00:02:45 2014 -0700
----------------------------------------------------------------------
jenkins.xml | 18 ------------------
1 file changed, 18 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/11946a1f/jenkins.xml
----------------------------------------------------------------------
diff --git a/jenkins.xml b/jenkins.xml
index b9eecf7..672b187 100644
--- a/jenkins.xml
+++ b/jenkins.xml
@@ -35,24 +35,6 @@
</target>
<target name="clear.sdk.lock" >
- <!-- attempt to delete file on builds.apache.org that is gumming up the sdk build
- <delete file="f:/hudson/hudson-slave/workspace/flex-sdk/.git/index.lock" />
- <echo>Running git status</echo>
- <exec executable="git" dir="f:/hudson/hudson-slave/workspace/flex-sdk" failonerror="true">
- <arg value="status"/>
- </exec>
- <echo>Running git checkout</echo>
- <exec executable="git" dir="f:/hudson/hudson-slave/workspace/flex-sdk" failonerror="true">
- <arg value="checkout"/>
- <arg value="--"/>
- <arg value="."/>
- </exec>
- <echo>Running git clean</echo>
- <exec executable="git" dir="f:/hudson/hudson-slave/workspace/flex-sdk" failonerror="true">
- <arg value="clean"/>
- <arg value="-fd"/>
- </exec>
- -->
</target>
<target name="jflex-download" description="Copies JFlex from JFlex website">
[25/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - try to
fix line endings in package
Posted by jo...@apache.org.
try to fix line endings in package
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/3a523215
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/3a523215
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/3a523215
Branch: refs/heads/maven
Commit: 3a52321562d3dbc491ad29851692014b0dcdbd7c
Parents: bd224cf
Author: Alex Harui <ah...@apache.org>
Authored: Tue Apr 15 11:23:29 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Apr 15 20:13:22 2014 -0700
----------------------------------------------------------------------
build.xml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3a523215/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index e8a3020..2c326be 100644
--- a/build.xml
+++ b/build.xml
@@ -235,6 +235,7 @@
<fixcrlf srcdir="${basedir}/temp" eol="crlf" fixlast="false">
<exclude name="compiler/generated/dist/sdk/bin/**"/>
<exclude name="compiler/generated/dist/sdk/bin-legacy/**"/>
+ <exclude name="compiler/commandline/**"/>
<exclude name="**/assets/**"/>
<exclude name="**/*.fla"/>
<exclude name="**/*.flv"/>
@@ -247,6 +248,12 @@
<exclude name="**/*.sh"/>
<exclude name="**/*.swf"/>
</fixcrlf>
+ <fixcrlf srcdir="${basedir}/temp/compiler/commandline" eol="crlf" fixlast="false">
+ <include name="**.bat"/>
+ </fixcrlf>
+ <fixcrlf srcdir="${basedir}/temp/compiler/generated/dist/sdk/bin" eol="crlf" fixlast="false">
+ <include name="**.bat"/>
+ </fixcrlf>
<!--
Unix shell scripts need the correct line endings.
@@ -351,6 +358,7 @@
<fixcrlf srcdir="${basedir}/temp" eol="crlf" fixlast="false">
<exclude name="compiler/generated/dist/sdk/bin/**"/>
<exclude name="compiler/generated/dist/sdk/bin-legacy/**"/>
+ <exclude name="compiler/commandline/**"/>
<exclude name="**/assets/**"/>
<exclude name="**/*.fla"/>
<exclude name="**/*.flv"/>
@@ -363,6 +371,12 @@
<exclude name="**/*.sh"/>
<exclude name="**/*.swf"/>
</fixcrlf>
+ <fixcrlf srcdir="${basedir}/temp/compiler/commandline" eol="crlf" fixlast="false">
+ <include name="**.bat"/>
+ </fixcrlf>
+ <fixcrlf srcdir="${basedir}/temp/compiler/generated/dist/sdk/bin" eol="crlf" fixlast="false">
+ <include name="**.bat"/>
+ </fixcrlf>
<!--
Unix shell scripts need the correct line endings.
[30/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] -
Switching to JFLex1.5 broke the ability to send in a partial tag so now we
send in a full tag
Posted by jo...@apache.org.
Switching to JFLex1.5 broke the ability to send in a partial tag so now we send in a full tag
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/95bc9c3f
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/95bc9c3f
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/95bc9c3f
Branch: refs/heads/maven
Commit: 95bc9c3f91191af8c117450ce99e8d03dae5fea5
Parents: 02d113c
Author: Alex Harui <ah...@apache.org>
Authored: Tue Apr 15 20:09:21 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Apr 15 20:13:26 2014 -0700
----------------------------------------------------------------------
.../apache/flex/compiler/internal/tree/mxml/MXMLNodeBase.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/95bc9c3f/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLNodeBase.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLNodeBase.java b/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLNodeBase.java
index e13a0ea..2f7b018 100644
--- a/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLNodeBase.java
+++ b/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLNodeBase.java
@@ -220,10 +220,11 @@ public abstract class MXMLNodeBase extends NodeBase implements IMXMLNode
protected static boolean isValidXMLTagName(String tagName)
{
String s = "<" + tagName;
- IMXMLToken[] tokens = mxmlTokenizer.get().getTokens(s);
- return tokens != null && tokens.length == 1 &&
+ IMXMLToken[] tokens = mxmlTokenizer.get().getTokens(s + "/>");
+ return tokens != null && tokens.length == 2 &&
tokens[0].getType() == MXMLTokenTypes.TOKEN_OPEN_TAG_START &&
- tokens[0].getText().equals(s);
+ tokens[0].getText().equals(s) &&
+ tokens[1].getType() == MXMLTokenTypes.TOKEN_EMPTY_TAG_END;
}
/**
[28/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - Revert
"guarantee that target-player gets processed before library-path otherwise
wrong player gets checked"
Posted by jo...@apache.org.
Revert "guarantee that target-player gets processed before library-path otherwise wrong player gets checked"
This reverts commit b5a06269f51aa1843cc6da79dd3a6eb0f4848345.
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/aecf7b86
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/aecf7b86
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/aecf7b86
Branch: refs/heads/maven
Commit: aecf7b86eb2d37cc14dc9fcc879d56270dbc4a42
Parents: 8a356a8
Author: Alex Harui <ah...@apache.org>
Authored: Tue Apr 15 11:24:33 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Apr 15 20:13:24 2014 -0700
----------------------------------------------------------------------
.../compiler/config/ConfigurationBuffer.java | 23 --------------------
1 file changed, 23 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/aecf7b86/compiler/src/org/apache/flex/compiler/config/ConfigurationBuffer.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/config/ConfigurationBuffer.java b/compiler/src/org/apache/flex/compiler/config/ConfigurationBuffer.java
index f76bf17..b6484fd 100644
--- a/compiler/src/org/apache/flex/compiler/config/ConfigurationBuffer.java
+++ b/compiler/src/org/apache/flex/compiler/config/ConfigurationBuffer.java
@@ -102,8 +102,6 @@ import com.google.common.collect.ImmutableList;
*/
public final class ConfigurationBuffer
{
- private static final String TARGET_PLAYER = "target-player";
-
public ConfigurationBuffer(Class<? extends Configuration> configClass)
{
this(configClass, new HashMap<String, String>());
@@ -716,27 +714,6 @@ public final class ConfigurationBuffer
Set<String> done = new HashSet<String>();
boolean success = true;
- // get target-player first because its setting affect expansion of some
- // tokens later. The varList is populated by getMethods() which returns
- // the methods in random order and can result in compiler.library-path being
- // evaluated before target-player and then we end up looking up the wrong
- // version of playerglobal.
- if (varList.contains(TARGET_PLAYER))
- {
- varList.remove(TARGET_PLAYER);
- if (varMap.containsKey(TARGET_PLAYER))
- {
- try
- {
- commitVariable(config, TARGET_PLAYER, done);
- }
- catch (ConfigurationException e)
- {
- problems.add(new ConfigurationProblem(e));
- success = false;
- }
- }
- }
for (Iterator<String> vars = varList.iterator(); vars.hasNext();)
{
String var = vars.next();
[34/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - fix
version strings
Posted by jo...@apache.org.
fix version strings
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/1b0aa55c
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/1b0aa55c
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/1b0aa55c
Branch: refs/heads/maven
Commit: 1b0aa55c540e5754e938e2682a11315afb10c705
Parents: dca894b
Author: Alex Harui <ah...@apache.org>
Authored: Wed Apr 16 21:16:53 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Apr 16 21:16:53 2014 -0700
----------------------------------------------------------------------
compiler/build.xml | 2 +-
compiler/src/org/apache/flex/compiler/clients/COMPC.java | 2 +-
compiler/src/org/apache/flex/compiler/clients/MXMLC.java | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/1b0aa55c/compiler/build.xml
----------------------------------------------------------------------
diff --git a/compiler/build.xml b/compiler/build.xml
index 6ead735..2b4d16d 100644
--- a/compiler/build.xml
+++ b/compiler/build.xml
@@ -79,7 +79,7 @@
<!-- JAR manifest entries -->
<property name="manifest.sealed" value="false"/>
<property name="manifest.Implementation-Title" value="Apache Flex Compiler"/>
- <property name="manifest.Implementation-Version" value="2.0.0"/>
+ <property name="manifest.Implementation-Version" value="0.0.1"/>
<property name="manifest.Implementation-Vendor" value="Apache Software Foundation"/>
<property name="compiler.ant.binaries" value="org/apache/flex/compiler/ant/**/*.class"/>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/1b0aa55c/compiler/src/org/apache/flex/compiler/clients/COMPC.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/clients/COMPC.java b/compiler/src/org/apache/flex/compiler/clients/COMPC.java
index 66738c9..988e8d8 100644
--- a/compiler/src/org/apache/flex/compiler/clients/COMPC.java
+++ b/compiler/src/org/apache/flex/compiler/clients/COMPC.java
@@ -110,7 +110,7 @@ public class COMPC extends MXMLC
protected String getStartMessage()
{
// This message should not be localized.
- String message = "Apache SWC Component Compiler (compc)" + NEWLINE +
+ String message = "Apache Flex SWC Component Compiler (compc)" + NEWLINE +
VersionInfo.buildMessage() + NEWLINE;
return message;
}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/1b0aa55c/compiler/src/org/apache/flex/compiler/clients/MXMLC.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/clients/MXMLC.java b/compiler/src/org/apache/flex/compiler/clients/MXMLC.java
index f019771..9181c82 100644
--- a/compiler/src/org/apache/flex/compiler/clients/MXMLC.java
+++ b/compiler/src/org/apache/flex/compiler/clients/MXMLC.java
@@ -1028,7 +1028,7 @@ public class MXMLC
protected String getStartMessage()
{
// This message should not be localized.
- String message = "Apache ActionScript Compiler (mxmlc)" + NEWLINE +
+ String message = "Apache Flex MXML and ActionScript Compiler (mxmlc)" + NEWLINE +
VersionInfo.buildMessage() + NEWLINE;
return message;
}
[49/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - bump
JFlex dependency plugin version to 1.5.0
Posted by jo...@apache.org.
bump JFlex dependency plugin version to 1.5.0
Signed-off-by: Jose Barragan <jo...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/794893cb
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/794893cb
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/794893cb
Branch: refs/heads/maven
Commit: 794893cbfc2fe6c24aae7260417f1c207f429d34
Parents: fab8314
Author: Jose Barragan <jo...@apache.org>
Authored: Fri Feb 28 19:10:24 2014 +0100
Committer: Jose Barragan <jo...@apache.org>
Committed: Thu Apr 24 18:03:14 2014 +0200
----------------------------------------------------------------------
compiler/pom.xml | 26 +++++++++++---------------
1 file changed, 11 insertions(+), 15 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/794893cb/compiler/pom.xml
----------------------------------------------------------------------
diff --git a/compiler/pom.xml b/compiler/pom.xml
index 3ecc4f0..fb92b95 100644
--- a/compiler/pom.xml
+++ b/compiler/pom.xml
@@ -13,7 +13,7 @@
<artifactId>compiler</artifactId>
<name>Falcon Compiler</name>
- <description>Falcon Flex main compiler</description>
+ <description>The Falcon compiler</description>
<properties>
<javac.debug>true</javac.debug>
@@ -25,14 +25,13 @@
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
- <!-- JFLEX 1.4.3 http://jflex.sourceforge.net/maven-jflex-plugin/usage.html -->
<plugin>
<groupId>de.jflex</groupId>
- <artifactId>maven-jflex-plugin</artifactId>
- <version>1.4.3</version>
+ <artifactId>jflex-maven-plugin</artifactId>
+ <version>1.5.0</version>
<configuration>
- <outputDirectory>target/generated/src</outputDirectory>
- <skeleton>src/org/apache/flex/compiler/internal/parsing/as/skeleton.default</skeleton>
+ <outputDirectory>${project.build.directory}/generated/src</outputDirectory>
+ <skeleton>${project.build.sourceDirectory}/org/apache/flex/compiler/internal/parsing/as/skeleton.default</skeleton>
</configuration>
<executions>
<execution>
@@ -42,10 +41,9 @@
</goals>
<configuration>
<lexDefinitions>
- <lexDefinition>src/org/apache/flex/compiler/internal/parsing/as/RawASTokenizer.lex
- </lexDefinition>
+ <lexDefinition>${project.build.sourceDirectory}/org/apache/flex/compiler/internal/parsing/as/RawASTokenizer.lex</lexDefinition>
</lexDefinitions>
- <skeleton>src/org/apache/flex/compiler/internal/parsing/as/skeleton.falcon</skeleton>
+ <skeleton>${project.build.sourceDirectory}/org/apache/flex/compiler/internal/parsing/as/skeleton.falcon</skeleton>
</configuration>
</execution>
<execution>
@@ -55,8 +53,7 @@
</goals>
<configuration>
<lexDefinitions>
- <lexDefinition>src/org/apache/flex/compiler/internal/parsing/as/RawASDocTokenizer.lex
- </lexDefinition>
+ <lexDefinition>${project.build.sourceDirectory}/org/apache/flex/compiler/internal/parsing/as/RawASDocTokenizer.lex</lexDefinition>
</lexDefinitions>
</configuration>
</execution>
@@ -67,8 +64,7 @@
</goals>
<configuration>
<lexDefinitions>
- <lexDefinition>src/org/apache/flex/compiler/internal/parsing/mxml/RawMXMLTokenizer.lex
- </lexDefinition>
+ <lexDefinition>${project.build.sourceDirectory}/org/apache/flex/compiler/internal/parsing/mxml/RawMXMLTokenizer.lex</lexDefinition>
</lexDefinitions>
</configuration>
</execution>
@@ -141,7 +137,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>antlr3-maven-plugin</artifactId>
- <version>3.1.0</version>
+ <version>1.0</version>
<configuration>
<sourceDirectory>src/org/apache/flex/compiler/internal</sourceDirectory>
<outputDirectory>target/generated/src</outputDirectory>
@@ -249,4 +245,4 @@
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
[10/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - remove
javadoc to see if jenkins build will finish before timing out
Posted by jo...@apache.org.
remove javadoc to see if jenkins build will finish before timing out
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/c97e2a6a
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/c97e2a6a
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/c97e2a6a
Branch: refs/heads/maven
Commit: c97e2a6a3fb6bf142f5d90302769d337bbbc11ef
Parents: ed3795f
Author: Alex Harui <ah...@apache.org>
Authored: Sun Apr 6 19:38:13 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Sun Apr 6 19:38:13 2014 -0700
----------------------------------------------------------------------
build.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/c97e2a6a/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 28380fb..e09e471 100644
--- a/build.xml
+++ b/build.xml
@@ -54,7 +54,7 @@
</path>
<target name="javadoc" description="Builds Falcon's Javadoc at generated/javadoc.">
- <ant dir="compiler" target="javadoc"/>
+ <!--<ant dir="compiler" target="javadoc"/>-->
</target>
<target name="eclipse" description="Prepares or updates Falcon's project(s) for use in Eclipse. This takes care of generating Java files for lexers, parsers, and BURMs.">
[41/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] -
another hardcoded player version
Posted by jo...@apache.org.
another hardcoded player version
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/a0afc813
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/a0afc813
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/a0afc813
Branch: refs/heads/maven
Commit: a0afc81334c3b2b7f096c5f90b71ad12b9a526f2
Parents: bb38ff0
Author: Alex Harui <ah...@apache.org>
Authored: Tue Apr 22 15:14:51 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Apr 22 15:14:51 2014 -0700
----------------------------------------------------------------------
.../src/org/apache/flex/compiler/utils/EnvProperties.java | 10 ++++++++++
1 file changed, 10 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/a0afc813/compiler.jx.tests/src/org/apache/flex/compiler/utils/EnvProperties.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/utils/EnvProperties.java b/compiler.jx.tests/src/org/apache/flex/compiler/utils/EnvProperties.java
index 5418691..ffd7494 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/utils/EnvProperties.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/utils/EnvProperties.java
@@ -61,6 +61,11 @@ public class EnvProperties
*/
public String ASJS;
+ /**
+ * PLAYERGLOBAL_VERSION
+ */
+ public String FPVER;
+
private static EnvProperties env;
public static EnvProperties initiate()
@@ -103,6 +108,11 @@ public class EnvProperties
System.out.println("environment property - PLAYERGLOBAL_HOME = "
+ FPSDK);
+ FPVER = p.getProperty("PLAYERGLOBAL_VERSION", System.getenv("PLAYERGLOBAL_VERSION"));
+ if (FPVER == null)
+ FPVER = "11.1";
+ System.out.println("environment property - PLAYERGLOBAL_VERSION = " + FPVER);
+
AIRSDK = p.getProperty("AIR_HOME", System.getenv("AIR_HOME"));
System.out.println("environment property - AIR_HOME = " + AIRSDK);
[16/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - remove
unused import
Posted by jo...@apache.org.
remove unused import
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/fdf521a7
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/fdf521a7
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/fdf521a7
Branch: refs/heads/maven
Commit: fdf521a7c9dac8f908fbecba4e444d1a55301f70
Parents: dacde80
Author: Alex Harui <ah...@apache.org>
Authored: Mon Apr 7 21:40:12 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Apr 7 21:40:12 2014 -0700
----------------------------------------------------------------------
flex-compiler-oem/src/flex2/tools/oem/internal/OEMReport.java | 1 -
1 file changed, 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/fdf521a7/flex-compiler-oem/src/flex2/tools/oem/internal/OEMReport.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/tools/oem/internal/OEMReport.java b/flex-compiler-oem/src/flex2/tools/oem/internal/OEMReport.java
index 716ea8f..c39aa25 100644
--- a/flex-compiler-oem/src/flex2/tools/oem/internal/OEMReport.java
+++ b/flex-compiler-oem/src/flex2/tools/oem/internal/OEMReport.java
@@ -24,7 +24,6 @@ import java.io.IOException;
import java.io.Writer;
import java.util.ArrayList;
import java.util.HashMap;
-import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
[36/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - update
READMEs and RELEASE_NOTEs with issues found
Posted by jo...@apache.org.
update READMEs and RELEASE_NOTEs with issues found
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/e823ab6f
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/e823ab6f
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/e823ab6f
Branch: refs/heads/maven
Commit: e823ab6fead5a752c4c347f4471c990282dbb0fd
Parents: 0797bba
Author: Alex Harui <ah...@apache.org>
Authored: Fri Apr 18 20:59:44 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Apr 18 20:59:44 2014 -0700
----------------------------------------------------------------------
README | 10 ++++++++--
README_JX | 2 +-
RELEASE_NOTES | 5 +++++
RELEASE_NOTES_JX | 13 ++++++++++++-
4 files changed, 26 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/e823ab6f/README
----------------------------------------------------------------------
diff --git a/README b/README
index 1f55547..4935258 100644
--- a/README
+++ b/README
@@ -4,7 +4,10 @@ Apache Flex Compiler
This Apache Flex Compiler is also known as the 'Falcon' compiler. It is
the next-generation replacement to the MXMLC compiler that is currently
bundled with the Apache Flex SDK and is based on the Adobe ASC2.0 code base
- donated to Apache by Adobe Systems Inc.
+ donated to Apache by Adobe Systems Inc.
+
+ This Compiler may also be packaged with the Apache Flex Cross-Compiler which
+ has additional information in the README_JX file.
For detailed information about Apache Flex please visit
http://flex.apache.org/
@@ -209,7 +212,10 @@ Building the Source in the Source Distribution
----------------------------------------------
When you have all the prerequisites in place and the environment variables
- set (see Install Prerequisites above), use
+ set (see Install Prerequisites above), one final thing to check is whether
+ the folder contain the source code is in your Flash Player Trust files as
+ the build script runs the Flash Player Debugger as part of its automated
+ tests. Once you've done that, use
cd <falcon.dir>
ant main (or just ant since the default target is main)
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/e823ab6f/README_JX
----------------------------------------------------------------------
diff --git a/README_JX b/README_JX
index 97d9e6f..e82459c 100644
--- a/README_JX
+++ b/README_JX
@@ -99,7 +99,7 @@ Building the Source in the Source Distribution
set (see Install Prerequisites above), use
cd <falcon.dir>
- ant all (or just ant since the default target is main)
+ ant all
to download the thirdparty dependencies and build the source. Since the
third-party dependencies take a little while to download and they don't
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/e823ab6f/RELEASE_NOTES
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index 847540d..b48b05b 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -30,6 +30,11 @@ Files in compiler/commandline
The files in compiler/commandline are templates used to create a 'final' SDK. You cannot run the files in compiler/commandline. Instead, after the build is complete, there will be an SDK with a bin folder with the same files in compiler/generated/dist/sdk
+Compiling with the Flex SDK
+
+This compiler has only been tested against the FlexJS SDK which does not exercise all
+of the features of the Flex SDK, so results of compiling against the Flex SDK are
+not guaranteed.
Please report new issues to our bugbase at:
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/e823ab6f/RELEASE_NOTES_JX
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES_JX b/RELEASE_NOTES_JX
index aa2ec67..dbf606e 100644
--- a/RELEASE_NOTES_JX
+++ b/RELEASE_NOTES_JX
@@ -9,7 +9,18 @@ It is an extension of the Apache Flex 'Falcon' Compiler.
Known Issues
_____________
-None at this time.
+Unimplemented Compiler Features
+
+The FlexJS SDK does not support embedding of assets or fonts and the compiler may
+not handle embedding correctly and may even throw errors.
+
+Flex SDK is not supported.
+
+The FalconJX cross-compiler only supports compilation against a FlexJS SDK, not the Apache Flex SDK.
+
+Command-line Usage
+
+The FalconJX cross-compiler supports multiple output types. They are specified to mxmlc and compc scripts and batch files via the options -js-output-type. Only -js-output-type=FLEXJS is supported.
Please report new issues to our bugbase at:
[40/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] -
another hardcoded player version
Posted by jo...@apache.org.
another hardcoded player version
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/bb38ff09
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/bb38ff09
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/bb38ff09
Branch: refs/heads/maven
Commit: bb38ff0967153e735ce253bb12a3cd184dcffa5a
Parents: e6d94dd
Author: Alex Harui <ah...@apache.org>
Authored: Tue Apr 22 15:00:02 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Apr 22 15:00:02 2014 -0700
----------------------------------------------------------------------
compiler.tests/build.xml | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/bb38ff09/compiler.tests/build.xml
----------------------------------------------------------------------
diff --git a/compiler.tests/build.xml b/compiler.tests/build.xml
index 00ee1b4..b4ca61a 100644
--- a/compiler.tests/build.xml
+++ b/compiler.tests/build.xml
@@ -36,6 +36,11 @@
<isset property="FLASHPLAYER_DEBUGGER" />
</condition>
+ <condition property="playerglobal.version" value="${env.PLAYERGLOBAL_VERSION}">
+ <isset property="env.PLAYERGLOBAL_VERSION" />
+ </condition>
+ <property name="playerglobal.version" value="11.1" />
+
<property name="compiler" value="${compiler.tests}/../compiler"/>
<property name="falcon" value="${compiler}/generated/dist/sdk"/>
@@ -60,9 +65,9 @@
<property name="FLEX_HOME" value="${sdk}"/>
<property name="FALCON_HOME" value="${falcon}"/>
<taskdef resource="flexTasks.tasks" classpath="${falcon}/lib/falcon-flexTasks.jar"/>
- <mxmlc file="${compiler.tests}/Hello.as"/>
+ <mxmlc file="${compiler.tests}/Hello.as" target-player="${playerglobal.version}"/>
<delete file="${compiler.tests}/Hello.swf"/>
- <compc output="Hello.swc" include-classes="Hello">
+ <compc output="Hello.swc" include-classes="Hello" target-player="${playerglobal.version}">
<source-path path-element="${compiler.tests}"/>
</compc>
<delete file="${compiler.tests}/Hello.swc"/>
[13/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - add
signing to build script
Posted by jo...@apache.org.
add signing to build script
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/85cffa55
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/85cffa55
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/85cffa55
Branch: refs/heads/maven
Commit: 85cffa5529b92257a019b86adca5e8ae89762960
Parents: 63e66dc
Author: Alex Harui <ah...@apache.org>
Authored: Mon Apr 7 16:03:53 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Apr 7 16:03:53 2014 -0700
----------------------------------------------------------------------
build.xml | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 66 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/85cffa55/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 68f1255..4177576 100644
--- a/build.xml
+++ b/build.xml
@@ -602,4 +602,70 @@
<checksum algorithm="md5" file="${basedir}/out/${source.jx.kit}.zip" forceOverwrite="yes"/>
</target>
+ <target name="sign" >
+ <exec executable="gpg">
+ <arg value="--armor" />
+ <arg value="--output" />
+ <arg value="${basedir}/out/${source.kit}.zip.asc" />
+ <arg value="--detach-sig" />
+ <arg value="${basedir}/out/${source.kit}.zip" />
+ </exec>
+
+ <exec executable="gpg">
+ <arg value="--armor" />
+ <arg value="--output" />
+ <arg value="${basedir}/out/${source.kit}.tar.gz.asc" />
+ <arg value="--detach-sig" />
+ <arg value="${basedir}/out/${source.kit}.tar.gz" />
+ </exec>
+
+ <exec executable="gpg">
+ <arg value="--armor" />
+ <arg value="--output" />
+ <arg value="${basedir}/out/${binary.kit}.zip.asc" />
+ <arg value="--detach-sig" />
+ <arg value="${basedir}/out/${binary.kit}.zip" />
+ </exec>
+
+ <exec executable="gpg">
+ <arg value="--armor" />
+ <arg value="--output" />
+ <arg value="${basedir}/out/${binary.kit}.tar.gz.asc" />
+ <arg value="--detach-sig" />
+ <arg value="${basedir}/out/${binary.kit}.tar.gz" />
+ </exec>
+
+ <exec executable="gpg">
+ <arg value="--armor" />
+ <arg value="--output" />
+ <arg value="${basedir}/out/${source.jx.kit}.zip.asc" />
+ <arg value="--detach-sig" />
+ <arg value="${basedir}/out/${source.jx.kit}.zip" />
+ </exec>
+
+ <exec executable="gpg">
+ <arg value="--armor" />
+ <arg value="--output" />
+ <arg value="${basedir}/out/${source.jx.kit}.tar.gz.asc" />
+ <arg value="--detach-sig" />
+ <arg value="${basedir}/out/${source.jx.kit}.tar.gz" />
+ </exec>
+
+ <exec executable="gpg">
+ <arg value="--armor" />
+ <arg value="--output" />
+ <arg value="${basedir}/out/${binary.jx.kit}.zip.asc" />
+ <arg value="--detach-sig" />
+ <arg value="${basedir}/out/${binary.jx.kit}.zip" />
+ </exec>
+
+ <exec executable="gpg">
+ <arg value="--armor" />
+ <arg value="--output" />
+ <arg value="${basedir}/out/${binary.jx.kit}.tar.gz.asc" />
+ <arg value="--detach-sig" />
+ <arg value="${basedir}/out/${binary.jx.kit}.tar.gz" />
+ </exec>
+ </target>
+
</project>
[24/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - Need
TLF_HOME to pass functional tests
Posted by jo...@apache.org.
Need TLF_HOME to pass functional tests
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/07f66be8
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/07f66be8
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/07f66be8
Branch: refs/heads/maven
Commit: 07f66be82bc95644ea798d8f7565e9ef29cecd51
Parents: 6f97926
Author: Alex Harui <ah...@apache.org>
Authored: Tue Apr 15 11:22:36 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Apr 15 20:13:21 2014 -0700
----------------------------------------------------------------------
README | 6 ++++++
1 file changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/07f66be8/README
----------------------------------------------------------------------
diff --git a/README b/README
index 5a88c1a..4725c20 100644
--- a/README
+++ b/README
@@ -84,6 +84,8 @@ Install Prerequisites
Apache Flex SDK or repository FLEX_HOME
+ Apache Flex TLF source (*6) TLF_HOME
+
==================================================================================
*1) The bin directories for ANT_HOME and JAVA_HOME should be added to your
@@ -166,6 +168,10 @@ Install Prerequisites
These can be used with Apache Flex but not all have not been fully
tested.
+ *6) The TLF_HOME variable should point to a folder containing a folder
+ named textLayout that contains a src folder of the TLF sources.
+ This should be the root of the flex-tlf repository, or can be
+ the frameworks/projects folder of an IDE compatible Flex SDK.
Software Dependencies
---------------------
[48/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - antlr
ajustments on pom
Posted by jo...@apache.org.
antlr ajustments on pom
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/9518d8d8
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/9518d8d8
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/9518d8d8
Branch: refs/heads/maven
Commit: 9518d8d843aafc550af06d012774fa13a1dbef1e
Parents: 0b43ce3
Author: Jose Barragan <jo...@apache.org>
Authored: Tue Mar 4 17:21:22 2014 +0100
Committer: Jose Barragan <jo...@apache.org>
Committed: Thu Apr 24 18:03:14 2014 +0200
----------------------------------------------------------------------
compiler/pom.xml | 124 +++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 77 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/9518d8d8/compiler/pom.xml
----------------------------------------------------------------------
diff --git a/compiler/pom.xml b/compiler/pom.xml
index cf258ca..b30c601 100644
--- a/compiler/pom.xml
+++ b/compiler/pom.xml
@@ -22,6 +22,8 @@
<packaging>pom</packaging>
+
+
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
@@ -31,7 +33,9 @@
<version>1.5.0</version>
<configuration>
<outputDirectory>${project.build.directory}/generated/src</outputDirectory>
- <skeleton>${project.build.sourceDirectory}/org/apache/flex/compiler/internal/parsing/as/skeleton.default</skeleton>
+ <skeleton>
+ ${project.build.sourceDirectory}/org/apache/flex/compiler/internal/parsing/as/skeleton.default
+ </skeleton>
</configuration>
<executions>
<execution>
@@ -41,9 +45,13 @@
</goals>
<configuration>
<lexDefinitions>
- <lexDefinition>${project.build.sourceDirectory}/org/apache/flex/compiler/internal/parsing/as/RawASTokenizer.lex</lexDefinition>
+ <lexDefinition>
+ ${project.build.sourceDirectory}/org/apache/flex/compiler/internal/parsing/as/RawASTokenizer.lex
+ </lexDefinition>
</lexDefinitions>
- <skeleton>${project.build.sourceDirectory}/org/apache/flex/compiler/internal/parsing/as/skeleton.falcon</skeleton>
+ <skeleton>
+ ${project.build.sourceDirectory}/org/apache/flex/compiler/internal/parsing/as/skeleton.falcon
+ </skeleton>
</configuration>
</execution>
<execution>
@@ -53,7 +61,9 @@
</goals>
<configuration>
<lexDefinitions>
- <lexDefinition>${project.build.sourceDirectory}/org/apache/flex/compiler/internal/parsing/as/RawASDocTokenizer.lex</lexDefinition>
+ <lexDefinition>
+ ${project.build.sourceDirectory}/org/apache/flex/compiler/internal/parsing/as/RawASDocTokenizer.lex
+ </lexDefinition>
</lexDefinitions>
</configuration>
</execution>
@@ -64,7 +74,9 @@
</goals>
<configuration>
<lexDefinitions>
- <lexDefinition>${project.build.sourceDirectory}/org/apache/flex/compiler/internal/parsing/mxml/RawMXMLTokenizer.lex</lexDefinition>
+ <lexDefinition>
+ ${project.build.sourceDirectory}/org/apache/flex/compiler/internal/parsing/mxml/RawMXMLTokenizer.lex
+ </lexDefinition>
</lexDefinitions>
</configuration>
</execution>
@@ -77,99 +89,57 @@
<artifactId>antlr-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
- <sourceDirectory>${project.build.sourceDirectory}/org/apache/flex/compiler/internal</sourceDirectory>
- <outputDirectory>target/generated/src</outputDirectory>
+ <sourceDirectory>${project.build.sourceDirectory}/org/apache/flex/compiler/internal/parsing/as</sourceDirectory>
+ <outputDirectory>${project.build.directory}/generated/src</outputDirectory>
</configuration>
<executions>
<!-- Generating ASParser and ASTokenTypes -->
<execution>
- <id>as.parser</id>
- <goals>
- <goal>generate</goal>
- </goals>
- <configuration>
- <grammars>parsing/as/ASParser.g</grammars>
- </configuration>
- <!-- TODO ASParser.java annotate tool @SuppressWarnings("unused") -->
- <!-- TODO ASTokenTypes.java annotate tool @SuppressWarnings("unused") -->
- </execution>
- <!-- Generating MetadataParser and MetadataTokenTypes -->
- <execution>
- <id>metadata.parser</id>
+ <id>parseAS</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
+ <grammarDefs>
+ <grammar>
+ <name>ASParser.g</name>
+ </grammar>
+ <grammar>
+ <name>MetadataParser.g</name>
+ </grammar>
+ </grammarDefs>
<sourceDirectory>${project.build.sourceDirectory}/org/apache/flex/compiler/internal/parsing/as</sourceDirectory>
- <grammars>MetadataParser.g</grammars>
- <!--<includes>ImportMetadataTokenTypes.txt</includes>-->
</configuration>
- <!-- TODO MetadataParser.java annotate tool @SuppressWarnings("all") -->
- <!-- TODO MetadataTokenTypes.java annotate tool @SuppressWarnings("unused") -->
</execution>
</executions>
</plugin>
-
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.2.1</version>
- <executions>
- <execution>
- <goals>
- <goal>java</goal>
- </goals>
- <configuration>
- <mainClass>org.apache.flex.compiler.tools.AnnotateClass</mainClass>
-
- <!--<argument>-classpath</argument>
- <classpath>
- <dependency>commons-io:commons-io</dependency>
- <dependency>commons-lang:commons-lang</dependency>
- </classpath>
- <executable>maven</executable>
- <workingDirectory>/tmp</workingDirectory>-->
-
-
- </configuration>
- </execution>
- </executions>
- </plugin>
-
<plugin>
<groupId>org.antlr</groupId>
- <artifactId>antlr4-maven-plugin</artifactId>
- <version>4.2</version>
+ <artifactId>antlr3-maven-plugin</artifactId>
+ <version>3.5.1</version>
<configuration>
- <sourceDirectory>${project.build.sourceDirectory}/org/apache/flex/compiler/internal</sourceDirectory>
- <outputDirectory>target/generated/src</outputDirectory>
+ <sourceDirectory>${project.build.sourceDirectory}/org/apache/flex/compiler/internal/css</sourceDirectory>
+ <outputDirectory>${project.build.directory}/generated/src/org/apache/flex/compiler/internal/css</outputDirectory>
</configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.antlr</groupId>
+ <artifactId>antlr-runtime</artifactId>
+ <version>3.5.1</version>
+ </dependency>
+ </dependencies>
<executions>
- <!-- Generating CSSLexer and CSSParser -->
- <execution>
- <id>css.lexer.and.parser</id>
- <goals>
- <goal>antlr4</goal>
- </goals>
- <configuration>
- <sourceDirectory>css/CSS.g</sourceDirectory>
- </configuration>
- <!-- TODO CSSLexer.java annotate tool @SuppressWarnings("unused") -->
- <!-- TODO CSSParser.java annotate tool @SuppressWarnings("unused") -->
- </execution>
- <!-- Generating CSSTree -->
+ <!-- Generating ASParser and ASTokenTypes -->
<execution>
- <id>css.tree</id>
+ <id>parseCSS</id>
<goals>
- <goal>antlr4</goal>
+ <goal>antlr</goal>
</goals>
- <configuration>
- <sourceDirectory>css/CSSTree.g</sourceDirectory>
- </configuration>
- <!-- TODO CSSTree.java annotate tool @SuppressWarnings({"rawtypes", "unchecked", "unused"} -->
</execution>
</executions>
</plugin>
+
+
<!--<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>apt-maven-plugin</artifactId>
@@ -211,9 +181,9 @@
<dependencies>
<!-- antlr - http://www.antlr.org/download/antlr-4.2-complete.jar -->
<dependency>
- <groupId>org.antlr</groupId>
- <artifactId>antlr4-runtime</artifactId>
- <version>4.2</version>
+ <groupId>antlr</groupId>
+ <artifactId>antlr</artifactId>
+ <version>2.7.7</version>
</dependency>
<!-- commons-cli - http://archive.apache.org/dist/commons/cli/binaries/commons-cli-1.2-bin.tar.gz -->
<dependency>
[47/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] -
Testing a fixed version of antlr maven plugin 2.2
Posted by jo...@apache.org.
Testing a fixed version of antlr maven plugin 2.2
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/a7a21def
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/a7a21def
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/a7a21def
Branch: refs/heads/maven
Commit: a7a21def13e6b2f752adca5ad591e2018ce4d9eb
Parents: 9518d8d
Author: Jose Barragan <jo...@apache.org>
Authored: Sun Mar 23 14:08:56 2014 +0100
Committer: Jose Barragan <jo...@apache.org>
Committed: Thu Apr 24 18:03:14 2014 +0200
----------------------------------------------------------------------
compiler/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/a7a21def/compiler/pom.xml
----------------------------------------------------------------------
diff --git a/compiler/pom.xml b/compiler/pom.xml
index b30c601..d784fc8 100644
--- a/compiler/pom.xml
+++ b/compiler/pom.xml
@@ -87,7 +87,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>antlr-maven-plugin</artifactId>
- <version>2.2</version>
+ <version>2.2.1</version>
<configuration>
<sourceDirectory>${project.build.sourceDirectory}/org/apache/flex/compiler/internal/parsing/as</sourceDirectory>
<outputDirectory>${project.build.directory}/generated/src</outputDirectory>
[11/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - fix
failing tests
Posted by jo...@apache.org.
fix failing tests
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/14a382cf
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/14a382cf
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/14a382cf
Branch: refs/heads/maven
Commit: 14a382cfc3de14e9e481f043048cb24ef01849be
Parents: c97e2a6
Author: Alex Harui <ah...@apache.org>
Authored: Mon Apr 7 09:08:20 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Apr 7 09:08:20 2014 -0700
----------------------------------------------------------------------
.../flexjs/files/MyInitialView_result.js | 118 +++++++++----------
.../flexjs/files/wildcard_import.mxml | 2 +-
.../flexjs/files/wildcard_import_result.js | 4 +-
3 files changed, 62 insertions(+), 62 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/14a382cf/compiler.jx.tests/test-files/flexjs/files/MyInitialView_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/files/MyInitialView_result.js b/compiler.jx.tests/test-files/flexjs/files/MyInitialView_result.js
index 6b68a21..e14a8ec 100644
--- a/compiler.jx.tests/test-files/flexjs/files/MyInitialView_result.js
+++ b/compiler.jx.tests/test-files/flexjs/files/MyInitialView_result.js
@@ -9,17 +9,17 @@
goog.provide('MyInitialView');
goog.require('org.apache.flex.core.ViewBase');
-goog.require('org.apache.flex.html.staticControls.Label');
+goog.require('org.apache.flex.html.Label');
goog.require('org.apache.flex.binding.SimpleBinding');
-goog.require('org.apache.flex.html.staticControls.TextButton');
-goog.require('org.apache.flex.html.staticControls.List');
+goog.require('org.apache.flex.html.TextButton');
+goog.require('org.apache.flex.html.List');
goog.require('org.apache.flex.binding.ConstantBinding');
-goog.require('org.apache.flex.html.staticControls.TextArea');
-goog.require('org.apache.flex.html.staticControls.TextInput');
-goog.require('org.apache.flex.html.staticControls.CheckBox');
-goog.require('org.apache.flex.html.staticControls.RadioButton');
-goog.require('org.apache.flex.html.staticControls.DropDownList');
-goog.require('org.apache.flex.html.staticControls.ComboBox');
+goog.require('org.apache.flex.html.TextArea');
+goog.require('org.apache.flex.html.TextInput');
+goog.require('org.apache.flex.html.CheckBox');
+goog.require('org.apache.flex.html.RadioButton');
+goog.require('org.apache.flex.html.DropDownList');
+goog.require('org.apache.flex.html.ComboBox');
goog.require('org.apache.flex.events.CustomEvent');
goog.require('org.apache.flex.events.Event');
goog.require('org.apache.flex.utils.Timer');
@@ -36,7 +36,7 @@ MyInitialView = function() {
/**
* @private
- * @type {org.apache.flex.html.staticControls.Label}
+ * @type {org.apache.flex.html.Label}
*/
this.lbl;
@@ -48,25 +48,25 @@ MyInitialView = function() {
/**
* @private
- * @type {org.apache.flex.html.staticControls.TextButton}
+ * @type {org.apache.flex.html.TextButton}
*/
this.$ID1;
/**
* @private
- * @type {org.apache.flex.html.staticControls.TextButton}
+ * @type {org.apache.flex.html.TextButton}
*/
this.$ID2;
/**
* @private
- * @type {org.apache.flex.html.staticControls.Label}
+ * @type {org.apache.flex.html.Label}
*/
this.timerLabel;
/**
* @private
- * @type {org.apache.flex.html.staticControls.List}
+ * @type {org.apache.flex.html.List}
*/
this.cityList;
@@ -78,7 +78,7 @@ MyInitialView = function() {
/**
* @private
- * @type {org.apache.flex.html.staticControls.TextArea}
+ * @type {org.apache.flex.html.TextArea}
*/
this.$ID5;
@@ -90,61 +90,61 @@ MyInitialView = function() {
/**
* @private
- * @type {org.apache.flex.html.staticControls.TextInput}
+ * @type {org.apache.flex.html.TextInput}
*/
this.input;
/**
* @private
- * @type {org.apache.flex.html.staticControls.TextButton}
+ * @type {org.apache.flex.html.TextButton}
*/
this.$ID6;
/**
* @private
- * @type {org.apache.flex.html.staticControls.CheckBox}
+ * @type {org.apache.flex.html.CheckBox}
*/
this.checkbox;
/**
* @private
- * @type {org.apache.flex.html.staticControls.RadioButton}
+ * @type {org.apache.flex.html.RadioButton}
*/
this.$ID7;
/**
* @private
- * @type {org.apache.flex.html.staticControls.RadioButton}
+ * @type {org.apache.flex.html.RadioButton}
*/
this.$ID8;
/**
* @private
- * @type {org.apache.flex.html.staticControls.RadioButton}
+ * @type {org.apache.flex.html.RadioButton}
*/
this.$ID9;
/**
* @private
- * @type {org.apache.flex.html.staticControls.RadioButton}
+ * @type {org.apache.flex.html.RadioButton}
*/
this.$ID10;
/**
* @private
- * @type {org.apache.flex.html.staticControls.RadioButton}
+ * @type {org.apache.flex.html.RadioButton}
*/
this.$ID11;
/**
* @private
- * @type {org.apache.flex.html.staticControls.RadioButton}
+ * @type {org.apache.flex.html.RadioButton}
*/
this.$ID12;
/**
* @private
- * @type {org.apache.flex.html.staticControls.DropDownList}
+ * @type {org.apache.flex.html.DropDownList}
*/
this.list;
@@ -156,13 +156,13 @@ MyInitialView = function() {
/**
* @private
- * @type {org.apache.flex.html.staticControls.TextButton}
+ * @type {org.apache.flex.html.TextButton}
*/
this.$ID14;
/**
* @private
- * @type {org.apache.flex.html.staticControls.ComboBox}
+ * @type {org.apache.flex.html.ComboBox}
*/
this.comboBox;
@@ -331,7 +331,7 @@ MyInitialView.prototype.$EH6 = function(event)
/**
* @expose
- * @return {org.apache.flex.html.staticControls.Label}
+ * @return {org.apache.flex.html.Label}
*/
MyInitialView.prototype.get_lbl = function()
{
@@ -341,7 +341,7 @@ MyInitialView.prototype.get_lbl = function()
/**
* @expose
- * @param {org.apache.flex.html.staticControls.Label} value
+ * @param {org.apache.flex.html.Label} value
*/
MyInitialView.prototype.set_lbl = function(value)
{
@@ -352,7 +352,7 @@ MyInitialView.prototype.set_lbl = function(value)
/**
* @expose
- * @return {org.apache.flex.html.staticControls.Label}
+ * @return {org.apache.flex.html.Label}
*/
MyInitialView.prototype.get_timerLabel = function()
{
@@ -362,7 +362,7 @@ MyInitialView.prototype.get_timerLabel = function()
/**
* @expose
- * @param {org.apache.flex.html.staticControls.Label} value
+ * @param {org.apache.flex.html.Label} value
*/
MyInitialView.prototype.set_timerLabel = function(value)
{
@@ -373,7 +373,7 @@ MyInitialView.prototype.set_timerLabel = function(value)
/**
* @expose
- * @return {org.apache.flex.html.staticControls.List}
+ * @return {org.apache.flex.html.List}
*/
MyInitialView.prototype.get_cityList = function()
{
@@ -383,7 +383,7 @@ MyInitialView.prototype.get_cityList = function()
/**
* @expose
- * @param {org.apache.flex.html.staticControls.List} value
+ * @param {org.apache.flex.html.List} value
*/
MyInitialView.prototype.set_cityList = function(value)
{
@@ -394,7 +394,7 @@ MyInitialView.prototype.set_cityList = function(value)
/**
* @expose
- * @return {org.apache.flex.html.staticControls.TextInput}
+ * @return {org.apache.flex.html.TextInput}
*/
MyInitialView.prototype.get_input = function()
{
@@ -404,7 +404,7 @@ MyInitialView.prototype.get_input = function()
/**
* @expose
- * @param {org.apache.flex.html.staticControls.TextInput} value
+ * @param {org.apache.flex.html.TextInput} value
*/
MyInitialView.prototype.set_input = function(value)
{
@@ -415,7 +415,7 @@ MyInitialView.prototype.set_input = function(value)
/**
* @expose
- * @return {org.apache.flex.html.staticControls.CheckBox}
+ * @return {org.apache.flex.html.CheckBox}
*/
MyInitialView.prototype.get_checkbox = function()
{
@@ -425,7 +425,7 @@ MyInitialView.prototype.get_checkbox = function()
/**
* @expose
- * @param {org.apache.flex.html.staticControls.CheckBox} value
+ * @param {org.apache.flex.html.CheckBox} value
*/
MyInitialView.prototype.set_checkbox = function(value)
{
@@ -436,7 +436,7 @@ MyInitialView.prototype.set_checkbox = function(value)
/**
* @expose
- * @return {org.apache.flex.html.staticControls.DropDownList}
+ * @return {org.apache.flex.html.DropDownList}
*/
MyInitialView.prototype.get_list = function()
{
@@ -446,7 +446,7 @@ MyInitialView.prototype.get_list = function()
/**
* @expose
- * @param {org.apache.flex.html.staticControls.DropDownList} value
+ * @param {org.apache.flex.html.DropDownList} value
*/
MyInitialView.prototype.set_list = function(value)
{
@@ -457,7 +457,7 @@ MyInitialView.prototype.set_list = function(value)
/**
* @expose
- * @return {org.apache.flex.html.staticControls.ComboBox}
+ * @return {org.apache.flex.html.ComboBox}
*/
MyInitialView.prototype.get_comboBox = function()
{
@@ -467,7 +467,7 @@ MyInitialView.prototype.get_comboBox = function()
/**
* @expose
- * @param {org.apache.flex.html.staticControls.ComboBox} value
+ * @param {org.apache.flex.html.ComboBox} value
*/
MyInitialView.prototype.set_comboBox = function(value)
{
@@ -488,7 +488,7 @@ MyInitialView.prototype.get_MXMLDescriptor = function()
var arr = goog.base(this, 'get_MXMLDescriptor');
/** @type {Array} */
var data = [
-org.apache.flex.html.staticControls.Label,
+org.apache.flex.html.Label,
4,
'id',
true,
@@ -504,7 +504,7 @@ null, [org.apache.flex.binding.SimpleBinding, 5, '_id', true, '$ID0', 'sourceID'
0,
0,
null,
-org.apache.flex.html.staticControls.TextButton,
+org.apache.flex.html.TextButton,
4,
'_id',
true,
@@ -523,7 +523,7 @@ true,
'click',
this.$EH0,
null,
-org.apache.flex.html.staticControls.TextButton,
+org.apache.flex.html.TextButton,
4,
'_id',
true,
@@ -542,7 +542,7 @@ true,
'click',
this.$EH1,
null,
-org.apache.flex.html.staticControls.Label,
+org.apache.flex.html.Label,
3,
'id',
true,
@@ -556,7 +556,7 @@ true,
0,
0,
null,
-org.apache.flex.html.staticControls.List,
+org.apache.flex.html.List,
6,
'id',
true,
@@ -580,7 +580,7 @@ null, [org.apache.flex.binding.ConstantBinding, 4, '_id', true, '$ID3', 'sourceI
'change',
this.$EH2,
null,
-org.apache.flex.html.staticControls.TextArea,
+org.apache.flex.html.TextArea,
6,
'_id',
true,
@@ -602,7 +602,7 @@ null, [org.apache.flex.binding.SimpleBinding, 5, '_id', true, '$ID4', 'sourceID'
0,
0,
null,
-org.apache.flex.html.staticControls.TextInput,
+org.apache.flex.html.TextInput,
3,
'id',
true,
@@ -616,7 +616,7 @@ true,
0,
0,
null,
-org.apache.flex.html.staticControls.TextButton,
+org.apache.flex.html.TextButton,
4,
'_id',
true,
@@ -635,7 +635,7 @@ true,
'click',
this.$EH3,
null,
-org.apache.flex.html.staticControls.CheckBox,
+org.apache.flex.html.CheckBox,
4,
'id',
true,
@@ -652,7 +652,7 @@ true,
0,
0,
null,
-org.apache.flex.html.staticControls.RadioButton,
+org.apache.flex.html.RadioButton,
6,
'_id',
true,
@@ -675,7 +675,7 @@ true,
0,
0,
null,
-org.apache.flex.html.staticControls.RadioButton,
+org.apache.flex.html.RadioButton,
7,
'_id',
true,
@@ -701,7 +701,7 @@ true,
0,
0,
null,
-org.apache.flex.html.staticControls.RadioButton,
+org.apache.flex.html.RadioButton,
6,
'_id',
true,
@@ -724,7 +724,7 @@ true,
0,
0,
null,
-org.apache.flex.html.staticControls.RadioButton,
+org.apache.flex.html.RadioButton,
7,
'_id',
true,
@@ -750,7 +750,7 @@ true,
0,
0,
null,
-org.apache.flex.html.staticControls.RadioButton,
+org.apache.flex.html.RadioButton,
6,
'_id',
true,
@@ -773,7 +773,7 @@ true,
0,
0,
null,
-org.apache.flex.html.staticControls.RadioButton,
+org.apache.flex.html.RadioButton,
6,
'_id',
true,
@@ -796,7 +796,7 @@ true,
0,
0,
null,
-org.apache.flex.html.staticControls.DropDownList,
+org.apache.flex.html.DropDownList,
6,
'id',
true,
@@ -820,7 +820,7 @@ null, [org.apache.flex.binding.ConstantBinding, 4, '_id', true, '$ID13', 'source
'change',
this.$EH4,
null,
-org.apache.flex.html.staticControls.TextButton,
+org.apache.flex.html.TextButton,
4,
'_id',
true,
@@ -839,7 +839,7 @@ true,
'click',
this.$EH5,
null,
-org.apache.flex.html.staticControls.ComboBox,
+org.apache.flex.html.ComboBox,
5,
'id',
true,
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/14a382cf/compiler.jx.tests/test-files/flexjs/files/wildcard_import.mxml
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/files/wildcard_import.mxml b/compiler.jx.tests/test-files/flexjs/files/wildcard_import.mxml
index cafe2d0..2198884 100644
--- a/compiler.jx.tests/test-files/flexjs/files/wildcard_import.mxml
+++ b/compiler.jx.tests/test-files/flexjs/files/wildcard_import.mxml
@@ -4,7 +4,7 @@
<fx:Script>
<![CDATA[
- import org.apache.flex.html.staticControls.*;
+ import org.apache.flex.html.*;
private function tmp():void
{
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/14a382cf/compiler.jx.tests/test-files/flexjs/files/wildcard_import_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/files/wildcard_import_result.js b/compiler.jx.tests/test-files/flexjs/files/wildcard_import_result.js
index 1ecde33..43d55ff 100644
--- a/compiler.jx.tests/test-files/flexjs/files/wildcard_import_result.js
+++ b/compiler.jx.tests/test-files/flexjs/files/wildcard_import_result.js
@@ -9,7 +9,7 @@
goog.provide('wildcard_import');
goog.require('org.apache.flex.core.Application');
-goog.require('org.apache.flex.html.staticControls.Button');
+goog.require('org.apache.flex.html.Button');
@@ -49,7 +49,7 @@ wildcard_import.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'wildcard_import
*/
wildcard_import.prototype.tmp = function() {
var /** @type {Button} */ myButton;
- myButton = new org.apache.flex.html.staticControls.Button();
+ myButton = new org.apache.flex.html.Button();
};
[31/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - don't
need this
Posted by jo...@apache.org.
don't need this
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/2263a876
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/2263a876
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/2263a876
Branch: refs/heads/maven
Commit: 2263a876af1e3dabf9884a8e4379597d9be2cd41
Parents: 95bc9c3
Author: Alex Harui <ah...@apache.org>
Authored: Wed Apr 16 06:19:35 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Apr 16 06:19:35 2014 -0700
----------------------------------------------------------------------
build.xml | 6 ------
1 file changed, 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2263a876/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 2c326be..70af1ee 100644
--- a/build.xml
+++ b/build.xml
@@ -251,9 +251,6 @@
<fixcrlf srcdir="${basedir}/temp/compiler/commandline" eol="crlf" fixlast="false">
<include name="**.bat"/>
</fixcrlf>
- <fixcrlf srcdir="${basedir}/temp/compiler/generated/dist/sdk/bin" eol="crlf" fixlast="false">
- <include name="**.bat"/>
- </fixcrlf>
<!--
Unix shell scripts need the correct line endings.
@@ -374,9 +371,6 @@
<fixcrlf srcdir="${basedir}/temp/compiler/commandline" eol="crlf" fixlast="false">
<include name="**.bat"/>
</fixcrlf>
- <fixcrlf srcdir="${basedir}/temp/compiler/generated/dist/sdk/bin" eol="crlf" fixlast="false">
- <include name="**.bat"/>
- </fixcrlf>
<!--
Unix shell scripts need the correct line endings.
[42/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - added
jflex and antler maven plugin generation
Posted by jo...@apache.org.
added jflex and antler maven plugin generation
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/05c2e93f
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/05c2e93f
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/05c2e93f
Branch: refs/heads/maven
Commit: 05c2e93f30e697d58a64e1477f414f719eff2771
Parents: 4ae81a8
Author: Carlos Rovira <ca...@apache.org>
Authored: Wed Jul 17 21:59:29 2013 +0200
Committer: Jose Barragan <jo...@apache.org>
Committed: Thu Apr 24 18:03:13 2014 +0200
----------------------------------------------------------------------
compiler/pom.xml | 125 +++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 123 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/05c2e93f/compiler/pom.xml
----------------------------------------------------------------------
diff --git a/compiler/pom.xml b/compiler/pom.xml
index 3aa8061..2180fb4 100644
--- a/compiler/pom.xml
+++ b/compiler/pom.xml
@@ -15,23 +15,144 @@
<name>Falcon Compiler</name>
<description>Falcon Flex main compiler</description>
- <packaging>jar</packaging>
+ <properties>
+ <javac.debug>true</javac.debug>
+ <javac.deprecation>false</javac.deprecation>
+ </properties>
+
+ <packaging>pom</packaging>
- <!-- JFLEX 1.4.3 http://jflex.sourceforge.net/maven-jflex-plugin/usage.html-->
<build>
+ <sourceDirectory>src</sourceDirectory>
<plugins>
+ <!-- JFLEX 1.4.3 http://jflex.sourceforge.net/maven-jflex-plugin/usage.html-->
<plugin>
<groupId>de.jflex</groupId>
<artifactId>maven-jflex-plugin</artifactId>
<version>1.4.3</version>
+ <configuration>
+ <outputDirectory>target/generated/src</outputDirectory>
+ </configuration>
+ <executions>
+ <execution>
+ <id>raw.as.tokenizer</id>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ <configuration>
+ <lexDefinitions>
+ <lexDefinition>src/org/apache/flex/compiler/internal/parsing/as/RawASTokenizer.lex</lexDefinition>
+ </lexDefinitions>
+ <skeleton>src/org/apache/flex/compiler/internal/parsing/as/skeleton.falcon</skeleton>
+ </configuration>
+ </execution>
+ <execution>
+ <id>raw.asdoc.tokenizer</id>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ <configuration>
+ <lexDefinitions>
+ <lexDefinition>src/org/apache/flex/compiler/internal/parsing/as/RawASDocTokenizer.lex</lexDefinition>
+ </lexDefinitions>
+ </configuration>
+ </execution>
+ <execution>
+ <id>raw.mxml.tokenizer</id>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ <configuration>
+ <lexDefinitions>
+ <lexDefinition>src/org/apache/flex/compiler/internal/parsing/mxml/RawMXMLTokenizer.lex</lexDefinition>
+ </lexDefinitions>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <!-- ANTLR -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>antlr-maven-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <sourceDirectory>src/org/apache/flex/compiler/internal</sourceDirectory>
+ <outputDirectory>target/generated/src</outputDirectory>
+ </configuration>
<executions>
<execution>
+ <id>as.parser</id>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ <configuration>
+ <grammars>parsing/as/ASParser.g</grammars>
+ </configuration>
+ </execution>
+ <execution>
+ <id>metadata.parser</id>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ <configuration>
+ <grammars>parsing/as/MetadataParser.g</grammars>
+ </configuration>
+ </execution>
+ <execution>
+ <id>css.lexer.and.parser</id>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ <configuration>
+ <grammars>css/CSS.g</grammars>
+ </configuration>
+ </execution>
+ <execution>
+ <id>css.tree</id>
<goals>
<goal>generate</goal>
</goals>
+ <configuration>
+ <grammars>css/CSSTree.g</grammars>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>apt-maven-plugin</artifactId>
+ <version>1.0-alpha-5</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ <configuration>
+ <includea>
+ <include>generated/src/org/apache/flex/compiler/internal/parsing/as/ASParser.java</include>
+ </includes>
+ <factory>@SuppressWarnings("unused")</factory>
+
+ </configuration>
</execution>
</executions>
</plugin>
+ <!-- The AnnotateClass tool is used to add @SupressWarnings annotations to Java code produced by ANTLR and JBurg -->
+ <!--<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.1</version>
+ <configuration>
+ <debug>${javac.debug}</debug>
+ <showDeprecation>${javac.deprecation}</showDeprecation>
+ <compilerArgument>-Xlint:all,-path,-fallthrough</compilerArgument>
+ <source>tools/AnnotateClass</source>
+ <generatedSourcesDirectory>generated/classes</generatedSourcesDirectory>
+ </configuration>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </plugin>-->
</plugins>
</build>
[09/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] -
recompile in all cases for now
Posted by jo...@apache.org.
recompile in all cases for now
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/ed3795ff
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/ed3795ff
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/ed3795ff
Branch: refs/heads/maven
Commit: ed3795fff3137ef671a7b8359fef9839b396f003
Parents: 5105d81
Author: Alex Harui <ah...@apache.org>
Authored: Sun Apr 6 19:33:58 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Sun Apr 6 19:33:58 2014 -0700
----------------------------------------------------------------------
flex-compiler-oem/src/flex2/tools/oem/internal/OEMReport.java | 5 +++++
1 file changed, 5 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/ed3795ff/flex-compiler-oem/src/flex2/tools/oem/internal/OEMReport.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/tools/oem/internal/OEMReport.java b/flex-compiler-oem/src/flex2/tools/oem/internal/OEMReport.java
index 0181884..716ea8f 100644
--- a/flex-compiler-oem/src/flex2/tools/oem/internal/OEMReport.java
+++ b/flex-compiler-oem/src/flex2/tools/oem/internal/OEMReport.java
@@ -293,6 +293,10 @@ public class OEMReport implements Report
public boolean contentUpdated()
{
+ // AJH for now, just return true to force another build. Someday be smarter about what sources
+ // we have and what their time stamps are.
+ return true;
+ /*
for (Iterator<String> i = timestamps.keySet().iterator(); i.hasNext(); )
{
String path = i.next();
@@ -305,6 +309,7 @@ public class OEMReport implements Report
}
}
return false;
+ */
}
public String[] getSourceNames(Object report)
[14/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - don't
package these files
Posted by jo...@apache.org.
don't package these files
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/c5557f54
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/c5557f54
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/c5557f54
Branch: refs/heads/maven
Commit: c5557f5434b245ae95fb0daa722847a8c4d18cb3
Parents: 85cffa5
Author: Alex Harui <ah...@apache.org>
Authored: Mon Apr 7 21:38:42 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Apr 7 21:38:42 2014 -0700
----------------------------------------------------------------------
build.xml | 6 ++++++
1 file changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/c5557f54/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 4177576..e8a3020 100644
--- a/build.xml
+++ b/build.xml
@@ -322,6 +322,9 @@
<copy todir="${basedir}/temp/compiler.jx" includeEmptyDirs="false">
<fileset dir="${basedir}/compiler.jx">
<include name="**"/>
+ <exclude name=".classpath" />
+ <exclude name=".project" />
+ <exclude name=".settings/**" />
<exclude name="classes/**"/>
<exclude name="in/**"/>
<exclude name="lib/**"/>
@@ -331,6 +334,9 @@
<copy todir="${basedir}/temp/compiler.jx.tests" includeEmptyDirs="false">
<fileset dir="${basedir}/compiler.jx.tests">
<include name="**"/>
+ <exclude name=".classpath" />
+ <exclude name=".project" />
+ <exclude name=".settings/**" />
<exclude name="classes/**"/>
<exclude name="lib/**"/>
<exclude name="results/**"/>
[32/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - handle
Java 1.7
Posted by jo...@apache.org.
handle Java 1.7
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/9a0a490e
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/9a0a490e
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/9a0a490e
Branch: refs/heads/maven
Commit: 9a0a490e3d630c3ba7acc479721dada5d2351b3b
Parents: 2263a87
Author: Alex Harui <ah...@apache.org>
Authored: Wed Apr 16 20:27:06 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Apr 16 20:27:06 2014 -0700
----------------------------------------------------------------------
compiler/commandline/compc | 13 +++++++------
compiler/commandline/mxmlc | 13 +++++++------
compiler/commandline/optimizer | 13 +++++++------
compiler/commandline/swcdepends | 13 +++++++------
compiler/commandline/swfdump | 13 +++++++------
5 files changed, 35 insertions(+), 30 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/9a0a490e/compiler/commandline/compc
----------------------------------------------------------------------
diff --git a/compiler/commandline/compc b/compiler/commandline/compc
index 4a28bc0..9f0846a 100755
--- a/compiler/commandline/compc
+++ b/compiler/commandline/compc
@@ -57,12 +57,13 @@ if [ $OS = "Windows" ]; then
elif [ $OS = "Unix" ]; then
- check64="`java -version 2>&1 | grep -i 64-Bit`"
- isOSX="`uname | grep -i Darwin`"
-
- if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" ]; then
- D32='-d32'
- fi
+ check64="`java -version 2>&1 | grep -i 64-Bit`"
+ isOSX="`uname | grep -i Darwin`"
+ javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
+
+ if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
+ D32='-d32'
+ fi
fi
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/9a0a490e/compiler/commandline/mxmlc
----------------------------------------------------------------------
diff --git a/compiler/commandline/mxmlc b/compiler/commandline/mxmlc
index 730cff0..883b42d 100755
--- a/compiler/commandline/mxmlc
+++ b/compiler/commandline/mxmlc
@@ -57,12 +57,13 @@ if [ $OS = "Windows" ]; then
elif [ $OS = "Unix" ]; then
- check64="`java -version 2>&1 | grep -i 64-Bit`"
- isOSX="`uname | grep -i Darwin`"
-
- if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" ]; then
- D32='-d32'
- fi
+ check64="`java -version 2>&1 | grep -i 64-Bit`"
+ isOSX="`uname | grep -i Darwin`"
+ javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
+
+ if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
+ D32='-d32'
+ fi
fi
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/9a0a490e/compiler/commandline/optimizer
----------------------------------------------------------------------
diff --git a/compiler/commandline/optimizer b/compiler/commandline/optimizer
index bfc10ad..475fffc 100755
--- a/compiler/commandline/optimizer
+++ b/compiler/commandline/optimizer
@@ -48,12 +48,13 @@ if [ $OS = "Windows" ]; then
elif [ $OS = "Unix" ]; then
- check64="`java -version 2>&1 | grep -i 64-Bit`"
- isOSX="`uname | grep -i Darwin`"
-
- if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" ]; then
- D32='-d32'
- fi
+ check64="`java -version 2>&1 | grep -i 64-Bit`"
+ isOSX="`uname | grep -i Darwin`"
+ javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
+
+ if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
+ D32='-d32'
+ fi
fi
VMARGS="-Xms32m -Xmx512m -Dsun.io.useCanonCaches=false "
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/9a0a490e/compiler/commandline/swcdepends
----------------------------------------------------------------------
diff --git a/compiler/commandline/swcdepends b/compiler/commandline/swcdepends
index 3abf487..8808d74 100755
--- a/compiler/commandline/swcdepends
+++ b/compiler/commandline/swcdepends
@@ -57,12 +57,13 @@ if [ $OS = "Windows" ]; then
elif [ $OS = "Unix" ]; then
- check64="`java -version 2>&1 | grep -i 64-Bit`"
- isOSX="`uname | grep -i Darwin`"
-
- if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" ]; then
- D32='-d32'
- fi
+ check64="`java -version 2>&1 | grep -i 64-Bit`"
+ isOSX="`uname | grep -i Darwin`"
+ javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
+
+ if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
+ D32='-d32'
+ fi
fi
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/9a0a490e/compiler/commandline/swfdump
----------------------------------------------------------------------
diff --git a/compiler/commandline/swfdump b/compiler/commandline/swfdump
index aba4728..eeb18dc 100755
--- a/compiler/commandline/swfdump
+++ b/compiler/commandline/swfdump
@@ -48,12 +48,13 @@ if [ $OS = "Windows" ]; then
elif [ $OS = "Unix" ]; then
- check64="`java -version 2>&1 | grep -i 64-Bit`"
- isOSX="`uname | grep -i Darwin`"
-
- if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" ]; then
- D32='-d32'
- fi
+ check64="`java -version 2>&1 | grep -i 64-Bit`"
+ isOSX="`uname | grep -i Darwin`"
+ javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
+
+ if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
+ D32='-d32'
+ fi
fi
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
[38/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - allow
override of playerglobal version in unit tests
Posted by jo...@apache.org.
allow override of playerglobal version in unit tests
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/af9b79f8
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/af9b79f8
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/af9b79f8
Branch: refs/heads/maven
Commit: af9b79f8150351d703699d3935c182467a30f0d4
Parents: afdd667
Author: Alex Harui <ah...@apache.org>
Authored: Tue Apr 22 14:32:08 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Apr 22 14:32:08 2014 -0700
----------------------------------------------------------------------
.../apache/flex/compiler/internal/test/AMDTestBase.java | 2 +-
.../apache/flex/compiler/internal/test/ASTestBase.java | 2 +-
.../flex/compiler/internal/test/FlexJSTestBase.java | 2 +-
.../apache/flex/compiler/internal/test/MXMLTestBase.java | 2 +-
.../feature-tests/mxml/tags/MXMLFeatureTestsBase.java | 2 +-
.../src/org/apache/flex/utils/EnvProperties.java | 10 ++++++++++
.../compiler/internal/tree/mxml/MXMLNodeBaseTests.java | 2 +-
7 files changed, 16 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/af9b79f8/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/AMDTestBase.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/AMDTestBase.java b/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/AMDTestBase.java
index 60d80e5..3728b06 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/AMDTestBase.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/AMDTestBase.java
@@ -82,7 +82,7 @@ public abstract class AMDTestBase extends TestBase
protected void addLibraries(List<File> libraries)
{
libraries.add(new File(FilenameNormalization.normalize(env.FPSDK
- + "/11.1/playerglobal.swc")));
+ + "/" + env.FPVER + "/playerglobal.swc")));
super.addLibraries(libraries);
}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/af9b79f8/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/ASTestBase.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/ASTestBase.java b/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/ASTestBase.java
index 8720512..68da1f8 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/ASTestBase.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/ASTestBase.java
@@ -54,7 +54,7 @@ public class ASTestBase extends TestBase
protected void addLibraries(List<File> libraries)
{
libraries.add(new File(FilenameNormalization.normalize(env.FPSDK
- + "/11.1/playerglobal.swc")));
+ + "/" + env.FPVER + "/playerglobal.swc")));
libraries.add(new File(FilenameNormalization.normalize(env.SDK
+ "/frameworks/libs/framework.swc")));
libraries.add(new File(FilenameNormalization.normalize(env.SDK
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/af9b79f8/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/FlexJSTestBase.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/FlexJSTestBase.java b/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/FlexJSTestBase.java
index a8c945f..3fdf797 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/FlexJSTestBase.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/FlexJSTestBase.java
@@ -53,7 +53,7 @@ public class FlexJSTestBase extends TestBase
protected void addLibraries(List<File> libraries)
{
libraries.add(new File(FilenameNormalization.normalize(env.FPSDK
- + "/11.1/playerglobal.swc")));
+ + "/" + env.FPVER + "/playerglobal.swc")));
libraries.add(new File(FilenameNormalization.normalize(env.SDK
+ "/frameworks/libs/framework.swc")));
libraries.add(new File(FilenameNormalization.normalize(env.SDK
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/af9b79f8/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/MXMLTestBase.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/MXMLTestBase.java b/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/MXMLTestBase.java
index 2aa964c..5a62d03 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/MXMLTestBase.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/MXMLTestBase.java
@@ -51,7 +51,7 @@ public class MXMLTestBase extends TestBase
protected void addLibraries(List<File> libraries)
{
libraries.add(new File(FilenameNormalization.normalize(env.FPSDK
- + "/11.1/playerglobal.swc")));
+ + "/" + env.FPVER + "/playerglobal.swc")));
libraries.add(new File(FilenameNormalization.normalize(env.SDK
+ "/frameworks/libs/framework.swc")));
libraries.add(new File(FilenameNormalization.normalize(env.SDK
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/af9b79f8/compiler.tests/feature-tests/mxml/tags/MXMLFeatureTestsBase.java
----------------------------------------------------------------------
diff --git a/compiler.tests/feature-tests/mxml/tags/MXMLFeatureTestsBase.java b/compiler.tests/feature-tests/mxml/tags/MXMLFeatureTestsBase.java
index 33a347e..a4b610a 100644
--- a/compiler.tests/feature-tests/mxml/tags/MXMLFeatureTestsBase.java
+++ b/compiler.tests/feature-tests/mxml/tags/MXMLFeatureTestsBase.java
@@ -45,7 +45,7 @@ public class MXMLFeatureTestsBase
{
private static EnvProperties env = EnvProperties.initiate();
- private static final String PLAYERGLOBAL_SWC = FilenameNormalization.normalize(env.FPSDK + "\\11.1\\playerglobal.swc");
+ private static final String PLAYERGLOBAL_SWC = FilenameNormalization.normalize(env.FPSDK + "\\" + env.FPVER + "\\playerglobal.swc");
private static final String FRAMEWORK_SWC = FilenameNormalization.normalize(env.SDK + "\\frameworks\\libs\\framework.swc");
private static final String FRAMEWORK_RB_SWC = FilenameNormalization.normalize(env.SDK + "\\frameworks\\locale\\en_US\\framework_rb.swc");
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/af9b79f8/compiler.tests/src/org/apache/flex/utils/EnvProperties.java
----------------------------------------------------------------------
diff --git a/compiler.tests/src/org/apache/flex/utils/EnvProperties.java b/compiler.tests/src/org/apache/flex/utils/EnvProperties.java
index 1fa58a4..062732e 100644
--- a/compiler.tests/src/org/apache/flex/utils/EnvProperties.java
+++ b/compiler.tests/src/org/apache/flex/utils/EnvProperties.java
@@ -60,6 +60,11 @@ public class EnvProperties {
*/
public String FDBG;
+ /**
+ * PLAYERGLOBAL_VERSION
+ */
+ public String FPVER;
+
private static EnvProperties env;
@@ -92,6 +97,11 @@ public class EnvProperties {
FPSDK = FilenameNormalization.normalize("../compiler/generated/dist/sdk/frameworks/libs/player");
System.out.println("environment property - PLAYERGLOBAL_HOME = " + FPSDK);
+ FPVER = p.getProperty("PLAYERGLOBAL_VERSION", System.getenv("PLAYERGLOBAL_VERSION"));
+ if (FPVER == null)
+ FPVER = "11.1";
+ System.out.println("environment property - PLAYERGLOBAL_VERSION = " + FPVER);
+
TLF = p.getProperty("TLF_HOME", System.getenv("TLF_HOME"));
System.out.println("environment property - TLF_HOME = " + TLF);
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/af9b79f8/compiler.tests/unit-tests/org/apache/flex/compiler/internal/tree/mxml/MXMLNodeBaseTests.java
----------------------------------------------------------------------
diff --git a/compiler.tests/unit-tests/org/apache/flex/compiler/internal/tree/mxml/MXMLNodeBaseTests.java b/compiler.tests/unit-tests/org/apache/flex/compiler/internal/tree/mxml/MXMLNodeBaseTests.java
index 3a82b9c..06293f4 100644
--- a/compiler.tests/unit-tests/org/apache/flex/compiler/internal/tree/mxml/MXMLNodeBaseTests.java
+++ b/compiler.tests/unit-tests/org/apache/flex/compiler/internal/tree/mxml/MXMLNodeBaseTests.java
@@ -118,7 +118,7 @@ public class MXMLNodeBaseTests
// Compile the code against playerglobal.swc.
List<File> libraries = new ArrayList<File>();
- libraries.add(new File(FilenameNormalization.normalize(env.FPSDK + "\\11.1\\playerglobal.swc")));
+ libraries.add(new File(FilenameNormalization.normalize(env.FPSDK + "\\" + env.FPVER + "\\playerglobal.swc")));
libraries.add(new File(FilenameNormalization.normalize(env.SDK + "\\frameworks\\libs\\framework.swc")));
libraries.add(new File(FilenameNormalization.normalize(env.SDK + "\\frameworks\\libs\\rpc.swc")));
libraries.add(new File(FilenameNormalization.normalize(env.SDK + "\\frameworks\\libs\\spark.swc")));
[08/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - kick
build
Posted by jo...@apache.org.
kick build
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/5105d81c
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/5105d81c
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/5105d81c
Branch: refs/heads/maven
Commit: 5105d81cec5dd595a0e27b95312d6ed3d2f67993
Parents: 391a051
Author: Alex Harui <ah...@apache.org>
Authored: Sun Apr 6 10:30:46 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Sun Apr 6 10:30:46 2014 -0700
----------------------------------------------------------------------
jenkins.xml | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/5105d81c/jenkins.xml
----------------------------------------------------------------------
diff --git a/jenkins.xml b/jenkins.xml
index 672b187..3e5f43b 100644
--- a/jenkins.xml
+++ b/jenkins.xml
@@ -34,6 +34,7 @@
<mkdir dir="${jflex.root}" />
</target>
+ <!-- remove someday -->
<target name="clear.sdk.lock" >
</target>
[29/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] -
FLEX-34225 attempt to fix ordering problem
Posted by jo...@apache.org.
FLEX-34225 attempt to fix ordering problem
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/02d113c4
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/02d113c4
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/02d113c4
Branch: refs/heads/maven
Commit: 02d113c4ba9616b91c6827aebefabedd7bf8f00d
Parents: aecf7b8
Author: Alex Harui <ah...@apache.org>
Authored: Tue Apr 15 17:20:28 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Apr 15 20:13:25 2014 -0700
----------------------------------------------------------------------
compiler/src/org/apache/flex/compiler/config/Configuration.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/02d113c4/compiler/src/org/apache/flex/compiler/config/Configuration.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/config/Configuration.java b/compiler/src/org/apache/flex/compiler/config/Configuration.java
index 0b4544b..3c9957e 100644
--- a/compiler/src/org/apache/flex/compiler/config/Configuration.java
+++ b/compiler/src/org/apache/flex/compiler/config/Configuration.java
@@ -2186,7 +2186,7 @@ public class Configuration
@Mapping({"compiler", "library-path"})
@Arguments(Arguments.PATH_ELEMENT)
@InfiniteArguments
- @SoftPrerequisites("locale")
+ @SoftPrerequisites({"locale", "target-player"})
public void setCompilerLibraryPath(ConfigurationValue cv, String[] pathlist) throws CannotOpen
{
final ImmutableList<String> resolvedPaths = expandTokens(
[33/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - drop
certification paragraphs
Posted by jo...@apache.org.
drop certification paragraphs
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/dca894b2
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/dca894b2
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/dca894b2
Branch: refs/heads/maven
Commit: dca894b286eba0f5f1af26297868cbd460ec8583
Parents: 9a0a490
Author: Alex Harui <ah...@apache.org>
Authored: Wed Apr 16 21:16:33 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Apr 16 21:16:33 2014 -0700
----------------------------------------------------------------------
README | 10 ----------
1 file changed, 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dca894b2/README
----------------------------------------------------------------------
diff --git a/README b/README
index 4725c20..1f55547 100644
--- a/README
+++ b/README
@@ -115,22 +115,12 @@ Install Prerequisites
The Adobe AIR integration kit for Linux can be downloaded from:
http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRSDK.tbz2
- This version of Apache Flex was certified for use with AIR 4.0, and
- should be compatible with other versions of AIR newer than 3.1. However
- it hasn't been fully tested on AIR 3.2, 3.3, 3.5, 3.6 or 3.7.
-
Download the AIR SDK for your platform and unzip it. Set AIR_HOME to the
absolute path of the AIR SDK directory.
*4) The Adobe Flash Player content debuggers can be found here:
http://www.adobe.com/support/flashplayer/downloads.html
- This version of Apache Flex was certified for use with Adobe Flash
- Player 11.1, and is compatible with versions 10.2 through 13.0. It has
- been tested with versions 11.1, 11.7, 11.8, 11.9 and 12.0 on Windows
- and Mac. It has been compiled against other Adobe Flash Player versions
- but has not been fully tested. It has not been fully tested on Linux.
-
On Windows, set FLASHPLAYER_DEBUGGER to the absolute path including the
filename of the FlashPlayerDebugger.exe. Note the filename of flash
player debugger maybe different.
[22/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] -
FLEX-34224 use '-output' valued as target directory when specified
Posted by jo...@apache.org.
FLEX-34224 use '-output' valued as target directory when specified
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/285da92d
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/285da92d
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/285da92d
Branch: refs/heads/maven
Commit: 285da92d7239f3178ac493b8f7eed8db75c9a9cc
Parents: b39d5e3
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Tue Apr 15 13:47:52 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Tue Apr 15 13:47:52 2014 +0200
----------------------------------------------------------------------
.../codegen/mxml/flexjs/MXMLFlexJSPublisher.java | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/285da92d/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
index 050df56..ea423d7 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
@@ -60,7 +60,8 @@ public class MXMLFlexJSPublisher extends JSGoogPublisher implements
this.isMarmotinniRun = ((JSGoogConfiguration) configuration)
.getMarmotinni() != null;
-
+ this.outputPathParameter = ((JSGoogConfiguration) configuration)
+ .getOutput();
this.useStrictPublishing = ((JSGoogConfiguration) configuration)
.getStrictPublish();
@@ -70,18 +71,25 @@ public class MXMLFlexJSPublisher extends JSGoogPublisher implements
private FlexJSProject project;
private boolean isMarmotinniRun;
+ private String outputPathParameter;
private boolean useStrictPublishing;
@Override
public File getOutputFolder()
{
- // (erikdebruin) If there is a -marmotinni switch, we want
- // the output redirected to the directory it specifies.
+ // (erikdebruin) - If there is a -marmotinni switch, we want
+ // the output redirected to the directory it specifies.
+ // - If there is an -output switch, use that path as the
+ // output parent folder.
if (isMarmotinniRun)
{
outputParentFolder = new File(
((JSGoogConfiguration) configuration).getMarmotinni());
}
+ else if (outputPathParameter != null)
+ {
+ outputParentFolder = new File(outputPathParameter);
+ }
else
{
outputParentFolder = new File(
[21/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - Remove
debug output
Posted by jo...@apache.org.
Remove debug output
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/b39d5e32
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/b39d5e32
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/b39d5e32
Branch: refs/heads/maven
Commit: b39d5e32d27dd40e4ec9d8059e32b94e9c84b475
Parents: 44c1e68
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Tue Apr 15 13:09:43 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Tue Apr 15 13:09:43 2014 +0200
----------------------------------------------------------------------
.../flex/compiler/internal/codegen/js/goog/TestGoogProject.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b39d5e32/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/goog/TestGoogProject.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/goog/TestGoogProject.java b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/goog/TestGoogProject.java
index c41f820..c480ee1 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/goog/TestGoogProject.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/goog/TestGoogProject.java
@@ -80,7 +80,7 @@ public class TestGoogProject extends ASTestBase
+ backend.getOutputExtension();
String compiledResult = readCodeFile(new File(compiledFilePath));
- System.out.println(compiledResult);
+ //System.out.println(compiledResult);
String expectedFilePath = new File("test-files").getAbsolutePath()
+ File.separator + testDirPath + File.separator
[50/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - remove
JFlex parse warnings
Posted by jo...@apache.org.
remove JFlex parse warnings
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/2bd7b243
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/2bd7b243
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/2bd7b243
Branch: refs/heads/maven
Commit: 2bd7b2437599cbaa554812aba606d01bd599a208
Parents: 794893c
Author: Jose Barragan <jo...@apache.org>
Authored: Fri Feb 28 19:10:52 2014 +0100
Committer: Jose Barragan <jo...@apache.org>
Committed: Thu Apr 24 18:03:14 2014 +0200
----------------------------------------------------------------------
.../flex/compiler/internal/parsing/as/RawASDocTokenizer.lex | 4 ++--
.../flex/compiler/internal/parsing/as/RawASTokenizer.lex | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2bd7b243/compiler/src/org/apache/flex/compiler/internal/parsing/as/RawASDocTokenizer.lex
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/internal/parsing/as/RawASDocTokenizer.lex b/compiler/src/org/apache/flex/compiler/internal/parsing/as/RawASDocTokenizer.lex
index 03b7a8f..5312ac9 100644
--- a/compiler/src/org/apache/flex/compiler/internal/parsing/as/RawASDocTokenizer.lex
+++ b/compiler/src/org/apache/flex/compiler/internal/parsing/as/RawASDocTokenizer.lex
@@ -194,7 +194,7 @@ NS_WHITE_SPACE_CHAR=[\r\n\t\b\012]
startOrContinueAggregate();
}
-<STRING1> ([\\](.|"\n"))+
+<STRING1> ([\\]([^]|"\n"))+
{
startOrContinueAggregate();
}
@@ -231,7 +231,7 @@ NS_WHITE_SPACE_CHAR=[\r\n\t\b\012]
return buildToken(TOKEN_ASDOC_TAG);
}
-<YYINITIAL, TAG, STRING1> .|"\n"
+<YYINITIAL, TAG, STRING1> [^]|"\n"
{
// just ignore anything that we don't recognize
// System.out.println(getContext(yyline));
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2bd7b243/compiler/src/org/apache/flex/compiler/internal/parsing/as/RawASTokenizer.lex
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/internal/parsing/as/RawASTokenizer.lex b/compiler/src/org/apache/flex/compiler/internal/parsing/as/RawASTokenizer.lex
index f0fd6b6..d814d45 100644
--- a/compiler/src/org/apache/flex/compiler/internal/parsing/as/RawASTokenizer.lex
+++ b/compiler/src/org/apache/flex/compiler/internal/parsing/as/RawASTokenizer.lex
@@ -845,7 +845,7 @@ REGEX_CLASS="[" ({REGEX_ESCAPE}|[^\n\r\]\\])* "]"
{
}
-<TYPED_COLLECTION, TYPED_COLLECTION_LITERAL> .|"\n"
+<TYPED_COLLECTION, TYPED_COLLECTION_LITERAL> [^]|"\n"
{
yypushback(1);
typedDepth = 0;
@@ -932,7 +932,7 @@ REGEX_CLASS="[" ({REGEX_ESCAPE}|[^\n\r\]\\])* "]"
return buildToken(TOKEN_E4X_EQUALS);
}
-<E4X> .|"\n"
+<E4X> [^]|"\n"
{
yypushback(1);
yybegin(e4xTagDepth > 0 ? E4XTEXTVALUE : YYINITIAL);
@@ -1319,7 +1319,7 @@ REGEX_CLASS="[" ({REGEX_ESCAPE}|[^\n\r\]\\])* "]"
yybegin(YYINITIAL);
}
-<YYINITIAL, STRINGLITERAL, ESCAPE_SEQUENCE, TYPED_COLLECTION, TYPED_COLLECTION_LITERAL> .|"\n"
+<YYINITIAL, STRINGLITERAL, ESCAPE_SEQUENCE, TYPED_COLLECTION, TYPED_COLLECTION_LITERAL> [^]|"\n"
{
addBadCharacterProblem(yytext());
}
[27/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - remove
some trace statements
Posted by jo...@apache.org.
remove some trace statements
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/8a356a89
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/8a356a89
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/8a356a89
Branch: refs/heads/maven
Commit: 8a356a8913964ed6bdb976f5bff89ffca751f63a
Parents: 3a52321
Author: Alex Harui <ah...@apache.org>
Authored: Tue Apr 15 11:23:58 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Apr 15 20:13:23 2014 -0700
----------------------------------------------------------------------
.../internal/as/codegen/MXMLClassDirectiveProcessor.java | 4 ++--
.../internal/codegen/databinding/MXMLBindingDirectiveHelper.java | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/8a356a89/compiler/src/org/apache/flex/compiler/internal/as/codegen/MXMLClassDirectiveProcessor.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/internal/as/codegen/MXMLClassDirectiveProcessor.java b/compiler/src/org/apache/flex/compiler/internal/as/codegen/MXMLClassDirectiveProcessor.java
index a8d6593..5514e47 100644
--- a/compiler/src/org/apache/flex/compiler/internal/as/codegen/MXMLClassDirectiveProcessor.java
+++ b/compiler/src/org/apache/flex/compiler/internal/as/codegen/MXMLClassDirectiveProcessor.java
@@ -2475,8 +2475,8 @@ public class MXMLClassDirectiveProcessor extends ClassDirectiveProcessor
getProject(), base, d.getBaseName(), NamespaceDefinition.getPublicNamespaceDefinition(), false);
if (baseDef == null)
addBindableVariableTrait(idName, instanceClassName, d);
- else
- System.out.println("not adding bindable variable trait for " + d.getBaseName() + " in " + instanceClassName);
+ //else
+ // System.out.println("not adding bindable variable trait for " + d.getBaseName() + " in " + instanceClassName);
}
else
addBindableVariableTrait(idName, instanceClassName, d);
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/8a356a89/compiler/src/org/apache/flex/compiler/internal/codegen/databinding/MXMLBindingDirectiveHelper.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/internal/codegen/databinding/MXMLBindingDirectiveHelper.java b/compiler/src/org/apache/flex/compiler/internal/codegen/databinding/MXMLBindingDirectiveHelper.java
index 0fb28a8..e053aec 100644
--- a/compiler/src/org/apache/flex/compiler/internal/codegen/databinding/MXMLBindingDirectiveHelper.java
+++ b/compiler/src/org/apache/flex/compiler/internal/codegen/databinding/MXMLBindingDirectiveHelper.java
@@ -187,7 +187,7 @@ public class MXMLBindingDirectiveHelper
private InstructionList outputBindingInfoAsData(boolean isFlexSDK)
{
- System.out.println("outputBindingInfoAsData");
+ //System.out.println("outputBindingInfoAsData");
InstructionList ret = new InstructionList();
int propertyCount = 0;
[07/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - try to
fix build
Posted by jo...@apache.org.
try to fix build
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/391a051e
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/391a051e
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/391a051e
Branch: refs/heads/maven
Commit: 391a051e8401c2bba94773e2ebe6dab898ee794c
Parents: 02ff887
Author: Alex Harui <ah...@apache.org>
Authored: Sun Apr 6 07:26:56 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Sun Apr 6 07:26:56 2014 -0700
----------------------------------------------------------------------
.../asc/embedding/WarningConstants.java | 10561 -----------------
1 file changed, 10561 deletions(-)
----------------------------------------------------------------------