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/Soap/Soap.csproj

    r644 r1077  
    2828    <DebugType>pdbonly</DebugType>
    2929    <Optimize>true</Optimize>
    30     <OutputPath>..\..\CrypTool Sep 09\trunk\CrypWin\bin\Debug\CrypPlugins\</OutputPath>
     30    <OutputPath>bin\Release\</OutputPath>
    3131    <DefineConstants>TRACE</DefineConstants>
    3232    <ErrorReport>prompt</ErrorReport>
     
    120120  -->
    121121  <PropertyGroup>
    122     <PostBuildEvent>cd "$(ProjectDir)"
    123 cd ..\..\CrypWin\$(OutDir)
     122    <PostBuildEvent>SET outdir="$(ProjectDir)..\..\CrypWin\$(OutDir)"
     123if exist %25outdir%25 (
     124        cd %25outdir%25
     125        if not exist "./CrypPlugins" mkdir "./CrypPlugins"
    124126
    125 if not exist "./CrypPlugins" mkdir "./CrypPlugins"
    126 del /F /S /Q /s /q "Soap.*"
    127 copy "$(TargetDir)Soap.*" "./CrypPlugins"</PostBuildEvent>
     127        del /S /Q /A:-S-R-H "$(TargetName)*.*"
     128        copy "$(TargetDir)$(TargetName)*.*" "./CrypPlugins"
     129
     130        if not exist "./Data" mkdir "./Data"
     131        if exist "$(TargetDir)Data" xcopy /Y /S "$(TargetDir)Data" "./Data"
     132)</PostBuildEvent>
    128133  </PropertyGroup>
    129134</Project>
Note: See TracChangeset for help on using the changeset viewer.