Hi Alex,

Here is the link of the log file including the build command : https://drive.google.com/open?id=1i_4_0m0oVb06_N2ymFpbv14Dcs71KNR9

Why I think mirror is broken ?

When I open the link :
http://www.apache.org/dyn/closer.lua/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%2Fwww.apache.org%2Fdyn%2Fcloser.lua%2Fflex%2Fflexunit%2F4.2.0%2Fbinaries%2Fapache-flex-flexunit-4.2.0-4.12.0-bin.zip&data=02%7C01%7Caharui%40adobe.com%7Cd347b5e72f1841d1abb508d664619de7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636806767788130055&sdata=A5ZB92%2FeQYUS7aA8vxzjUPr5bkXeFD2x2zNcpOB%2BnNk%3D&reserved=0>


I see the links for the file *apache-flex-flexunit-4.2.0-4.12.0-bin.zip* <http://ftp.itu.edu.tr/Mirror/Apache/flex/flexunit/4.2.0/binaries/apache-flex-flexunit-4.2.0-4.12.0-bin.zip>

When try to download with right-click-save-as for *http://ftp.itu.edu.tr/Mirror/Apache/flex/flexunit/4.2.0/binaries/apache-flex-flexunit-4.2.0-4.12.0-bin.zip*, I get file not downloaded.

When try to download with right-click-save-as for *
* <http://ftp.itu.edu.tr/Mirror/Apache/flex/flexunit/4.2.0/binaries/apache-flex-flexunit-4.2.0-4.12.0-bin.zip>
*ftp://ftp.itu.edu.tr/Mirror/Apache/flex/flexunit/4.2.0/binaries/apache-flex-flexunit-4.2.0-4.12.0-bin.zip*
or
** <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://www-us.apache.org/dist/flex/flexunit/4.2.0/binaries/apache-flex-flexunit-4.2.0-4.12.0-bin.zip** *or * <http://ftp.itu.edu.tr/Mirror/Apache/flex/flexunit/4.2.0/binaries/apache-flex-flexunit-4.2.0-4.12.0-bin.zip>* * <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://www-eu.apache.org/dist/flex/flexunit/4.2.0/binaries/apache-flex-flexunit-4.2.0-4.12.0-bin.zip**

I get file downloaded completely.

But the compiler uses the first one.

Let me know it you need more information.

Thanks,
Serkan

18.12.2018 01:33 tarihinde Alex Harui yazdı:

Serkan,

What Ant targets are you running?  Post a link to the console output including the ant command.

I’m not sure why you say the mirror and file are broken.  What errors are you getting that indicate that it is broken?

-Alex

*From: *Serkan Taş <[email protected]>
*Reply-To: *"[email protected]" <[email protected]>
*Date: *Monday, December 17, 2018 at 12:52 PM
*To: *"[email protected]" <[email protected]>
*Subject: *Re: compiler is broken

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 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww-eu.apache.org%2Fdist%2Fflex%2Fflexunit%2F4.2.0%2Fbinaries%2Fapache-flex-flexunit-4.2.0-4.12.0-bin.zip&data=02%7C01%7Caharui%40adobe.com%7Cd347b5e72f1841d1abb508d664619de7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636806767788130055&sdata=LLBh%2Bj6r7IplDrlXnOjC5x2Y4STv7wStRDmJtUsYTAo%3D&reserved=0> 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 <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.apache.org%2Fdyn%2Fcloser.lua%2Fflex%2Fflexunit%2F4.2.0%2Fbinaries%2Fapache-flex-flexunit-4.2.0-4.12.0-bin.zip&data=02%7C01%7Caharui%40adobe.com%7Cd347b5e72f1841d1abb508d664619de7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636806767788130055&sdata=A5ZB92%2FeQYUS7aA8vxzjUPr5bkXeFD2x2zNcpOB%2BnNk%3D&reserved=0>
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
    
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww-eu.apache.org%2Fdist%2Fflex%2Fflexunit%2F4.2.0%2Fbinaries%2Fapache-flex-flexunit-4.2.0-4.12.0-bin.zip&data=02%7C01%7Caharui%40adobe.com%7Cd347b5e72f1841d1abb508d664619de7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636806767788140060&sdata=fAaDHABVu2NNOSpNSWTruvluLpPamciyDuY3CVyaG1Y%3D&reserved=0>

    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
            
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.apache.org%2Fdyn%2Fcloser.lua%2Fflex%2Fflexunit%2F4.2.0%2Fbinaries%2Fapache-flex-flexunit-4.2.0-4.12.0-bin.zip&data=02%7C01%7Caharui%40adobe.com%7Cd347b5e72f1841d1abb508d664619de7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636806767788140060&sdata=6G1YiB7%2FuCgNPLvWDpuT1Lo7u4CWYDlvjhrNdYtL60Q%3D&reserved=0>

            HTH,

            -Alex

            *From: *Serkan Taş <[email protected]>
            <mailto:[email protected]>
            *Reply-To: *"[email protected]"
            <mailto:[email protected]> <[email protected]>
            <mailto:[email protected]>
            *Date: *Saturday, December 15, 2018 at 3:13 AM
            *To: *"[email protected]"
            <mailto:[email protected]> <[email protected]>
            <mailto:[email protected]>
            *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 <[email protected]
                <mailto:[email protected]>> 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ş <[email protected]
                    <mailto:[email protected]>>
                    *Reply-To: *"[email protected]
                    <mailto:[email protected]>"
                    <[email protected]
                    <mailto:[email protected]>>
                    *Date: *Thursday, December 13, 2018 at 1:56 PM
                    *To: *"[email protected]
                    <mailto:[email protected]>"
                    <[email protected]
                    <mailto:[email protected]>>
                    *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%7Cd347b5e72f1841d1abb508d664619de7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636806767788150070&sdata=0psYREwwlCZaqIavG83JwWTwAKcrWEmoEAaMzz%2BRvy8%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%7Cd347b5e72f1841d1abb508d664619de7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636806767788150070&sdata=c%2B0j22%2F0Qq3jU%2FyYLMhjLfJXgSpAYrxe0Es5cbtABDA%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%7Cd347b5e72f1841d1abb508d664619de7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636806767788160079&sdata=R2UDfds0K%2ByW86g2%2F6QGKZYg7MvEPF8wjnSr9lUbS0g%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%7Cd347b5e72f1841d1abb508d664619de7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636806767788160079&sdata=MJSRGa9DLThP82UFs0Dcu7PTj%2FKM8dRQpc5%2Faea3rSs%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ş
                        <[email protected]>
                        <mailto:[email protected]>
                        *Reply-To: *"[email protected]"
                        <mailto:[email protected]>
                        <[email protected]>
                        <mailto:[email protected]>
                        *Date: *Tuesday, December 11, 2018 at 11:05 AM
                        *To: *"[email protected]"
                        <mailto:[email protected]>
                        <[email protected]>
                        <mailto:[email protected]>
                        *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%7Cd347b5e72f1841d1abb508d664619de7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636806767788170089&sdata=mIl0KWkQapKZcg99iXc9prSD4xpkZ6mJ6eDigmAPjec%3D&reserved=0>_







Reply via email to