hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vivek Mishra (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-6956) compile-core-test
Date Fri, 17 Sep 2010 06:04:33 GMT
compile-core-test
-----------------

                 Key: HADOOP-6956
                 URL: https://issues.apache.org/jira/browse/HADOOP-6956
             Project: Hadoop Common
          Issue Type: Task
          Components: build
    Affects Versions: 0.21.0
            Reporter: Vivek Mishra


Currently compile-core-test only compiles test/core classes. classes defined in test/system
are required by Mapreduce project's test classes. It requires to make a minor change in common
build.xml as given below:

Changed

<javac
     encoding="${build.encoding}"
     srcdir="${test.src.dir}"
     includes="**/org/apache/hadoop/**/*.java"
     destdir="${test.core.build.classes}"
     debug="${javac.debug}"
     optimize="${javac.optimize}"
     target="${javac.version}"
     source="${javac.version}"
     deprecation="${javac.deprecation}">
      <compilerarg line="${javac.args} ${javac.args.warnings}" />
      <classpath refid="test.classpath"/>
     </javac>

Original:
 <javac
     encoding="${build.encoding}"
     srcdir="${test.src.dir}/core"
     includes="org/apache/hadoop/**/*.java"
     destdir="${test.core.build.classes}"
     debug="${javac.debug}"
     optimize="${javac.optimize}"
     target="${javac.version}"
     source="${javac.version}"
     deprecation="${javac.deprecation}">
      <compilerarg line="${javac.args} ${javac.args.warnings}" />
      <classpath refid="test.classpath"/>
     </javac>

change is to 

  srcdir="${test.src.dir}"
     includes="**/org/apache/hadoop/**/*.java"

from original 

     srcdir="${test.src.dir}/core"
     includes="org/apache/hadoop/**/*.java"

Please suggest.



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


Mime
View raw message