Skip to content

Handle %modulepath token - #532

Open
pzygielo wants to merge 2 commits into
mojohaus:masterfrom
pzygielo:modulepath-token
Open

Handle %modulepath token#532
pzygielo wants to merge 2 commits into
mojohaus:masterfrom
pzygielo:modulepath-token

Conversation

@pzygielo

@pzygielo pzygielo commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Currently build.log (from new IT) contains:

[DEBUG] Executing command line: [.../bin/java, -p, %modulepath, -m, mcli.boot/org.mojohaus.mcli.Main]

i.e. directly with raw %modulepath string.

The second commit replaces the said token.


This is advertised in

* If <<<commandlineArgs>>> is specified, it will be used as is, except for replacing %classpath and %modulepath with their matching path using dependencies

* Command line
If specified as part of the <<<exec.args>>> argument, the special string <<<%classpath>>>
will be replaced by the project classpath as computed by Maven. Same couunts for <<<%modulepath>>>

pzygielo added 2 commits July 22, 2026 12:27
Currently build.log contains:
```
[DEBUG] Executing command line: [.../bin/java, -p, %modulepath, -m, mcli.boot/org.mojohaus.mcli.Main]
```
i.e. directly with raw `%modulepath` string.
@pzygielo
pzygielo marked this pull request as ready for review July 22, 2026 11:00
@pzygielo

This comment was marked as outdated.

1 similar comment
@pzygielo

Copy link
Copy Markdown
Contributor Author

May I ask for review, please?

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.

1 participant