Hi, It turns out there is a bug inside mvn.cmd when evaluating the working directory with %CD%: this needs to be escaped by enclosing the "set var" declaration in double quotes. I tested with the mvn.cmd of the latest 3.4.0-SNAPSHOT and this is apparently already fixed (MNG-5962). I reverted the commit.
Thanks, Guillaume 2016-07-17 22:50 GMT+02:00 Guillaume Boué <[email protected]>: > Hi Robert, > > I see, I will try to debug why the test is failing for spaces and special > characters. How about naming the folder "space & special char" instead? It > would make it clearer that this is the purpose of the test. > > Regards, > Guillaume > > 2016-07-17 22:39 GMT+02:00 Robert Scholte <[email protected]>: > >> Hi Guillaume, >> >> there's a reason why this directory was called like this (spaces + >> special character). >> It is failing on my Windows machine too, but haven't investigated why it >> is failing, I think the Plexus Commandline doesn't like it... >> This should be reverted and fixed or excluded for Windows, i.e >> invoker.family = !windows >> >> thanks, >> Robert >> >> >> On Sun, 17 Jul 2016 20:34:02 +0200, <[email protected]> wrote: >> >> Author: gboue >>> Date: Sun Jul 17 18:34:01 2016 >>> New Revision: 1753099 >>> >>> URL: http://svn.apache.org/viewvc?rev=1753099&view=rev >>> Log: >>> Renamed "this & that" IT test folder to "simple-dir-format", as this >>> breaks the ITs when run on Windows: the '&' gets interpreted and Windows >>> tries to launch the "that" program. >>> >>> Added: >>> >>> maven/plugins/trunk/maven-assembly-plugin/src/it/projects/basic-features/simple-dir-format/ >>> - copied from r1753098, >>> maven/plugins/trunk/maven-assembly-plugin/src/it/projects/basic-features/this >>> & that/ >>> Removed: >>> >>> maven/plugins/trunk/maven-assembly-plugin/src/it/projects/basic-features/this >>> & that/ >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >
