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

                 Key: MAPREDUCE-852
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-852
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: build
            Reporter: Tsz Wo (Nicholas), SZE


In build.xml,
{code}
  <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>
{code}
- 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?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to