Ok, I didn't explain myself.... 

I always compile the complete framework and I do it through a ".bat", this is 
the compilation order:

1º) Build royale-compiler:
        1.1. Ant
                ant clean 
                ant wipe-all
        1.2. Maven
                mvn clean install -DskipTests --quiet

2º) Build royale-typedefs:
        2.1. Ant
                ant clean 
                ant wipe-all
        2.2. Maven
                mvn clean install --quiet

3º) Build royale-asjs:
        3.1. Cleaning Ant
                ant clean
                ant super-clean
        3.2. Build Maven
                mvn clean install -DskipTests -P 
option-with-sass-compile,option-with-swf -Drat.skip=true
        3.3. Build Ant
                ant all -Dbuild.noprompt=true -Drelease.target=true 
-Dskip-tests=true

I hope I've answered you now 😝

Hiedra

-----Mensaje original-----
De: Piotr Zarzycki <piotrzarzyck...@gmail.com> 
Enviado el: viernes, 19 de mayo de 2023 12:17
Para: dev@royale.apache.org
Asunto: Re: Error compiling the SDK

I mean how do you start your build ? For example my command is

mvn clean install -DskipTests=true -Drat.skip=true 
-DdistributionTargetFolder=path

I'm running it in root directory of royale-asjs.

pt., 19 maj 2023 o 12:13 Maria Jose Esteve <mjest...@iest.com> napisał(a):

