FYI, this is what I use to do a complete rebuild of Royale:

(
  cd ~/Apache/royale-compiler
  ant wipe-all
  git pull
  cd ~/Apache/royale-typedefs
  ant wipe
  git pull
  cd ~/Apache/royale-asjs
  ant super-clean
  ant clean
  git pull
  ant all
  rsync -r -u ~/Apache/frameworks/libs/player 
~/Apache/royale-asjs/frameworks/libs
)


> On Mar 11, 2024, at 11:11 PM, Harbs <harbs.li...@gmail.com> wrote:
> 
> Great!
> 
>> On Mar 11, 2024, at 12:05 PM, Hugo Ferreira <hferreira...@gmail.com> wrote:
>> 
>> Thank you problem solved.
>> 
>> Deleted all folders expect the source
>> ant clean
>> all all
>> 
>> Build successfull.
>> 
>> Harbs <harbs.li...@gmail.com> escreveu (sábado, 9/03/2024 à(s) 21:30):
>> 
>>> (IntersectionObserver is a web api which needs the current typedefs to
>>> recognize)
>>> 
>>>> On Mar 9, 2024, at 11:28 PM, Harbs <harbs.li...@gmail.com> wrote:
>>>> 
>>>> Make sure your royale-typedefs repo is up to date.
>>>> 
>>>> Harbs
>>>> 
>>>>> On Mar 9, 2024, at 10:42 PM, Hugo Ferreira <hferreira...@gmail.com>
>>> wrote:
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> For months that I can't build the all framework with ant -all
>>>>> I get the following error:
>>>>> 
>>>>> [java]
>>>>> 
>>> /Volumes/Data/SDK/apache-royale-src/apache-royale/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/InfiniteScroller.as(147):
>>>>> col: 20 Error: Call to a possibly undefined method IntersectionObserver.
>>>>> 
>>>>>  [java]
>>>>> 
>>>>>  [java] observer = new IntersectionObserver(handleItemIntersection, {
>>>>> 
>>>>>  [java]                ^
>>>>> 
>>>>>  [java]
>>>>> 
>>>>>  [java]
>>>>> 
>>> /Volumes/Data/SDK/apache-royale-src/apache-royale/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/InfiniteScroller.as(147):
>>>>> col: 20 Call to a possibly undefined method IntersectionObserver.
>>>>> 
>>>>>  [java]
>>>>> 
>>>>>  [java] observer = new IntersectionObserver(handleItemIntersection, {
>>>>> 
>>>>>  [java]                ^
>>>>> 
>>>>>  [java]
>>>>> 
>>>>>  [java] 4.010328448 seconds
>>>>> 
>>>>>  [java] Java Result: 2
>>>>> 
>>>>> 
>>>>> If I comment out the //observer = new
>>>>> IntersectionObserver(handleItemIntersection ... from the
>>> InfiniteScroller.as
>>>>> it compiles again.
>>>>> 
>>>>> There is no IntersectionObserver.as in the source and this is the reason
>>>>> ant fails.
>>>> 
>>> 
>>> 
> 

Reply via email to