You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2017/10/26 17:06:33 UTC

[GitHub] jonpspri opened a new pull request #4: Add more descriptive error message for unset OPENWHISK_HOME

jonpspri opened a new pull request #4: Add more descriptive error message for unset OPENWHISK_HOME
URL: https://github.com/apache/incubator-openwhisk-runtime-nodejs/pull/4
 
 
   Attempting build with OPENWHISK_HOME unset (and openwhisk not in a specific default) caused an unhelpful error message:
   
   ```
   FAILURE: Build failed with an exception.
   
   * Where:
   Build file '/home/jonpspri/Projects/openwhisk-runtime-nodejs/tests/build.gradle' line: 23
   
   * What went wrong:
   A problem occurred evaluating project ':tests'.
   > Could not get unknown property 'sourceSets' for project ':whisktests' of type org.gradle.api.Project.
   ```
   
   Changes instead produce an error message that identifies the problem and correct it:
   
   ```
   FAILURE: Build failed with an exception.
   
   * Where:
   Settings file '/Users/jpspring/Projects/incubator-openwhisk-runtime-nodejs/settings.gradle' line: 5
   
   * What went wrong:
   Environment variable OPENWHISK_HOME must point to a valid OpenWhisk build
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services