alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

echo
echo "WebMail Build System"
echo "-------------------------"
echo "Contributed by Nathan Chandler"
echo

if not "%JAVA_HOME%" == "" goto CONT 
  echo "ERROR: JAVA_HOME not found in your environment."
  echo
  echo "Please, set the JAVA_HOME variable in your environment to match the"
  echo "location of the Java Virtual Machine you want to use."
  goto END
fi
:CONT
WEBMAIL_BASE=.

set TOMCAT_HOME=e:\jakarta-tomcat-4.0
set CLASSPATH=%JAVA_HOME%/lib/tools.jar:%WEBMAIL_BASE%/contrib/xerces.jar;%TOMCAT_HOME%/common/lib/servlet.jar;%WEBMAIL_BASE%/contrib/jakarta-regexp-1.2.jar;%JAVA_HOME%/lib/dev.jar

echo Building with classpath $LOCALCLASSPATH:$ADDITIONALCLASSPATH
echo

echo Starting Ant...
echo

rem set CLASSPATH=$LOCALCLASSPATH:$ADDITIONALCLASSPATH
ant %1 %2 %3


:END
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.