Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display output of java stderr stream #4

Open
polarstoat opened this issue Sep 14, 2018 · 0 comments
Open

Display output of java stderr stream #4

polarstoat opened this issue Sep 14, 2018 · 0 comments

Comments

@polarstoat
Copy link
Owner

java -Xmx2G -jar BuildTools.jar > /dev/null 2>&1 || fatal_error 'Build failed'

The BuildTools.jar script outputs a lot of messages, which can be intimidating for users who are not familiar with the shell.

Currently Spigot updater hides all of the stdout and stderr from BuildTools.jar by redirecting the output to /dev/null, but in the case of the build process failing no specific information is provided to the user.

Instead, the BuildTools.jar stdout and stderr should be examined to determine if there is any/useful information sent to stderr, and if so Spigot updater should display that information, only redirecting stdout to /dev/null.

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

No branches or pull requests

1 participant