Re: How long for a full trunk build

2006-05-19 Thread Carsten Ziegeler
Giacomo Pati wrote:

 
   mvn -Dmaven.test.skip=true clean install
 
To improve the build I usually build offline to prevent m2 from all
these snapshot checkings, so adding -o to the command helps a lot. Of
course if dependencies change an offline build doesn't work.

Carsten

-- 
Carsten Ziegeler - Open Source Group, SN AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/


How long for a full trunk build (was: ParnoidCocoonServlet)

2006-05-18 Thread Bertrand Delacretaz

On 5/18/06, Carsten Ziegeler [EMAIL PROTECTED] wrote:

...I had similar problems with m2 and now I'm always doing a clean
install and most times remove my local repo as well...


Just curious, how much time do you need for a clean build of the
trunk, starting with an empty m2 repository?

I've had several occurences where the whole thing was not finished
after more than an hour, using an usually fast DSL or similar
connection. For some reason, the repository downloads seem to be very
slow here.

-Bertrand


Re: How long for a full trunk build (was: ParnoidCocoonServlet)

2006-05-18 Thread Carsten Ziegeler
Bertrand Delacretaz schrieb:
 On 5/18/06, Carsten Ziegeler [EMAIL PROTECTED] wrote:
 ...I had similar problems with m2 and now I'm always doing a clean
 install and most times remove my local repo as well...
 
 Just curious, how much time do you need for a clean build of the
 trunk, starting with an empty m2 repository?
 
 I've had several occurences where the whole thing was not finished
 after more than an hour, using an usually fast DSL or similar
 connection. For some reason, the repository downloads seem to be very
 slow here.
 
Ah, ok, I wasn't very precise :) I don't delete the whole m2 repo, just
all org/apache/cocoon artifacts as these are the ones which will be
build anew. This usually takes upto 10 minutes on my slow machine.

Carsten
-- 
Carsten Ziegeler - Open Source Group, SN AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/


Re: How long for a full trunk build

2006-05-18 Thread Reinhard Poetz

Bertrand Delacretaz wrote:

On 5/18/06, Carsten Ziegeler [EMAIL PROTECTED] wrote:


...I had similar problems with m2 and now I'm always doing a clean
install and most times remove my local repo as well...



Just curious, how much time do you need for a clean build of the
trunk, starting with an empty m2 repository?

I've had several occurences where the whole thing was not finished
after more than an hour, using an usually fast DSL or similar
connection. For some reason, the repository downloads seem to be very
slow here.


Not only for you. I also encounter problems with artifact downloads and I saw 
many comments by frustrated users on other ASF mailing lists. Maybe we should 
revive the idea setting up our own mirror with all dependencies that trunk 
needs. Andrew, is your offer still valid?


--
Reinhard Pötz   Independent Consultant, Trainer  (IT)-Coach 


{Software Engineering, Open Source, Web Applications, Apache Cocoon}

   web(log): http://www.poetz.cc






___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


Re: How long for a full trunk build (was: ParnoidCocoonServlet)

2006-05-18 Thread Bertrand Delacretaz

On 5/18/06, Carsten Ziegeler [EMAIL PROTECTED] wrote:


...Ah, ok, I wasn't very precise :) I don't delete the whole m2 repo, just
all org/apache/cocoon artifacts as these are the ones which will be
build anew. This usually takes upto 10 minutes on my slow machine...


Thanks for the precisions. I'll try again when I'm courageous enough,
as my repo is *totally* empty now.

-Bertrand


Re: How long for a full trunk build

2006-05-18 Thread Bertrand Delacretaz

On 5/18/06, Reinhard Poetz [EMAIL PROTECTED] wrote:


...I also encounter problems with artifact downloads and I saw
many comments by frustrated users on other ASF mailing lists. Maybe we should
revive the idea setting up our own mirror with all dependencies that trunk
needs. Andrew, is your offer still valid?..


As you can gather between the lines I am frustrated too, actually I
gave up trying to build the trunk in the last few days.

So if someone could setup a mirror, they'd sure get a free beverage of
their choice from me.

-Bertrand


Re: How long for a full trunk build

2006-05-18 Thread Ralph Goers
You should also consider building your own local mirror. i.e., a maven 
repository in your own local network. (This is not the same as the local 
repository - it contains the stuff from your local builds). However, I 
don't think Maven has an automated way to do this other than to manually 
copy stuff from the local repository to the mirror.