> Sorry Piotr, these are all the instructions I use, I don't think I 
> understand your request, sorry. Maybe it's because of the translation 
> I'm doing into Spanish,...
>
> Hiedra
>
> -----Mensaje original-----
> De: Piotr Zarzycki <piotrzarzyck...@gmail.com> Enviado el: viernes, 19 
> de mayo de 2023 12:03
> Para: dev@royale.apache.org
> Asunto: Re: Error compiling the SDK
>
> Maria,
>
> Can you share full command line how you start whole build ? I will try 
> the same on my sight.
>
> pt., 19 maj 2023 o 11:08 Maria Jose Esteve <mjest...@iest.com> napisał(a):
>
> > Hi Piotr,
> > Yes, I build the whole framework, as I have always done. (In case 
> > there is any doubt, I am not referring to RC4, but to the develop
> branch).
> > My last successful build was on May 12.
> > I compile with Maven and then with ant this is my compilation bat:
> >
> > cd %ROYALE_COMPILER_HOME%
> > @echo =========================== Build COMPILER with ANT 
> > =========================== call ant clean call ant wipe-all @echo 
> > =========================== Build COMPILER with MAVEN 
> > =========================== call mvn clean install -DskipTests 
> > --quiet
> >
> > cd %ROYALE_TYPEDEFS_HOME%
> > @echo =========================== Build TYPEDEFS with ANT 
> > =========================== call ant clean call ant wipe @echo 
> > =========================== Build TYPEDEFS with MAVEN 
> > =========================== call mvn clean install --quiet
> >
> > cd %ROYALE_ASJS_HOME%
> > @echo =========================== ant super-clean 
> > =========================== call ant clean call ant super-clean 
> > @echo =========================== Build FRAMEWORK with MAVEN - LOCAL 
> > =========================== call mvn clean install -DskipTests -P 
> > option-with-sass-compile,option-with-swf -Drat.skip=true
> >
> > @echo =========================== Build SDK with ANT 
> > =========================== SET
> > JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 -Xms256m -Xmx2048m call ant 
> > all -Dbuild.noprompt=true -Drelease.target=true -Dskip-tests=true
> >
> > Hiedra
> >
> > -----Mensaje original-----
> > De: Piotr Zarzycki <piotrzarzyck...@gmail.com> Enviado el: viernes, 
> > 19 de mayo de 2023 10:04
> > Para: dev@royale.apache.org
> > Asunto: Re: Error compiling the SDK
> >
> > I will be at my PC in 1,5h to check more details.
> >
> > On Fri, 19 May 2023 at 10:03, Piotr Zarzycki 
> > <piotrzarzyck...@gmail.com>
> > wrote:
> >
> > > Hi Maria,
> > >
> > > No this should work. Our Maven build even didn’t notified such errors.
> > > Did you build whole framework ?
> > >
> > > On Fri, 19 May 2023 at 09:37, Maria Jose Esteve 
> > > <mjest...@iest.com>
> > wrote:
> > >
> > >> Hi, good morning.
> > >> I have compiled the SDK and got errors with the latest changes.
> > >> Specifically the changes in TileHorizontalLayout are giving errors.
> > >> @Piotr, is this half done?
> > >>
> > >>      [java]
> > >>
> >
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Jewel\src\main\royale\org\apache\royale\jewel\beads\layouts\TileHorizontalLayout.as(49):
> > >> col: 15 Error: interface method willTrigger in interface 
> > >> IEventDispatcher not implemented by class TileHorizontalLayout
> > >>      [java]
> > >>      [java]                public class TileHorizontalLayout extends
> > >> SimpleHorizontalLayout implements IEventDispatcher
> > >>      [java]                             ^
> > >>      [java]
> > >>      [java]
> > >>
> >
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Jewel\src\main\royale\org\apache\royale\jewel\beads\layouts\TileHorizontalLayout.as(141):
> > >> col: 28 Error: Incompatible override.
> > >>      [java]
> > >>      [java]                                override public function
> > >> beadsAddedHandler(event:Event = null):void
> > >>      [java]                                                         ^
> > >>      [java]
> > >>      [java]
> > >>
> >
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Jewel\src\main\royale\org\apache\royale\jewel\beads\layouts\TileHorizontalLayout.as(141):
> > >> col: 52 Error: Ambiguous reference to Event
> > >>      [java]
> > >>      [java]                                override public function
> > >> beadsAddedHandler(event:Event = null):void
> > >>      [java]
> > >>                    ^
> > >>      [java]
> > >>      [java]
> > >>
> >
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Jewel\src\main\royale\org\apache\royale\jewel\beads\layouts\TileHorizontalLayout.as(141):
> > >> col: 60 Warning: Incompatible initializer value of type 'Null' 
> > >> where
> ''
> > is
> > >> expected. " +        "An initial value of null will be used instead.
> > >>      [java]
> > >>      [java]                                override public function
> > >> beadsAddedHandler(event:Event = null):void
> > >>      [java]
> > >>                            ^
> > >>      [java]
> > >>      [java]
> > >>
> >
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Jewel\src\main\royale\org\apache\royale\jewel\beads\layouts\TileHorizontalLayout.as(146):
> > >> col: 36 Error: Ambiguous reference to Event
> > >>      [java]
> > >>      [java]
> > >> hostComponent.dispatchEvent(new Event("layoutNeeded"));
> > >>      [java]
> > >>                   ^
> > >>      [java]
> > >>      [java]
> > >>
> >
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Jewel\src\main\royale\org\apache\royale\jewel\beads\layouts\TileHorizontalLayout.as(351):
> > >> col: 45 Error: Ambiguous reference to Event
> > >>      [java]
> > >>      [java]                                private function
> > >> observedChangeSize(event:Event):void
> > >>      [java]
> > >>             ^
> > >>      [java]
> > >>      [java]
> > >>
> >
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Jewel\src\main\royale\org\apache\royale\jewel\beads\layouts\TileVerticalLayout.as(52):
> > >> col: 15 Error: interface method willTrigger in interface 
> > >> IEventDispatcher not implemented by class TileVerticalLayout
> > >>      [java]
> > >>      [java]                public class TileVerticalLayout extends
> > >> SimpleVerticalLayout implements IEventDispatcher
> > >>
> > >> Hiedra
> > >>
> > >> --
> > >
> > > Piotr Zarzycki
> > >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>


-- 

Piotr Zarzycki

Reply via email to