diff options
author | lbsa71 | 2009-02-19 18:01:33 +0000 |
---|---|---|
committer | lbsa71 | 2009-02-19 18:01:33 +0000 |
commit | 06ece33bee0f046ea5f4b8590cfd9b13dd2e4a38 (patch) | |
tree | 876de8f4db442a7822c73d97a20ef86ca8842e19 /Prebuild/src/data/prebuild-1.7.xsd | |
parent | * Fix http://opensimulator.org/mantis/view.php?id=3193 (diff) | |
download | opensim-SC_OLD-06ece33bee0f046ea5f4b8590cfd9b13dd2e4a38.zip opensim-SC_OLD-06ece33bee0f046ea5f4b8590cfd9b13dd2e4a38.tar.gz opensim-SC_OLD-06ece33bee0f046ea5f4b8590cfd9b13dd2e4a38.tar.bz2 opensim-SC_OLD-06ece33bee0f046ea5f4b8590cfd9b13dd2e4a38.tar.xz |
* 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.
Diffstat (limited to 'Prebuild/src/data/prebuild-1.7.xsd')
-rw-r--r-- | Prebuild/src/data/prebuild-1.7.xsd | 120 |
1 files changed, 89 insertions, 31 deletions
diff --git a/Prebuild/src/data/prebuild-1.7.xsd b/Prebuild/src/data/prebuild-1.7.xsd index 3c108f3..c3f8d6b 100644 --- a/Prebuild/src/data/prebuild-1.7.xsd +++ b/Prebuild/src/data/prebuild-1.7.xsd | |||
@@ -2,39 +2,40 @@ | |||
2 | <xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd"> | 2 | <xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd"> |
3 | <xs:annotation> | 3 | <xs:annotation> |
4 | <xs:documentation> | 4 | <xs:documentation> |
5 | Copyright (c) 2004-2007 | 5 | Copyright (c) 2004-2007 |
6 | Matthew Holmes (calefaction at houston . rr . com), | 6 | Matthew Holmes (calefaction at houston . rr . com), |
7 | Dan Moorehead (dan05a at gmail . com), | 7 | Dan Moorehead (dan05a at gmail . com), |
8 | David Hudson (jendave at yahoo dot com), | 8 | David Hudson (jendave at yahoo dot com), |
9 | C.J. Adams-Collier (cjac at colliertech dot com) | 9 | C.J. Adams-Collier (cjac at colliertech dot com) |
10 | 10 | ||
11 | .NET Prebuild is a cross-platform XML-driven pre-build tool which | 11 | .NET Prebuild is a cross-platform XML-driven pre-build tool which |
12 | allows developers to easily generate project or make files for major | 12 | allows developers to easily generate project or make files for major |
13 | IDE's and .NET development tools including: Visual Studio .NET 2002, | 13 | IDE's and .NET development tools including: Visual Studio .NET 2002, |
14 | 2003, and 2005, SharpDevelop, MonoDevelop, NAnt, Xcode and the GNU Autotools. | 14 | 2003, and 2005, SharpDevelop, MonoDevelop, NAnt, Xcode and the GNU Autotools. |
15 | 15 | ||
16 | BSD License: | 16 | BSD License: |
17 | |||
18 | Redistribution and use in source and binary forms, with or without modification, are permitted | ||
19 | provided that the following conditions are met: | ||
20 | 17 | ||
21 | * Redistributions of source code must retain the above copyright notice, this list of conditions | 18 | Redistribution and use in source and binary forms, with or without modification, are permitted |
22 | and the following disclaimer. | 19 | provided that the following conditions are met: |
23 | * Redistributions in binary form must reproduce the above copyright notice, this list of conditions | ||
24 | and the following disclaimer in the documentation and/or other materials provided with the | ||
25 | distribution. | ||
26 | * The name of the author may not be used to endorse or promote products derived from this software | ||
27 | without specific prior written permission. | ||
28 | 20 | ||
29 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, | 21 | * Redistributions of source code must retain the above copyright notice, this list of conditions |
30 | BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | 22 | and the following disclaimer. |
31 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | 23 | * Redistributions in binary form must reproduce the above copyright notice, this list of conditions |
32 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | 24 | and the following disclaimer in the documentation and/or other materials provided with the |
33 | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 25 | distribution. |
34 | OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING | 26 | * The name of the author may not be used to endorse or promote products derived from this software |
35 | IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 | without specific prior written permission. |
36 | </xs:documentation> | 28 | |
29 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, | ||
30 | BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
31 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
32 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
33 | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | ||
34 | OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING | ||
35 | IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
36 | </xs:documentation> | ||
37 | </xs:annotation> | 37 | </xs:annotation> |
38 | |||
38 | <xs:element name="Prebuild"> | 39 | <xs:element name="Prebuild"> |
39 | <xs:complexType> | 40 | <xs:complexType> |
40 | <xs:sequence> | 41 | <xs:sequence> |
@@ -45,14 +46,35 @@ | |||
45 | <xs:attribute name="checkOsVars" /> | 46 | <xs:attribute name="checkOsVars" /> |
46 | </xs:complexType> | 47 | </xs:complexType> |
47 | </xs:element> | 48 | </xs:element> |
49 | |||
48 | <xs:element name="Process" type="xs:string" /> | 50 | <xs:element name="Process" type="xs:string" /> |
51 | |||
49 | <xs:element name="Solution"> | 52 | <xs:element name="Solution"> |
50 | <xs:complexType> | 53 | <xs:complexType> |
51 | <xs:sequence> | 54 | <xs:sequence> |
52 | <xs:element ref="Options" minOccurs="0" /> | ||
53 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> | 55 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> |
56 | <xs:element ref="Process" minOccurs="0" maxOccurs="unbounded" /> | ||
57 | <xs:element ref="Options" minOccurs="0" /> | ||
58 | <xs:element ref="Files" minOccurs="0" /> | ||
59 | <xs:element ref="Project" minOccurs="0" maxOccurs="unbounded" /> | ||
60 | <xs:element ref="DatabaseProject" minOccurs="0" maxOccurs="unbounded" /> | ||
61 | <xs:element ref="EmbeddedSolution" minOccurs="0" maxOccurs="unbounded" /> | ||
62 | </xs:sequence> | ||
63 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
64 | <xs:attribute name="activeConfig" type="xs:string" default="Debug" /> | ||
65 | <xs:attribute name="path" type="xs:string" default="" /> | ||
66 | <xs:attribute name="version" type="xs:string" default="1.0.0" /> | ||
67 | </xs:complexType> | ||
68 | </xs:element> | ||
69 | |||
70 | <xs:element name="EmbeddedSolution"> | ||
71 | <xs:complexType> | ||
72 | <xs:sequence> | ||
73 | <xs:element ref="Process" minOccurs="0" maxOccurs="unbounded" /> | ||
54 | <xs:element ref="Files" minOccurs="0" /> | 74 | <xs:element ref="Files" minOccurs="0" /> |
55 | <xs:element ref="Project" minOccurs="1" maxOccurs="unbounded" /> | 75 | <xs:element ref="Project" minOccurs="0" maxOccurs="unbounded" /> |
76 | <xs:element ref="DatabaseProject" minOccurs="0" maxOccurs="unbounded" /> | ||
77 | <xs:element ref="EmbeddedSolution" minOccurs="0" maxOccurs="unbounded" /> | ||
56 | </xs:sequence> | 78 | </xs:sequence> |
57 | <xs:attribute name="name" type="xs:string" use="required" /> | 79 | <xs:attribute name="name" type="xs:string" use="required" /> |
58 | <xs:attribute name="activeConfig" type="xs:string" default="Debug" /> | 80 | <xs:attribute name="activeConfig" type="xs:string" default="Debug" /> |
@@ -60,12 +82,33 @@ | |||
60 | <xs:attribute name="version" type="xs:string" default="1.0.0" /> | 82 | <xs:attribute name="version" type="xs:string" default="1.0.0" /> |
61 | </xs:complexType> | 83 | </xs:complexType> |
62 | </xs:element> | 84 | </xs:element> |
85 | |||
86 | <xs:element name="DatabaseProject"> | ||
87 | <xs:complexType> | ||
88 | <xs:sequence> | ||
89 | <xs:element name="Author" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
90 | <xs:element ref="DatabaseReference" minOccurs="0" maxOccurs="unbounded" /> | ||
91 | </xs:sequence> | ||
92 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
93 | <xs:attribute name="path" type="xs:string" /> | ||
94 | </xs:complexType> | ||
95 | </xs:element> | ||
96 | |||
97 | <xs:element name="DatabaseReference"> | ||
98 | <xs:complexType> | ||
99 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
100 | <xs:attribute name="providerId" type="xs:string" /> | ||
101 | <xs:attribute name="providerName" type="xs:string" /> | ||
102 | <xs:attribute name="connectionString" type="xs:string" use="required" /> | ||
103 | </xs:complexType> | ||
104 | </xs:element> | ||
105 | |||
63 | <xs:element name="Project"> | 106 | <xs:element name="Project"> |
64 | <xs:complexType> | 107 | <xs:complexType> |
65 | <xs:sequence> | 108 | <xs:sequence> |
66 | <xs:element name="Author" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | 109 | <xs:element name="Author" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> |
67 | <xs:element name="Description" type="xs:string" minOccurs="0" maxOccurs="1" /> | 110 | <xs:element name="Description" type="xs:string" minOccurs="0" maxOccurs="1" /> |
68 | <xs:element ref="Configuration" minOccurs="0" maxOccurs="unbounded" /> | 111 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> |
69 | <xs:element name="ReferencePath" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | 112 | <xs:element name="ReferencePath" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> |
70 | <xs:element name="Reference" minOccurs="0" maxOccurs="unbounded"> | 113 | <xs:element name="Reference" minOccurs="0" maxOccurs="unbounded"> |
71 | <xs:complexType> | 114 | <xs:complexType> |
@@ -84,6 +127,7 @@ | |||
84 | <xs:attribute name="icon" type="xs:string" default="" /> | 127 | <xs:attribute name="icon" type="xs:string" default="" /> |
85 | <xs:attribute name="configFile" type="xs:string" default="" /> | 128 | <xs:attribute name="configFile" type="xs:string" default="" /> |
86 | <xs:attribute name="version" type="xs:string" default="1.0.0" /> | 129 | <xs:attribute name="version" type="xs:string" default="1.0.0" /> |
130 | <xs:attribute name="guid" type="xs:string"/> | ||
87 | <xs:attribute name="language" default="C#"> | 131 | <xs:attribute name="language" default="C#"> |
88 | <xs:simpleType> | 132 | <xs:simpleType> |
89 | <xs:restriction base="xs:string"> | 133 | <xs:restriction base="xs:string"> |
@@ -98,6 +142,7 @@ | |||
98 | <xs:enumeration value="Exe" /> | 142 | <xs:enumeration value="Exe" /> |
99 | <xs:enumeration value="WinExe" /> | 143 | <xs:enumeration value="WinExe" /> |
100 | <xs:enumeration value="Library" /> | 144 | <xs:enumeration value="Library" /> |
145 | <xs:enumeration value="Web" /> | ||
101 | </xs:restriction> | 146 | </xs:restriction> |
102 | </xs:simpleType> | 147 | </xs:simpleType> |
103 | </xs:attribute> | 148 | </xs:attribute> |
@@ -109,12 +154,23 @@ | |||
109 | </xs:restriction> | 154 | </xs:restriction> |
110 | </xs:simpleType> | 155 | </xs:simpleType> |
111 | </xs:attribute> | 156 | </xs:attribute> |
157 | <xs:attribute name="frameworkVersion" default="v2_0"> | ||
158 | <xs:simpleType> | ||
159 | <xs:restriction base="xs:string"> | ||
160 | <xs:enumeration value="v2_0" /> | ||
161 | <xs:enumeration value="v3_0" /> | ||
162 | <xs:enumeration value="v3_5" /> | ||
163 | </xs:restriction> | ||
164 | </xs:simpleType> | ||
165 | </xs:attribute> | ||
112 | <xs:attribute name="startupObject" type="xs:string" default="" /> | 166 | <xs:attribute name="startupObject" type="xs:string" default="" /> |
113 | <xs:attribute name="rootNamespace" type="xs:string" /> | 167 | <xs:attribute name="rootNamespace" type="xs:string" /> |
168 | <xs:attribute name="debugStartParameters" type="xs:string" /> | ||
114 | <xs:attribute name="assemblyName" type="xs:string" /> | 169 | <xs:attribute name="assemblyName" type="xs:string" /> |
115 | <xs:attribute name="generateAssemblyInfoFile" type="xs:boolean" default="false" /> | 170 | <xs:attribute name="generateAssemblyInfoFile" type="xs:boolean" default="false" /> |
116 | </xs:complexType> | 171 | </xs:complexType> |
117 | </xs:element> | 172 | </xs:element> |
173 | |||
118 | <xs:element name="Configuration"> | 174 | <xs:element name="Configuration"> |
119 | <xs:complexType> | 175 | <xs:complexType> |
120 | <xs:sequence> | 176 | <xs:sequence> |
@@ -195,6 +251,7 @@ | |||
195 | <xs:simpleType> | 251 | <xs:simpleType> |
196 | <xs:restriction base="xs:string"> | 252 | <xs:restriction base="xs:string"> |
197 | <xs:enumeration value="Code" /> | 253 | <xs:enumeration value="Code" /> |
254 | <xs:enumeration value="CodeBehind" /> | ||
198 | <xs:enumeration value="Component" /> | 255 | <xs:enumeration value="Component" /> |
199 | <xs:enumeration value="Form" /> | 256 | <xs:enumeration value="Form" /> |
200 | <xs:enumeration value="Settings" /> | 257 | <xs:enumeration value="Settings" /> |
@@ -242,6 +299,7 @@ | |||
242 | <xs:simpleType> | 299 | <xs:simpleType> |
243 | <xs:restriction base="xs:string"> | 300 | <xs:restriction base="xs:string"> |
244 | <xs:enumeration value="Code" /> | 301 | <xs:enumeration value="Code" /> |
302 | <xs:enumeration value="CodeBehind" /> | ||
245 | <xs:enumeration value="Component" /> | 303 | <xs:enumeration value="Component" /> |
246 | <xs:enumeration value="Designer" /> | 304 | <xs:enumeration value="Designer" /> |
247 | <xs:enumeration value="Form" /> | 305 | <xs:enumeration value="Form" /> |