You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Piotr Zarzycki <pi...@gmail.com> on 2020/05/11 12:37:26 UTC
Re: Routing (was Re: Spectrum Components)
Hi Harbs,
Today I have wiped out my cached Maven artifacts and tried build our
application where I'm using all stuff which you have lately added. I'm
getting following type of issues and cannot build my project:
Error: Type was not found or was not a compile-time constant: IRouter.
function get router():IRouter;
Error: Access of possibly undefined property BrowserRouter.
var router:BrowserRouter = event.target as
BrowserRouter;
I'm wondering what is being missed? I was trying to add those classes
in BasicClasses
but it doesn't help. Note that I'm able to build my application using ANT
build from Jenkins.
Any thoughts ?
Thanks,
Piotr
wt., 21 kwi 2020 o 14:18 Harbs <ha...@gmail.com> napisał(a):
> It should be fixed.
>
> > On Apr 21, 2020, at 2:47 PM, Harbs <ha...@gmail.com> wrote:
> >
> > Yeah. I’ll fix that…
> >
> >> On Apr 21, 2020, at 10:59 AM, Piotr Zarzycki <pi...@gmail.com>
> wrote:
> >>
> >> Hi Harbs,
> >>
> >> I see some properties which would no longer work [1] - If I use
> >> BrowserRouter as a host. In this specific class that property is not
> used,
> >> but I'm pointing to the issue. Maybe HasRouter and BrowserRouter should
> >> have some common interface ?
> >>
> >> [1]
> >>
> https://github.com/apache/royale-asjs/blob/fa4e6bdf58ea30f68d5efc0e9cc98318d4f0d293/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/RouteToParameters.as#L35
> >>
> >> Thanks,
> >> Piotr
>
>
--
Piotr Zarzycki
Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*
Re: Routing (was Re: Spectrum Components)
Posted by Alex Harui <ah...@adobe.com.INVALID>.
What version of Basic does your project use? Could it still be a 0.9.7*? I think the dev branch is on 0.9.8-SNAPSHOT
-Alex
On 5/11/20, 5:37 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:
Hi Harbs,
Today I have wiped out my cached Maven artifacts and tried build our
application where I'm using all stuff which you have lately added. I'm
getting following type of issues and cannot build my project:
Error: Type was not found or was not a compile-time constant: IRouter.
function get router():IRouter;
Error: Access of possibly undefined property BrowserRouter.
var router:BrowserRouter = event.target as
BrowserRouter;
I'm wondering what is being missed? I was trying to add those classes
in BasicClasses
but it doesn't help. Note that I'm able to build my application using ANT
build from Jenkins.
Any thoughts ?
Thanks,
Piotr
wt., 21 kwi 2020 o 14:18 Harbs <ha...@gmail.com> napisał(a):
> It should be fixed.
>
> > On Apr 21, 2020, at 2:47 PM, Harbs <ha...@gmail.com> wrote:
> >
> > Yeah. I’ll fix that…
> >
> >> On Apr 21, 2020, at 10:59 AM, Piotr Zarzycki <pi...@gmail.com>
> wrote:
> >>
> >> Hi Harbs,
> >>
> >> I see some properties which would no longer work [1] - If I use
> >> BrowserRouter as a host. In this specific class that property is not
> used,
> >> but I'm pointing to the issue. Maybe HasRouter and BrowserRouter should
> >> have some common interface ?
> >>
> >> [1]
> >>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fblob%2Ffa4e6bdf58ea30f68d5efc0e9cc98318d4f0d293%2Fframeworks%2Fprojects%2FBasic%2Fsrc%2Fmain%2Froyale%2Forg%2Fapache%2Froyale%2Frouting%2FRouteToParameters.as%23L35&data=02%7C01%7Caharui%40adobe.com%7Ccdaded1ada77458139b808d7f5a81e9c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637247974734012658&sdata=s3v%2BtyosnNUmFV7jJ5OIT8WPqEA5CGemjJftb6kvkNo%3D&reserved=0
> >>
> >> Thanks,
> >> Piotr
>
>
--
Piotr Zarzycki
Patreon: *https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ccdaded1ada77458139b808d7f5a81e9c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637247974734012658&sdata=KXSrppnwt8FpCnUoZ7zcE5OeYVR190BiL9Zo1xXm4ek%3D&reserved=0
<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ccdaded1ada77458139b808d7f5a81e9c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637247974734012658&sdata=KXSrppnwt8FpCnUoZ7zcE5OeYVR190BiL9Zo1xXm4ek%3D&reserved=0>*