Reinhard Poetz wrote:

Bertrand Delacretaz wrote:

On 5/18/06, Carsten Ziegeler [EMAIL PROTECTED] wrote:


...I had similar problems with m2 and now I'm always doing a clean
install and most times remove my local repo as well...



Just curious, how much time do you need for a clean build of the
trunk, starting with an empty m2 repository?

I've had several occurences where the whole thing was not finished
after more than an hour, using an usually fast DSL or similar
connection. For some reason, the repository downloads seem to be very
slow here.


Not only for you. I also encounter problems with artifact downloads 
and I saw many comments by frustrated users on other ASF mailing 
lists. Maybe we should revive the idea setting up our own mirror with 
all dependencies that trunk needs. Andrew, is your offer still valid?




Re: How long for a full trunk build (was: ParnoidCocoonServlet)

2006-05-18 Thread Sylvain Wallez
Bertrand Delacretaz wrote:
 On 5/18/06, Carsten Ziegeler [EMAIL PROTECTED] wrote:
 ...I had similar problems with m2 and now I'm always doing a clean
 install and most times remove my local repo as well...

 Just curious, how much time do you need for a clean build of the
 trunk, starting with an empty m2 repository?

 I've had several occurences where the whole thing was not finished
 after more than an hour, using an usually fast DSL or similar
 connection. For some reason, the repository downloads seem to be very
 slow here.

The main Maven repository has a severe outage (corrupted filesystem on a
raid diks), and was on the same machine as codehaus.org which is down also.

The main mirror is now (temporarily?) hosted at http://repo.mergere.com/
which may not have enough bandwitdth.

You should consider adding some mirrors to you 
{maven-home}/conf/settings.xml from the list at
http://maven.apache.org/guides/mini/guide-mirror-settings.html

Also, AFAIU, http://www.ibiblio.org/maven2 is no more queried with the
default settings and should be added as a mirror as well.

Sylvain

-- 
Sylvain Wallez - http://bluxte.net



Re: How long for a full trunk build

2006-05-18 Thread Antonio Gallardo

Ralph Goers escribió:
You should also consider building your own local mirror. i.e., a 
maven repository in your own local network. (This is not the same as 
the local repository - it contains the stuff from your local builds). 
However, I don't think Maven has an automated way to do this other 
than to manually copy stuff from the local repository to the mirror.
Here is another way, when you can place the jars into your own repo. 
It's manually too, but  somehow I found it easier:


Syntax:

mvn deploy:deploy-file -DgroupId=group-id \
   -DartifactId=artifact-id \
   -Dversion=version \
   -Dpackaging=type-of-packaging \
   -Dfile=path-to-file \
   -DrepositoryId=id-to-map-on-server-section-of-settings.xml \
   -Durl=url-of-the-repositor-to-deploy

Sample uploading postgresql-8.1-405.jdbc3.jar:

mvn deploy:deploy-file -DgroupId=postgresql \
  -DartifactId=postgresql \
  -Dversion=8.1-405.jdbc3
  -Dpackaging=jar \
  -Dfile=/home/agallardo/dev/lib/postgresql-8.1-405.jdbc3.jar \
  -DrepositoryId=my-own-repo \
  -Durl=scp://my.server.name/home/www/*maven*


Best Regards,

Antonio Gallardo.


Reinhard Poetz wrote:

Bertrand Delacretaz wrote:

On 5/18/06, Carsten Ziegeler [EMAIL PROTECTED] wrote:


...I had similar problems with m2 and now I'm always doing a clean
install and most times remove my local repo as well...



Just curious, how much time do you need for a clean build of the
trunk, starting with an empty m2 repository?

I've had several occurences where the whole thing was not finished
after more than an hour, using an usually fast DSL or similar
connection. For some reason, the repository downloads seem to be very
slow here.


Not only for you. I also encounter problems with artifact downloads 
and I saw many comments by frustrated users on other ASF mailing 
lists. Maybe we should revive the idea setting up our own mirror with 
all dependencies that trunk needs. Andrew, is your offer still valid?






Re: How long for a full trunk build

2006-05-18 Thread Andrew Savory

Hi,

