Commit Graph

42 Commits (36d8e6208a24a5a5aeb4dd199e4aa832c849887e)

Author SHA1 Message Date
BlueWall f36fe45fa7 Add Copy task to Prebuild.exe (vsxxxx targets)
<Files>
    <Match pattern="*.cs" recurse="true"/>
    <Match pattern="../bin/MyConfig.xml" buildAction="Copy" recurse="false" destination="$(OutputPath)" />
  </Files>
2011-12-25 00:04:42 -05:00
Justin Clark-Casey (justincc) 91f59f246f also get "nant clean" to remove old .mdb from .exe and .dll 2011-08-30 23:20:54 +01:00
Justin Clark-Casey (justincc) 9e4153f16b Hack our copy of Prebuild to just delete the dlls and mdbs in Physics, so as to leave the new config file 2011-08-30 23:17:02 +01:00
Justin Clark-Casey (justincc) 7e65590a55 Update Prebuild.exe with Prebuild r323 + an existing OpenSim specific nant hack to correctly clean up chosen OpenSim exes and dlls in bin/ on a "nant clean"
Source code is included for reference.  This can go away again once Prebuild is updated with a more general mechanism for cleaning up files.
The Prebuild source code here can be built with nant, or regnerated for other tools using the prebuild at {root}/bin/Prebuild.exe
2010-09-11 01:13:08 +01:00
BlueWall 1e44ec84bd 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:

		<Reference name="Nini" path="../../../bin/"/>

	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.
2010-09-04 02:12:21 +01:00
John Hurliman 96d53f11e5 Added VS2010 support to Prebuild and created runprebuild2010.bat 2009-10-22 17:03:13 -07:00
Melanie 8274005029 Update prebuild once again 2009-08-06 22:55:50 +01:00
Melanie 41221bfe90 Update prebuild binary 2009-08-06 22:38:10 +01:00
Melanie Thielker 7d5b620e6b Thank you, mcortez, for a patch to prebuild to allow includes with wildcards.
Fixes Mantis #3860
2009-07-06 23:53:47 +00:00
lbsa71 d8b51cc3a8 * This should fix the 'Solution Folder' annoyance on express versions. 2009-02-23 10:38:25 +00:00
lbsa71 fbeedc3272 * It think it actually works now. Only that AssetService weirdness left to fix.
* Ignored some gens
2009-02-19 18:27:19 +00:00
lbsa71 06ece33bee * Okay, so finally got my head around this. Problem is that upstream Prebuild copied dlls promiscuously, and this led to the references being all mixed up (/bin dlls overwritten by different versions on every csc)
* Something that thus needs fixing is the fact that ProjectReferences has to be marked 
    <ProjectReference>
      <Private>False</Private>
    </ProjectReference>
but that is not configurable in the upstream Xml Schema. I've hardcoded it in our repo for now.
2009-02-19 18:01:33 +00:00
lbsa71 549c615e0e * reverted the revert of the revert. What can I say? I'm calling this a day, and will get back up on the horse tomorrow. 2009-02-19 14:54:21 +00:00
lbsa71 40d88ce905 * Reverted the revert, as it seems the problem was the 1.0.* in the separate projects. 2009-02-19 14:35:11 +00:00
lbsa71 e36c452d4e * Reverted Prebuild commit due to strange run-time errors. 2009-02-19 14:16:22 +00:00
lbsa71 840aa6606c * ... okay, so the Prebuild.exe changed again when building from VS... trying to get to the bottom of this. 2009-02-19 13:36:25 +00:00
lbsa71 69807f6bba * Hm. Something odd here, the Prebuild.exe wasn't supposed to change from last commit. Re-trying.
* Ignoring some gens
2009-02-19 13:01:01 +00:00
lbsa71 dd9640cda8 === PREBUILD UPSTREAMS UPDATE : POTENTIAL BREAKAGE ===
* Applied upstreams changes to allow for auditing and debugging in our various environments.
* This should, in theory, bring back 'multiple ref dirs'.
* Temporarily Removed xmlns because prebuild-1.7 schema does not allow for multiple solutions per prebuild node (This will be a moot issue once the Prebuild node is moved out of prebuild.xml)
* Autotools target: Various minor fixes
* MonoDevelop Target : No changes.
* Nant Target: Various minor fixes, support for net-3.5 and mono-2.0/3.5 targets
* Sharpdevelop targets: No changes.
* VS Targets: Refactored into using VSGenericTarget, and supports 2.0-3.5
* XCode Target: No changes.

--- Regressions and outstanding issues ---
* The Solution is assigned a random Guid - will lead to unnecessary reloads and loss of user settings.

--- New features of Prebuild 2.0.4 ---
* (Better) support for Web, WinForms and Database Projects and build actions
* Conditional Framework Version compilation support (1.1, 2.0-3.5)
* ArrayList -> List<>, ICollection -> IList
  (this means Prebuild can generate 1.1 solutions, but can't itself be built under 1.1 - how very meta)
* Added <?include file="sub_prebuild.xml" ?> preprocessor directive.
2009-02-19 12:48:38 +00:00
lbsa71 55d89b73ed * fixed 'path' reference attribute for Nant and VS2008 targets. 2009-02-17 16:15:29 +00:00
Sean Dague 058ec414b4 * Added XEngine tests and gathered other ScriptEngine
Tests together

From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-02-12 17:02:54 +00:00
lbsa71 87eff82b28 * Added resolving explicit .exe project names. This fixes mantis #2967 2009-01-13 10:06:53 +00:00
Jeff Ames ab749af130 Fix .mdb include in Prebuild. 2008-11-08 13:55:11 +00:00
lbsa71 07386b223d * Removed <if> in <fileset> in NAnt target introduced in 4045. Chi11ken should have a look at this. 2008-11-08 13:00:24 +00:00
lbsa71 c0d69d0ec7 * Rebuildt Prebuild.exe to fix vs2008 not creating Solution
* Wrapped solution streamwrites in using for great justice
2008-11-08 12:15:28 +00:00
Jeff Ames 2d7e0a4d4a Modify NAnt target in Prebuild to copy .mdb files to bin in debug configuration. (bug #55)
Use 'mono --debug OpenSim.exe' to get line number output on stack traces.
2008-03-31 06:45:54 +00:00
Jeff Ames e3ca113075 Add "warnings as errors" support for nant and monodevelop to Prebuild (though monodevelop may ignore this). 2008-03-25 07:49:31 +00:00
Jeff Ames 79209c4297 Merged changes in Prebuild trunk up to r258 into OpenSim's Prebuild.
Hopefully this should make merging upstream easier.
Building with NAnt should still work, but Visual Studio is untested.
2008-03-17 20:55:21 +00:00
Jeff Ames 28a07ed2e8 Backported MACOSX OS identifier into Prebuild. 2008-02-27 05:22:47 +00:00
Justin Clarke Casey 57cfd5e8d1 * Two (combined) patches from Dr Schofield (dirk husemann). Ta very much :)
* Patch 1 stops OpenSim.32BitLaunch.exe and ScriptEngines/Default.lsl being deleted on nant clean
* Patch 2 resolves a building problem with pCampBot
* This will require a prebuild rerun
2008-02-15 11:11:03 +00:00
lbsa71 0770b0f5cb * Updated vs2008 target ProductVersion to "9.0.21022"
* Updated exe
2007-12-20 11:34:32 +00:00
lbsa71 90611ebf8d * took a stab at #54 2007-12-04 13:43:11 +00:00
Sean Dague 4c28554d88 update prebuild
Nant files now obey the target out of prebuild.xml, so Linux users will be able to build as Debug
Nant clean target now does the right thing (doesn't wipe out all of bin/)

Prebuild's own prebuild system is broken due to the .exe workaround added a while ago, will
register a bug for that seperately.
2007-11-28 16:24:28 +00:00
lbsa71 ce33db72cb * prebuild now creates .exe references in NAntTarget
* prebuild now uses local copy of schema (for future expansions)
2007-11-05 15:10:20 +00:00
Sean Dague b6f1ad2a36 updated prebuild 2007-09-17 11:01:37 +00:00
lbsa71 7f393791e7 * Removed magic exclusion of MonoSqlite data store from prebuild
* Renamed project back to base.
2007-08-12 08:11:28 +00:00
lbsa71 fc4c241d9c * Now "OpenSim.DataStore.MonoSqlite" is not referenced from solution either. 2007-08-09 18:59:00 +00:00
lbsa71 25a6791627 * Checked in new tweaked Prebuild.exe
* Ignored binaries
2007-08-08 21:23:42 +00:00
lbsa71 a81bca471d * Prebuild vs2005 target will now skip project with name "OpenSim.DataStore.MonoSqlite" 2007-08-08 15:36:15 +00:00
Sean Dague 37c7f2901c make Prebuild executable, so that it will run on Linux 2007-07-12 20:58:33 +00:00
lbsa71 4adf4c57d4 2007-07-08 12:10:32 +00:00
lbsa71 3a20a7b5d1 * Applied Prebuild fixes to Sugilite
* Rebuilt project files
* ignored some bins
2007-06-14 11:01:38 +00:00
MW 31dacf6c76 Added prebuild.exe and fixed a couple of namespace problems in AvatarAnimations.cs.
Now need to update prebuild.xml
2007-06-08 16:01:15 +00:00