Hi Carlos,

I have installed the nightly of Moonshine (3.1.0) and it is point to the
nightly of Royal (9.8 - swf-js).

I created a new ApacheRoyal Project with platform set to JS.

I created the frameworks folder in:

C:\IDE\ApacheRoyalNightlyAll

which contains the royal-* folders, package.json etc.

When I build I get the :

"This SDK does not contains playerglobal.swc in
frameworks\libs\player\11.7\playerglobal.swc".  error.

So where should I place the folder?

The IDE highlights "J:initialView" with a red underline stating: "Cannot
parse a value of type org.apache.royal.core.IApplicationView"

Where to from here?

Thanks,

David





On Tue, 9 Feb 2021 at 15:23, Carlos Rovira <[email protected]> wrote:

> Hi, if I understand correctly, you just need to create a folder 11.7 and
> copy the playerglobal.swc you have there. Although it is not that version,
> I think Royale just wants to find it there. Even though you really use SWF,
> I think that will work, but more over you just want to compile to JS.
>
> Apart from that. I think starting from Royale 0.9.7 is normal that your
> app breaks. There's lots of changes! 0.9.7 is from May 2020. So in two
> months that will be a complete year of changes, fixes, and refactors.
>
> You should remove 9.7 completely and go with the latest nightly and update
> at least each week until we release 0.9.8
> Then start from scratch with an empty project that compiles with a hello
> world. Then start adding your current code little by little and fixing and
> updating things as you get errors until you get to the actual state.
>
> Sorry, but there's no better way to do this. Royale is still young and
> many things are still changing and is important to stay on the loop and
> upgrade as we improve it.
>
> HTH
>
>
> El mar, 9 feb 2021 a las 11:49, Piotr Zarzycki (<[email protected]>)
> escribió:
>
>> You should use in my opinion Nightly build of Royale 0.9.8 - JS version -
>> Carlos should provide you compiler options which builds his project
>> In case if you have problems with Moonshine try Nightly build of it. It
>> is available on Moonshine's website by clicking small arrow near Download
>> button.
>>
>> wt., 9 lut 2021 o 11:34 David Slotemaker de Bruine <
>> [email protected]> napisał(a):
>>
>>> A Nightly build of moonshine or Royal? How do I go about setting that up
>>> automatically like you mentioned before.
>>>
>>> Cheers,
>>>
>>> David
>>>
>>> On Tue, 9 Feb 2021 at 11:16, Piotr Zarzycki <[email protected]>
>>> wrote:
>>>
>>>> I don't think you need that version. I think you should use JS version
>>>> with some compiler options for your project. I would leave Carlos
>>>> clarification.
>>>>
>>>> If you think that you will have problem with Moonshine try Nightly
>>>> build of it to see if it's the same.
>>>>
>>>> wt., 9 lut 2021 o 11:00 David Slotemaker de Bruine <
>>>> [email protected]> napisał(a):
>>>>
>>>>> No, I have download the SWF and JS Version as Carlos says I need the
>>>>> mx:RemoteObject implementation to call BlazeDS Remote objects correctly.
>>>>>
>>>>> All sorts of weird things are happening now with the IDE, I get build
>>>>> errors and mark-up warnings on all my projects even if I go back to the
>>>>> standard JS only version of 9.8. frustrating :( Nothing compiles now. Not
>>>>> even starting an Empty App!
>>>>>
>>>>> D
>>>>>
>>>>> On 2021/02/09 09:40:28, Piotr Zarzycki <[email protected]>
>>>>> wrote:
>>>>> > Just o be clear - you are using JS only version of SDK ? Did you
>>>>> download
>>>>> > it trough Moonshine SDK Installer ?
>>>>> >
>>>>> > wt., 9 lut 2021 o 10:32 David Slotemaker de Bruine <
>>>>> > [email protected]> napisał(a):
>>>>> >
>>>>> > > I am re copying the SDK, just in case a file is missing, because
>>>>> even
>>>>> > > creating a empty js app is giving me compile errors.
>>>>> > >
>>>>> > > D
>>>>> > >
>>>>> > > On Tue, 9 Feb 2021 at 10:29, Piotr Zarzycki <
>>>>> [email protected]>
>>>>> > > wrote:
>>>>> > >
>>>>> > >> Carlos,
>>>>> > >>
>>>>> > >> Could you provide compiler options which you have in your project
>>>>> ? I
>>>>> > >> think David is missing something in his. I don't follow fully
>>>>> this thread.
>>>>> > >>
>>>>> > >> Thanks,
>>>>> > >> Piotr
>>>>> > >>
>>>>> > >> wt., 9 lut 2021 o 10:11 David Slotemaker de Bruine <
>>>>> > >> [email protected]> napisał(a):
>>>>> > >>
>>>>> > >>> Yes I have "JS" selected as Run, I even selected SWF saved, and
>>>>> > >>> reselected JS. No joy.  I can clean the project but it doesn't
>>>>> fix the
>>>>> > >>> problem.
>>>>> > >>>
>>>>> > >>> Do I need the playerglobal.swc? Where can I get the .swc and
>>>>> where do I
>>>>> > >>> put it so I can compile?
>>>>> > >>>
>>>>> > >>> David
>>>>> > >>>
>>>>> > >>>
>>>>> > >>> On Tue, 9 Feb 2021 at 09:57, Piotr Zarzycki <
>>>>> [email protected]>
>>>>> > >>> wrote:
>>>>> > >>>
>>>>> > >>>> Hi David,
>>>>> > >>>>
>>>>> > >>>> This is weird. Could you check in project Settings - section
>>>>> “Run” that
>>>>> > >>>> you have selected Platform - “JS”
>>>>> > >>>>
>>>>> > >>>> Piotr
>>>>> > >>>>
>>>>> > >>>> On Tue, 9 Feb 2021 at 08:57, David Slotemaker de Bruine <
>>>>> > >>>> [email protected]> wrote:
>>>>> > >>>>
>>>>> > >>>>> Hi Carlos, Thanks,
>>>>> > >>>>>
>>>>> > >>>>> I have download the SWF and JS verison of .98 and changed the
>>>>> paths in
>>>>> > >>>>> Moonshine.
>>>>> > >>>>>
>>>>> > >>>>> Moonshine is giving me "Definition cannot be found" source
>>>>> errors for
>>>>> > >>>>> the mx imports and on building
>>>>> > >>>>> I am getting:
>>>>> > >>>>>
>>>>> > >>>>> This SDK does not contains playerglobal.swc in
>>>>> > >>>>> frameworks\libs\player\11.7\playerglobal.swc.
>>>>> > >>>>>
>>>>> > >>>>> The download think has been removed by Adobe. Where can I get
>>>>> the .swc
>>>>> > >>>>> and where do I put it so I can compile?
>>>>> > >>>>>
>>>>> > >>>>> Cheers.
>>>>> > >>>>>
>>>>> > >>>>> David
>>>>> > >>>>>
>>>>> > >>>>> On 2021/02/08 16:21:22, Carlos Rovira <[email protected]
>>>>> >
>>>>> > >>>>> wrote:
>>>>> > >>>>> > Hi David,
>>>>> > >>>>> >
>>>>> > >>>>> > don't use js:RemoteObject, use mx:RemoteObject from
>>>>> MXRoyale. The
>>>>> > >>>>> emulation
>>>>> > >>>>> > version is far more complete while the first one still
>>>>> requires more
>>>>> > >>>>> work
>>>>> > >>>>> > to be done. mx:RemoteObject can be considered 96% or so
>>>>> completed ;)
>>>>> > >>>>> >
>>>>> > >>>>> > About the timing issue, please first use mx version and then
>>>>> we
>>>>> > >>>>> could see
>>>>> > >>>>> > if the problem continues.
>>>>> > >>>>> >
>>>>> > >>>>> > Also, think that we have "Virtual" layout versions, although
>>>>> Jewel
>>>>> > >>>>> > VirtualDataGrid is still not complete.
>>>>> > >>>>> > If you don't need things like item renderer editing or column
>>>>> > >>>>> ordering, I
>>>>> > >>>>> > always recommend to use a simple Jewel List or VirtualList
>>>>> with an
>>>>> > >>>>> item
>>>>> > >>>>> > renderer and a header, since is far simpler and performant.
>>>>> In Flex
>>>>> > >>>>> we used
>>>>> > >>>>> > to overuse DataGrids.
>>>>> > >>>>> >
>>>>> > >>>>> > HTH
>>>>> > >>>>> >
>>>>> > >>>>> > El lun, 8 feb 2021 a las 16:54, David Slotemaker de Bruine (<
>>>>> > >>>>> > [email protected]>) escribió:
>>>>> > >>>>> >
>>>>> > >>>>> > > Hey Guys,
>>>>> > >>>>> > >
>>>>> > >>>>> > > I have managed to get a Remote Object Call working to our
>>>>> current
>>>>> > >>>>> BlazeDS
>>>>> > >>>>> > > backend using Jewel UI and js:RemoteObject, Great work
>>>>> getting
>>>>> > >>>>> that done!
>>>>> > >>>>> > >
>>>>> > >>>>> > > Some questions:
>>>>> > >>>>> > >
>>>>> > >>>>> > > I have make the call twice, the first one always returns a
>>>>> Error
>>>>> > >>>>> message
>>>>> > >>>>> > > with the fault string "Detected duplicate HTTP-based
>>>>> FlexSessions,
>>>>> > >>>>> > > generally due to the remote host disabling session cookies.
>>>>> > >>>>> Session cookies
>>>>> > >>>>> > > must be enabled to manage the client connection
>>>>> correctly.". I
>>>>> > >>>>> also noticed
>>>>> > >>>>> > > this event doesn't map the same way to the Fault event in
>>>>> Flex.
>>>>> > >>>>> The Fault
>>>>> > >>>>> > > event in Flex has a faultString and rootCause property but
>>>>> the
>>>>> > >>>>> Royal
>>>>> > >>>>> > > version doesn't have those 2 properties. How can I avoid
>>>>> the
>>>>> > >>>>> double call
>>>>> > >>>>> > > and get the faultString property to show to the user?
>>>>> > >>>>> > >
>>>>> > >>>>> > > The drawing of the result to the datagrid takes a massive
>>>>> amount
>>>>> > >>>>> of time,
>>>>> > >>>>> > > the result is 500 object long, but it takes upwards of 40
>>>>> seconds
>>>>> > >>>>> to fill
>>>>> > >>>>> > > the datagrid, its mxml is:
>>>>> > >>>>> > >
>>>>> > >>>>> > >   <j:DataGrid id="dg" width="1000" height="300">
>>>>> > >>>>> > >                                     <j:columns>
>>>>> > >>>>> > >
>>>>>  <j:DataGridColumn
>>>>> > >>>>> > > label="Codigo" dataField="notesCliente" columnWidth="100"/>
>>>>> > >>>>> > >
>>>>> > >>>>>  <j:DataGridColumn
>>>>> > >>>>> > > label="Nombre" dataField="nombre" columnWidth="200"/>
>>>>> > >>>>> > >
>>>>> > >>>>>  <j:DataGridColumn
>>>>> > >>>>> > > label="Poblacion" dataField="poblacionNombre"
>>>>> columnWidth="200"/>
>>>>> > >>>>> > >
>>>>> > >>>>>  <j:DataGridColumn
>>>>> > >>>>> > > label="GPS" dataField="direccionLatLong"
>>>>> columnWidth="100"/>
>>>>> > >>>>> > >
>>>>> > >>>>>  <j:DataGridColumn
>>>>> > >>>>> > > label="Mail" dataField="mail" columnWidth="100"/>
>>>>> > >>>>> > >
>>>>> > >>>>>  <j:DataGridColumn
>>>>> > >>>>> > > label="Tlfno" dataField="tlfno" columnWidth="100"/>
>>>>> > >>>>> > >
>>>>> > >>>>>  <j:DataGridColumn
>>>>> > >>>>> > > label="Cod.Admin" dataField="adminCliente"
>>>>> columnWidth="100"/>
>>>>> > >>>>> > >                                     </j:columns>
>>>>> > >>>>> > >                                 </j:DataGrid>
>>>>> > >>>>> > >
>>>>> > >>>>> > > Anything I can do to speed it up?
>>>>> > >>>>> > >
>>>>> > >>>>> > > Cheers,
>>>>> > >>>>> > >
>>>>> > >>>>> > > David
>>>>> > >>>>> > >
>>>>> > >>>>> > >
>>>>> > >>>>> > >
>>>>> > >>>>> > >
>>>>> > >>>>> > >
>>>>> > >>>>> >
>>>>> > >>>>> > --
>>>>> > >>>>> > Carlos Rovira
>>>>> > >>>>> > Apache Member & Apache Royale PMC
>>>>> > >>>>> > *Apache Software Foundation*
>>>>> > >>>>> > http://about.me/carlosrovira
>>>>> > >>>>> >
>>>>> > >>>>>
>>>>> > >>>> --
>>>>> > >>>>
>>>>> > >>>> Piotr Zarzycki
>>>>> > >>>>
>>>>> > >>>
>>>>> > >>>
>>>>> > >>> --
>>>>> > >>>
>>>>> > >>> *David Slotemaker de Bruïne*
>>>>> > >>> *Head of Educational Robotics*
>>>>> > >>>
>>>>> > >>>
>>>>> > >>>
>>>>> > >>> Av. Sarriá, 130 - 08017 Barcelona
>>>>> > >>> <
>>>>> https://maps.google.com/?q=Av.+Sarri%C3%A1,+130+-+08017+Barcelona&entry=gmail&source=g
>>>>> >
>>>>> > >>>
>>>>> > >>>
>>>>> > >>> T. +34 932 523 729 ext. 135
>>>>> > >>>
>>>>> > >>> [email protected]
>>>>> > >>>
>>>>> > >>
>>>>> > >>
>>>>> > >> --
>>>>> > >>
>>>>> > >> Piotr Zarzycki
>>>>> > >>
>>>>> > >
>>>>> > >
>>>>> > > --
>>>>> > >
>>>>> > > *David Slotemaker de Bruïne*
>>>>> > > *Head of Educational Robotics*
>>>>> > >
>>>>> > >
>>>>> > >
>>>>> > > Av. Sarriá, 130 - 08017 Barcelona
>>>>> > > <
>>>>> https://maps.google.com/?q=Av.+Sarri%C3%A1,+130+-+08017+Barcelona&entry=gmail&source=g
>>>>> >
>>>>> > >
>>>>> > >
>>>>> > > T. +34 932 523 729 ext. 135
>>>>> > >
>>>>> > > [email protected]
>>>>> > >
>>>>> >
>>>>> >
>>>>> > --
>>>>> >
>>>>> > Piotr Zarzycki
>>>>> >
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Piotr Zarzycki
>>>>
>>>
>>>
>>> --
>>>
>>> *David Slotemaker de Bruïne*
>>> *Head of Educational Robotics*
>>>
>>>
>>>
>>> Av. Sarriá, 130 - 08017 Barcelona
>>> <https://maps.google.com/?q=Av.+Sarri%C3%A1,+130+-+08017+Barcelona&entry=gmail&source=g>
>>>
>>>
>>> T. +34 932 523 729 ext. 135
>>>
>>> [email protected]
>>>
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
>

-- 

*David Slotemaker de Bruïne*
*Head of Educational Robotics*



Av. Sarriá, 130 - 08017 Barcelona
<https://maps.google.com/?q=Av.+Sarri%C3%A1,+130+-+08017+Barcelona&entry=gmail&source=g>


T. +34 932 523 729 ext. 135

[email protected]

Reply via email to