libgdx / libgdx/packr

Set arguments to the jar

Open
#134 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
2.6k
Forks
174
PR merge metrics
No merged PRs in 30d

Description

It is now possible to set arguments to the JVM via the vmargs parameter and it is possibile to set some arguments to the jar by adding them directly to the generate executable command line, but I don't see a way to set arguments from the configuration (as the vmargs), that will be always set to the jar, so something like:

"vmargs": [
       "Xms512M",
       "Xmx2048M"
    ],
"args": [
       "-arg1",
       "-arg2"
    ],

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the vmargs configuration is read and how the generate executable command line is assembled. Check where JAR arguments are currently accepted, then confirm that a configured args list is consistently included in generated launch commands alongside vmargs.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, java
Domain
build-system, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.