Skip to content

JBP_CONFIG_JAVA_MAIN java_main_class and arguments not supported #1267

@stokpop

Description

@stokpop

The Go buildpack ignores java_main_class and arguments from JBP_CONFIG_JAVA_MAIN.

java_main_class

JBP_CONFIG_JAVA_MAIN: '{java_main_class: org.springframework.boot.loader.launch.PropertiesLauncher}'

Should override the manifest Main-Class and switch to classpath mode (-cp). Currently has no effect.

arguments

JBP_CONFIG_JAVA_MAIN: '{arguments: "--custom.arg=value"}'

Should append arguments after the main class. Currently has no effect.

Both are supported in the Ruby buildpack via config/java_main.yml.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions