mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-10 13:42:45 +00:00
Remove -XX:MaxPermSize (#2712)
This was removed in JDK 8 and produces a warning
This commit is contained in:
committed by
William Cheng
parent
ff556609c7
commit
a4be2c0bb4
@@ -26,7 +26,7 @@ then
|
||||
fi
|
||||
|
||||
# if you've executed sbt assembly previously it will use that instead.
|
||||
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
|
||||
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
|
||||
ags="generate -i modules/openapi-generator/src/test/resources/2_0/petstore.yaml -g java-vertx -o samples/server/petstore/java-vertx/async -DvertxSwaggerRouterVersion=1.4.0 -DhideGenerationTimestamp=true $@"
|
||||
|
||||
java $JAVA_OPTS -jar $executable $ags
|
||||
|
||||
Reference in New Issue
Block a user