Reinhard Poetz wrote:

Maybe we should revive the idea setting up our own mirror with all 
dependencies that trunk needs. Andrew, is your offer still valid?


Yes, the offer still stands - however, I think there are two things we 
need to agree on first:


1) As Pier pointed out previously, is it done in a 'apache-friendly' 
way, rather than a quick hack of an alternate? (e.g. is it more useful 
to provide resources to ibiblio or whatever?)


2) It should require *no* complicated command-line magic to work; I see 
lots of suggestions for how to do a successful build, but none of them 
are suitable replacements for the 'end user'.


If everyone agrees on (1) and (2) being satisfied, I'm willing to make 
it happen and claim my free beverage ;-)



Thanks,

Andrew.
--
Andrew Savory, Managing Director, Luminas Limited
Tel: +44 (0)870 741 6658  Fax: +44 (0)700 598 1135
Web: http://www.luminas.co.uk/
Orixo alliance: http://www.orixo.com/


Re: How long for a full trunk build

2006-05-18 Thread Giacomo Pati

On Thu, 18 May 2006, Bertrand Delacretaz wrote:


Date: Thu, 18 May 2006 15:47:07 +0200
From: Bertrand Delacretaz [EMAIL PROTECTED]
Reply-To: dev@cocoon.apache.org
To: dev@cocoon.apache.org
Subject: Re: How long for a full trunk build

On 5/18/06, Reinhard Poetz [EMAIL PROTECTED] wrote:


 ...I also encounter problems with artifact downloads and I saw
 many comments by frustrated users on other ASF mailing lists. Maybe we
 should
 revive the idea setting up our own mirror with all dependencies that trunk
 needs. Andrew, is your offer still valid?..


As you can gather between the lines I am frustrated too, actually I
gave up trying to build the trunk in the last few days.

So if someone could setup a mirror, they'd sure get a free beverage of
their choice from me.


I was always suprised about those comments like trunk doesn't build 
many of you reported as I had those download troubles maybe one or two 
time since we switched to M2. I build trunk regularly once or even more 
a day in the last weeks (migrating 2.1.x apps to 2.2) without any 
hassle.


A full build without an initial $HOME/.m2/repository needs about 80 
minutes to build (yes, lots of downloads from lame servers). A full 
build afterwards needs about 5 minutes all on a dual Xeon Hyperthreading 
machine with 4G memory machine. I build with:


mvn -Dmaven.test.skip=true clean install

HTH

--
Giacomo Pati
Otego AG, Switzerland - http://www.otego.com
Orixo, the XML business alliance - http://www.orixo.com


Re: How long for a full trunk build (was: ParnoidCocoonServlet)

2006-05-18 Thread Jorg Heymans

Bertrand Delacretaz wrote:

 Just curious, how much time do you need for a clean build of the
 trunk, starting with an empty m2 repository?


I guess the maven build experience varies from country to country. For
me, with mirrors.dotsrc.org set as primary mirror and ~/.m2/repository
fully empty i can repeatedly build cocoon trunk with all blocks in about
15 minutes (20mbit connection) - uninterrupted.

 I've had several occurences where the whole thing was not finished
 after more than an hour, using an usually fast DSL or similar
 connection. For some reason, the repository downloads seem to be very
 slow here.

As Sylvain explained, there are some problems with codehaus and the main
maven repo [1], so now was probably the worst time ever to start testing
the maven build intensively. It does point out a flaw with the whole
maven architecture though, if central or a main snapshot mirror goes
down then a lot of builds will just fail, even if they have everything
local already.

Regards
Jorg

[1] http://www.codehaus.org/status.html



Re: How long for a full trunk build (was: ParnoidCocoonServlet)

2006-05-18 Thread Bertrand Delacretaz

On 5/18/06, Jorg Heymans [EMAIL PROTECTED] wrote:


...I guess the maven build experience varies from country to country. For
me, with mirrors.dotsrc.org set as primary mirror and ~/.m2/repository
fully empty i can repeatedly build cocoon trunk with all blocks in about
15 minutes (20mbit connection) - uninterrupted...


Thanks for the info, setting dotsrc.org as the primary mirror (by
moving it to the last position in the mirrors defined in settings.xml,
I assume it's the right way) seems to make a big difference indeed.

-Bertrand