You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2016/04/29 19:11:39 UTC
[1/3] git commit: [flex-falcon] [refs/heads/develop] - release
package now passes approval steps
Repository: flex-falcon
Updated Branches:
refs/heads/develop f51b537af -> 2552ded77
release package now passes approval steps
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/0eaf55f8
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/0eaf55f8
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/0eaf55f8
Branch: refs/heads/develop
Commit: 0eaf55f8d32095049c21e3aecc3528ef0088c8a4
Parents: f51b537
Author: Alex Harui <ah...@apache.org>
Authored: Fri Apr 29 09:23:38 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Apr 29 09:23:38 2016 -0700
----------------------------------------------------------------------
ApproveFalcon.xml | 2 +-
build.xml | 30 ++++++++++++++++++++++++++++++
2 files changed, 31 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/0eaf55f8/ApproveFalcon.xml
----------------------------------------------------------------------
diff --git a/ApproveFalcon.xml b/ApproveFalcon.xml
index b981cd1..7c690e2 100644
--- a/ApproveFalcon.xml
+++ b/ApproveFalcon.xml
@@ -189,7 +189,7 @@
<delete file="jars.txt" />
<!-- this is a comma-delimited, no spaces, no-line-breaks list used to decide which jars
to skip in the rat-check of the binaries and which jars to examine before approval -->
- <property name="jars-list" value="compiler/lib/falcon-flexTasks.jar,compiler/lib/compc.jar,compiler/lib/compiler.jar,compiler/lib/falcon-asc.jar,compiler/lib/falcon-compc.jar,compiler/lib/falcon-flexTasks.jar,compiler/lib/falcon-mxmlc.jar,compiler/lib/falcon-optimizer.jar,compiler/lib/falcon-swfdump.jar,compiler/lib/fdb.jar,compiler/lib/flex-compiler-oem.jar,compiler/lib/swfutils.jar,js/lib/compc.jar,js/lib/externc.jar,js/lib/jsc.jar,js/lib/mxmlc.jar"/>
+ <property name="jars-list" value="compiler/lib/falcon-flexTasks.jar,compiler/lib/compc.jar,compiler/lib/compiler.jar,compiler/lib/falcon-asc.jar,compiler/lib/falcon-compc.jar,compiler/lib/falcon-flexTasks.jar,compiler/lib/falcon-mxmlc.jar,compiler/lib/falcon-optimizer.jar,compiler/lib/falcon-swfdump.jar,compiler/lib/fdb.jar,compiler/lib/flex-compiler-oem.jar,js/lib/compc.jar,js/lib/externc.jar,js/lib/jsc.jar,js/lib/mxmlc.jar"/>
<echo file="${basedir}/jars.txt" message="${jars-list}"/>
<echo file="${basedir}/jarexcludes.txt" message="${jars-list}"/>
<replaceregexp file="${basedir}/jarexcludes.txt" match="," flags="g" replace="${line.separator}" />
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/0eaf55f8/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index bb185d5..6fe5052 100644
--- a/build.xml
+++ b/build.xml
@@ -313,6 +313,36 @@
<exclude name="**/unittest.properties" />
</fileset>
</copy>
+ <copy todir="${basedir}/temp/compiler-build-tools" includeEmptyDirs="false">
+ <fileset dir="${basedir}/compiler-build-tools">
+ <include name="**"/>
+ <exclude name=".classpath" />
+ <exclude name=".project" />
+ <exclude name=".settings/**" />
+ <exclude name="in/**"/>
+ <exclude name="lib/**"/>
+ <exclude name="target/classes/**"/>
+ <exclude name="target/test-classes/**"/>
+ <exclude name="target/junit-temp/**"/>
+ <exclude name="target/junit-reports/**"/>
+ <exclude name="**/unittest.properties" />
+ </fileset>
+ </copy>
+ <copy todir="${basedir}/temp/compiler-jburg-types" includeEmptyDirs="false">
+ <fileset dir="${basedir}/compiler-jburg-types">
+ <include name="**"/>
+ <exclude name=".classpath" />
+ <exclude name=".project" />
+ <exclude name=".settings/**" />
+ <exclude name="in/**"/>
+ <exclude name="lib/**"/>
+ <exclude name="target/classes/**"/>
+ <exclude name="target/test-classes/**"/>
+ <exclude name="target/junit-temp/**"/>
+ <exclude name="target/junit-reports/**"/>
+ <exclude name="**/unittest.properties" />
+ </fileset>
+ </copy>
<tstamp>
<format property="build.number.date" pattern="yyyyMMdd" />
[3/3] git commit: [flex-falcon] [refs/heads/develop] - update readme
and release notes
Posted by ah...@apache.org.
update readme and release notes
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/2552ded7
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/2552ded7
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/2552ded7
Branch: refs/heads/develop
Commit: 2552ded77673598c11aa8f62f7d27f65b6824db4
Parents: b6d536d
Author: Alex Harui <ah...@apache.org>
Authored: Fri Apr 29 10:11:28 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Apr 29 10:11:28 2016 -0700
----------------------------------------------------------------------
README | 35 +++++++++++++++++++++--------------
README_JX | 6 +++---
RELEASE_NOTES | 10 ++++++++++
RELEASE_NOTES_JX | 14 ++++++++++++++
4 files changed, 48 insertions(+), 17 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2552ded7/README
----------------------------------------------------------------------
diff --git a/README b/README
index b5b8cf9..028c65b 100644
--- a/README
+++ b/README
@@ -32,9 +32,13 @@ Getting the latest sources via git
cd flex-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:
+ When working with the sources from Git, the Apache Flex Compiler
+ also requires code from other Apache Flex git repositories or an Apache Flex SDK.
+ These Apache Flex SDK source files are bundled in Apache Flex Falcon
+ source code distributions, so this step is optional when using source code
+ distributions.
+
+ 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 flex-sdk
cd flex-sdk
@@ -89,7 +93,7 @@ Install Prerequisites
Optional: Apache Flex TLF source (*7) TLF_HOME
- Optional: Flex Messaging Common (*8) BLAZEDS_HOME
+ Optional: Flex Messaging Common (*8) BLAZEDS_HOME
==================================================================================
@@ -159,11 +163,10 @@ Install Prerequisites
These can be used with the Apache Flex Compiler but not all have not been fully
tested.
- *6) The FLEX_HOME variable should point to a folder containing a folder
- named textLayout that contains a src folder of the flex-sdk sources.
+ *6) The FLEX_HOME variable should point to a folder of the flex-sdk sources.
If you don’t provide this variable (and TLF_HOME and BLAZEDS_HOME),
- you may not be able to run all of the tests in the compiler.tests
- and compiler.jx.tests folders.
+ you may not be able to run all of the tests in the compiler
+ and compiler-jx folders.
*7) The TLF_HOME variable should point to a folder containing a folder
named textLayout that contains a src folder of the TLF sources.
@@ -191,11 +194,12 @@ Software Dependencies
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.
- antlr - http://search.maven.org/remotecontent?filepath=org/antlr/antlr-complete/3.5.2/antlr-3.5.2-complete.jar
- commons-cli - http://archive.apache.org/dist/commons/cli/binaries/commons-cli-2.4-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/17.0/guava-17.0.jar
- jburg - http://search.maven.org/remotecontent?filepath=net/sourceforge/jburg/jburg/1.10.2/jburg-1.10.2.jar
+ antlr - https://repo1.maven.org/maven2/org/antlr/antlr-complete/3.5.2/antlr-3.5.2-complete.jar
+ commons-cli - https://repo1.maven.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2-bin.tar.gz
+ commons-io - https://repo1.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4.tar.gz
+ commons-lang - https://repo1.maven.org/maven2/commons-lang/commons-lang/2.6/commons-lang-2.6.tar.gz
+ guava - https://repo1.maven.org/maven2/com/google/guava/guava/17.0/guava-17.0.jar
+ jburg - https://repo1.maven.org/maven2/net/sourceforge/jburg/jburg/1.10.2/jburg-1.10.2.jar
jflex - http://jflex.de/jflex-1.6.0.tar.gz
lzma - http://www.java2s.com/Code/JarDownload/lzma/lzma-9.20.jar.zip
@@ -260,7 +264,10 @@ Building the Source in the Source Distribution
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 ).
+Before running unit-, functional- or feature-tests you may need to create a
+compiler/src/tests/unittest.properties file
+
+A template is found here compiler/src/main/resources/template-unittest.properties.
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2552ded7/README_JX
----------------------------------------------------------------------
diff --git a/README_JX b/README_JX
index e1cd634..cd1cc1e 100644
--- a/README_JX
+++ b/README_JX
@@ -55,7 +55,7 @@ Install Prerequisites
*1) Set the ASJS_HOME variable to the root of the Apache FlexJS SDK or repository.
This is optional and only required to run the FlexJS dependent tests in
- the compiler.jx.tests folder.
+ the compiler-jx folder.
Software Dependencies
---------------------
@@ -72,7 +72,7 @@ Software Dependencies
args4j = http://search.maven.org/remotecontent?filepath=args4j/args4j/2.0.28/args4j-2.0.28.jar
Google Closure Compiler - http://github.com/google/closure-compiler/archive/v 20151015.zip
- commons-io - http://archive.apache.org/dist/commons/io/binaries/commons-io-2.4.tar.gz
+ commons-io - https://repo1.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4.tar.gz
org.json = http://search.maven.org/remotecontent?filepath=org/codeartisans/org.json/20131017/org.json-20131017.jar
@@ -134,7 +134,7 @@ Building the Source in the Source Distribution
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 ).
+Before running unit-, functional- or feature-tests you may need to create a unittest.properties file ( template is found here compiler/src/main/resources/template-unittest.properties ).
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2552ded7/RELEASE_NOTES
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index 5fcc3c5..40a9822 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -1,3 +1,13 @@
+Apache Flex 'Falcon' Compiler 0.7.0
+=================
+Apache Flex 'Falcon' Compiler 0.7.0 is the fifth release of a next-generation
+compiler intended to someday replace the MXMLC in Apache Flex SDKs, and is the
+compiler for Apache FlexJS SDKs.
+
+This release includes Maven artifacts.
+
+Lots of bug fixes and other small improvements are included in this release.
+
Apache Flex 'Falcon' Compiler 0.6.0
=================
Apache Flex 'Falcon' Compiler 0.6.0 is the fourth release of a next-generation
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2552ded7/RELEASE_NOTES_JX
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES_JX b/RELEASE_NOTES_JX
index e4bda7e..5dfd3f5 100644
--- a/RELEASE_NOTES_JX
+++ b/RELEASE_NOTES_JX
@@ -1,3 +1,17 @@
+Apache Flex 'FalconJX' Cross-Compiler 0.7.0
+=================
+
+Apache Flex 'FalconJX' Compiler 0.7.0 is the fifth 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.
+
+This release includes Maven artifacts.
+
+The ability to use source maps to see your ActionScript source in the browser debugger is introduced in this release. The implementation is likely to have bugs.
+
+In addition, lots of bug fixes and small improvements are included in this release.
+
+
Apache Flex 'FalconJX' Cross-Compiler 0.6.0
=================
[2/3] git commit: [flex-falcon] [refs/heads/develop] - need these
templates
Posted by ah...@apache.org.
need these templates
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/b6d536d2
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/b6d536d2
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/b6d536d2
Branch: refs/heads/develop
Commit: b6d536d2905c620510adf7dc571c479e668017e5
Parents: 0eaf55f
Author: Alex Harui <ah...@apache.org>
Authored: Fri Apr 29 10:11:00 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Apr 29 10:11:00 2016 -0700
----------------------------------------------------------------------
.../src/main/resources/env-template.properties | 111 +++++++++++++++++++
.../main/resources/template-unittest.properties | 47 ++++++++
2 files changed, 158 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6d536d2/compiler/src/main/resources/env-template.properties
----------------------------------------------------------------------
diff --git a/compiler/src/main/resources/env-template.properties b/compiler/src/main/resources/env-template.properties
new file mode 100644
index 0000000..11d3394
--- /dev/null
+++ b/compiler/src/main/resources/env-template.properties
@@ -0,0 +1,111 @@
+################################################################################
+##
+## 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.
+##
+################################################################################
+
+# If you choose to use this file, copy it to ../../../../env.properties
+# (the root folder of the sources) and uncomment the
+# properties you wish to set.
+
+# For each of
+#
+# AIR_HOME
+# FLASHPLAYER_DEBUGGER
+# PLAYERGLOBAL_HOME
+# FLEX_HOME
+# TLF_HOME
+#
+# you need to set an environment variable with that name or set the property here
+# prefixed with "env.". If a property is set in this file, and the corresponding
+# environment variable is also set, the property set here takes precedence over the
+# corresponding environment variable.
+#
+# Use absolute file paths.
+#
+# This is a Java property file. On Windows if you use the '\' file
+# separator you must use "\\", but not escape spaces, for example,
+#
+# env.FLASHPLAYER_DEBUGGER=z:\\tools\\player\\flashplayer_11_sa_debug_32bit.exe
+#
+# See the README file for more information about the different variables.
+
+#
+# Set this to the directory that contains the unzipped Adobe AIR SDK for your
+# platform.
+#
+#env.AIR_HOME=
+
+#
+# Set this to absolute path that contains the Adobe Flash Player content debugger
+# for your platform.
+#
+#env.FLASHPLAYER_DEBUGGER=
+
+#
+# PLAYERGLOBAL_HOME is a directory which contains one or more subdirectories.
+# The name of each subdirectory corresponds to a supported target player version and
+# in each of the subdirectories is the playerglobal.swc that corresponds to that target
+# player. The default
+#
+# For this sample directory structure, set PLAYERGLOBAL_HOME to the full path of the
+# player directory.
+#
+# - player (dir)
+# - 11.1 (dir)
+# playerglobal.swc (file)
+#
+#env.PLAYERGLOBAL_HOME=
+
+#
+# Set this to the directory that contains a Flex SDK.
+#
+# On Windows (32-bit), the setting might be
+# env.FLEX_HOME=C:\\dev\\apache-flex\\flex-sdk
+#
+# On Mac, the setting might be
+# env.FLEX_HOME=/Users/username/dev/apache-flex/flex-sdk
+#
+#env.FLEX_HOME=
+
+#
+# Set this to the directory that contains the Text Layout Framework.
+#
+#
+# On Windows (32-bit), the setting might be
+# env.TLF_HOME =C:\\dev\\apache-flex\\flex-tlf
+#
+# On Mac, the setting might be
+# env.TLF_HOME =/Users/username/dev/apache-flex/flex-tlf
+#
+#env.TLF_HOME=
+
+#
+# Set this to the directory that contains a FlexJS SDK.
+#
+#
+# On Windows (32-bit), the setting might be
+# env.ASJS_HOME =C:\\dev\\apache-flex\\flex-asjs
+#
+# On Mac, the setting might be
+# env.ASJS_HOME =/Users/username/dev/apache-flex/flex-asjs
+#
+#env.ASJS_HOME=
+
+#
+# If you use a player global that is different that the default of 11.0,
+# you need to set it here.
+#env.PLAYERGLOBAL_VERSION=21.0
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6d536d2/compiler/src/main/resources/template-unittest.properties
----------------------------------------------------------------------
diff --git a/compiler/src/main/resources/template-unittest.properties b/compiler/src/main/resources/template-unittest.properties
new file mode 100644
index 0000000..aa74d04
--- /dev/null
+++ b/compiler/src/main/resources/template-unittest.properties
@@ -0,0 +1,47 @@
+################################################################################
+##
+## 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.
+##
+################################################################################
+
+# copy template-unittest.properties to ../../test/unittest.properties (the src/test folder)
+
+#
+
+# Example (Windows) FLEX_HOME=C:\\dev\\apache-flex\\sdk
+# (Mac Os X)
+#
+FLEX_HOME=
+
+# Example (Windows) TLF_HOME=C:\\dev\\apache-flex\\tlf
+# (Mac Os X)
+#
+TLF_HOME=
+
+# Example (Windows) AIR_HOME=C:\\dev\\air-sdk-3.4
+# (Mac Os X)
+#
+AIR_HOME=
+
+#
+# Example (Windows) PLAYERGLOBAL_HOME=C:\\dev\\apache-flex-4.8.0\\frameworks\\libs\\player
+# (Mac Os X)
+#
+PLAYERGLOBAL_HOME=
+
+# Example (Windows) FLASHPLAYER_DEBUGGER=C:\\Program Files\\Adobe\\Adobe Flash Builder\\player\\win\\11.1\\FlashPlayerDebugger.exe
+# (Mac Os X)
+FLASHPLAYER_DEBUGGER=