I got it running in Eclipse.

ant clean compile-test piggybank jar -Dhadoopversion=23

Then import it into eclipse
Then manually remove pigmix from the buildpath and add the piggybank
stuff to the build path.

Just wondering: Wouldn't having it in Maven (with piggybank being a
module/subproject) be a lot easier?
(Yes, I know; that would require a massive restructuring of the project)

Niels Basjes

On Tue, Aug 4, 2015 at 7:10 AM, Niels Basjes <[email protected]> wrote:
> Thanks!
>
> I'll try doing it from Eclipse.
>
> Niels
>
> On Tue, Aug 4, 2015 at 1:33 AM, Rohini Palaniswamy
> <[email protected]> wrote:
>> //Compile pig and tests first
>> ant clean compile-test -Dhadoopversion=23
>> // Run test for piggybank
>> cd contrib/piggybank/java
>> ant clean test -Dtestcase=TestAvroStorage -Dhadoopversion=23
>>
>> On Fri, Jul 31, 2015 at 2:49 PM, Niels Basjes <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> How do I correctly run a single unit test (or single class) that
>>> resides in piggybank?
>>> What is the recommended way of developing piggybank code?
>>> I'm having a terrible time doing it from within IntelliJ.
>>>
>>> --
>>> Best regards
>>>
>>> Niels Basjes
>>>
>
>
>
> --
> Best regards / Met vriendelijke groeten,
>
> Niels Basjes



-- 
Best regards / Met vriendelijke groeten,

Niels Basjes

Reply via email to