The module name is not extracted when the path to the module contains spaces by plamentotev · Pull Request #6 · codehaus-plexus/plexus-languages (original) (raw)

@plamentotev changed the titleFix the module name is not extracted when the path to the module contains spaces The module name is not extracted when the path to the module contains spaces

Feb 5, 2018

rfscholte

@plamentotev

…ains spaces

When MainClassModuleNameExtractor is run in external JVM a file with arguments for the JVM is created. This file contains the paths to the modules but if those paths contain spaces they are not properly escaped and as a result MainClassModuleNameExtractor receives corrupted paths as arguments.

Quote all paths in the file so spaces are handled properly.

@plamentotev plamentotev deleted the fix-module-name-extractor-spaces-in-path branch

February 6, 2018 18:38

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})