Hi,

When I downloaded the zip file from the link https://www-eu.apache.org/dist/flex/flexunit/4.2.0/binaries/apache-flex-flexunit-4.2.0-4.12.0-bin.zip and put it into the folder royale-asjs/in, I expected the compiler should not delete, bud done so.

Two problems here:

1. The mirror and the file in apache is somehow broken :(e.g) http://www.apache.org/dyn/closer.lua/flex/flexunit/4.2.0/binaries/apache-flex-flexunit-4.2.0-4.12.0-bin.zip
2. File are deleted and downloaded each time during the build.

May give some idea.

It is not blocking me for now as I am using nightly builds unit I find a fix.

Thanks,
Serkan

16.12.2018 22:53 tarihinde Serkan Taş yazdı:
This time it is ok, I tired https://www-eu.apache.org/dist/flex/flexunit/4.2.0/binaries/apache-flex-flexunit-4.2.0-4.12.0-bin.zip

Thanks,
Serkan

16.12.2018 22:42 tarihinde Serkan Taş yazdı:
The link is not working Alex, just 16K is downloaded may be it is related with my environment.

Thanks,
Serkan

16.12.2018 10:04 tarihinde Alex Harui yazdı:

Hmm.  Maybe the cgi isn’t working.

Try: http://www.apache.org/dyn/closer.lua/flex/flexunit/4.2.0/binaries/apache-flex-flexunit-4.2.0-4.12.0-bin.zip

HTH,

-Alex

*From: *Serkan Taş <serkan....@likyateknoloji.com>
*Reply-To: *"users@royale.apache.org" <users@royale.apache.org>
*Date: *Saturday, December 15, 2018 at 3:13 AM
*To: *"users@royale.apache.org" <users@royale.apache.org>
*Subject: *Re: compiler is broken

I guess mirror is broken, is it possible to set not to use mirror ?

14.12.2018 09:39 tarihinde Piotr Zarzycki yazdı:

    To me the other solution was as well downloading that file and
    setup one of the environment variable CACHE - It always being
    checked during compilation whether file exists there. If not we
    are trying to download it.

    Find that variable if anything won't work.

    Thanks, Piotr

    czw., 13 gru 2018 o 23:17 Alex Harui <aha...@adobe.com
    <mailto:aha...@adobe.com>> napisał(a):

        Usually, your default browser cache, but sometimes clearing
        the Internet Explorer cache (even if you don’t use Internet
        Explorer) can help.

        Try downloading the file manually by clicking that link in a
        browser and run a checksum on the results and see you get
        something that can be unzipped.

        HTH,

        -Alex

        *From: *Serkan Taş <serkan....@likyateknoloji.com
        <mailto:serkan....@likyateknoloji.com>>
        *Reply-To: *"users@royale.apache.org
        <mailto:users@royale.apache.org>" <users@royale.apache.org
        <mailto:users@royale.apache.org>>
        *Date: *Thursday, December 13, 2018 at 1:56 PM
        *To: *"users@royale.apache.org
        <mailto:users@royale.apache.org>" <users@royale.apache.org
        <mailto:users@royale.apache.org>>
        *Subject: *Re: compiler is broken

        Hi Alex,

        Which browser cache should be cleaned ?

        Here is the download command from log :

        download_using_mirror:
              [get] Getting:
        
http://www.apache.org/dyn/mirrors/mirrors.cgi/flex/flexunit/4.2.0/binaries/apache-flex-flexunit-4.2.0-4.12.0-bin.zip?asjson=true
        
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.apache.org%2Fdyn%2Fmirrors%2Fmirrors.cgi%2Fflex%2Fflexunit%2F4.2.0%2Fbinaries%2Fapache-flex-flexunit-4.2.0-4.12.0-bin.zip%3Fasjson%3Dtrue&data=02%7C01%7Caharui%40adobe.com%7Cfbe2f84355014ab2fe3308d6627e4b15%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636804691900577724&sdata=bAiKmbOpXCvg4dr%2FtuAcfdnFSVMgAndp9WrcWp4%2Fh2M%3D&reserved=0>
              [get] To:
        D:\dev\royale-emulation-works\github\royale-asjs\frameworks\mirror.json
              [get] .

        check_mirror_json:

        use_mirror:
           [delete] Deleting:
        D:\dev\royale-emulation-works\github\royale-asjs\frameworks\mirror.json
             [echo] Using mirror:
        http://ftp.itu.edu.tr/Mirror/Apache/
        
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fftp.itu.edu.tr%2FMirror%2FApache%2F&data=02%7C01%7Caharui%40adobe.com%7Cfbe2f84355014ab2fe3308d6627e4b15%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636804691900577724&sdata=Fw%2F7Dm2ixUpG7HqC3maulJZVBYOZN2YVSa%2BjBsJixbM%3D&reserved=0>
              [get] Getting:
        
http://ftp.itu.edu.tr/Mirror/Apache/flex/flexunit/4.2.0/binaries/apache-flex-flexunit-4.2.0-4.12.0-bin.zip
        
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fftp.itu.edu.tr%2FMirror%2FApache%2Fflex%2Fflexunit%2F4.2.0%2Fbinaries%2Fapache-flex-flexunit-4.2.0-4.12.0-bin.zip&data=02%7C01%7Caharui%40adobe.com%7Cfbe2f84355014ab2fe3308d6627e4b15%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636804691900577724&sdata=af4V6zWIBEemU3XnEhqR5oklE0zqk5DhplfUAl91yIk%3D&reserved=0>
              [get] To:
        
