Re: [Dev] Profiling the Build to Reduce the Build time

2012-04-18 Thread Ramith Jayasinghe
BTW, is it possible to make our test cases run in parallel (where it can be done) ? On Wed, Apr 18, 2012 at 11:12 AM, Ramith Jayasinghe ram...@wso2.com wrote: Hi, I asked feasibility of this in 'Maven user list' Thanks. - Ramith On Tue, Apr 17, 2012 at 3:38 PM, Amila Maha Arachchi

Re: [Dev] Profiling the Build to Reduce the Build time

2012-04-18 Thread Supun Malinga
Hi, On Wed, Apr 18, 2012 at 1:27 PM, Ramith Jayasinghe ram...@wso2.com wrote: BTW, is it possible to make our test cases run in parallel (where it can be done) ? Most cases we can't since there could be port conflicts. May be if we use offsets wisely this could work. thanks, On Wed, Apr

Re: [Dev] Profiling the Build to Reduce the Build time

2012-04-17 Thread Amila Maha Arachchi
Maven 3 supports building with multiple threads. It can be used for building service stubs. But I dont know how can we add this feature to pom.xml https://cwiki.apache.org/MAVEN/parallel-builds-in-maven-3.html Thanks, AmilaM. On Tue, Apr 17, 2012 at 9:37 AM, Ramith Jayasinghe ram...@wso2.com

Re: [Dev] Profiling the Build to Reduce the Build time

2012-04-17 Thread Ramith Jayasinghe
Well, I tried it on Orbit (+ clean repo ) and it runs ok.. But for kernel it fails right at the start. I also googled around to figure out a way to enable this feature on places where we can (i.e. service stubs), but didn't find any leads. - Ramith On Tue, Apr 17, 2012 at 3:19 PM, Amila Maha

Re: [Dev] Profiling the Build to Reduce the Build time

2012-04-17 Thread Amila Maha Arachchi
I tried this in components (NOT a clean repo). I used 3 threads. Build is going fine at the moment, but it prints the following warning. [WARNING] * [WARNING] * Your build is requesting parallel execution, but project *

Re: [Dev] Profiling the Build to Reduce the Build time

2012-04-17 Thread Ramith Jayasinghe
Hi, I asked feasibility of this in 'Maven user list' Thanks. - Ramith On Tue, Apr 17, 2012 at 3:38 PM, Amila Maha Arachchi ami...@wso2.comwrote: I tried this in components (NOT a clean repo). I used 3 threads. Build is going fine at the moment, but it prints the following warning. [WARNING]

[Dev] Profiling the Build to Reduce the Build time

2012-04-16 Thread Srinath Perera
Do we know what parts takes most time or possibilities of making it faster? I was trying to google around .. http://stackoverflow.com/questions/6681968/profiling-maven http://bosy.dailydev.org/2009/02/speed-up-your-maven-build-four-times.html But these links are specific cases only --Srinath

Re: [Dev] Profiling the Build to Reduce the Build time

2012-04-16 Thread Kathiravelu Pradeeban
Hi Srinath, As of my observations, whenever something is reported as a WARNING by maven, it takes some time, as warning indicates a bad practice. For example, when the start-up warnings were fixed, we noticed an improvement in the build. Similarly, I feel, if we fix the issues that are reported

Re: [Dev] Profiling the Build to Reduce the Build time

2012-04-16 Thread Pradeep Fernando
Hi, agree with pradeeban. we have to re-deploy some of the jar files to correct the invalid pom problem. chethiya/dileepa please own this (re-deploying jars with invalid pom files - most of them under org.eclipse.*). --Pradeep ___ Dev mailing list

Re: [Dev] Profiling the Build to Reduce the Build time

2012-04-16 Thread Harshana Martin
On Mon, Apr 16, 2012 at 6:09 PM, Harshana Martin harsh...@wso2.com wrote: Hi Pradeep, On Mon, Apr 16, 2012 at 6:00 PM, Pradeep Fernando prad...@wso2.comwrote: Hi, agree with pradeeban. we have to re-deploy some of the jar files to correct the invalid pom problem. chethiya/dileepa please

Re: [Dev] Profiling the Build to Reduce the Build time

2012-04-16 Thread Pradeep Fernando
Hi, No there is no minimal pom. We dont have poms at all. Thats the issue. while redeploying we have to deploy the minimal pom. --Pradeep ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] Profiling the Build to Reduce the Build time

2012-04-16 Thread Pradeep Fernando
Hi, On Mon, Apr 16, 2012 at 5:51 AM, Ramith Jayasinghe ram...@wso2.com wrote: Hi, Has anyone thought about parallel builds with maven 3 [1]? Few days back, out of curiosity I tried it on different parts of source base with no success. ( except for service stubs) AFAIK, it still in

Re: [Dev] Profiling the Build to Reduce the Build time

2012-04-16 Thread Ramith Jayasinghe
Hi all, I will see the feasibility of parallel builds (at least for service stubs) and let you guys know. -ramith On Mon, Apr 16, 2012 at 6:53 PM, Pradeep Fernando prad...@wso2.com wrote: Hi, On Mon, Apr 16, 2012 at 5:51 AM, Ramith Jayasinghe ram...@wso2.comwrote: Hi, Has anyone thought