Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-2513

ant eclipse target fails with "protocol switch unsafe"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.1, 1.14
    • Fix Version/s: 2.4, 1.15
    • Component/s: build
    • Labels:
    • Environment:
    • Flags:
      Patch

      Description

       

      ant eclipse failed as the url to sourceforge was getting redirected to https from http.

       

      ant-eclipse-download:
      [get] Getting: http://downloads.sourceforge.net/project/ant-eclipse/ant-eclipse/1.0/ant-eclipse-1.0.bin.tar.bz2
      [get] To: /home/govind/apache/nutch/build/ant-eclipse-1.0.bin.tar.bz2
      [get] http://downloads.sourceforge.net/project/ant-eclipse/ant-eclipse/1.0/ant-eclipse-1.0.bin.tar.bz2 moved to https://excellmedia.dl.sourceforge.net/project/ant-eclipse/ant-eclipse/1.0/ant-eclipse-1.0.bin.tar.bz2
      Target 'ant-eclipse-download' failed with message 'Redirection detected from http to https. Protocol switch unsafe, not allowed.'.
      Cannot execute 'eclipse' - 'ant-eclipse-download' failed or was not executed.

      BUILD FAILED
      /home/govind/apache/nutch/build.xml:1006: Redirection detected from http to https. Protocol switch unsafe, not allowed.

       

        Attachments

        1. sf.patch
          0.6 kB
          dhirajforyou

          Activity

            People

            • Assignee:
              snagel Sebastian Nagel
              Reporter:
              dhirajforyou dhirajforyou
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: