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%7C16cb0ef0a5ad4bfaa23508d66145da2b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636803349982152080&sdata=8PKpAs7wKe%2BRf1g8MCTdh2lsKvzuDCQQdjYJm%2B%2FuRmA%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%7C16cb0ef0a5ad4bfaa23508d66145da2b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636803349982152080&sdata=rlky0XasBEZQX2uRfG4U%2FCBxmoBZQ6mt2BiATTK5E3w%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%7C16cb0ef0a5ad4bfaa23508d66145da2b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636803349982162085&sdata=SSOBaMCKbaEnItnqkOtwuLrCNMCFUUNkc38Wb9L09%2Fo%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%7C16cb0ef0a5ad4bfaa23508d66145da2b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636803349982162085&sdata=hHT%2BS8%2FDDUXkz4vMuOZ3NR16XzpnBOhYDwITfGVokh0%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_


Reply via email to