From 3436961bb5c01d659d09be134368f4f69460cef9 Mon Sep 17 00:00:00 2001 From: MW Date: Sat, 26 May 2007 13:40:19 +0000 Subject: Start of rewrite 5279! --- runprebuild.bat | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 runprebuild.bat (limited to 'runprebuild.bat') diff --git a/runprebuild.bat b/runprebuild.bat new file mode 100644 index 0000000..c1e5d0e --- /dev/null +++ b/runprebuild.bat @@ -0,0 +1,2 @@ +bin\Prebuild.exe /target nant +bin\Prebuild.exe /target vs2005 \ No newline at end of file -- cgit v1.1 From 2a3c79df83e800d5dfe75a1a3b140ed81da2b1d6 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Mon, 16 Jul 2007 15:40:11 +0000 Subject: changed to native line ending encoding --- runprebuild.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runprebuild.bat') diff --git a/runprebuild.bat b/runprebuild.bat index c1e5d0e..8a2c21a 100644 --- a/runprebuild.bat +++ b/runprebuild.bat @@ -1,2 +1,2 @@ -bin\Prebuild.exe /target nant +bin\Prebuild.exe /target nant bin\Prebuild.exe /target vs2005 \ No newline at end of file -- cgit v1.1 From 20215c3d30fb55bf232bff1b3d6652d82e00b798 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Sat, 26 Jan 2008 10:34:49 +0000 Subject: Rewrote svn properties handling script in python. Added more file types. --- runprebuild.bat | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 runprebuild.bat (limited to 'runprebuild.bat') diff --git a/runprebuild.bat b/runprebuild.bat old mode 100644 new mode 100755 -- cgit v1.1 From 923cc9f62fedfb5e13c8133831b71815ef697805 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Fri, 14 Mar 2008 14:54:50 +0000 Subject: addressing the request for msbuild support from mantis 723 --- runprebuild.bat | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'runprebuild.bat') diff --git a/runprebuild.bat b/runprebuild.bat index 8a2c21a..ba0cd64 100755 --- a/runprebuild.bat +++ b/runprebuild.bat @@ -1,2 +1,4 @@ bin\Prebuild.exe /target nant -bin\Prebuild.exe /target vs2005 \ No newline at end of file +bin\Prebuild.exe /target vs2005 + +echo C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\msbuild opensim.sln > compile.bat -- cgit v1.1 From 72c28c5120c9bd87939c22b8b403b0aff426994c Mon Sep 17 00:00:00 2001 From: Homer Horwitz Date: Tue, 25 Nov 2008 18:39:36 +0000 Subject: Local changes --- runprebuild.bat | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 runprebuild.bat (limited to 'runprebuild.bat') diff --git a/runprebuild.bat b/runprebuild.bat old mode 100755 new mode 100644 -- cgit v1.1 From b0e55577fff91d005574a0ab6de5a3087f104589 Mon Sep 17 00:00:00 2001 From: Homer Horwitz Date: Tue, 25 Nov 2008 18:59:10 +0000 Subject: Revert the rest of r7468 --- runprebuild.bat | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 runprebuild.bat (limited to 'runprebuild.bat') diff --git a/runprebuild.bat b/runprebuild.bat old mode 100644 new mode 100755 -- cgit v1.1 From f9ff986908521f4eb816d15f8f4598433f13c18e Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Fri, 10 Jul 2009 04:29:00 +0000 Subject: Switch runprebuild.bat from VS2005 to VS2008. Remove runprebuild2008.bat. --- runprebuild.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runprebuild.bat') diff --git a/runprebuild.bat b/runprebuild.bat index ba0cd64..8927e9a 100755 --- a/runprebuild.bat +++ b/runprebuild.bat @@ -1,4 +1,4 @@ bin\Prebuild.exe /target nant -bin\Prebuild.exe /target vs2005 +bin\Prebuild.exe /target vs2008 +echo C:\WINDOWS\Microsoft.NET\Framework\v3.5\msbuild opensim.sln > compile.bat -echo C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\msbuild opensim.sln > compile.bat -- cgit v1.1 From ea9e96dd50d22e5e1003b675c4148d59df7ec989 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Fri, 8 Nov 2013 21:13:05 +0000 Subject: Update OpenSimulator to use .NET 4.0 This allows region modules to register script functions that have more than a couple of arguments. It also allows OpenSimulator code to use the feature and syntax additions that came with .NET 4.0 Windows users will need to install Microsoft .NET 4 framework if they have not done so already. Windows C# Express 2010 also becomes the minimum IDE for build, so runprebuild.bat now generates a 2010 solution and runprebuild2010.bat goes away Official minimum mono version becomes 2.10.8.1. OpenSimulator will probably work with 2.8 later but this is not guaranteed. --- runprebuild.bat | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'runprebuild.bat') diff --git a/runprebuild.bat b/runprebuild.bat index 8927e9a..0fd7bbf 100755 --- a/runprebuild.bat +++ b/runprebuild.bat @@ -1,4 +1,24 @@ +@echo OFF + bin\Prebuild.exe /target nant -bin\Prebuild.exe /target vs2008 -echo C:\WINDOWS\Microsoft.NET\Framework\v3.5\msbuild opensim.sln > compile.bat +bin\Prebuild.exe /target vs2010 + +setlocal ENABLEEXTENSIONS +set KEY_NAME="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0" +set VALUE_NAME=MSBuildToolsPath + +FOR /F "usebackq skip=4 tokens=1-3" %%A IN (`REG QUERY %KEY_NAME% /v %VALUE_NAME% 2^>nul`) DO ( + set ValueName=%%A + set ValueType=%%B + set ValueValue=%%C +) + +if defined ValueName ( + @echo Value Name = %ValueName% + @echo Value Type = %ValueType% + @echo Value Value = %ValueValue% +) else ( + @echo %KEY_NAME%\%VALUE_NAME% not found. +) +@echo %ValueValue%\msbuild opensim.sln > compile.bat -- cgit v1.1 From 0f16612400ed959146362810fb21d32656c9b844 Mon Sep 17 00:00:00 2001 From: justincc Date: Wed, 13 Nov 2013 00:00:55 +0000 Subject: Fix runprebuild.bat on Windows 7 systems and later MS changed Windows 7 "reg query" command to spit out fewer lines in its preamble Annoyingly there is no option to print raw values and not this preamble. So now using the Windows find command. But this has the side effect of stopping this working with Cygwin as it uses its own GNU find command. Might fix in the future but not simple since Windows find itself is in different locations --- runprebuild.bat | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'runprebuild.bat') diff --git a/runprebuild.bat b/runprebuild.bat index 0fd7bbf..5f75982 100755 --- a/runprebuild.bat +++ b/runprebuild.bat @@ -7,18 +7,24 @@ setlocal ENABLEEXTENSIONS set KEY_NAME="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0" set VALUE_NAME=MSBuildToolsPath -FOR /F "usebackq skip=4 tokens=1-3" %%A IN (`REG QUERY %KEY_NAME% /v %VALUE_NAME% 2^>nul`) DO ( +rem We have to use find here as req query spits out 4 lines before Windows 7 +rem But 2 lines after Windows 7. Unfortunately, this screws up cygwin +rem as it uses its own find command. This could be fixed but it could be +rem complex to find the location of find on all windows systems +FOR /F "usebackq tokens=1-3" %%A IN (`REG QUERY %KEY_NAME% /v %VALUE_NAME% 2^>nul ^| FIND "%VALUE_NAME%"`) DO ( set ValueName=%%A set ValueType=%%B set ValueValue=%%C ) if defined ValueName ( + @echo Found msbuild path registry entry @echo Value Name = %ValueName% @echo Value Type = %ValueType% @echo Value Value = %ValueValue% + @echo Creating compile.bat + @echo %ValueValue%\msbuild opensim.sln > compile.bat ) else ( @echo %KEY_NAME%\%VALUE_NAME% not found. + @echo Not creating compile.bat ) - -@echo %ValueValue%\msbuild opensim.sln > compile.bat -- cgit v1.1 From 425d76bb982c6fb41554a50035b8fce9350078ca Mon Sep 17 00:00:00 2001 From: Oren Hurvitz Date: Tue, 3 Dec 2013 09:08:35 +0200 Subject: Enable runprebuild.bat to run in Cygwin This resolves http://opensimulator.org/mantis/view.php?id=6951 --- runprebuild.bat | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'runprebuild.bat') diff --git a/runprebuild.bat b/runprebuild.bat index 5f75982..ed2def1 100755 --- a/runprebuild.bat +++ b/runprebuild.bat @@ -7,11 +7,19 @@ setlocal ENABLEEXTENSIONS set KEY_NAME="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0" set VALUE_NAME=MSBuildToolsPath -rem We have to use find here as req query spits out 4 lines before Windows 7 -rem But 2 lines after Windows 7. Unfortunately, this screws up cygwin -rem as it uses its own find command. This could be fixed but it could be -rem complex to find the location of find on all windows systems -FOR /F "usebackq tokens=1-3" %%A IN (`REG QUERY %KEY_NAME% /v %VALUE_NAME% 2^>nul ^| FIND "%VALUE_NAME%"`) DO ( +rem We have to use grep or find to locate the correct line, because reg query spits +rem out 4 lines before Windows 7 but 2 lines after Windows 7. +rem We use grep if it's on the path; otherwise we use the built-in find command +rem from Windows. (We must use grep on Cygwin because it overrides the "find" command.) + +for %%X in (grep.exe) do (set FOUNDGREP=%%~$PATH:X) +if defined FOUNDGREP ( + set FINDCMD=grep +) else ( + set FINDCMD=find +) + +FOR /F "usebackq tokens=1-3" %%A IN (`REG QUERY %KEY_NAME% /v %VALUE_NAME% 2^>nul ^| %FINDCMD% "%VALUE_NAME%"`) DO ( set ValueName=%%A set ValueType=%%B set ValueValue=%%C -- cgit v1.1