maven-native icon indicating copy to clipboard operation
maven-native copied to clipboard

No way to escape a space with mingw provider

Open jschwartzenberg opened this issue 7 years ago • 1 comments

Using the generic provider this works:

<compilerStartOptions>
  <compilerStartOption>"-DNAME_versie=\"NAME\ v${project.version}\"" "-DBUILD_YEAR=\"${current.year}\"" "-DBUILD_DATE=\"${current.day}\""</compilerStartOption>
</compilerStartOptions>

With the new mingw provider I have to remove the surrounding quotes from the individual quotes:

<compilerStartOptions>
  <compilerStartOption>-DNAME_versie=\"NAME\ v${project.version}\" -DBUILD_YEAR=\"${current.year}\" -DBUILD_DATE=\"${current.day}\"</compilerStartOption>
</compilerStartOptions>

But this fails because v${project.version}\" is passed as a separate argument.

jschwartzenberg avatar Aug 24 '17 10:08 jschwartzenberg

Hi,

I will take a look ASAP. Thanks

gchauvet avatar Oct 20 '17 07:10 gchauvet