hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: Incremental builds in 0.23 using Maven
Date Wed, 07 Dec 2011 13:42:59 GMT
Praveen,

Obviously, a "clean" target will wipe out all your existing build directories, and hence the
other things start from scratch. That is your slowdown-causer.

Just remove the clean from that command and you're good to go.

On 07-Dec-2011, at 6:37 PM, Praveen Sripati wrote:

> Alejandro,
> 
> Here is the command I use for branch-0.23
> 
> mvn clean install package -Pdist -Dtar -DskipTests -Dmaven.javadoc.skip=true
> 
> Regards,
> Praveen
> 
> On Wed, Dec 7, 2011 at 11:24 AM, Alejandro Abdelnur <tucu@cloudera.com>wrote:
> 
>> what is your 'do a build' command in both cases?
>> 
>> On Tue, Dec 6, 2011 at 6:06 PM, Praveen Sripati <praveensripati@gmail.com
>>> wrote:
>> 
>>> Alejandro,
>>> 
>>> Here is the sequence
>>> 
>>> 1. 'svn get ....'
>>> 2. do a build
>>> 3. 'svn up' with no changes
>>> 4. do a build
>>> 
>>> Tasks (2) and (4) are taking almost equal time. I expected task (4) to be
>>> much faster.
>>> 
>>> Regards,
>>> Praveen
>>> 
>>> On Tue, Dec 6, 2011 at 11:08 PM, Alejandro Abdelnur <tucu@cloudera.com
>>>> wrote:
>>> 
>>>> Maven does incremental builds.
>>>> 
>>>> taking time as in?
>>>> 
>>>> Thanks.
>>>> 
>>>> Alejandro
>>>> 
>>>> On Tue, Dec 6, 2011 at 6:31 AM, Praveen Sripati <
>>> praveensripati@gmail.com
>>>>> wrote:
>>>> 
>>>>> Could someone please respond to the below query?
>>>>> 
>>>>> Regards,
>>>>> Praveen
>>>>> 
>>>>> On Tue, Nov 22, 2011 at 11:43 AM, Praveen Sripati
>>>>> <praveensripati@gmail.com>wrote:
>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> Does Maven support incremental builds? After `svn up', the build
is
>>>>> taking
>>>>>> time even without any updates from svn.
>>>>>> 
>>>>>> Thanks,
>>>>>> Praveen
>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>> 


Mime
View raw message