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] Commented: (HADOOP-6956) compile-core-test
Date Fri, 17 Sep 2010 07:06:34 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-6956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910486#action_12910486
] 

Vivek Mishra commented on HADOOP-6956:
--------------------------------------

Will be required if need to compile org.apache.hadoop.mapreduce.test.system test classes.(JTProtocol,
MRDaemonClient, TTProtocol)

> 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
>             Fix For: 0.22.0
>
>         Attachments: Hadoop-6956.patch
>
>
> 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