diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-09 09:04:30 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-09 09:04:30 +0000 |
commit | c75af91ccca66dcaaecfa485f5a0965be57af356 (patch) | |
tree | f4d49d722b5d266c54c829dd73838de9b05e6cd4 /sandbox | |
parent | 5ad362f930b1939b0f8a55a73748b37af21b59c2 (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')
-rw-r--r-- | sandbox/travelsample/antdefs.xml | 6 |
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">
|