Skip to content

Commit

Permalink
MenuExample: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala authored and yishayw committed Mar 17, 2022
1 parent 7c4cb94 commit fb1268b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/royale/MenuExample/MenuExample.as3proj
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<option path=""/>
</jsOutput>
<classpaths>
<class path="src"/>
<class path="src/main/royale"/>
</classpaths>
<moonshineResourcePaths></moonshineResourcePaths>
<moonshineNativeExtensionPaths></moonshineNativeExtensionPaths>
Expand Down
4 changes: 2 additions & 2 deletions examples/royale/MenuExample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
<name>Apache Royale: Examples: Royale: MenuExample</name>

<build>
<sourceDirectory>src</sourceDirectory>
<sourceDirectory>src/main/royale</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.royale.compiler</groupId>
<artifactId>royale-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<mainClass>main/royale/MenuExample.mxml</mainClass>
<mainClass>MenuExample.mxml</mainClass>
<allowSubclassOverrides>true</allowSubclassOverrides>
<targets>${royale.targets}</targets>
</configuration>
Expand Down
6 changes: 3 additions & 3 deletions examples/royale/MenuExample/src/main/royale/MenuExample.mxml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:local="*"
xmlns:models="models.*"
xmlns:js="library://ns.apache.org/royale/basic"
xmlns:royale="main.royale.*">
xmlns:js="library://ns.apache.org/royale/basic"
>

<js:valuesImpl>
<js:SimpleCSSValuesImpl />
Expand All @@ -31,6 +31,6 @@
<models:ProductsModel />
</js:model>-->
<js:initialView>
<royale:MyInitialView />
<local:MyInitialView />
</js:initialView>
</js:Application>

0 comments on commit fb1268b

Please sign in to comment.