You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@royale.apache.org by Jim McNamara <jm...@proton.me> on 2025/03/24 14:19:32 UTC
Fw: re: can't get warning to go away re: label import
Hi Yishay-
I solved it! hooray...
It was pointing to the wrong compiler. There is one for js named mxmlc and there is one for otherwise named mxmlc for separate use.
I see the difference now.
THANKS
you the bomb.com
later
Sent with Proton Mail secure email.
------- Forwarded Message -------
From: Jim McNamara <jm...@proton.me>
Date: On Monday, March 24th, 2025 at 9:53 AM
Subject: re: can't get warning to go away re: label import
To: Yishay Weiss <yi...@hotmail.com>
> Yishay,
>
> My project is set up like this with dir structure:
>
> JSRoyale->main->src with the mxml file in src
>
>
> bin is in src too..
>
> my asconfig.json file looks like...
>
> {
> "config": "royale",
> "compilerOptions": {
> "targets": [
> "JSRoyale"
> ],
> "source-path": [
> "src"
> ],
> "library-path": [
> "libs"
> ]
> },
> "mainClass": "MyRoyaleProject"
> }
>
> <?xml version="1.0" encoding="utf-8"?>
>
> <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
> xmlns:js="library://ns.apache.org/royale/express">
>
>
> js:initialView
>
> js:View
>
> <js:Label text="Hello World" />
>
> </js:View>
>
> </js:initialView>
>
> </js:Application>
>
>
> I just found out kind of what is happening.
>
> This path /home/funnysys/royaledef/JSRoyale/main/bin/js-debug/org/apache/royale is not populating with the classes.
> The classes should fill this dir for Label and View. When I inspect the clases they are not there - Label and View not in my output debug dir.
>
> How to get it to put the classes into the debug folder in my src/bin
>
> I have these set for exports [thanks for any help]
>
> # Java Setup
> export JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64
> export PATH=$JAVA_HOME/bin:$PATH
> export MXMLC_HOME="/home/funnysys/royalebin/apache-royale-0.9.12-bin-js/royale-asjs/bin"
>
> # Apache Royale SDK Setup
> export ROYALE_HOME="/home/funnysys/royalebin/apache-royale-0.9.12-bin-js/royale-asjs"
> export ROYALE_JARS="home/funnysys/royalebin/apache-royale-0.9.12-bin-js/royale-asjs/frameworks/js/libs"
>
>
> # Apache Royale Path
> export PATH="$PATH:/home/funnysys/royalebin/apache-royale-0.9.12-bin-js/royale-asjs"
>
> thanks,
> j.
>
>
>
>
> Sent with Proton Mail secure email.