My update script (I guess MS Outlook doesn't like files with no
extension):
----------------------------------------------------------------
#!/bin/bash

# Script to update the SVN tree and rebuild m2

# Clean out the repository
cd ~/.m2
rm -rf plugin-registry.xml repository
rc=$?
[ $rc -ne 0 ] && exit $rc

# Update SVN
cd ~/tmp/svn
echo Updating build tree
svn update maven-components >svn.out 2>&1
rc=$?
[ $rc -ne 0 ] && exit $rc
tail -1 svn.out

# Rebuild m2
cd maven-components
sh m2-bootstrap-all.sh 2>&1 | tee ../build.log
----------------------------------------------------------------
As you can see, the script cleans out the repository and updates the
source tree before running the bootstrap script.  I do this mostly to
make sure that I am getting the latest stuff and avoid problems with
having the previous version of something making trouble.

At present, I have no local changes to the source tree.

I have no idea why I am getting 503 errors either.  I ran a wget session
to mirror the entire ibiblio maven2 repository overnight.  I got to
downloading the stuff in servicemix before I stopped it.  In running for
almost 24 hours it had no problems (shoot, I just realized it was FTP,
not http).  With the mirror you suggested, the entire build went without
a hitch.  As far as I know I do not have a proxy in use, but I don't
know if my company has a transparent proxy in my way.  Is there a good
way to do a mirror of the ibiblio stuff using http to check to see if I
am having problems in general or if it is a problem in the build
process?

BTW, just knowing that it isn't a rampant problem is a lot of help.  It
greatly narrows down how much territory needs to be covered in
pinpointing the problem.

-----Original Message-----
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 28, 2005 11:39
To: Maven Developers List
Subject: Re: SVN Build Error


Allison, Bob wrote:

>Attached are:
>-- My settings.xml
>  
>
ok, nothing there.

>-- The script I use to rebuild Maven2 from SVN
>  
>
this is missing - you're not using m2-bootstrap-all.[sh|bat]?

>(I was going to send the complete build log but its 104KB.)
>  
>
Yeah, that probably won't get through :) It's unlikely to be of
assistance.

>Your final question would indicate that you did not read the admittedly
>long message yesterday.  
>
I did - the top and the bottom. Thought it was one long trace in the
middle - missed your bit about the repo, sorry. That was why I asked -
you just mentioned "before cleaning the repo" as far as I could see :)

>It had two different failures, one before
>cleaning the repository and one after doing so.  
>
They still look quite similar.

>It also pointed out the
>fact that I am getting 503 errors (service unavailable) from ibiblio
>which is causing the build to abort.
>  
>
Yeah, this is why I asked about the proxy. Nobody else seems to be
seeing these.

Can you try an alternative mirror?

In settings.xml:

<mirrors>
  <mirror>
    <id>my-mirror</id>
    <url>http://public.planetmirror.com.au/pub/maven2</url>
    <mirrorOf>central</mirrorOf>
  </mirror>
</mirrors>

I'm really at a lost - we're not seeing the 503's or build errors
anywhere else unfortunately. If you still have the problems, attaching
the build log to a jira issue might help, but this certainly seems to be
in your environment at this point.

Sorry I can't be of more help!

- Brett


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to