Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-1759

sbt/sbt package fail cause by directory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 0.9.0, 0.9.1
    • None
    • Spark Core
    • None
    • ubuntu14.04

    Description

      1.create a project named simpleApp
      $cd simpleApp

      $ find .
      .
      ./simple.sbt
      ./src
      ./src/main
      ./src/main/scala
      ./src/main/scala/simpleApp.scala

      $ ~/Software/spark-0.9.1/sbt/sbt
      awk: fatal: cannot open file `./project/build.properties' for reading (No such file or directory)
      Attempting to fetch sbt
      /home/jpan/Software/spark-0.9.1/sbt/sbt: line 35: /sbt/sbt-launch-.jar: No such file or directory
      /home/jpan/Software/spark-0.9.1/sbt/sbt: line 35: /sbt/sbt-launch-.jar: No such file or directory
      Our attempt to download sbt locally to /sbt/sbt-launch-.jar failed. Please install sbt manually from http://www.scala-sbt.org/

      it failed because sbt use relative path。

      Attachments

        Activity

          People

            Unassigned Unassigned
            panjian Jian Pan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified