You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2018/03/17 23:36:23 UTC

[royale-asjs] branch develop updated: Fix MenuExample pom.xml

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

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


The following commit(s) were added to refs/heads/develop by this push:
     new 0a61758  Fix MenuExample pom.xml
0a61758 is described below

commit 0a61758a51e238f61373d49480d334c1d86fdb36
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Sun Mar 18 00:36:20 2018 +0100

    Fix MenuExample pom.xml
---
 examples/royale/MenuExample/pom.xml                | 87 ++++++++++++++++++++++
 examples/royale/pom.xml                            |  2 +-
 .../Basic/src/main/resources/basic-manifest.xml    |  2 +
 3 files changed, 90 insertions(+), 1 deletion(-)

diff --git a/examples/royale/MenuExample/pom.xml b/examples/royale/MenuExample/pom.xml
new file mode 100644
index 0000000..d7f19ed
--- /dev/null
+++ b/examples/royale/MenuExample/pom.xml
@@ -0,0 +1,87 @@
+<?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/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.royale.examples</groupId>
+    <artifactId>examples-royale</artifactId>
+    <version>0.9.3-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>MenuExample</artifactId>
+  <version>0.9.3-SNAPSHOT</version>
+  <packaging>swf</packaging>
+
+  <name>Apache Royale: Examples: Royale: MenuExample</name>
+  
+  <build>
+	<sourceDirectory>src/main/royale</sourceDirectory>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.royale.compiler</groupId>
+        <artifactId>royale-maven-plugin</artifactId>
+        <extensions>true</extensions>
+        <configuration>
+          <mainClass>MenuExample.mxml</mainClass>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+ 
+  <dependencies>
+   <dependency>
+      <groupId>org.apache.royale.framework</groupId>
+      <artifactId>Basic</artifactId>
+      <version>0.9.3-SNAPSHOT</version>
+      <type>swc</type>
+       <classifier>js</classifier>
+    </dependency>
+	<dependency>
+      <groupId>org.apache.royale.framework</groupId>
+      <artifactId>Basic</artifactId>
+      <version>0.9.3-SNAPSHOT</version>
+      <type>swc</type>
+       <classifier>swf</classifier>
+    </dependency>
+	<dependency>
+      <groupId>org.apache.royale.framework</groupId>
+      <artifactId>Language</artifactId>
+      <version>0.9.3-SNAPSHOT</version>
+      <type>swc</type>
+       <classifier>js</classifier>
+    </dependency>
+	<dependency>
+      <groupId>com.adobe.flash.framework</groupId>
+      <artifactId>playerglobal</artifactId>
+      <version>${flash.version}</version>
+      <type>swc</type>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.royale.framework</groupId>
+      <artifactId>BasicTheme</artifactId>
+      <version>0.9.3-SNAPSHOT</version>
+      <type>swc</type>
+      <scope>theme</scope>
+    </dependency>
+  </dependencies>
+
+</project>
diff --git a/examples/royale/pom.xml b/examples/royale/pom.xml
index 971d2c7..ff4110f 100644
--- a/examples/royale/pom.xml
+++ b/examples/royale/pom.xml
@@ -57,7 +57,7 @@
     <module>MapSearch</module>
     <module>MDLDynamicTabsExample</module>
     <module>MDLDynamicTableExample</module>
-    <!-- <module>MenuExample</module> -->
+    <module>MenuExample</module>
     <module>MobileMap</module>
     <module>MobileStocks</module>
     <module>MobileTrader</module>
diff --git a/frameworks/projects/Basic/src/main/resources/basic-manifest.xml b/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
index f7bf3ea..3836d1d 100644
--- a/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
+++ b/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
@@ -228,4 +228,6 @@
     <component id="MenuBarItemRenderer" class="org.apache.royale.html.supportClasses.MenuBarItemRenderer"/>
     <component id="CascadingMenuItemRenderer" class="org.apache.royale.html.supportClasses.CascadingMenuItemRenderer" />
 
+    <component id="CascadingMenuFactory" class="org.apache.royale.html.beads.CascadingMenuFactory" />
+
 </componentPackage>

-- 
To stop receiving notification emails like this one, please contact
carlosrovira@apache.org.