Permalink
Browse files

Switched to use KuduSync.NET instead of the kudusync node.js module.

  • Loading branch information...
1 parent 13a7843 commit 78837411fe706e9928e816e7136dde01e43d204d Amit Apple committed Jan 17, 2013
View
12 Kudu.Core/Kudu.Core.csproj
@@ -164,6 +164,18 @@
<Content Include="Scripts\kudusync.cmd">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
+ <Content Include="..\packages\KuduSync.NET.0.1.2\tools\KuduSync.NET.exe">
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ <Link>Scripts\KuduSync.NET.exe</Link>
+ </Content>
+ <Content Include="..\packages\KuduSync.NET.0.1.2\tools\CommandLine.dll">
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ <Link>Scripts\CommandLine.dll</Link>
+ </Content>
+ <Content Include="..\packages\KuduSync.NET.0.1.2\tools\System.IO.Abstractions.dll">
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ <Link>Scripts\System.IO.Abstractions.dll</Link>
+ </Content>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Kudu.Contracts\Kudu.Contracts.csproj">
View
2 Kudu.Core/Scripts/kudusync.cmd
@@ -1,2 +1,2 @@
@echo off
-"%ProgramFiles(x86)%\nodejs\0.8.2\node.exe" "%~dp0..\node_modules\kudusync\bin\kudusync" %*
+"%~dp0KuduSync.NET.exe" %*
View
1 Kudu.Core/packages.config
@@ -4,4 +4,5 @@
<package id="Newtonsoft.Json" version="4.5.11" targetFramework="net45" />
<package id="System.IO.Abstractions" version="1.4.0.37" targetFramework="net45" />
<package id="XmlSettings" version="0.1.3" targetFramework="net45" />
+ <package id="KuduSync.NET" version="0.1.2" targetFramework="net45" />
</packages>
View
8 Kudu.Services.Web/updateNodeModules.cmd
@@ -17,14 +17,6 @@ if exist %1\node_modules\azure-cli\bin\azure (
IF %ERRORLEVEL% NEQ 0 goto error
-if exist %1\node_modules\kudusync\bin\kudusync (
- cmd /c npm update https://github.com/projectkudu/KuduSync/tarball/win32
-) else (
- cmd /c npm install https://github.com/projectkudu/KuduSync/tarball/win32
-)
-
-IF %ERRORLEVEL% NEQ 0 goto error
-
goto end
:error
View
15 Kudu.Setup/Kudu.wxs
@@ -104,6 +104,18 @@
<File Id="kudusync.cmd" Source="$(var.KuduServiceBinScriptsDir)\kudusync.cmd" />
</Component>
+ <Component Id="KuduSync.NET.exe" Guid="{76245B70-81C5-82B0-BC84-37164ABBD7D6}">
+ <File Id="KuduSync.NET.exe" Source="$(var.KuduServiceBinScriptsDir)\KuduSync.NET.exe" />
+ </Component>
+
+ <Component Id="CommandLine.dll" Guid="{16C4DB70-81C5-42B0-B884-37164ABAD7D6}">
+ <File Id="CommandLine.dll" Source="$(var.KuduServiceBinScriptsDir)\CommandLine.dll" />
+ </Component>
+
+ <Component Id="KuduSync.System.IO.Abstractions.dll" Guid="{9614DD70-8115-42B0-BC84-37164AABD7D4}">
+ <File Id="KuduSync.System.IO.Abstractions.dll" Source="$(var.KuduServiceBinScriptsDir)\System.IO.Abstractions.dll" />
+ </Component>
+
</DirectoryRef>
<DirectoryRef Id="KUDU_SERVICE_BIN">
@@ -187,6 +199,9 @@
<ComponentRef Id="semver.js"/>
<ComponentRef Id="starter.cmd"/>
<ComponentRef Id="kudusync.cmd"/>
+ <ComponentRef Id="KuduSync.NET.exe"/>
+ <ComponentRef Id="CommandLine.dll"/>
+ <ComponentRef Id="KuduSync.System.IO.Abstractions.dll"/>
<ComponentRef Id="Ninject.dll" />

0 comments on commit 7883741

Please sign in to comment.