Code Search for Developers
 
 
  

build.sh from Jameleon at Krugle


Show build.sh syntax highlighted

#!/bin/bash
_JAVA_HOME=/usr/local/java
_COMPILER=modern

if [ -z "$JAVA_HOME" ]; then
   JAVA_HOME=$_JAVA_HOME
fi

if [ -z "$COMPILER" ]; then
   COMPILER=$_COMPILER
fi

if [ ! -d "$JAVA_HOME" ]; then
   error=true 
   echo "You either need to install java or set JAVA_HOME"
fi

if [ "$error" = "true" ]; then
   echo "CAN'T CONTINUE UNTIL THE ABOVE ERRORS ARE FIXED"
else
    LIBS=./lib
    if [ $OSTYPE = cygwin ]; then
        CP=".;lib/junit.jar;$LIBS/ant.jar;$LIBS/optional.jar;$JAVA_HOME/lib/tools.jar"
    else
        CP=.:lib/junit.jar:$LIBS/ant.jar:$LIBS/optional.jar:$JAVA_HOME/lib/tools.jar
    fi
    "$JAVA_HOME/bin/java" -classpath "$CP" org.apache.tools.ant.Main -Dbuild.compiler=$COMPILER $*
fi





See more files for this project here

Jameleon

Jameleon is a data-driven automated testing tool that is easily extensible via plug-ins. Features of applications are automated in Java and tied together independently in XML, creating self-documenting automated test cases.

Project homepage: http://sourceforge.net/projects/jameleon
Programming language(s): Java,XML
License: other

  build.bat
  build.sh
  build.xml