User: cgjung  
  Date: 02/04/09 23:34:59

  Modified:    jboss.net/testsuite build.sh
  Log:
  was not updated for some time. I really should install *nix to test all that crap.
  
  Revision  Changes    Path
  1.2       +15 -2     contrib/jboss.net/testsuite/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /cvsroot/jboss/contrib/jboss.net/testsuite/build.sh,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.sh  12 Oct 2001 12:17:49 -0000      1.1
  +++ build.sh  10 Apr 2002 06:34:59 -0000      1.2
  @@ -8,7 +8,7 @@
   ##                                                                          ##
   ### ====================================================================== ###
   
  -# $Id: build.sh,v 1.1 2001/10/12 12:17:49 cgjung Exp $
  +# $Id: build.sh,v 1.2 2002/04/10 06:34:59 cgjung Exp $
   
   PROGNAME=`basename $0`
   DIRNAME=`dirname $0`
  @@ -129,12 +129,25 @@
        ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.SAXParserFactory=$JAXP_SAX_FACTORY"
       fi
   
  +    # need to specify planet57/buildmagic protocol handler package
  +    ANT_OPTS="$ANT_OPTS -Djava.protocol.handler.pkgs=org.jboss.net.protocol"
  +
  +    # setup some build properties
  +    ANT_OPTS="$ANT_OPTS -Dbuild.script=$0"
  +
       # change to the directory where the script lives so users are not forced
       # to be in the same directory as build.xml
       cd $DIRNAME
   
  +    # export some stuff for ant
       export ANT ANT_HOME ANT_OPTS
  -    exec $ANT $ANT_OPTIONS "$@"
  +
  +    # execute in debug mode, or simply execute
  +    if [ "x$ANT_DEBUG" != "x" ]; then
  +     /bin/sh -x $ANT $ANT_OPTIONS "$@"
  +    else
  +     exec $ANT $ANT_OPTIONS "$@"
  +    fi
   }
   
   ##
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to