Advertisement
gonzogirl

build_samples

Dec 12th, 2011
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.48 KB | None | 0 0
  1. #!/bin/sh
  2. #
  3. # Copyright 2005 Sun Microsystems, Inc. All rights reserved.
  4. # Use is subject to license terms.
  5. #
  6.  
  7. # Workfile:@(#)build_samples.sh 1.44
  8. # Version:1.44
  9. # Modified:01/03/06 19:01:01
  10.  
  11.  if [ "$JAVA_HOME" = "" ]; then
  12.   echo Set environment variable JAVA_HOME
  13.   exit 1
  14.  fi
  15.  
  16.  if [ "$1" = "help" -o "$1" = "-help" ]; then
  17.     ant samples_usage
  18.     exit
  19.  fi
  20.  
  21.  if [ "$1" = "clean" -o "$1" = "-clean" ]; then
  22.     ant clean
  23.     exit
  24.  fi
  25.  
  26.  ant build_samples
  27.  
  28.  exit
  29.  
  30.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement