Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Fix 'the Input Is Too Long' Error on Windows #843

Merged
merged 7 commits into from Feb 19, 2019
Merged

Fix 'the Input Is Too Long' Error on Windows #843

merged 7 commits into from Feb 19, 2019

Conversation

ghost
Copy link

@ghost ghost commented Feb 12, 2019

PR Description

Fix for the “The input line is too long” error on Windows.

This fix makes Gradle generate a shortened but operational command in pantheon.bat.

The modified pantheon.bat, instead of explicitly referencing each .jar individually when initializing the classpath, uses the wildcard character * instead (on this point, see the this link).

A longer-term solution could be to generate a fat jar, for instance. Whatever the chosen solution, the suggested fix is designed to be easily removed when the time comes.

It is therefore intended as a non-intrusive fix.

Successfully tested on Windows 7 Ultimate (64-bit version), Windows 8.1 Pro (64-bit version), and Windows 10 Enterprise Edition.

Fixed Issue

Fixes #839.

@CjHare CjHare requested a review from shemnon February 13, 2019 06:11
Copy link
Contributor

@ekellstrand ekellstrand left a comment

Choose a reason for hiding this comment

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

Looks good.

@shemnon
Copy link
Contributor

shemnon commented Feb 19, 2019

@glethuillier - We are trying to do an RC tomorrow. Would you like to do the honors of pressing "Squash and merge" (and probably "update branch")?

@shemnon shemnon merged commit f314685 into PegaSysEng:master Feb 19, 2019
@ghost ghost deleted the bug/windows-8191 branch February 19, 2019 16:42
rain-on pushed a commit to rain-on/pantheon that referenced this pull request Feb 20, 2019
Fix for the _“The input line is too long”_ error on Windows.

This fix makes Gradle generate a shortened but operational command in `pantheon.bat`.

The modified `pantheon.bat`, instead of explicitly referencing each .jar individually when initializing the classpath, uses the wildcard character `*` instead.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants