hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eli Collins <...@cloudera.com>
Subject Re: getting started building Mavenized hadoop common
Date Thu, 04 Aug 2011 20:40:31 GMT
On Thu, Aug 4, 2011 at 1:38 PM, Eli Collins <eli@cloudera.com> wrote:
> On Tue, Aug 2, 2011 at 5:44 PM, Tom White <tom@cloudera.com> wrote:
>> On Tue, Aug 2, 2011 at 3:47 PM, Jeffrey Naisbitt <jnaisbit@yahoo-inc.com> wrote:
>>> On 8/2/11 5:21 PM, "Alejandro Abdelnur" <tucu@cloudera.com> wrote:
>>>> Regarding adding the 'target/generated-src/test/java' dir to the build path.
>>>> You are correct, you have to add it manually to your IDE (I use IntelliJ
and
>>>> it is the same story). But unless you need to debug through the generated
>>>> code you don't need to do so (doing a 'mvn test -DskipTests' will
>>>> generate/compile the class and the .class file will be in the IDE project
>>>> classpath).
>>>
>>> I like to debug through the code :)  It would be nice if there were an
>>> automated way to handle that folder, but in the meantime, it would probably
>>> be useful to document that along with the eclipse instructions.
>>
>> I had to do this step too. I've added it to the instructions on
>> http://wiki.apache.org/hadoop/EclipseEnvironment, but I agree it would
>> be nice to automate this if anyone knows the relevant setting.
>>
>
> Using helios when I follow these instructions, selecting the top-level
> Hadoop directory as the root directory, just gives me MapReduceTools
> as the only project (no hadoop-annotations, hadoop-assemblies, and
> hadoop-common, etc.)   Do these instructions work for anyone else?
>

Never mind, was missing the mvn eclipse:eclipse step.

Mime
View raw message