You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pi...@apache.org on 2021/12/28 10:55:47 UTC
[royale-asjs] branch develop updated: MenuExample: Add Moonshine IDE file to example
This is an automated email from the ASF dual-hosted git repository.
piotrz 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 8bfe4a9 MenuExample: Add Moonshine IDE file to example
8bfe4a9 is described below
commit 8bfe4a96a37a3a45441793694a9893bbd5f50d4f
Author: Piotr Zarzycki <24...@users.noreply.github.com>
AuthorDate: Tue Dec 28 11:55:40 2021 +0100
MenuExample: Add Moonshine IDE file to example
- Fix compilation error and improve pom file to satisfy maven
---
examples/royale/MenuExample/MenuExample.as3proj | 123 +++++++++++++++++++++
examples/royale/MenuExample/pom.xml | 4 +-
.../MenuExample/src/main/royale/MenuExample.mxml | 4 +-
3 files changed, 127 insertions(+), 4 deletions(-)
diff --git a/examples/royale/MenuExample/MenuExample.as3proj b/examples/royale/MenuExample/MenuExample.as3proj
new file mode 100644
index 0000000..67dddbd
--- /dev/null
+++ b/examples/royale/MenuExample/MenuExample.as3proj
@@ -0,0 +1,123 @@
+<?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>
+ <output>
+ <movie version="20"/>
+ <movie disabled="False"/>
+ <movie platform="Flash Player"/>
+ <movie background="#FFFFFF"/>
+ <movie height="600"/>
+ <movie fps="60"/>
+ <movie path="bin-debug/MenuExample.swf"/>
+ <movie input=""/>
+ <movie width="800"/>
+ </output>
+ <!-- Other classes to be compiled into your SWF -->
+ <jsOutput>
+ <option path=""/>
+ </jsOutput>
+ <classpaths>
+ <class path="src"/>
+ </classpaths>
+ <moonshineResourcePaths></moonshineResourcePaths>
+ <moonshineNativeExtensionPaths></moonshineNativeExtensionPaths>
+ <build>
+ <option benchmark="False"/>
+ <option showDeprecationWarnings="True"/>
+ <option accessible="False"/>
+ <option es="False"/>
+ <option additional=""/>
+ <option useNetwork="True"/>
+ <option loadConfig=""/>
+ <option useResourceBundleMetadata="True"/>
+ <option warnings="True"/>
+ <option showActionScriptWarnings="True"/>
+ <option linkReport=""/>
+ <option customSDK=""/>
+ <option showBindingWarnings="True"/>
+ <option optimize="False"/>
+ <option compilerConstants=""/>
+ <option antBuildPath="build/build.xml"/>
+ <option strict="True"/>
+ <option locale=""/>
+ <option sourceMap="True"/>
+ <option allowSourcePathOverlap="False"/>
+ <option staticLinkRSL="False"/>
+ <option showUnusedTypeSelectorWarnings="True"/>
+ <option verboseStackTraces="False"/>
+ </build>
+ <mavenBuild>
+ <option dominoNotesProgram=""/>
+ <option commandLine="clean package"/>
+ <option dominoNotesPlatform=""/>
+ <option settingsFilePath=""/>
+ <option mavenBuildPath=""/>
+ <actions>
+ <action action="install" actionName="Build"/>
+ <action action="clean package" actionName="Clean and package"/>
+ <action action="clean" actionName="Clean"/>
+ <action action="clean install" actionName="Clean and Build"/>
+ <action action="war:exploded" actionName="Exploded"/>
+ </actions>
+ </mavenBuild>
+ <includeLibraries></includeLibraries>
+ <libraryPaths></libraryPaths>
+ <externalLibraryPaths></externalLibraryPaths>
+ <rslPaths></rslPaths>
+ <intrinsics>
+ <element path="Library/AS3/frameworks/Flex4"/>
+ <element path="Library\AS3\frameworks\Flex4"/>
+ </intrinsics>
+ <library></library>
+ <modules/>
+ <compileTargets>
+ <compile path="src/main/royale/MenuExample.mxml"/>
+ </compileTargets>
+ <hiddenPaths></hiddenPaths>
+ <preBuildCommand>null</preBuildCommand>
+ <postBuildCommand alwaysRun="False">null</postBuildCommand>
+ <trustSVNCertificate>False</trustSVNCertificate>
+ <options>
+ <option isExportedToExistingSource="False"/>
+ <option isRoyale="True"/>
+ <option defaultBuildTargets=""/>
+ <option isDominoVisualEditor="False"/>
+ <option jdkType="default-java"/>
+ <option testMovie=""/>
+ <option showHiddenPaths="False"/>
+ <option visualEditorExportPath=""/>
+ <option isPrimeFacesVisualEditor="False"/>
+ <option testMovieCommand=""/>
+ </options>
+ <moonshineRunCustomization>
+ <option urlToLaunch=""/>
+ <option targetPlatform="5"/>
+ <option projectType="2"/>
+ <option webBrowser="null"/>
+ <option deviceSimulator="null"/>
+ <option customUrlToLaunch=""/>
+ <option launchMethod="Simulator"/>
+ <option deviceConnectType="USB"/>
+ <deviceSimulator>null</deviceSimulator>
+ <certAndroid>null</certAndroid>
+ <certIos>null</certIos>
+ <certIosProvisioning>null</certIosProvisioning>
+ </moonshineRunCustomization>
+</project>
diff --git a/examples/royale/MenuExample/pom.xml b/examples/royale/MenuExample/pom.xml
index ec716a9..c4f5c17 100644
--- a/examples/royale/MenuExample/pom.xml
+++ b/examples/royale/MenuExample/pom.xml
@@ -32,14 +32,14 @@
<name>Apache Royale: Examples: Royale: MenuExample</name>
<build>
- <sourceDirectory>src/main/royale</sourceDirectory>
+ <sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.royale.compiler</groupId>
<artifactId>royale-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
- <mainClass>MenuExample.mxml</mainClass>
+ <mainClass>main/royale/MenuExample.mxml</mainClass>
<allowSubclassOverrides>true</allowSubclassOverrides>
<targets>${royale.targets}</targets>
</configuration>
diff --git a/examples/royale/MenuExample/src/main/royale/MenuExample.mxml b/examples/royale/MenuExample/src/main/royale/MenuExample.mxml
index 16d58f9..75ad3bc 100644
--- a/examples/royale/MenuExample/src/main/royale/MenuExample.mxml
+++ b/examples/royale/MenuExample/src/main/royale/MenuExample.mxml
@@ -22,7 +22,7 @@
xmlns:local="*"
xmlns:models="models.*"
xmlns:js="library://ns.apache.org/royale/basic"
- >
+ xmlns:royale="main.royale.*">
<js:valuesImpl>
<js:SimpleCSSValuesImpl />
@@ -31,6 +31,6 @@
<models:ProductsModel />
</js:model>-->
<js:initialView>
- <local:MyInitialView />
+ <royale:MyInitialView />
</js:initialView>
</js:Application>