You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Markus Weimer (JIRA)" <ji...@apache.org> on 2015/04/21 18:51:59 UTC

[jira] [Created] (REEF-272) REEF.NET build isn't multi-threading-safe

Markus Weimer created REEF-272:
----------------------------------

             Summary: REEF.NET build isn't multi-threading-safe
                 Key: REEF-272
                 URL: https://issues.apache.org/jira/browse/REEF-272
             Project: REEF
          Issue Type: Improvement
          Components: MSBuild, REEF.NET
            Reporter: Markus Weimer
            Priority: Minor


When trying to compile REEF.NET with the {{/m}} switch for enabling multi-threaded builds, I get the following error:

{noformat}
"c:\src\reef\lang\cs\Org.Apache.REEF.sln" (default target) (1) ->
       "c:\src\reef\lang\cs\Org.Apache.REEF.Evaluator\Org.Apache.REEF.Evaluator.csproj" (default target) (11) ->
       (FinalizeNuspecFiles target) ->
         c:\src\reef\lang\cs\.nuget\NuGet.targets(164,9): error : Copy-Item : The process cannot access the file  [c:\src\reef\lang\cs\Org.Apache.REEF.Evaluator\Org.Apache.REEF.Evaluator.csproj]
         c:\src\reef\lang\cs\.nuget\NuGet.targets(164,9): error : 'C:\src\reef\lang\cs\.nuget\nuspec\Org.Apache.REEF.All.nuspec' because it is  [c:\src\reef\lang\cs\Org.Apache.REEF.Evaluator\Org.Apache.REEF.Evaluator.csproj]
         c:\src\reef\lang\cs\.nuget\NuGet.targets(164,9): error : being used by another process. [c:\src\reef\lang\cs\Org.Apache.REEF.Evaluator\Org.Apache.REEF.Evaluator.csproj]
         c:\src\reef\lang\cs\.nuget\NuGet.targets(164,9): error : At C:\src\reef\lang\cs\.nuget\finalizeNuspec.ps1:60 char:9 [c:\src\reef\lang\cs\Org.Apache.REEF.Evaluator\Org.Apache.REEF.Evaluator.csproj]
         c:\src\reef\lang\cs\.nuget\NuGet.targets(164,9): error : +         Copy-Item $tempNuspecFile.FullName $nuspecDir [c:\src\reef\lang\cs\Org.Apache.REEF.Evaluator\Org.Apache.REEF.Evaluator.csproj]
         c:\src\reef\lang\cs\.nuget\NuGet.targets(164,9): error : +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [c:\src\reef\lang\cs\Org.Apache.REEF.Evaluator\Org.Apache.REEF.Evaluator.csproj]
         c:\src\reef\lang\cs\.nuget\NuGet.targets(164,9): error :     + CategoryInfo          : NotSpecified: (:) [Copy-Item], IOException [c:\src\reef\lang\cs\Org.Apache.REEF.Evaluator\Org.Apache.REEF.Evaluator.csproj]
         c:\src\reef\lang\cs\.nuget\NuGet.targets(164,9): error :     + FullyQualifiedErrorId : System.IO.IOException,Microsoft.PowerShell.Comma  [c:\src\reef\lang\cs\Org.Apache.REEF.Evaluator\Org.Apache.REEF.Evaluator.csproj]
         c:\src\reef\lang\cs\.nuget\NuGet.targets(164,9): error :    nds.CopyItemCommand [c:\src\reef\lang\cs\Org.Apache.REEF.Evaluator\Org.Apache.REEF.Evaluator.csproj]
         c:\src\reef\lang\cs\.nuget\NuGet.targets(164,9): error :   [c:\src\reef\lang\cs\Org.Apache.REEF.Evaluator\Org.Apache.REEF.Evaluator.csproj]
         c:\src\reef\lang\cs\.nuget\NuGet.targets(164,9): error : Set-Content : The process cannot access the file  [c:\src\reef\lang\cs\Org.Apache.REEF.Evaluator\Org.Apache.REEF.Evaluator.csproj]
         c:\src\reef\lang\cs\.nuget\NuGet.targets(164,9): error : 'C:\src\reef\lang\cs\.nuget\nuspec\Org.Apache.REEF.Client.nuspec' because it  [c:\src\reef\lang\cs\Org.Apache.REEF.Evaluator\Org.Apache.REEF.Evaluator.csproj]
         c:\src\reef\lang\cs\.nuget\NuGet.targets(164,9): error : is being used by another process. [c:\src\reef\lang\cs\Org.Apache.REEF.Evaluator\Org.Apache.REEF.Evaluator.csproj]
         c:\src\reef\lang\cs\.nuget\NuGet.targets(164,9): error : At C:\src\reef\lang\cs\.nuget\finalizeNuspec.ps1:86 char:9 [c:\src\reef\lang\cs\Org.Apache.REEF.Evaluator\Org.Apache.REEF.Evaluator.csproj]
         c:\src\reef\lang\cs\.nuget\NuGet.targets(164,9): error : +         Set-Content -Path $nuspec.FullName -Value $finalizedNuspec [c:\src\reef\lang\cs\Org.Apache.REEF.Evaluator\Org.Apache.REEF.Evaluator.csproj]
         c:\src\reef\lang\cs\.nuget\NuGet.targets(164,9): error : +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [c:\src\reef\lang\cs\Org.Apache.REEF.Evaluator\Org.Apache.REEF.Evaluator.csproj]
         c:\src\reef\lang\cs\.nuget\NuGet.targets(164,9): error :     + CategoryInfo          : NotSpecified: (:) [Set-Content], IOException [c:\src\reef\lang\cs\Org.Apache.REEF.Evaluator\Org.Apache.REEF.Evaluator.csproj]
         c:\src\reef\lang\cs\.nuget\NuGet.targets(164,9): error :     + FullyQualifiedErrorId : System.IO.IOException,Microsoft.PowerShell.Comma  [c:\src\reef\lang\cs\Org.Apache.REEF.Evaluator\Org.Apache.REEF.Evaluator.csproj]
         c:\src\reef\lang\cs\.nuget\NuGet.targets(164,9): error :    nds.SetContentCommand [c:\src\reef\lang\cs\Org.Apache.REEF.Evaluator\Org.Apache.REEF.Evaluator.csproj]
         c:\src\reef\lang\cs\.nuget\NuGet.targets(164,9): error :   [c:\src\reef\lang\cs\Org.Apache.REEF.Evaluator\Org.Apache.REEF.Evaluator.csproj]
         c:\src\reef\lang\cs\.nuget\NuGet.targets(164,9): error MSB3073: The command "powershell -NonInteractive -NoProfile -Command c:\src\reef\lang\cs\\.nuget\finalizeNuspec.ps1 -SolutionDir c:\src\reef\lang\cs\ -Snapshot -SnapshotNumber
        92" exited with code -1. [c:\src\reef\lang\cs\Org.Apache.REEF.Evaluator\Org.Apache.REEF.Evaluator.csproj]
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)