You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2016/07/19 09:55:13 UTC
git commit: [flex-asjs] [refs/heads/develop] - - Activated the
apache-rat-plugin in all modules to do automated checks if all sources have
proper license headers - Fixed the license-header related issues in the build
- Moved the README.txt files in some
Repository: flex-asjs
Updated Branches:
refs/heads/develop 3b40cb265 -> 57106cc0c
- Activated the apache-rat-plugin in all modules to do automated checks if all sources have proper license headers
- Fixed the license-header related issues in the build
- Moved the README.txt files in some examples from the src directory into the roots of the examples projects
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/57106cc0
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/57106cc0
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/57106cc0
Branch: refs/heads/develop
Commit: 57106cc0c382a0076ca12edffa6c48d8ea1fdbcf
Parents: 3b40cb2
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Tue Jul 19 11:53:53 2016 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Tue Jul 19 11:53:53 2016 +0200
----------------------------------------------------------------------
.gitignore | 2 +-
.mvn/extensions.xml | 19 +++++++
distribution/pom.xml | 2 +-
examples/flexjs/ChartExample/README.txt | 31 +++++++++++
examples/flexjs/ChartExample/src/README.txt | 31 -----------
examples/flexjs/CordovaCameraExample/README.txt | 27 +++++++++
.../flexjs/CordovaCameraExample/src/README.txt | 27 ---------
examples/flexjs/CreateJSExample/README.txt | 26 +++++++++
examples/flexjs/CreateJSExample/src/README.txt | 26 ---------
examples/flexjs/DataBindingExample/README.txt | 53 ++++++++++++++++++
.../flexjs/DataBindingExample/src/README.txt | 53 ------------------
.../flexjs/DataBindingExample_Flat/README.txt | 52 ++++++++++++++++++
.../DataBindingExample_Flat/src/README.txt | 52 ------------------
examples/flexjs/DataGridExample/README.txt | 46 ++++++++++++++++
examples/flexjs/DataGridExample/src/README.txt | 46 ----------------
.../flexjs/FlexWebsiteStatsViewer/README.txt | 23 ++++++++
.../FlexWebsiteStatsViewer/src/README.txt | 23 --------
examples/flexjs/TodoListSampleApp/README.txt | 22 ++++++++
.../flexjs/TodoListSampleApp/src/README.txt | 22 --------
examples/native/AngularExample/pom.xml | 54 ++++++++++++++++++
examples/native/ButtonExample/pom.xml | 2 +
examples/native/USStatesMap/pom.xml | 2 +
examples/native/pom.xml | 6 ++
examples/pom.xml | 2 +-
.../js/VanillaSDK/flash/events/MouseEvent.js | 18 ++++++
frameworks/js/VanillaSDK/mx/core/UIComponent.js | 18 ++++++
frameworks/js/VanillaSDK/other/ViewElement.js | 18 ++++++
.../js/VanillaSDK/spark/components/Button.js | 18 ++++++
.../js/VanillaSDK/spark/components/Group.js | 18 ++++++
.../js/VanillaSDK/spark/components/Image.js | 18 ++++++
.../js/VanillaSDK/spark/components/Label.js | 18 ++++++
frameworks/pom.xml | 2 +-
.../org/apache/flex/collections/Collection.as | 18 ++++++
manualtests/VanillaSDK_POC/src/Example.as | 20 ++++++-
manualtests/VanillaSDK_POC/src/Main.mxml | 20 ++++++-
pom.xml | 58 +++++++++++++++++++-
36 files changed, 606 insertions(+), 287 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index fdc9722..f976f3f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,7 +16,7 @@
*.iws
# building
-target
+target/
[Bb]uild/
null
tmp
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/.mvn/extensions.xml
----------------------------------------------------------------------
diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml
index 1a1890b..71ce517 100644
--- a/.mvn/extensions.xml
+++ b/.mvn/extensions.xml
@@ -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.
+
+-->
<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd">
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/distribution/pom.xml
----------------------------------------------------------------------
diff --git a/distribution/pom.xml b/distribution/pom.xml
index 8bac235..f323881 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.flex.flexjs</groupId>
- <artifactId>flex-asjs</artifactId>
+ <artifactId>flexjs-framework-parent</artifactId>
<version>0.7.0-SNAPSHOT</version>
</parent>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/examples/flexjs/ChartExample/README.txt
----------------------------------------------------------------------
diff --git a/examples/flexjs/ChartExample/README.txt b/examples/flexjs/ChartExample/README.txt
new file mode 100644
index 0000000..9179bd3
--- /dev/null
+++ b/examples/flexjs/ChartExample/README.txt
@@ -0,0 +1,31 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+This example demonstrates how to construct a BarChart and a PieChart. The BarChart
+is composed of two series while the PieChart has one (and only one) series.
+
+At this time, PieChart supports only one series, but BarChart can support several.
+
+PieChart uses SVG on the HTML/JavaScript side to draw the wedges. This is still
+a "to do" item for BarChart, but it should be done. Further charts can follow
+the same pattern.
+
+PieChart uses a special ChartDataGroup (since all charts, so far, are based on
+List) that provides an SVG element on the JavaScript side. BarChart can make use
+of the same construct and have BoxItemRenderer create an SVG <rect> element.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/examples/flexjs/ChartExample/src/README.txt
----------------------------------------------------------------------
diff --git a/examples/flexjs/ChartExample/src/README.txt b/examples/flexjs/ChartExample/src/README.txt
deleted file mode 100644
index 9179bd3..0000000
--- a/examples/flexjs/ChartExample/src/README.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-This example demonstrates how to construct a BarChart and a PieChart. The BarChart
-is composed of two series while the PieChart has one (and only one) series.
-
-At this time, PieChart supports only one series, but BarChart can support several.
-
-PieChart uses SVG on the HTML/JavaScript side to draw the wedges. This is still
-a "to do" item for BarChart, but it should be done. Further charts can follow
-the same pattern.
-
-PieChart uses a special ChartDataGroup (since all charts, so far, are based on
-List) that provides an SVG element on the JavaScript side. BarChart can make use
-of the same construct and have BoxItemRenderer create an SVG <rect> element.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/examples/flexjs/CordovaCameraExample/README.txt
----------------------------------------------------------------------
diff --git a/examples/flexjs/CordovaCameraExample/README.txt b/examples/flexjs/CordovaCameraExample/README.txt
new file mode 100644
index 0000000..a3ebcaf
--- /dev/null
+++ b/examples/flexjs/CordovaCameraExample/README.txt
@@ -0,0 +1,27 @@
+Running the CordovaCameraExample on an Android Device
+
+From Flash Builder or the command line, run the FlexJS cross compiler, FalconJX, to build the HTML/JavaScript version of your app.
+% cd ~/dev/flex-asjs/examples/CordovaCameraExample
+% ant
+
+Go to your mobile development directory:
+%cd ~/mobile
+
+Copy into this directory, the cordova-build.xml ANT script:
+% cp ~/dev/flex-asjs/cordova-build.xml .
+
+Create the Cordova project for your FlexJS application:
+% ant -f cordova-build.xml -DPROJECT_NAME=CordovaCameraExample -DTARGET_DIR=. -DPROJECT_DIR=/Users/home/dev/flex-asjs/examples/flexjs/CordovaCameraExample
+
+Load the Cordova camera plugin:
+cd CordovaCameraExample
+% cordova plugin add cordova-plugin-camera
+
+Modify the www/index.html file to include the cordova.js source (place this line with the other <script> elements):
+<script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+
+Run your app on your connected device:
+% cordova run
+
+Or run on the simulator
+% cordova emulate android
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/examples/flexjs/CordovaCameraExample/src/README.txt
----------------------------------------------------------------------
diff --git a/examples/flexjs/CordovaCameraExample/src/README.txt b/examples/flexjs/CordovaCameraExample/src/README.txt
deleted file mode 100644
index a3ebcaf..0000000
--- a/examples/flexjs/CordovaCameraExample/src/README.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-Running the CordovaCameraExample on an Android Device
-
-From Flash Builder or the command line, run the FlexJS cross compiler, FalconJX, to build the HTML/JavaScript version of your app.
-% cd ~/dev/flex-asjs/examples/CordovaCameraExample
-% ant
-
-Go to your mobile development directory:
-%cd ~/mobile
-
-Copy into this directory, the cordova-build.xml ANT script:
-% cp ~/dev/flex-asjs/cordova-build.xml .
-
-Create the Cordova project for your FlexJS application:
-% ant -f cordova-build.xml -DPROJECT_NAME=CordovaCameraExample -DTARGET_DIR=. -DPROJECT_DIR=/Users/home/dev/flex-asjs/examples/flexjs/CordovaCameraExample
-
-Load the Cordova camera plugin:
-cd CordovaCameraExample
-% cordova plugin add cordova-plugin-camera
-
-Modify the www/index.html file to include the cordova.js source (place this line with the other <script> elements):
-<script type="text/javascript" charset="utf-8" src="cordova.js"></script>
-
-Run your app on your connected device:
-% cordova run
-
-Or run on the simulator
-% cordova emulate android
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/examples/flexjs/CreateJSExample/README.txt
----------------------------------------------------------------------
diff --git a/examples/flexjs/CreateJSExample/README.txt b/examples/flexjs/CreateJSExample/README.txt
new file mode 100644
index 0000000..4e51a64
--- /dev/null
+++ b/examples/flexjs/CreateJSExample/README.txt
@@ -0,0 +1,26 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+DESCRIPTION
+
+This is an example of using the CreateJS framework in FlexJS. The example follows the first
+demo on the CreateJS/EaselJS site, drawing a simple circle.
+
+This example shows how CreateJS can be used with MXML, supplying the object and some of its
+properties directly in MXML.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/examples/flexjs/CreateJSExample/src/README.txt
----------------------------------------------------------------------
diff --git a/examples/flexjs/CreateJSExample/src/README.txt b/examples/flexjs/CreateJSExample/src/README.txt
deleted file mode 100644
index 4e51a64..0000000
--- a/examples/flexjs/CreateJSExample/src/README.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-DESCRIPTION
-
-This is an example of using the CreateJS framework in FlexJS. The example follows the first
-demo on the CreateJS/EaselJS site, drawing a simple circle.
-
-This example shows how CreateJS can be used with MXML, supplying the object and some of its
-properties directly in MXML.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/examples/flexjs/DataBindingExample/README.txt
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample/README.txt b/examples/flexjs/DataBindingExample/README.txt
new file mode 100644
index 0000000..91a0359
--- /dev/null
+++ b/examples/flexjs/DataBindingExample/README.txt
@@ -0,0 +1,53 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+DESCRIPTION
+
+The DataBindingExample shows a Flex application that can communicate with
+a third-party data source (in this case, yahoo.finance) and display the values
+returned using data binding. It also demonstrates that you can use \u201cstates\u201d to
+control the UI.
+
+This Flex application may be run as a Flash SWF or cross-compiled (using Falcon JX)
+into JavaScript and HTML and run without Flash.
+
+The DataBindingExample also shows how the model-view-controller (MVC) pattern
+can be used to separate the parts of the application. This is facilitated by
+the use of FlexJS beads added to the main application that provide the
+data connection (via HTTPService) and interacting with the rest of the application
+via events.
+
+COMPONENTS and BEADS
+
+- Button
+- CheckBox
+- ComboBox
+- Container
+- Label
+- RadioButton
+- TextArea
+- TextInput
+
+- Data binding: the text properties of TextArea and Label are linked with results
+from the remote server calls.
+
+NOTES
+
+The cross-compilation to JavaScript often results in non-fatal warnings. Some of these warnings
+should be addressed in future releases of the Falcon JX compiler.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/examples/flexjs/DataBindingExample/src/README.txt
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample/src/README.txt b/examples/flexjs/DataBindingExample/src/README.txt
deleted file mode 100644
index 91a0359..0000000
--- a/examples/flexjs/DataBindingExample/src/README.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-DESCRIPTION
-
-The DataBindingExample shows a Flex application that can communicate with
-a third-party data source (in this case, yahoo.finance) and display the values
-returned using data binding. It also demonstrates that you can use \u201cstates\u201d to
-control the UI.
-
-This Flex application may be run as a Flash SWF or cross-compiled (using Falcon JX)
-into JavaScript and HTML and run without Flash.
-
-The DataBindingExample also shows how the model-view-controller (MVC) pattern
-can be used to separate the parts of the application. This is facilitated by
-the use of FlexJS beads added to the main application that provide the
-data connection (via HTTPService) and interacting with the rest of the application
-via events.
-
-COMPONENTS and BEADS
-
-- Button
-- CheckBox
-- ComboBox
-- Container
-- Label
-- RadioButton
-- TextArea
-- TextInput
-
-- Data binding: the text properties of TextArea and Label are linked with results
-from the remote server calls.
-
-NOTES
-
-The cross-compilation to JavaScript often results in non-fatal warnings. Some of these warnings
-should be addressed in future releases of the Falcon JX compiler.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/examples/flexjs/DataBindingExample_Flat/README.txt
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample_Flat/README.txt b/examples/flexjs/DataBindingExample_Flat/README.txt
new file mode 100644
index 0000000..afe521b
--- /dev/null
+++ b/examples/flexjs/DataBindingExample_Flat/README.txt
@@ -0,0 +1,52 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+DESCRIPTION
+
+The DataBindingTest example shows a Flex application that can communicate with
+a third-party data source (in this case, yahoo.finance) and display the values
+returned using data binding.
+
+This Flex application may be run as a Flash SWF or cross-compiled (using Falcon JX)
+into JavaScript and HTML and run without Flash.
+
+The DataBindingTest example also shows how the model-view-controller (MVC) pattern
+can be used to separate the parts of the application. This is facilitated by
+the use of FlexJS beads added to the main application that provide the
+data connection (via HTTPService) and interacting with the rest of the application
+via events.
+
+COMPONENTS and BEADS
+
+- Button
+- CheckBox
+- ComboBox
+- Container
+- Label
+- RadioButton
+- TextArea
+- TextInput
+
+- Data binding: the text properties of TextArea and Label are linked with results
+from the remote server calls.
+
+NOTES
+
+The cross-compilation to JavaScript often results in non-fatal warnings. Some of these warnings
+should be addressed in future releases of the Falcon JX compiler.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/examples/flexjs/DataBindingExample_Flat/src/README.txt
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample_Flat/src/README.txt b/examples/flexjs/DataBindingExample_Flat/src/README.txt
deleted file mode 100644
index afe521b..0000000
--- a/examples/flexjs/DataBindingExample_Flat/src/README.txt
+++ /dev/null
@@ -1,52 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-DESCRIPTION
-
-The DataBindingTest example shows a Flex application that can communicate with
-a third-party data source (in this case, yahoo.finance) and display the values
-returned using data binding.
-
-This Flex application may be run as a Flash SWF or cross-compiled (using Falcon JX)
-into JavaScript and HTML and run without Flash.
-
-The DataBindingTest example also shows how the model-view-controller (MVC) pattern
-can be used to separate the parts of the application. This is facilitated by
-the use of FlexJS beads added to the main application that provide the
-data connection (via HTTPService) and interacting with the rest of the application
-via events.
-
-COMPONENTS and BEADS
-
-- Button
-- CheckBox
-- ComboBox
-- Container
-- Label
-- RadioButton
-- TextArea
-- TextInput
-
-- Data binding: the text properties of TextArea and Label are linked with results
-from the remote server calls.
-
-NOTES
-
-The cross-compilation to JavaScript often results in non-fatal warnings. Some of these warnings
-should be addressed in future releases of the Falcon JX compiler.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/examples/flexjs/DataGridExample/README.txt
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataGridExample/README.txt b/examples/flexjs/DataGridExample/README.txt
new file mode 100644
index 0000000..77a0b8e
--- /dev/null
+++ b/examples/flexjs/DataGridExample/README.txt
@@ -0,0 +1,46 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+DESCRIPTION
+
+The DataGridExample demonstrates the FlexJS DataGrid which is a composite
+component that is built from a set of List components; each List is a column
+in the DataGrid. The header is provided by the ButtonBar component.
+
+This Flex application may be run as a Flash SWF or cross-compiled (using Falcon JX)
+into JavaScript and HTML and run without Flash.
+
+The data for the DataGrid is found in the application's model and is connected
+using a ConstantBinding bead which ties a property of a model to a property
+in a component, in this case, the DataGrid's dataProvider property.
+
+COMPONENTS and BEADS
+
+- DataGrid
+- List
+- ButtonBar
+
+- ConstantBinding
+
+NOTES
+
+The column headers - buttons in a ButtonBar - do not align correctly over each
+column.
+
+The columns scroll independently.
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/examples/flexjs/DataGridExample/src/README.txt
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataGridExample/src/README.txt b/examples/flexjs/DataGridExample/src/README.txt
deleted file mode 100644
index 77a0b8e..0000000
--- a/examples/flexjs/DataGridExample/src/README.txt
+++ /dev/null
@@ -1,46 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-DESCRIPTION
-
-The DataGridExample demonstrates the FlexJS DataGrid which is a composite
-component that is built from a set of List components; each List is a column
-in the DataGrid. The header is provided by the ButtonBar component.
-
-This Flex application may be run as a Flash SWF or cross-compiled (using Falcon JX)
-into JavaScript and HTML and run without Flash.
-
-The data for the DataGrid is found in the application's model and is connected
-using a ConstantBinding bead which ties a property of a model to a property
-in a component, in this case, the DataGrid's dataProvider property.
-
-COMPONENTS and BEADS
-
-- DataGrid
-- List
-- ButtonBar
-
-- ConstantBinding
-
-NOTES
-
-The column headers - buttons in a ButtonBar - do not align correctly over each
-column.
-
-The columns scroll independently.
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/examples/flexjs/FlexWebsiteStatsViewer/README.txt
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexWebsiteStatsViewer/README.txt b/examples/flexjs/FlexWebsiteStatsViewer/README.txt
new file mode 100644
index 0000000..0b1e0f3
--- /dev/null
+++ b/examples/flexjs/FlexWebsiteStatsViewer/README.txt
@@ -0,0 +1,23 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+This examples fetches data from Google Analytics for the website: flex.apache.org,
+and parses the data into the required format. Then, via data binding, updates
+the dataprovider for a ColumnChart which renders the data.
+
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/examples/flexjs/FlexWebsiteStatsViewer/src/README.txt
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexWebsiteStatsViewer/src/README.txt b/examples/flexjs/FlexWebsiteStatsViewer/src/README.txt
deleted file mode 100644
index 0b1e0f3..0000000
--- a/examples/flexjs/FlexWebsiteStatsViewer/src/README.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-This examples fetches data from Google Analytics for the website: flex.apache.org,
-and parses the data into the required format. Then, via data binding, updates
-the dataprovider for a ColumnChart which renders the data.
-
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/examples/flexjs/TodoListSampleApp/README.txt
----------------------------------------------------------------------
diff --git a/examples/flexjs/TodoListSampleApp/README.txt b/examples/flexjs/TodoListSampleApp/README.txt
new file mode 100644
index 0000000..b3d96b9
--- /dev/null
+++ b/examples/flexjs/TodoListSampleApp/README.txt
@@ -0,0 +1,22 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+DESCRIPTION
+
+This sample is currently under construction.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/examples/flexjs/TodoListSampleApp/src/README.txt
----------------------------------------------------------------------
diff --git a/examples/flexjs/TodoListSampleApp/src/README.txt b/examples/flexjs/TodoListSampleApp/src/README.txt
deleted file mode 100644
index b3d96b9..0000000
--- a/examples/flexjs/TodoListSampleApp/src/README.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-DESCRIPTION
-
-This sample is currently under construction.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/examples/native/AngularExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/native/AngularExample/pom.xml b/examples/native/AngularExample/pom.xml
new file mode 100644
index 0000000..f52ad34
--- /dev/null
+++ b/examples/native/AngularExample/pom.xml
@@ -0,0 +1,54 @@
+<?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.
+
+-->
+<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/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.flexjs.examples</groupId>
+ <artifactId>examples-native</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>AngularExample</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <name>Apache Flex - FlexJS: Examples: Native: AngularExample</name>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <mainClass>AngularExample.as</mainClass>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/examples/native/ButtonExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/native/ButtonExample/pom.xml b/examples/native/ButtonExample/pom.xml
index b8ab42c..6d1f13e 100644
--- a/examples/native/ButtonExample/pom.xml
+++ b/examples/native/ButtonExample/pom.xml
@@ -32,6 +32,8 @@
<version>0.7.0-SNAPSHOT</version>
<packaging>swf</packaging>
+ <name>Apache Flex - FlexJS: Examples: Native: ButtonExample</name>
+
<build>
<plugins>
<plugin>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/examples/native/USStatesMap/pom.xml
----------------------------------------------------------------------
diff --git a/examples/native/USStatesMap/pom.xml b/examples/native/USStatesMap/pom.xml
index 7c54596..022ff18 100644
--- a/examples/native/USStatesMap/pom.xml
+++ b/examples/native/USStatesMap/pom.xml
@@ -32,6 +32,8 @@
<version>0.7.0-SNAPSHOT</version>
<packaging>swf</packaging>
+ <name>Apache Flex - FlexJS: Examples: Native: USStatesMap</name>
+
<build>
<plugins>
<plugin>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/examples/native/pom.xml
----------------------------------------------------------------------
diff --git a/examples/native/pom.xml b/examples/native/pom.xml
index f20c670..a204f51 100644
--- a/examples/native/pom.xml
+++ b/examples/native/pom.xml
@@ -32,8 +32,14 @@
<version>0.7.0-SNAPSHOT</version>
<packaging>pom</packaging>
+ <name>Apache Flex - FlexJS: Examples: Native</name>
+
<modules>
+ <!-- Seems to be missing a module with the angular types -->
+ <module>AngularExample</module>
+ <!-- Also seems to be missing something -->
<module>ButtonExample</module>
+ <!-- Also seems to be missing something -->
<module>USStatesMap</module>
</modules>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/examples/pom.xml
----------------------------------------------------------------------
diff --git a/examples/pom.xml b/examples/pom.xml
index c1a22a7..78fd179 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.flex.flexjs</groupId>
- <artifactId>flex-asjs</artifactId>
+ <artifactId>flexjs-framework-parent</artifactId>
<version>0.7.0-SNAPSHOT</version>
</parent>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/frameworks/js/VanillaSDK/flash/events/MouseEvent.js
----------------------------------------------------------------------
diff --git a/frameworks/js/VanillaSDK/flash/events/MouseEvent.js b/frameworks/js/VanillaSDK/flash/events/MouseEvent.js
index 6ecee82..c860a8a 100644
--- a/frameworks/js/VanillaSDK/flash/events/MouseEvent.js
+++ b/frameworks/js/VanillaSDK/flash/events/MouseEvent.js
@@ -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.
+//
+////////////////////////////////////////////////////////////////////////////////
goog.provide('flash.events.MouseEvent');
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/frameworks/js/VanillaSDK/mx/core/UIComponent.js
----------------------------------------------------------------------
diff --git a/frameworks/js/VanillaSDK/mx/core/UIComponent.js b/frameworks/js/VanillaSDK/mx/core/UIComponent.js
index 0b19314..de67d5c 100644
--- a/frameworks/js/VanillaSDK/mx/core/UIComponent.js
+++ b/frameworks/js/VanillaSDK/mx/core/UIComponent.js
@@ -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.
+//
+////////////////////////////////////////////////////////////////////////////////
goog.provide('mx.core.UIComponent');
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/frameworks/js/VanillaSDK/other/ViewElement.js
----------------------------------------------------------------------
diff --git a/frameworks/js/VanillaSDK/other/ViewElement.js b/frameworks/js/VanillaSDK/other/ViewElement.js
index 3f38d98..ccf50cc 100644
--- a/frameworks/js/VanillaSDK/other/ViewElement.js
+++ b/frameworks/js/VanillaSDK/other/ViewElement.js
@@ -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.
+//
+////////////////////////////////////////////////////////////////////////////////
goog.provide('other.ViewElement');
goog.require('goog.events.EventTarget');
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/frameworks/js/VanillaSDK/spark/components/Button.js
----------------------------------------------------------------------
diff --git a/frameworks/js/VanillaSDK/spark/components/Button.js b/frameworks/js/VanillaSDK/spark/components/Button.js
index 7cbaf87..679d3a8 100644
--- a/frameworks/js/VanillaSDK/spark/components/Button.js
+++ b/frameworks/js/VanillaSDK/spark/components/Button.js
@@ -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.
+//
+////////////////////////////////////////////////////////////////////////////////
goog.provide('spark.components.Button');
goog.require("goog.dom");
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/frameworks/js/VanillaSDK/spark/components/Group.js
----------------------------------------------------------------------
diff --git a/frameworks/js/VanillaSDK/spark/components/Group.js b/frameworks/js/VanillaSDK/spark/components/Group.js
index b5853e2..996909b 100644
--- a/frameworks/js/VanillaSDK/spark/components/Group.js
+++ b/frameworks/js/VanillaSDK/spark/components/Group.js
@@ -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.
+//
+////////////////////////////////////////////////////////////////////////////////
goog.provide('spark.components.Group');
goog.require("goog.dom");
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/frameworks/js/VanillaSDK/spark/components/Image.js
----------------------------------------------------------------------
diff --git a/frameworks/js/VanillaSDK/spark/components/Image.js b/frameworks/js/VanillaSDK/spark/components/Image.js
index 96f4927..085e438 100644
--- a/frameworks/js/VanillaSDK/spark/components/Image.js
+++ b/frameworks/js/VanillaSDK/spark/components/Image.js
@@ -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.
+//
+////////////////////////////////////////////////////////////////////////////////
goog.provide('spark.components.Image');
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/frameworks/js/VanillaSDK/spark/components/Label.js
----------------------------------------------------------------------
diff --git a/frameworks/js/VanillaSDK/spark/components/Label.js b/frameworks/js/VanillaSDK/spark/components/Label.js
index bb6776d..ff25f54 100644
--- a/frameworks/js/VanillaSDK/spark/components/Label.js
+++ b/frameworks/js/VanillaSDK/spark/components/Label.js
@@ -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.
+//
+////////////////////////////////////////////////////////////////////////////////
goog.provide('spark.components.Label');
goog.require("other.ViewElement");
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/frameworks/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/pom.xml b/frameworks/pom.xml
index af83d36..8fec35e 100644
--- a/frameworks/pom.xml
+++ b/frameworks/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.flex.flexjs</groupId>
- <artifactId>flex-asjs</artifactId>
+ <artifactId>flexjs-framework-parent</artifactId>
<version>0.7.0-SNAPSHOT</version>
</parent>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/Collection.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/Collection.as b/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/Collection.as
index 3fa3e10..e48307e 100644
--- a/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/Collection.as
+++ b/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/Collection.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.collections
{
public class Collection
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/manualtests/VanillaSDK_POC/src/Example.as
----------------------------------------------------------------------
diff --git a/manualtests/VanillaSDK_POC/src/Example.as b/manualtests/VanillaSDK_POC/src/Example.as
index 39195f9..74b043a 100644
--- a/manualtests/VanillaSDK_POC/src/Example.as
+++ b/manualtests/VanillaSDK_POC/src/Example.as
@@ -1,4 +1,22 @@
-package
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 flash.events.MouseEvent;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/manualtests/VanillaSDK_POC/src/Main.mxml
----------------------------------------------------------------------
diff --git a/manualtests/VanillaSDK_POC/src/Main.mxml b/manualtests/VanillaSDK_POC/src/Main.mxml
index bb91c17..82f4049 100644
--- a/manualtests/VanillaSDK_POC/src/Main.mxml
+++ b/manualtests/VanillaSDK_POC/src/Main.mxml
@@ -1,5 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
-<g:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+<!--
+
+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.
+
+-->
+<g:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:g="http://flex.apache.org/jsg"
creationComplete="creationCompleteHandler(event)" >
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/57106cc0/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 8f57040..d16af54 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,7 @@
</parent>
<groupId>org.apache.flex.flexjs</groupId>
- <artifactId>flexjs-framework</artifactId>
+ <artifactId>flexjs-framework-parent</artifactId>
<version>0.7.0-SNAPSHOT</version>
<packaging>pom</packaging>
@@ -130,6 +130,62 @@
</plugin>
</plugins>
</pluginManagement>
+ <plugins>
+ <!-- Check if all source files have the required apache license headers -->
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.12</version>
+ <executions>
+ <execution>
+ <id>license-check</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludes>
+ <!--
+ As the examples and distribution are not build in every case, we
+ have to exclude them. This skips the checks if they are not included
+ but if they are included, the checks inside distribution and examples
+ kick in and do the checks.
+ -->
+ <exclude>distribution/**</exclude>
+ <exclude>examples/**</exclude>
+ <!-- JSON files can't contain comments -->
+ <exclude>**/*.json</exclude>
+
+ <!-- Stuff that needs to be removed -->
+ <exclude>fxg2svg/**</exclude>
+ <exclude>vf2js/**</exclude>
+ <!-- frameworks/fb.properties contains Alex' path entries and should be removed -->
+ <exclude>fb.properties</exclude>
+ <!-- Should probably also be removed -->
+ <exclude>js/*jshint*</exclude>
+ <!-- If checked in, they should have apache headers -->
+ <exclude>**/.settings/**</exclude>
+ <!-- Examples needs to be fixed -->
+ <exclude>native/**</exclude>
+ </excludes>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.doxia</groupId>
+ <artifactId>doxia-core</artifactId>
+ <version>1.6</version>
+ <exclusions>
+ <exclusion>
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
</build>
<profiles>