You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by Eli Collins <el...@cloudera.com> on 2011/10/27 01:18:48 UTC

Avro compilation errors building from eclipse

Hey gang,

I refreshed my trunk trees and ran mvn eclipse:eclipse am seeing the
old Avro compilation errors in TestAvroSerialization and friends. I've
got target/generated-sources/java as a source dir which I thought was
sufficient to get those classes on the classpath.   Did something in
the build change recently?

Thanks,
Eli

Re: Avro compilation errors building from eclipse

Posted by Eli Collins <el...@cloudera.com>.
Thanks, that fixed it.   Had to run mvn test -DskipTests to generate
generated-test-sources.

On Wed, Oct 26, 2011 at 4:26 PM, Arun C Murthy <ac...@hortonworks.com> wrote:
> Just add generated-test-sources (manually) to your srcs.
>
> On Oct 26, 2011, at 4:18 PM, Eli Collins wrote:
>
>> Hey gang,
>>
>> I refreshed my trunk trees and ran mvn eclipse:eclipse am seeing the
>> old Avro compilation errors in TestAvroSerialization and friends. I've
>> got target/generated-sources/java as a source dir which I thought was
>> sufficient to get those classes on the classpath.   Did something in
>> the build change recently?
>>
>> Thanks,
>> Eli
>
>

Re: Avro compilation errors building from eclipse

Posted by Arun C Murthy <ac...@hortonworks.com>.
Just add generated-test-sources (manually) to your srcs.

On Oct 26, 2011, at 4:18 PM, Eli Collins wrote:

> Hey gang,
> 
> I refreshed my trunk trees and ran mvn eclipse:eclipse am seeing the
> old Avro compilation errors in TestAvroSerialization and friends. I've
> got target/generated-sources/java as a source dir which I thought was
> sufficient to get those classes on the classpath.   Did something in
> the build change recently?
> 
> Thanks,
> Eli