Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-852

ExampleDriver is incorrectly set as a Main-Class in tools in build.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.21.0
    • build
    • None
    • Reviewed
    • Changed the target name from "tools-jar" to "tools" in build.xml.

    Description

      In build.xml,

        <target name="examples" depends="jar, compile-examples" description="Make the Hadoop examples jar.">
      ...
      
        <target name="tools-jar" depends="jar, compile-tools" 
                description="Make the Hadoop tools jar.">
          <jar jarfile="${build.dir}/${tools.final.name}.jar"
               basedir="${build.tools}">
            <manifest>
              <attribute name="Main-Class" 
                         value="org/apache/hadoop/examples/ExampleDriver"/>
            </manifest>
          </jar>
        </target>
      
      • ExampleDriver should not be a Main-Class of tools
      • Should we rename the target name from "tools-jar" to "tools", so that the name would be consistent with the "examples" target?

      Attachments

        1. m852_20090812.patch
          2 kB
          Tsz-wo Sze

        Activity

          People

            szetszwo Tsz-wo Sze
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: