You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@royale.apache.org by Mandeep Sarma <mu...@gmail.com> on 2018/02/18 03:48:33 UTC

rs model / tag

Hi,

I've been trying out some of the examples. some of the examples (i.e.
RoyaleWebsite) use the <rs:model> tag. but when I compile I get the
message: "This tag could not be resolved to an ActionScript class. It will
be ignored."

Has this model been deprecated or am I misunderstanding something ?

Mandeep

<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Re: rs model / tag

Posted by Mandeep Sarma <mu...@gmail.com>.
thx,
the Hello World project does work, but I will try to reset the settings.

Mandeep.

On Tue, Feb 20, 2018 at 2:58 AM, Piotr Zarzycki <pi...@gmail.com>
wrote:

> Mandeep,
>
> You have to just open them. Most of them were configured to work with
> Moonshine. Once you open there is possibility that something went wrong, so
> you need to check Project Settings.
>
> Are you pointing to the good Royale SDK folder. ?
>
> Did you try open Hello World?
>
> Try also reseting all settings and setup again, than open Hello World. You
> can reset in File - General. I'm not in front of my PC, so may be wrong.
>
> Thanks, Piotr
>
>
>
> On Tue, Feb 20, 2018, 06:14 Mandeep Sarma <mu...@gmail.com> wrote:
>
>> I believe my settings are similar to yours (as per my screenshot).
>>
>> What is the proper way to import an example project into moon shine? I
>> have tried to do it manually and I've tried importing a flex project.
>>
>> Thanks,
>> Mandeep
>>
>> [image: Inline image 1]
>>
>> On Sun, Feb 18, 2018 at 6:41 AM, piotrz <pi...@apache.org> wrote:
>>
>>> Mandeep,
>>>
>>> I just look into that and didn't have any problem with configuration and
>>> build using Moonshine 1.9.0 and released version of Royale 0.9.1 JS only.
>>> Royale website didn't have also Moonshine IDE files in the repository I
>>> just
>>> committed it.
>>>
>>> My project configuration looks like that:
>>>
>>> <http://apache-royale-users.20374.n8.nabble.com/file/t1/
>>> configuration_royalewebsite.png>
>>>
>>> I setup Royale 0.9.1 JS only SDK in File -> Settings:
>>> <http://apache-royale-users.20374.n8.nabble.com/file/t1/
>>> file_settings.png>
>>>
>>> If you want you can copy Moonshine configuration file for this project
>>> which
>>> I just committed [1] to see if it helps.
>>>
>>> [1] https://goo.gl/tFjbpD
>>>
>>> Thanks,
>>> Piotr
>>>
>>>
>>>
>>> --
>>> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>>>
>>
>>

Re: rs model / tag

Posted by Piotr Zarzycki <pi...@gmail.com>.
Mandeep,

You have to just open them. Most of them were configured to work with
Moonshine. Once you open there is possibility that something went wrong, so
you need to check Project Settings.

Are you pointing to the good Royale SDK folder. ?

Did you try open Hello World?

Try also reseting all settings and setup again, than open Hello World. You
can reset in File - General. I'm not in front of my PC, so may be wrong.

Thanks, Piotr



On Tue, Feb 20, 2018, 06:14 Mandeep Sarma <mu...@gmail.com> wrote:

> I believe my settings are similar to yours (as per my screenshot).
>
> What is the proper way to import an example project into moon shine? I
> have tried to do it manually and I've tried importing a flex project.
>
> Thanks,
> Mandeep
>
> [image: Inline image 1]
>
> On Sun, Feb 18, 2018 at 6:41 AM, piotrz <pi...@apache.org> wrote:
>
>> Mandeep,
>>
>> I just look into that and didn't have any problem with configuration and
>> build using Moonshine 1.9.0 and released version of Royale 0.9.1 JS only.
>> Royale website didn't have also Moonshine IDE files in the repository I
>> just
>> committed it.
>>
>> My project configuration looks like that:
>>
>> <
>> http://apache-royale-users.20374.n8.nabble.com/file/t1/configuration_royalewebsite.png
>> >
>>
>> I setup Royale 0.9.1 JS only SDK in File -> Settings:
>> <http://apache-royale-users.20374.n8.nabble.com/file/t1/file_settings.png
>> >
>>
>> If you want you can copy Moonshine configuration file for this project
>> which
>> I just committed [1] to see if it helps.
>>
>> [1] https://goo.gl/tFjbpD
>>
>> Thanks,
>> Piotr
>>
>>
>>
>> --
>> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>>
>
>

Re: rs model / tag

Posted by Mandeep Sarma <mu...@gmail.com>.
I believe my settings are similar to yours (as per my screenshot).

What is the proper way to import an example project into moon shine? I have
tried to do it manually and I've tried importing a flex project.

Thanks,
Mandeep

[image: Inline image 1]

On Sun, Feb 18, 2018 at 6:41 AM, piotrz <pi...@apache.org> wrote:

> Mandeep,
>
> I just look into that and didn't have any problem with configuration and
> build using Moonshine 1.9.0 and released version of Royale 0.9.1 JS only.
> Royale website didn't have also Moonshine IDE files in the repository I
> just
> committed it.
>
> My project configuration looks like that:
>
> <http://apache-royale-users.20374.n8.nabble.com/file/t1/
> configuration_royalewebsite.png>
>
> I setup Royale 0.9.1 JS only SDK in File -> Settings:
> <http://apache-royale-users.20374.n8.nabble.com/file/t1/file_settings.png>
>
> If you want you can copy Moonshine configuration file for this project
> which
> I just committed [1] to see if it helps.
>
> [1] https://goo.gl/tFjbpD
>
> Thanks,
> Piotr
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>

Re: rs model / tag

Posted by piotrz <pi...@apache.org>.
Mandeep,

I just look into that and didn't have any problem with configuration and
build using Moonshine 1.9.0 and released version of Royale 0.9.1 JS only.
Royale website didn't have also Moonshine IDE files in the repository I just
committed it.

My project configuration looks like that:

<http://apache-royale-users.20374.n8.nabble.com/file/t1/configuration_royalewebsite.png> 

I setup Royale 0.9.1 JS only SDK in File -> Settings:
<http://apache-royale-users.20374.n8.nabble.com/file/t1/file_settings.png> 

If you want you can copy Moonshine configuration file for this project which
I just committed [1] to see if it helps.

[1] https://goo.gl/tFjbpD

Thanks,
Piotr



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/

Re: rs model / tag

Posted by Piotr Zarzycki <pi...@gmail.com>.
Hi,

Please try to open and compile first simple Hello World. Let me know if
it's working. I will try today open Royale website and build in Moonshine.
I will get back to you in couple of hours. :)

Thanks,
Piotr

On Sun, Feb 18, 2018, 07:52 Alex Harui <ah...@adobe.com> wrote:

> Maybe Piotr will have to look into that.  I'm not sure what it looks for.
> The compiler should only care about having RoyaleSite.swc in
> frameworks/libs.  Maybe we need to add that namespace to
> royals-config.xml.  If you have Apache Ant or Apache Maven, you should be
> able to build the example.
>
> RoyaleWebsite is an early prototype of building "any" website with
> Royale.  Our ASDoc is a working example.  Other examples, like
> DataBindingExample and RoyaleStore are better equivalents of what Flex did.
>
> -Alex
>
> From: Mandeep Sarma <mu...@gmail.com>
> Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
> Date: Saturday, February 17, 2018 at 10:01 PM
> To: "users@royale.apache.org" <us...@royale.apache.org>
> Subject: Re: rs model / tag
>
> Sorry... I have no idea why I said model, anyways I think I mean
> "namespace" as in: xmlns:rs="library://ns.apache.org/royale/site
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fsite&data=02%7C01%7Caharui%40adobe.com%7Cb9d080cf9f144ca460f108d576950fff%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636545304947803878&sdata=bds1OEspObzfBhwZ2abCqgwcQ0sYIbcZpPFichd7uSI%3D&reserved=0>
> "
>
> If it matters I'm using moonshine 1.9.
>
> Thanks,
> Mandeep
>
>
> [image: Inline image 1]
>
> On Sun, Feb 18, 2018 at 12:19 AM, Alex Harui <ah...@adobe.com> wrote:
>
>> What are you using to compile the example?  Ant, Maven, command-line,
>> NPM?  I think the Ant and Maven builds work.
>>
>> I don't see rs:model in RoyaleWebsite.  Maybe it got accidentally added
>> by your editor?
>>
>> -Alex
>>
>> From: Mandeep Sarma <mu...@gmail.com>
>> Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
>> Date: Saturday, February 17, 2018 at 7:48 PM
>> To: "users@royale.apache.org" <us...@royale.apache.org>
>> Subject: rs model / tag
>>
>> Hi,
>>
>> I've been trying out some of the examples. some of the examples (i.e.
>> RoyaleWebsite) use the <rs:model> tag. but when I compile I get the
>> message: "This tag could not be resolved to an ActionScript class. It will
>> be ignored."
>>
>> Has this model been deprecated or am I misunderstanding something ?
>>
>> Mandeep
>>
>>
>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&data=02%7C01%7Caharui%40adobe.com%7Cbae1d0570000446bacca08d576827e1f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636545225219109244&sdata=z6YKmuuMIJLtjwBRnxqsVOqeIZGZK6Di4Ip2F5ETDYs%3D&reserved=0> Virus-free.
>> www.avg.com
>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&data=02%7C01%7Caharui%40adobe.com%7Cbae1d0570000446bacca08d576827e1f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636545225219109244&sdata=z6YKmuuMIJLtjwBRnxqsVOqeIZGZK6Di4Ip2F5ETDYs%3D&reserved=0>
>> <#m_6583568021901693847_m_5704709059797337688_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>
>

Re: rs model / tag

Posted by Alex Harui <ah...@adobe.com>.
Maybe Piotr will have to look into that.  I'm not sure what it looks for.  The compiler should only care about having RoyaleSite.swc in frameworks/libs.  Maybe we need to add that namespace to royals-config.xml.  If you have Apache Ant or Apache Maven, you should be able to build the example.

RoyaleWebsite is an early prototype of building "any" website with Royale.  Our ASDoc is a working example.  Other examples, like DataBindingExample and RoyaleStore are better equivalents of what Flex did.

-Alex

From: Mandeep Sarma <mu...@gmail.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Saturday, February 17, 2018 at 10:01 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: Re: rs model / tag

Sorry... I have no idea why I said model, anyways I think I mean "namespace" as in: xmlns:rs="library://ns.apache.org/royale/site<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fsite&data=02%7C01%7Caharui%40adobe.com%7Cb9d080cf9f144ca460f108d576950fff%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636545304947803878&sdata=bds1OEspObzfBhwZ2abCqgwcQ0sYIbcZpPFichd7uSI%3D&reserved=0>"

If it matters I'm using moonshine 1.9.

Thanks,
Mandeep


[Inline image 1]

On Sun, Feb 18, 2018 at 12:19 AM, Alex Harui <ah...@adobe.com>> wrote:
What are you using to compile the example?  Ant, Maven, command-line, NPM?  I think the Ant and Maven builds work.

I don't see rs:model in RoyaleWebsite.  Maybe it got accidentally added by your editor?

-Alex

From: Mandeep Sarma <mu...@gmail.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Saturday, February 17, 2018 at 7:48 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: rs model / tag

Hi,

I've been trying out some of the examples. some of the examples (i.e. RoyaleWebsite) use the <rs:model> tag. but when I compile I get the message: "This tag could not be resolved to an ActionScript class. It will be ignored."

