commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: jakarta-commons-sandbox
Date Sun, 30 May 2004 22:58:56 GMT
dirkv       2004/05/30 15:58:56

  Added:       .
  script to build the whole sandbox site
  (components listed in sandbox menu)
  Revision  Changes    Path
  1.1                  jakarta-commons-sandbox/
  # Copyright 2003-2004 The Apache Software Foundation
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  COMPONENTS="attributes/site cache chain clazz compress convert email events feedparser functor
id jjar mapper messenger resources scaffold sql threadpool transaction vfs workflow"
  rm -rf $LOGDIR
  mkdir -p $LOGDIR
  rm -rf $SITEDIR
  mkdir -p $SITEDIR
  for dir in $COMPONENTS ; do
     NAME=`dirname $dir`      
     if [ $NAME == . ] ; then       
     echo ============================================================
     echo Building $NAME
     echo ============================================================
     cd $ROOT/$dir
     maven clean site 2>&1 | tee $LOGDIR/$NAME.log
     cp -R $ROOT/$dir/target/docs $SITEDIR/$NAME
  cd $ROOT
  echo ============================================================
  echo Build complete
  echo ============================================================
  grep WARNING $LOGDIR/*.log
  grep ERROR $LOGDIR/*.log
  grep FAILED $LOGDIR/*.log

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message