Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

bbwp.bat should return a non-zero value (ERRORLEVEL) when an error occurs #248

Open
psiborg opened this issue Jan 15, 2013 · 1 comment
Open

Comments

@psiborg
Copy link

psiborg commented Jan 15, 2013

To help automate the build process, it would be useful if bbwp.bat returns a non-zero ERRORLEVEL when errors occur (e.g., during signing):

[INFO] Populating application source
[INFO] Parsing config.xml
[INFO] Generating output files
[INFO] Info: Package created: [ERROR] Error: Code signing request failed because this version of the application or package has been previously sign
ed. Please increment the version(s) and try signing again.

Currently, this returns "ERRORLEVEL = 0".

@rtholmes
Copy link

rtholmes commented Feb 4, 2013

Same problem on OSX;

test:
[exec] [INFO] Populating application source
[exec] [INFO] Parsing config.xml
[exec] [INFO] Generating output files
[exec] [ERROR] Error: Attribute image: file cannot be found in the list of packaged files: foo.png
[exec] [ERROR] Native Packager exception occurred
[exec] [ERROR] Error: Attribute image: file cannot be found in the list of packaged files: foo.png
[exec] [ERROR] Native Packager exception occurred

BUILD SUCCESSFUL

bbwp needs to return appropriate codes so build scripts can better detect and respond to errors.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants