Skip to content

add ability for default application arguments #305

Open
@red171

Description

@red171

I'm submitting a…

  • bug report
  • feature request
  • other

Short description of the issue/suggestion:

add ability to add (default) Arguments to JavaX

like

#if ($info.appArgs)
    <key>Arguments</key>
    <string>${info.appArgs}</string>
#end

and then

<configuration>
<appArgs>--withgui</appArgs>
</configuration>

in https://github.com/tofi86/universalJavaApplicationStub this was resolved by JVMArguments

at this moment, i duplicated the Info.plist.vtl for only 2 lines of code..

What is the motivation / use case for changing the behavior?
in my case, my java application requires a argument to run in gui mode on macOS

Please tell us about your environment:

  • JavaPackager version: 1.7.0
  • OS version: macOS 13.2.1 (22D68)
  • JDK version: 11 & 17
  • Build tool:
    • Maven
    • Gradle

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions