flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosrov...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - Fix pom.xml to build ListExample, and fill required licensed to build with maven
Date Fri, 02 Dec 2016 22:20:57 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 36152b2f8 -> 27856b4d3


Fix pom.xml to build ListExample, and fill required licensed to build with maven


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/27856b4d
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/27856b4d
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/27856b4d

Branch: refs/heads/develop
Commit: 27856b4d32aff1e6830da8957db9327e8a1e6d5b
Parents: 36152b2
Author: Carlos Rovira <carlosrovira@apache.org>
Authored: Fri Dec 2 23:20:54 2016 +0100
Committer: Carlos Rovira <carlosrovira@apache.org>
Committed: Fri Dec 2 23:20:54 2016 +0100

----------------------------------------------------------------------
 examples/flexjs/ListExample/pom.xml             | 43 +++++++++++++++++---
 .../src/main/flex/simple/GenericList.as         | 18 ++++++++
 .../src/main/flex/simple/GenericListView.as     | 18 ++++++++
 3 files changed, 74 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/27856b4d/examples/flexjs/ListExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/ListExample/pom.xml b/examples/flexjs/ListExample/pom.xml
index b65b0f0..cf86a1a 100644
--- a/examples/flexjs/ListExample/pom.xml
+++ b/examples/flexjs/ListExample/pom.xml
@@ -32,11 +32,11 @@
     <version>0.8.0-SNAPSHOT</version>
   </parent>
 
-  <artifactId>DataGridExample</artifactId>
+  <artifactId>ListExample</artifactId>
   <version>0.8.0-SNAPSHOT</version>
   <packaging>swf</packaging>
 
-  <name>Apache Flex - FlexJS: Examples: FlexJS: DataGridExample</name>
+  <name>Apache Flex - FlexJS: Examples: FlexJS: ListExample</name>
 
   <build>
     <plugins>
@@ -45,7 +45,10 @@
         <artifactId>flexjs-maven-plugin</artifactId>
         <extensions>true</extensions>
         <configuration>
-          <mainClass>DataGridExample.mxml</mainClass>
+          <mainClass>ListExample.mxml</mainClass>
+          <removeCirculars>true</removeCirculars>
+          <!-- Not a config option of flexjs-maven-plugin -->
+          <!--flashVersion>20.0</flashVersion-->
         </configuration>
       </plugin>
       <plugin>
@@ -60,13 +63,43 @@
   </build>
 
   <dependencies>
+    <!-- Already added in parent -->
+    <!--dependency>
+      <groupId>org.apache.flex.flexjs.framework</groupId>
+      <artifactId>Core</artifactId>
+      <version>0.8.0-SNAPSHOT</version>
+      <type>swc</type>
+    </dependency-->
+    
+    <dependency>
+      <groupId>org.apache.flex.flexjs.framework</groupId>
+      <artifactId>Network</artifactId>
+      <version>0.8.0-SNAPSHOT</version>
+      <type>swc</type>
+    </dependency>
+
+    <!-- Needed for Flash compilation -->
     <dependency>
       <groupId>com.adobe.flash.framework</groupId>
       <artifactId>playerglobal</artifactId>
-      <version>${flash.version}</version>
+      <version>20.0</version>
       <type>swc</type>
       <scope>provided</scope>
     </dependency>
-  </dependencies>
 
+    <!-- Needed for JavaScript compilation -->
+    <!-- Already added in parent -->
+    <!--dependency>
+      <groupId>org.apache.flex.flexjs.framework</groupId>
+      <artifactId>HTML</artifactId>
+      <version>0.8.0-SNAPSHOT</version>
+      <type>swc</type>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.flex.flexjs.framework</groupId>
+      <artifactId>Language</artifactId>
+      <version>0.8.0-SNAPSHOT</version>
+      <type>swc</type>
+    </dependency-->
+  </dependencies>
 </project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/27856b4d/examples/flexjs/ListExample/src/main/flex/simple/GenericList.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/ListExample/src/main/flex/simple/GenericList.as b/examples/flexjs/ListExample/src/main/flex/simple/GenericList.as
index 3c16cae..c582b6f 100644
--- a/examples/flexjs/ListExample/src/main/flex/simple/GenericList.as
+++ b/examples/flexjs/ListExample/src/main/flex/simple/GenericList.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 simple
 {
 	import org.apache.flex.core.IItemRenderer;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/27856b4d/examples/flexjs/ListExample/src/main/flex/simple/GenericListView.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/ListExample/src/main/flex/simple/GenericListView.as b/examples/flexjs/ListExample/src/main/flex/simple/GenericListView.as
index 9f13af4..d14a6f8 100644
--- a/examples/flexjs/ListExample/src/main/flex/simple/GenericListView.as
+++ b/examples/flexjs/ListExample/src/main/flex/simple/GenericListView.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 simple
 {
 	import org.apache.flex.core.BeadViewBase;


Mime
View raw message