You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by tr...@apache.org on 2005/06/24 15:05:32 UTC

svn commit: r201612 - /maven/continuum/trunk/build-world.sh

Author: trygvis
Date: Fri Jun 24 06:05:31 2005
New Revision: 201612

URL: http://svn.apache.org/viewcvs?rev=201612&view=rev
Log:
o Adding a warning when ./sun-repo is missing.

Modified:
    maven/continuum/trunk/build-world.sh

Modified: maven/continuum/trunk/build-world.sh
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/build-world.sh?rev=201612&r1=201611&r2=201612&view=diff
==============================================================================
--- maven/continuum/trunk/build-world.sh (original)
+++ maven/continuum/trunk/build-world.sh Fri Jun 24 06:05:31 2005
@@ -57,7 +57,16 @@
   mkdir -p $HOME/repository
 fi
 
-cp -r sun-repo/* $HOME/repository
+if [ ! -d sun-repo ]
+then
+  echo "WARN: Missing ./sun-repo
+If the build fails with missing Sun related dependencies please make this
+directory and put any relevant jars there. The repository will be copied over
+to the real Maven 2 repository before each build to make sure the Maven 2
+repository can be cleaned before a build and still not miss any dependencies."
+else
+  cp -r sun-repo/* $HOME/repository
+fi
 
 ##############################################################################
 # Check out the sources