Repository: reef Updated Branches: refs/heads/master 4186cc813 -> 7d0a64dd9
[REEF-375] reef.net build fails if M2_HOME path has a space in it Use `CALL "$(M2_HOME)\bin\mvn.cmd" ...` to run Maven. That construct works even when `$M2_HOME` has spaces in it (e.g. when Maven is installed in `\Program Files\...`) JIRA: [REEF-375](https://issues.apache.org/jira/browse/REEF-375) Pull request: This closes #817 Project: http://git-wip-us.apache.org/repos/asf/reef/repo Commit: http://git-wip-us.apache.org/repos/asf/reef/commit/7d0a64dd Tree: http://git-wip-us.apache.org/repos/asf/reef/tree/7d0a64dd Diff: http://git-wip-us.apache.org/repos/asf/reef/diff/7d0a64dd Branch: refs/heads/master Commit: 7d0a64dd98c43f644a23dbf02ab19b2a8cabe1aa Parents: 4186cc8 Author: Sergiy Matusevych <[email protected]> Authored: Mon Feb 1 16:00:24 2016 -0800 Committer: Dongjoon Hyun <[email protected]> Committed: Mon Feb 1 17:32:51 2016 -0800 ---------------------------------------------------------------------- .../Org.Apache.REEF.Bridge.JAR.csproj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/reef/blob/7d0a64dd/lang/cs/Org.Apache.REEF.Bridge.JAR/Org.Apache.REEF.Bridge.JAR.csproj ---------------------------------------------------------------------- diff --git a/lang/cs/Org.Apache.REEF.Bridge.JAR/Org.Apache.REEF.Bridge.JAR.csproj b/lang/cs/Org.Apache.REEF.Bridge.JAR/Org.Apache.REEF.Bridge.JAR.csproj index a9bf66c..1885fb6 100644 --- a/lang/cs/Org.Apache.REEF.Bridge.JAR/Org.Apache.REEF.Bridge.JAR.csproj +++ b/lang/cs/Org.Apache.REEF.Bridge.JAR/Org.Apache.REEF.Bridge.JAR.csproj @@ -63,7 +63,7 @@ under the License. <Client_JAR_Name>reef-bridge-client-$(REEF_Version)-shaded.jar</Client_JAR_Name> <Client_JAR>$(REEF_Source_Folder)\lang\java\reef-bridge-client\target\$(Client_JAR_Name)</Client_JAR> </PropertyGroup> - <Exec Command="$(M2_HOME)\bin\mvn -TC1 -DskipTests install" Condition="!Exists('$(Bridge_JAR)')" WorkingDirectory="$(REEF_Source_Folder)" /> + <Exec Command='call "$(M2_HOME)\bin\mvn.cmd" -TC1 -DskipTests install' Condition="!Exists('$(Bridge_JAR)')" WorkingDirectory="$(REEF_Source_Folder)" /> <Copy DestinationFolder="$(OutputPath)" SourceFiles="$(Bridge_JAR)" /> <Copy DestinationFolder="$(OutputPath)" SourceFiles="$(Client_JAR)" /> </Target> @@ -79,7 +79,7 @@ under the License. <Client_JAR_Name>reef-bridge-client-$(REEF_Version)-shaded.jar</Client_JAR_Name> <Client_JAR>$(REEF_Source_Folder)\lang\java\reef-bridge-client\target\$(Client_JAR_Name)</Client_JAR> </PropertyGroup> - <Exec Command="$(M2_HOME)\bin\mvn -TC1 -DskipTests clean" Condition="Exists('$(Bridge_JAR)')" WorkingDirectory="$(REEF_Source_Folder)" /> + <Exec Command='call "$(M2_HOME)\bin\mvn.cmd" -TC1 -DskipTests clean' Condition="Exists('$(Bridge_JAR)')" WorkingDirectory="$(REEF_Source_Folder)" /> <Delete Files="$(OutputPath)\$(Bridge_JAR_Name)" /> <Delete Files="$(OutputPath)\$(Client_JAR_Name)" /> @@ -89,4 +89,4 @@ under the License. --> <Target Name="Rebuild" DependsOnTargets="Clean;Build"/> <Target Name="CheckPrerequisites" DependsOnTargets="Build"/> -</Project> \ No newline at end of file +</Project>
