Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1980

Move build/webapps deeper in directory heirarchy to aid eclipse users

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.22.0
    • Component/s: build
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently in order to successfully run unit tests in Eclipse, you have to add the "build/" directory to the classpath, or else the tests won't be able to find the "webapps" dir. This is really annoying because Eclipse then often confuses the classes in build/classes with the source during operations like "go to definition of class".

      If we move it into another directory, eg build/web/webapps then we can add build/web to the eclipse classpath and have tests work by default without also having two copies of every class.

        Attachments

        1. hdfs-1980.txt
          4 kB
          Todd Lipcon
        2. hdfs-1980.txt
          2 kB
          Todd Lipcon
        3. hdfs-1980-1.patch
          4 kB
          Eli Collins

          Activity

            People

            • Assignee:
              tlipcon Todd Lipcon
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: