summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-01-09 09:04:30 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-01-09 09:04:30 +0000
commitc75af91ccca66dcaaecfa485f5a0965be57af356 (patch)
treef4d49d722b5d266c54c829dd73838de9b05e6cd4 /sandbox/travelsample
parent5ad362f930b1939b0f8a55a73748b37af21b59c2 (diff)
Ensure required environment variables are set
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@897391 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample')
-rw-r--r--sandbox/travelsample/antdefs.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/sandbox/travelsample/antdefs.xml b/sandbox/travelsample/antdefs.xml
index 9d2f26db2d..21dd005ef8 100644
--- a/sandbox/travelsample/antdefs.xml
+++ b/sandbox/travelsample/antdefs.xml
@@ -92,6 +92,12 @@
<project name="antdefs">
<property environment="env"/>
+ <fail unless="env.TUSCANY_HOME">
+ Error: Please set the TUSCANY_HOME environment variable.
+ </fail>
+ <fail unless="env.JUNIT_JAR">
+ Error: Please set the JUNIT_JAR environment variable.
+ </fail>
<!-- check whether there are any WSDL files in or under the resource directory -->
<target name="#find-wsdlfiles">