Re: [Studio] How to speed up build time?

2008-09-26 Thread Pierre-Arnaud Marcelot
Hi Felix, Actually, I've got an issue with this solution... :( When you erase entirely your Maven local repository, there's an issue because the UpdateSite project refers to the help projects, which have not been built yet... So the build fails. I noticed that when I was switching the version

Re: [Studio] How to speed up build time?

2008-09-26 Thread Felix Knecht
Pierre-Arnaud Marcelot schrieb: Hi Felix, Actually, I've got an issue with this solution... :( When you erase entirely your Maven local repository, there's an issue because the UpdateSite project refers to the help projects, which have not been built yet... So the build fails. I noticed

Re: [Studio] How to speed up build time?

2008-09-26 Thread Pierre-Arnaud Marcelot
On Fri, Sep 26, 2008 at 1:58 PM, Felix Knecht [EMAIL PROTECTED] wrote: You're absolutely right, I should have thought about this. Profile modules are built after the non profile modules. So we had in fact a back log of 1 build in the help plugins :-( I'll fix this. I tried to fix it but it

Re: [Studio] How to speed up build time?

2008-09-26 Thread Felix Knecht
Pierre-Arnaud Marcelot schrieb: On Fri, Sep 26, 2008 at 1:58 PM, Felix Knecht [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: You're absolutely right, I should have thought about this. Profile modules are built after the non profile modules. So we had in fact a back log of 1

Re: [Studio] How to speed up build time?

2008-09-26 Thread Pierre-Arnaud Marcelot
On Fri, Sep 26, 2008 at 3:08 PM, Felix Knecht [EMAIL PROTECTED] wrote: I think I've found a solution doing both, but I need to retest again. The ugly thing is that have the help-pom.xml goes into each *help/pom.xml ... Ok cool... If it saves us a lot of time, it's not so ugly... Thanks,

Re: [Studio] How to speed up build time?

2008-09-26 Thread Felix Knecht
I think I've found a solution doing both, but I need to retest again. The ugly thing is that have the help-pom.xml goes into each *help/pom.xml ... Retests failed. in fact you should be able to have something like profile idbuild-help/id activation file

Re: [Studio] How to speed up build time?

2008-09-26 Thread Pierre-Arnaud Marcelot
On Fri, Sep 26, 2008 at 3:11 PM, Felix Knecht [EMAIL PROTECTED] wrote: Retests failed. in fact you should be able to have something like profile idbuild-help/id activation file missing${basedir}/timestamp/missing /file /activation in the

Re: [Studio] How to speed up build time?

2008-09-26 Thread Felix Knecht
Pierre-Arnaud Marcelot schrieb: On Fri, Sep 26, 2008 at 3:11 PM, Felix Knecht [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Retests failed. in fact you should be able to have something like profile idbuild-help/id activation file

Re: [Studio] How to speed up build time?

2008-09-24 Thread Pierre-Arnaud Marcelot
Hi Felix, On Tue, Sep 23, 2008 at 8:52 PM, Felix Knecht [EMAIL PROTECTED] wrote: I gave it a try (http://svn.apache.org/viewvc?rev=698281view=rev). If you think it's not what you had in mind feel free to revert it. This looks very good! Thanks! Here are the results. Before: [INFO]

[Studio] How to speed up build time?

2008-09-23 Thread Pierre-Arnaud Marcelot
Hi all, On my machine it takes around 4 minutes to build Apache Directory Studio. Sometimes, when maven is updating the latest snapshots, it can go up to 6 or more minutes. It's a long time. Let's take a look at the build log: [INFO]

Re: [Studio] How to speed up build time?

2008-09-23 Thread Felix Knecht
I think we can now say, after a few months, that we're all very happy with the Maven build system. It took us long hours to get working, but now it has made the integration of studio in the CI system very easy, and has unified the whole build system within the Directory project. I really

Re: [Studio] How to speed up build time?

2008-09-23 Thread Pierre-Arnaud Marcelot
On Tue, Sep 23, 2008 at 7:21 PM, Felix Knecht [EMAIL PROTECTED] wrote: Well, here's an idea let us see if we can adapt/configure it for our needs: Put the *help modules into a separate profile and have it activated by ? (see [1]). We just need to find an appropriate activator which fits our

Re: [Studio] How to speed up build time?

2008-09-23 Thread David Jencks
On Sep 23, 2008, at 10:40 AM, Pierre-Arnaud Marcelot wrote: On Tue, Sep 23, 2008 at 7:21 PM, Felix Knecht [EMAIL PROTECTED] wrote: Well, here's an idea let us see if we can adapt/configure it for our needs: Put the *help modules into a separate profile and have it activated by ? (see

Re: [Studio] How to speed up build time?

2008-09-23 Thread Emmanuel Lecharny
David Jencks wrote: A special profile that gets triggered when we want, or based on a condition (a file existing [or not] somewhere). In general the fact that a module hasn't changed doesn't mean it will build: the stuff it depends on might have changed to break it. Thus I think CI builds

Re: [Studio] How to speed up build time?

2008-09-23 Thread Felix Knecht
Pierre-Arnaud Marcelot schrieb: On Tue, Sep 23, 2008 at 7:21 PM, Felix Knecht [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Well, here's an idea let us see if we can adapt/configure it for our needs: Put the *help modules into a separate profile and have it activated

Re: [Studio] How to speed up build time?

2008-09-23 Thread Felix Knecht
David Jencks schrieb: On Sep 23, 2008, at 10:40 AM, Pierre-Arnaud Marcelot wrote: On Tue, Sep 23, 2008 at 7:21 PM, Felix Knecht [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Well, here's an idea let us see if we can adapt/configure it for our needs: Put the *help

Re: [Studio] How to speed up build time?

2008-09-23 Thread David Jencks
On Sep 23, 2008, at 11:59 AM, Felix Knecht wrote: David Jencks schrieb: On Sep 23, 2008, at 10:40 AM, Pierre-Arnaud Marcelot wrote: On Tue, Sep 23, 2008 at 7:21 PM, Felix Knecht [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Well, here's an idea let us see if we can adapt/configure

Re: [Studio] How to speed up build time?

2008-09-23 Thread Emmanuel Lecharny
David Jencks wrote: I probably don't understand the problem you are trying to solve. I thought the way one would typically use the reactor plugin was, - I know I changed something in module X - I want to see what breaks as a result - so I start the build at X and build all the modules that

Re: [Studio] How to speed up build time?

2008-09-23 Thread Graham Leggett
Emmanuel Lecharny wrote: In our case, building the help files cost around 65% of the global build time (more than 6 minutes out of 10 on a laptop). The idea is to avoid to build those help files, which use extensive XSLT processing, in order to have a faster build, except if we are building a