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

Add "$JAVA_OPTS" to enable jvm options #10

Merged

Conversation

ackintosh
Copy link
Contributor

This PR closes #9

@ackintosh
Copy link
Contributor Author

I've checked that the option '-Dlog.level=warn' is respected. 😉

$ npm run build:all

> @openapitools/openapi-generator-cli@0.0.7 build:all /Users/akihito1/src/github.com/ackintosh/openapi-generator-cli
> npm run clean && node bin/build-all


> @openapitools/openapi-generator-cli@0.0.7 clean /Users/akihito1/src/github.com/ackintosh/openapi-generator-cli
> rimraf ./dist

Build package for openapi-generator-cli@4.0.0-beta2

...
...

$ env JAVA_OPTS='-Dlog.level=warn' ./dist/4.0.0-beta2/bin/openapi-generator \
          generate \
          -i https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v3.0/petstore.yaml \
          -g php \
          -o /tmp/test


[main] ERROR o.o.codegen.DefaultGenerator - can't open 'php/.gitignore' for input, can not write '/tmp/test/.gitignore'
[main] ERROR o.o.codegen.DefaultGenerator - can't open 'php/.gitignore' for input, can not write '/tmp/test/.gitignore'

@kay-schecker kay-schecker merged commit c68c9ed into OpenAPITools:master Feb 10, 2019
@kay-schecker
Copy link
Contributor

thanks a lot, merged and released in v0.0.8-*

@ackintosh ackintosh deleted the make-available-logging-control branch February 11, 2019 02:03
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

Successfully merging this pull request may close these issues.

Make available logging control
2 participants