Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass long Mill props via file #485

Closed
wants to merge 2 commits into from

Conversation

sake92
Copy link
Contributor

@sake92 sake92 commented Nov 8, 2018

When developing Mill on Windows, there is an unavoidable issue of command line limit of about 8000 characters.
The only way to bypass it is to have less parameters. This change writes all of Mill's LongProps to a mill.properties file. Then it passes that file path as system property called MILL_OPTIONS_PATH...

IMHO, it's not ok to build different launchers on different OS-es, e.g. launcher + prependShellScript builds one artifact on Linux and different on Windows..
I think we should build an executable JAR with just one entry point. And have scripts for Bash and Batch, just like Gradle does... That would simplify things a lot I think.

Copy link
Member

@lefou lefou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR contains two different requests. Could you please split them, so we can handle each in it's own ticket.

@sake92 sake92 mentioned this pull request Mar 15, 2020
@sake92
Copy link
Contributor Author

sake92 commented Mar 15, 2020

Superseded by #791

@sake92 sake92 closed this Mar 15, 2020
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.

None yet

2 participants