Ignore:
Timestamp:
Jan 13, 2010, 5:25:37 PM (12 years ago)
Author:
Matthäus Wander
Message:

CryptoolStream temp file handling:

  • removed static CryptoolStream.Dispose() which deletes all CT2 temp files (which leads to conflicts when two CT2 instances are running)
  • replaced by per-instance CryptoolStream.Dispose() and finalization which deletes its own temp file which the CryptoolStream instance has created (does not delete foreign temp files)
  • added FileAttributes.Temporary to CryptoolStream temp files
  • changed temp directory to %HOME%\AppData\Local\CrypTool2\Temp
  • new binaries

VS project stuff:

  • fixed release output path of Soap+Webservice
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/WebService/WebService.csproj

    r812 r1077  
    2828    <DebugType>pdbonly</DebugType>
    2929    <Optimize>true</Optimize>
    30     <OutputPath>..\..\..\CrypPlugins\</OutputPath>
     30    <OutputPath>bin\Release\</OutputPath>
    3131    <DefineConstants>TRACE</DefineConstants>
    3232    <ErrorReport>prompt</ErrorReport>
     
    141141  -->
    142142  <PropertyGroup>
    143     <PostBuildEvent>cd "$(ProjectDir)"
    144 cd ..\..\CrypWin\$(OutDir)
    145 if not exist "./CrypPlugins" mkdir "./CrypPlugins"
     143    <PostBuildEvent>SET outdir="$(ProjectDir)..\..\CrypWin\$(OutDir)"
     144if exist %25outdir%25 (
     145        cd %25outdir%25
     146        if not exist "./CrypPlugins" mkdir "./CrypPlugins"
    146147
    147 del /F /S /Q /s /q "WebService*.*"
    148 copy "$(TargetDir)WebService*.*" "./CrypPlugins"</PostBuildEvent>
     148        del /S /Q /A:-S-R-H "$(TargetName)*.*"
     149        copy "$(TargetDir)$(TargetName)*.*" "./CrypPlugins"
     150
     151        if not exist "./Data" mkdir "./Data"
     152        if exist "$(TargetDir)Data" xcopy /Y /S "$(TargetDir)Data" "./Data"
     153)</PostBuildEvent>
    149154  </PropertyGroup>
    150155</Project>
Note: See TracChangeset for help on using the changeset viewer.