Has this model been deprecated or am I misunderstanding something ?

Mandeep

[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png]<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&data=02%7C01%7Caharui%40adobe.com%7Cbae1d0570000446bacca08d576827e1f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636545225219109244&sdata=z6YKmuuMIJLtjwBRnxqsVOqeIZGZK6Di4Ip2F5ETDYs%3D&reserved=0>     Virus-free. www.avg.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&data=02%7C01%7Caharui%40adobe.com%7Cbae1d0570000446bacca08d576827e1f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636545225219109244&sdata=z6YKmuuMIJLtjwBRnxqsVOqeIZGZK6Di4Ip2F5ETDYs%3D&reserved=0>


Re: rs model / tag

Posted by Mandeep Sarma <mu...@gmail.com>.
Sorry... I have no idea why I said model, anyways I think I mean
"namespace" as in: xmlns:rs="library://ns.apache.org/royale/site"

If it matters I'm using moonshine 1.9.

Thanks,
Mandeep


[image: Inline image 1]

On Sun, Feb 18, 2018 at 12:19 AM, Alex Harui <ah...@adobe.com> wrote:

> What are you using to compile the example?  Ant, Maven, command-line,
> NPM?  I think the Ant and Maven builds work.
>
> I don't see rs:model in RoyaleWebsite.  Maybe it got accidentally added by
> your editor?
>
> -Alex
>
> From: Mandeep Sarma <mu...@gmail.com>
> Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
> Date: Saturday, February 17, 2018 at 7:48 PM
> To: "users@royale.apache.org" <us...@royale.apache.org>
> Subject: rs model / tag
>
> Hi,
>
> I've been trying out some of the examples. some of the examples (i.e.
> RoyaleWebsite) use the <rs:model> tag. but when I compile I get the
> message: "This tag could not be resolved to an ActionScript class. It will
> be ignored."
>
> Has this model been deprecated or am I misunderstanding something ?
>
> Mandeep
>
>
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&data=02%7C01%7Caharui%40adobe.com%7Cbae1d0570000446bacca08d576827e1f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636545225219109244&sdata=z6YKmuuMIJLtjwBRnxqsVOqeIZGZK6Di4Ip2F5ETDYs%3D&reserved=0> Virus-free.
> www.avg.com
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&data=02%7C01%7Caharui%40adobe.com%7Cbae1d0570000446bacca08d576827e1f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636545225219109244&sdata=z6YKmuuMIJLtjwBRnxqsVOqeIZGZK6Di4Ip2F5ETDYs%3D&reserved=0>
> <#m_5704709059797337688_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>

Re: rs model / tag

Posted by Alex Harui <ah...@adobe.com>.
What are you using to compile the example?  Ant, Maven, command-line, NPM?  I think the Ant and Maven builds work.

I don't see rs:model in RoyaleWebsite.  Maybe it got accidentally added by your editor?

-Alex

From: Mandeep Sarma <mu...@gmail.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Saturday, February 17, 2018 at 7:48 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: rs model / tag

Hi,

I've been trying out some of the examples. some of the examples (i.e. RoyaleWebsite) use the <rs:model> tag. but when I compile I get the message: "This tag could not be resolved to an ActionScript class. It will be ignored."

Has this model been deprecated or am I misunderstanding something ?

Mandeep

[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png]<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&data=02%7C01%7Caharui%40adobe.com%7Cbae1d0570000446bacca08d576827e1f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636545225219109244&sdata=z6YKmuuMIJLtjwBRnxqsVOqeIZGZK6Di4Ip2F5ETDYs%3D&reserved=0>     Virus-free. www.avg.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&data=02%7C01%7Caharui%40adobe.com%7Cbae1d0570000446bacca08d576827e1f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636545225219109244&sdata=z6YKmuuMIJLtjwBRnxqsVOqeIZGZK6Di4Ip2F5ETDYs%3D&reserved=0>