D:\dev\royale-emulation-works\github\royale-asjs\in\apache-flex-flexunit-4.2.0-4.12.0-bin.zip



        And full log for reference :
        https://drive.google.com/open?id=14rWYkD--Dv89nw8H1lJ1Dymg4IQVznKg
        
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D14rWYkD--Dv89nw8H1lJ1Dymg4IQVznKg&data=02%7C01%7Caharui%40adobe.com%7Cfbe2f84355014ab2fe3308d6627e4b15%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636804691900577724&sdata=ga7mtgyeB7l4BP6j8uKyTfc5MHWvZHSmZ8wT8ipEgmU%3D&reserved=0>

        Thanks,
        Serkan

        11.12.2018 22:09 tarihinde Alex Harui yazdı:

            Hi Serkan,

            I don’t think that has anything to do with the
            compiler.  FlexUnit is for ActionScript unit tests.  I
            suggest that you clear your browser cache.  Sometimes
            the download libraries use browser libraries and a bad
            version of a file will be in a browser cache.

            HTH,

            -Alex

            *From: *Serkan Taş <serkan....@likyateknoloji.com>
            <mailto:serkan....@likyateknoloji.com>
            *Reply-To: *"users@royale.apache.org"
            <mailto:users@royale.apache.org>
            <users@royale.apache.org> <mailto:users@royale.apache.org>
            *Date: *Tuesday, December 11, 2018 at 11:05 AM
            *To: *"users@royale.apache.org"
            <mailto:users@royale.apache.org>
            <users@royale.apache.org> <mailto:users@royale.apache.org>
            *Subject: *compiler is broken

            Hi,

            When compiling royale I am getting error below. Any one
            has idea ?

            Here is the end of the log :

            get-from-cache-if-needed:
                [unzip] Expanding:
            
D:\dev\royale-emulation-works\github\royale-asjs\in\apache-flex-flexunit-4.2.0-4.12.0-bin.zip
            into
            D:\dev\royale-emulation-works\github\royale-asjs\in\flexunit

            BUILD FAILED
            D:\dev\royale-emulation-works\github\royale-asjs\build.xml:193:
            The following error occurred while executing this line:
            
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\build.xml:106:
            The following error occurred while executing this line:
            
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\downloads.xml:110:
            Error while expanding
            
D:\dev\royale-emulation-works\github\royale-asjs\in\apache-flex-flexunit-4.2.0-4.12.0-bin.zip
            java.util.zip.ZipException: archive is not a ZIP archive
                    at
            
org.apache.tools.zip.ZipFile.positionAtEndOfCentralDirectoryRecord(ZipFile.java:775)
                    at
            
org.apache.tools.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:711)
                    at
            
org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:456)
                    at
            org.apache.tools.zip.ZipFile.<init>(ZipFile.java:216)
                    at
            org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:190)
                    at
            org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:157)
                    at
            org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
                    at
            sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
                    at
            
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                    at java.lang.reflect.Method.invoke(Method.java:498)
                    at
            
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
                    at org.apache.tools.ant.Task.perform(Task.java:350)
                    at
            org.apache.tools.ant.Target.execute(Target.java:449)
                    at
            org.apache.tools.ant.Target.performTasks(Target.java:470)
                    at
            org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388)
                    at
            
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
                    at
            org.apache.tools.ant.Project.executeTargets(Project.java:1251)
                    at
            org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
                    at
            org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
                    at
            sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
                    at
            
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                    at java.lang.reflect.Method.invoke(Method.java:498)
                    at
            
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
                    at org.apache.tools.ant.Task.perform(Task.java:350)
                    at
            org.apache.tools.ant.Target.execute(Target.java:449)
                    at
            org.apache.tools.ant.Target.performTasks(Target.java:470)
                    at
            org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388)
                    at
            
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
                    at
            org.apache.tools.ant.Project.executeTargets(Project.java:1251)
                    at
            org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
                    at
            org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
                    at
            sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
                    at
            
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                    at java.lang.reflect.Method.invoke(Method.java:498)
                    at
            
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
                    at org.apache.tools.ant.Task.perform(Task.java:350)
                    at
            org.apache.tools.ant.Target.execute(Target.java:449)
                    at
            org.apache.tools.ant.Target.performTasks(Target.java:470)
                    at
            org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388)
                    at
            org.apache.tools.ant.Project.executeTarget(Project.java:1361)
                    at
            
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
                    at
            org.apache.tools.ant.Project.executeTargets(Project.java:1251)
                    at org.apache.tools.ant.Main.runBuild(Main.java:834)
                    at org.apache.tools.ant.Main.startAnt(Main.java:223)
                    at
            org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
                    at
            org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)

            Total time: 3 minutes 44 seconds


            Thanks,
            Serkan


--
    /Piotr Zarzycki /

    Patreon: _https://www.patreon.com/piotrzarzycki
    
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cfbe2f84355014ab2fe3308d6627e4b15%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636804691900577724&sdata=M1YV1vC78C9ZPhEt1jIkgyqLH8tgHJ%2BlB4vQCksmxTI%3D&reserved=0>_






Reply via email to