Index: dam engine/trunk/src/GlobalAssemblyInfo.cs =================================================================== diff -u --- dam engine/trunk/src/GlobalAssemblyInfo.cs (revision 0) +++ dam engine/trunk/src/GlobalAssemblyInfo.cs (revision 302) @@ -0,0 +1,15 @@ +using System.Reflection; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyCompany("Deltares")] +[assembly: AssemblyProduct("DAM Engine")] +[assembly: AssemblyCopyright("Copyright © Deltares 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + + + + Index: dam engine/trunk/src/Deltares.DamEngine.Interface/Interface.cs =================================================================== diff -u --- dam engine/trunk/src/Deltares.DamEngine.Interface/Interface.cs (revision 0) +++ dam engine/trunk/src/Deltares.DamEngine.Interface/Interface.cs (revision 302) @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Deltares.DamEngine.Interface +{ + public class Interface + { + } +} Index: dam engine/trunk/src/Deltares.DamEngine.Interface/Deltares.DamEngine.Interface.csproj =================================================================== diff -u --- dam engine/trunk/src/Deltares.DamEngine.Interface/Deltares.DamEngine.Interface.csproj (revision 0) +++ dam engine/trunk/src/Deltares.DamEngine.Interface/Deltares.DamEngine.Interface.csproj (revision 302) @@ -0,0 +1,82 @@ + + + + + Debug + AnyCPU + {750464A3-CBFA-429F-920E-B430867F1120} + Library + Properties + Deltares.DamEngine.Interface + Deltares.DamEngine.Interface + v4.5 + 512 + + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + true + ..\bin\Debug\ + DEBUG;TRACE + full + x86 + prompt + MinimumRecommendedRules.ruleset + + + ..\bin\Release\ + TRACE + true + pdbonly + x86 + prompt + MinimumRecommendedRules.ruleset + + + + + + + + + + + + + + Properties\GlobalAssemblyInfo.cs + + + + + + + + + + "$(ProjectDir)..\..\utils\svn_insert_version.cmd" "$(ProjectDir)Properties" + + + \ No newline at end of file Index: dam engine/trunk/utils/svn_insert_version.cmd =================================================================== diff -u --- dam engine/trunk/utils/svn_insert_version.cmd (revision 0) +++ dam engine/trunk/utils/svn_insert_version.cmd (revision 302) @@ -0,0 +1,75 @@ +setlocal enabledelayedexpansion +@ECHO off +ECHO "svn_insert_version.cmd started" + +REM REMEMBER ORIGINAL WORKING FOLDER AND GO TO THE SOURCES DIRECTORY +SET ORG_DIR=%CD% +cd ..\.. + +SET argcount=0 +FOR %%x IN (%*) DO SET /A argcount+=1 + +IF %argcount%==0 ( + ECHO "invalid arguments: [path] (infile) (outfile)" + ECHO "usage: replace SVNREV text with revision number, SVNROOT with repository" + ECHO "path: execute at specific location" + ECHO "[optional] infile: file to read, defaults to AssemblyInfo.cs.svn" + ECHO "[optional] outfile: file to create, defaults to AssemblyInfo.cs" + GOTO EOF +) + +ECHO "%argcount% arguments received" + +IF %argcount%==1 ( + ECHO "setting default in and out files." + SET INTEXTFILE=AssemblyInfo.cs.svn + SET OUTTEXTFILE=AssemblyInfo.cs +) ELSE ( + ECHO "setting custom in and out files." + SET INTEXTFILE=%2 + SET OUTTEXTFILE=%3 +) + +ECHO "parsing svn info in directory %CD%" + +REM GET THE SVN VERSION NUMBER AND REVISION PATH +FOR /f "tokens=1,* delims=�" %%A IN ('svn info') DO ( + ECHO %%A | findstr /I /C:"Last Changed Rev" && SET REV_BUF=%%A + ECHO %%A | findstr /I "^URL" && SET ROOT_BUF=%%A + ECHO %%A | findstr /I /C:"Repository Root" && SET AFTER_BUF=%%A +) + +IF NOT DEFINED REV_BUF ( + SET SVN_REV=0 + SET SVN_ROOT= +) ELSE ( + SET SVN_REV=%REV_BUF:~18% + SET SVN_ROOT=%ROOT_BUF:~5% + SET "FIND=*%AFTER_BUF:~17% + CALL SET SVN_ROOT=%%SVN_ROOT:!FIND!=%% +) + +ECHO "using rev %SVN_REV% and root %SVN_ROOT%" + +REM SUBSTITUTE THE VERSION NUMBER IN TEMPLATE +CD %1 +ECHO "modifying %OUTTEXTFILE% in directory %1" +SET SEARCHTEXT=SVNREV +SET SEARCHROOT=SVNROOT +SET OUTPUTLINE= + +IF EXIST %OUTTEXTFILE% ( + ECHO "removing %OUTTEXTFILE%" + DEL %OUTTEXTFILE% +) + +ECHO "writing new %OUTTEXTFILE%" + +REM This command can process version files which contain special character "!" +call powershell -Command "(gc %INTEXTFILE%) -replace '%SEARCHTEXT%', '%SVN_REV%' | Out-File -encoding ASCII %OUTTEXTFILE% + +) + +CD %ORG_DIR% +ECHO "svn_insert_version.cmd done" +:EOF \ No newline at end of file Index: dam engine/trunk/src/Deltares.DamEngine.Interface/Properties/AssemblyInfo.cs.svn =================================================================== diff -u --- dam engine/trunk/src/Deltares.DamEngine.Interface/Properties/AssemblyInfo.cs.svn (revision 0) +++ dam engine/trunk/src/Deltares.DamEngine.Interface/Properties/AssemblyInfo.cs.svn (revision 302) @@ -0,0 +1,17 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Deltares.DamEngine.Interface")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] + +[assembly: ComVisible(false)] + +[assembly: Guid("750464a3-cbfa-429f-920e-b430867f1120")] + +[assembly: AssemblyVersion("17.1.0.SVNREV")] +[assembly: AssemblyFileVersion("17.1.0.SVNREV")] Index: dam engine/trunk/src/DamEngine.sln =================================================================== diff -u --- dam engine/trunk/src/DamEngine.sln (revision 0) +++ dam engine/trunk/src/DamEngine.sln (revision 302) @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Deltares.DamEngine.Interface", "Deltares.DamEngine.Interface\Deltares.DamEngine.Interface.csproj", "{750464A3-CBFA-429F-920E-B430867F1120}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {750464A3-CBFA-429F-920E-B430867F1120}.Debug|x86.ActiveCfg = Debug|x86 + {750464A3-CBFA-429F-920E-B430867F1120}.Debug|x86.Build.0 = Debug|x86 + {750464A3-CBFA-429F-920E-B430867F1120}.Release|x86.ActiveCfg = Release|x86 + {750464A3-CBFA-429F-920E-B430867F1120}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal