From 506a0e3bf0038d8fc3c47ede96eb86cff12bee73 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 12 Jul 2007 21:06:52 +0000 Subject: add Linux friendly prebuild script --- runprebuild.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 runprebuild.sh (limited to 'runprebuild.sh') diff --git a/runprebuild.sh b/runprebuild.sh new file mode 100755 index 0000000..3900ea6 --- /dev/null +++ b/runprebuild.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +./bin/Prebuild.exe /target nant +./bin/Prebuild.exe /target vs2005 -- cgit v1.1 From f2b3b9355d52c71bf5cf33554fa92c10408cbca4 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Sun, 22 Jul 2007 00:41:01 +0000 Subject: * Patched runprebuild.sh for *nix systems which do not register a mono ABI handler. --- runprebuild.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runprebuild.sh') diff --git a/runprebuild.sh b/runprebuild.sh index 3900ea6..5671b82 100755 --- a/runprebuild.sh +++ b/runprebuild.sh @@ -1,4 +1,4 @@ #!/bin/sh -./bin/Prebuild.exe /target nant -./bin/Prebuild.exe /target vs2005 +mono bin/Prebuild.exe /target nant +mono bin/Prebuild.exe /target vs2005 -- cgit v1.1 From 3aac47f76909013d075a9e3dcf4b8333f92bfc69 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Mon, 5 Nov 2007 14:31:33 +0000 Subject: add a fixup for linux building --- runprebuild.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runprebuild.sh') diff --git a/runprebuild.sh b/runprebuild.sh index 5671b82..87ca4d5 100755 --- a/runprebuild.sh +++ b/runprebuild.sh @@ -1,4 +1,6 @@ #!/bin/sh mono bin/Prebuild.exe /target nant +# needed until we break up OpenSim.exe +perl -pi -e 's{OpenSim.dll}{OpenSim.exe}' OpenSim/ApplicationPlugins/LoadRegions/OpenSim.ApplicationPlugins.LoadRegions.dll.build mono bin/Prebuild.exe /target vs2005 -- cgit v1.1 From a2daccad5efcd8094a114281331dce7f01727f23 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Tue, 25 Mar 2008 02:10:54 +0000 Subject: Added monodevelop support to runprebuild.sh --- runprebuild.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'runprebuild.sh') diff --git a/runprebuild.sh b/runprebuild.sh index 87ca4d5..d51cf3c 100755 --- a/runprebuild.sh +++ b/runprebuild.sh @@ -3,4 +3,5 @@ mono bin/Prebuild.exe /target nant # needed until we break up OpenSim.exe perl -pi -e 's{OpenSim.dll}{OpenSim.exe}' OpenSim/ApplicationPlugins/LoadRegions/OpenSim.ApplicationPlugins.LoadRegions.dll.build +mono bin/Prebuild.exe /target monodev mono bin/Prebuild.exe /target vs2005 -- 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.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runprebuild.sh') diff --git a/runprebuild.sh b/runprebuild.sh index d51cf3c..3e1417a 100755 --- a/runprebuild.sh +++ b/runprebuild.sh @@ -4,4 +4,4 @@ mono bin/Prebuild.exe /target nant # needed until we break up OpenSim.exe perl -pi -e 's{OpenSim.dll}{OpenSim.exe}' OpenSim/ApplicationPlugins/LoadRegions/OpenSim.ApplicationPlugins.LoadRegions.dll.build mono bin/Prebuild.exe /target monodev -mono bin/Prebuild.exe /target vs2005 +mono bin/Prebuild.exe /target vs2008 -- cgit v1.1 From 1e44ec84bd90ec9078027d1d9d78e83c7d305f2a Mon Sep 17 00:00:00 2001 From: BlueWall Date: Tue, 31 Aug 2010 17:02:36 -0400 Subject: Build system upgrade: Upgrading Prebuild.exe to correctly construct build solutions for crossplatform tools such as xbuild, monodevelop and nant. NOTE: Module prebuild files will need modification to work, as the prebuild must correctly define the reference path for all assemblies shipped in the OpenSimulator ./bin directory. These include assemblies such as XMLRPC.dll, OpenMetaverse.dll, Nini.dll, etc. . The entries should follow the form: See the distributed prebuild.xml for further examples. Crossplatform tools: xbuild and monodevelop use the vs2008 OpenSim.sln and the .csproj files in each namespace. Changes to the Prebuild.exe are against svn 322 and are included in a patch attached to the mantis. And the dnpb source are available@ svn co https://dnpb.svn.sourceforge.net/svnroot/dnpb dnpb The patches are pending application by the dnpb team. After which, the un-modified upstream Prebuild.exe will work as expected. --- runprebuild.sh | 3 --- 1 file changed, 3 deletions(-) (limited to 'runprebuild.sh') diff --git a/runprebuild.sh b/runprebuild.sh index 3e1417a..b3b5c9d 100755 --- a/runprebuild.sh +++ b/runprebuild.sh @@ -1,7 +1,4 @@ #!/bin/sh mono bin/Prebuild.exe /target nant -# needed until we break up OpenSim.exe -perl -pi -e 's{OpenSim.dll}{OpenSim.exe}' OpenSim/ApplicationPlugins/LoadRegions/OpenSim.ApplicationPlugins.LoadRegions.dll.build -mono bin/Prebuild.exe /target monodev mono bin/Prebuild.exe /target vs2008 -- cgit v1.1 From faf250df2dfcf34552bb983cfc712a8164de3a3b Mon Sep 17 00:00:00 2001 From: BlueWall Date: Thu, 26 Jul 2012 21:28:20 -0400 Subject: add clean task to reuprebuild.sh ./runprebuild.sh clean to clean up the project files --- runprebuild.sh | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'runprebuild.sh') diff --git a/runprebuild.sh b/runprebuild.sh index b3b5c9d..98bfcb3 100755 --- a/runprebuild.sh +++ b/runprebuild.sh @@ -1,4 +1,18 @@ #!/bin/sh -mono bin/Prebuild.exe /target nant -mono bin/Prebuild.exe /target vs2008 +case "$1" in + + 'clean') + + mono bin/Prebuild.exe /clean + + ;; + + *) + + mono bin/Prebuild.exe /target nant + mono bin/Prebuild.exe /target vs2008 + ;; + +esac + -- cgit v1.1 From f4bae34283137268e4dce2d6e00cd8df962ce6d4 Mon Sep 17 00:00:00 2001 From: BlueWall Date: Thu, 26 Jul 2012 21:34:33 -0400 Subject: Add target switches ./runprebuild.sh vs2008/vs2010 to set the target --- runprebuild.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'runprebuild.sh') diff --git a/runprebuild.sh b/runprebuild.sh index 98bfcb3..e68c481 100755 --- a/runprebuild.sh +++ b/runprebuild.sh @@ -8,6 +8,17 @@ case "$1" in ;; + + 'vs2010') + + mono bin/Prebuild.exe /target vs2010 + + ;; + + 'vs2008') + mono bin/Prebuild.exe /target vs2008 + ;; + *) mono bin/Prebuild.exe /target nant -- cgit v1.1 From 6ee17f5b36a8f19603ab28acdc52f4cbb882c202 Mon Sep 17 00:00:00 2001 From: BlueWall Date: Thu, 26 Jul 2012 21:39:53 -0400 Subject: Add autoclean for scripted use ./runprebuild.sh autoclean - cleans projects w/o prompting --- runprebuild.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'runprebuild.sh') diff --git a/runprebuild.sh b/runprebuild.sh index e68c481..d276edb 100755 --- a/runprebuild.sh +++ b/runprebuild.sh @@ -9,21 +9,34 @@ case "$1" in ;; + 'autoclean') + + echo y|mono bin/Prebuild.exe /clean + + ;; + + 'vs2010') mono bin/Prebuild.exe /target vs2010 ;; + 'vs2008') + mono bin/Prebuild.exe /target vs2008 + ;; + *) mono bin/Prebuild.exe /target nant mono bin/Prebuild.exe /target vs2008 + ;; + esac -- cgit v1.1 From 4563e7e04ae1497178c62b0229aa538bcf6b772d Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 13 Nov 2013 00:25:41 +0000 Subject: Get runprebuild.sh to generate a vs2010 for xbuild to work with .NET 4 rather than vs2008 At least since 2009, Monodevelop has been able to load vs2010 files as well --- runprebuild.sh | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'runprebuild.sh') diff --git a/runprebuild.sh b/runprebuild.sh index d276edb..8c18db6 100755 --- a/runprebuild.sh +++ b/runprebuild.sh @@ -22,21 +22,11 @@ case "$1" in ;; - - 'vs2008') - - mono bin/Prebuild.exe /target vs2008 - - ;; - - *) mono bin/Prebuild.exe /target nant - mono bin/Prebuild.exe /target vs2008 + mono bin/Prebuild.exe /target vs2010 ;; - esac - -- cgit v1.1