diff options
Diffstat (limited to '')
-rw-r--r-- | Prebuild/src/data/prebuild-1.7.xsd | 350 |
1 files changed, 350 insertions, 0 deletions
diff --git a/Prebuild/src/data/prebuild-1.7.xsd b/Prebuild/src/data/prebuild-1.7.xsd new file mode 100644 index 0000000..a7f5c88 --- /dev/null +++ b/Prebuild/src/data/prebuild-1.7.xsd | |||
@@ -0,0 +1,350 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
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> | ||
4 | <xs:documentation> | ||
5 | Copyright (c) 2004-2007 | ||
6 | Matthew Holmes (calefaction at houston . rr . com), | ||
7 | Dan Moorehead (dan05a at gmail . com), | ||
8 | David Hudson (jendave at yahoo dot com), | ||
9 | C.J. Adams-Collier (cjac at colliertech dot com) | ||
10 | |||
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 | ||
13 | IDE's and .NET development tools including: Visual Studio .NET 2002, | ||
14 | 2003, and 2005, SharpDevelop, MonoDevelop, NAnt, Xcode and the GNU Autotools. | ||
15 | |||
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 | |||
21 | * Redistributions of source code must retain the above copyright notice, this list of conditions | ||
22 | and the following disclaimer. | ||
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 | |||
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> | ||
38 | |||
39 | <xs:element name="Prebuild"> | ||
40 | <xs:complexType> | ||
41 | <xs:sequence> | ||
42 | <xs:element ref="Process" minOccurs="0" maxOccurs="unbounded" /> | ||
43 | <xs:element ref="Solution" minOccurs="1" maxOccurs="unbounded" /> | ||
44 | </xs:sequence> | ||
45 | <xs:attribute name="version" /> | ||
46 | <xs:attribute name="checkOsVars" /> | ||
47 | </xs:complexType> | ||
48 | </xs:element> | ||
49 | |||
50 | <xs:element name="Process" type="xs:string" /> | ||
51 | |||
52 | <xs:element name="Solution"> | ||
53 | <xs:complexType> | ||
54 | <xs:sequence> | ||
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="Cleanup" minOccurs="0" maxOccurs="1" /> | ||
61 | <xs:element ref="DatabaseProject" minOccurs="0" maxOccurs="unbounded" /> | ||
62 | <xs:element ref="EmbeddedSolution" minOccurs="0" maxOccurs="unbounded" /> | ||
63 | </xs:sequence> | ||
64 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
65 | <xs:attribute name="activeConfig" type="xs:string" default="Debug" /> | ||
66 | <xs:attribute name="path" type="xs:string" default="" /> | ||
67 | <xs:attribute name="version" type="xs:string" default="1.0.0" /> | ||
68 | </xs:complexType> | ||
69 | </xs:element> | ||
70 | |||
71 | <xs:element name="EmbeddedSolution"> | ||
72 | <xs:complexType> | ||
73 | <xs:sequence> | ||
74 | <xs:element ref="Process" minOccurs="0" maxOccurs="unbounded" /> | ||
75 | <xs:element ref="Files" minOccurs="0" /> | ||
76 | <xs:element ref="Project" minOccurs="0" maxOccurs="unbounded" /> | ||
77 | <xs:element ref="DatabaseProject" minOccurs="0" maxOccurs="unbounded" /> | ||
78 | <xs:element ref="EmbeddedSolution" minOccurs="0" maxOccurs="unbounded" /> | ||
79 | </xs:sequence> | ||
80 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
81 | <xs:attribute name="activeConfig" type="xs:string" default="Debug" /> | ||
82 | <xs:attribute name="path" type="xs:string" default="" /> | ||
83 | <xs:attribute name="version" type="xs:string" default="1.0.0" /> | ||
84 | </xs:complexType> | ||
85 | </xs:element> | ||
86 | |||
87 | <xs:element name="DatabaseProject"> | ||
88 | <xs:complexType> | ||
89 | <xs:sequence> | ||
90 | <xs:element name="Author" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
91 | <xs:element ref="DatabaseReference" minOccurs="0" maxOccurs="unbounded" /> | ||
92 | </xs:sequence> | ||
93 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
94 | <xs:attribute name="path" type="xs:string" /> | ||
95 | </xs:complexType> | ||
96 | </xs:element> | ||
97 | |||
98 | <xs:element name="DatabaseReference"> | ||
99 | <xs:complexType> | ||
100 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
101 | <xs:attribute name="providerId" type="xs:string" /> | ||
102 | <xs:attribute name="providerName" type="xs:string" /> | ||
103 | <xs:attribute name="connectionString" type="xs:string" use="required" /> | ||
104 | </xs:complexType> | ||
105 | </xs:element> | ||
106 | |||
107 | <xs:element name="Project"> | ||
108 | <xs:complexType> | ||
109 | <xs:sequence> | ||
110 | <xs:element name="Author" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
111 | <xs:element name="Description" type="xs:string" minOccurs="0" maxOccurs="1" /> | ||
112 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> | ||
113 | <xs:element name="ReferencePath" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
114 | <xs:element name="Reference" minOccurs="0" maxOccurs="unbounded"> | ||
115 | <xs:complexType> | ||
116 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
117 | <xs:attribute name="path" type="xs:string" /> | ||
118 | <xs:attribute name="localCopy" type="xs:boolean" /> | ||
119 | <xs:attribute name="version" type="xs:string" /> | ||
120 | </xs:complexType> | ||
121 | </xs:element> | ||
122 | <xs:element ref="Files" /> | ||
123 | </xs:sequence> | ||
124 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
125 | <xs:attribute name="designerFolder" type="xs:string" default="" /> | ||
126 | <xs:attribute name="filterGroups" type="xs:string" default="" /> | ||
127 | <xs:attribute name="path" type="xs:string" default="" /> | ||
128 | <xs:attribute name="icon" type="xs:string" default="" /> | ||
129 | <xs:attribute name="configFile" type="xs:string" default="" /> | ||
130 | <xs:attribute name="version" type="xs:string" default="1.0.0" /> | ||
131 | <xs:attribute name="guid" type="xs:string"/> | ||
132 | <xs:attribute name="language" default="C#"> | ||
133 | <xs:simpleType> | ||
134 | <xs:restriction base="xs:string"> | ||
135 | <xs:enumeration value="C#" /> | ||
136 | <xs:enumeration value="VB.NET" /> | ||
137 | </xs:restriction> | ||
138 | </xs:simpleType> | ||
139 | </xs:attribute> | ||
140 | <xs:attribute name="type" default="Exe"> | ||
141 | <xs:simpleType> | ||
142 | <xs:restriction base="xs:string"> | ||
143 | <xs:enumeration value="Exe" /> | ||
144 | <xs:enumeration value="WinExe" /> | ||
145 | <xs:enumeration value="Library" /> | ||
146 | <xs:enumeration value="Web" /> | ||
147 | </xs:restriction> | ||
148 | </xs:simpleType> | ||
149 | </xs:attribute> | ||
150 | <xs:attribute name="runtime" default="Microsoft"> | ||
151 | <xs:simpleType> | ||
152 | <xs:restriction base="xs:string"> | ||
153 | <xs:enumeration value="Microsoft" /> | ||
154 | <xs:enumeration value="Mono" /> | ||
155 | </xs:restriction> | ||
156 | </xs:simpleType> | ||
157 | </xs:attribute> | ||
158 | <xs:attribute name="frameworkVersion" default="v2_0"> | ||
159 | <xs:simpleType> | ||
160 | <xs:restriction base="xs:string"> | ||
161 | <xs:enumeration value="v2_0" /> | ||
162 | <xs:enumeration value="v3_0" /> | ||
163 | <xs:enumeration value="v3_5" /> | ||
164 | </xs:restriction> | ||
165 | </xs:simpleType> | ||
166 | </xs:attribute> | ||
167 | <xs:attribute name="startupObject" type="xs:string" default="" /> | ||
168 | <xs:attribute name="rootNamespace" type="xs:string" /> | ||
169 | <xs:attribute name="debugStartParameters" type="xs:string" /> | ||
170 | <xs:attribute name="assemblyName" type="xs:string" /> | ||
171 | <xs:attribute name="generateAssemblyInfoFile" type="xs:boolean" default="false" /> | ||
172 | </xs:complexType> | ||
173 | </xs:element> | ||
174 | |||
175 | <xs:element name="Configuration"> | ||
176 | <xs:complexType> | ||
177 | <xs:sequence> | ||
178 | <xs:element ref="Options" minOccurs="0" /> | ||
179 | </xs:sequence> | ||
180 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
181 | </xs:complexType> | ||
182 | </xs:element> | ||
183 | <xs:element name="Options"> | ||
184 | <xs:complexType> | ||
185 | <xs:all> | ||
186 | <xs:element name="CompilerDefines" type="xs:string" minOccurs="0" /> | ||
187 | <xs:element name="OptimizeCode" type="xs:boolean" minOccurs="0" /> | ||
188 | <xs:element name="CheckUnderflowOverflow" type="xs:boolean" minOccurs="0" /> | ||
189 | <xs:element name="AllowUnsafe" type="xs:boolean" minOccurs="0" /> | ||
190 | <xs:element name="PreBuildEvent" type="xs:string" minOccurs="0" /> | ||
191 | <xs:element name="PostBuildEvent" type="xs:string" minOccurs="0" /> | ||
192 | <xs:element name="RunPostBuildEvent" minOccurs="0" default="OnBuildSuccess"> | ||
193 | <xs:simpleType> | ||
194 | <xs:restriction base="xs:string"> | ||
195 | <xs:enumeration value="OnBuildSuccess" /> | ||
196 | <xs:enumeration value="Always" /> | ||
197 | <xs:enumeration value="OnOutputUpdated" /> | ||
198 | </xs:restriction> | ||
199 | </xs:simpleType> | ||
200 | </xs:element> | ||
201 | <xs:element name="RunScript" type="xs:string" minOccurs="0" /> | ||
202 | <xs:element name="PreBuildEventArgs" type="xs:string" minOccurs="0" /> | ||
203 | <xs:element name="PostBuildEventArgs" type="xs:string" minOccurs="0" /> | ||
204 | <xs:element name="WarningLevel" minOccurs="0"> | ||
205 | <xs:simpleType> | ||
206 | <xs:restriction base="xs:integer"> | ||
207 | <xs:minInclusive value="0" /> | ||
208 | <xs:maxInclusive value="4" /> | ||
209 | </xs:restriction> | ||
210 | </xs:simpleType> | ||
211 | </xs:element> | ||
212 | <xs:element name="WarningsAsErrors" type="xs:boolean" minOccurs="0" /> | ||
213 | <xs:element name="SuppressWarnings" type="xs:string" minOccurs="0" /> | ||
214 | <xs:element name="OutputPath" type="xs:string" minOccurs="0" /> | ||
215 | <xs:element name="GenerateDocumentation" type="xs:boolean" minOccurs="0" /> | ||
216 | <xs:element name="XmlDocFile" type="xs:string" minOccurs="0" /> | ||
217 | <xs:element name="DebugInformation" type="xs:boolean" minOccurs="0" /> | ||
218 | <xs:element name="RegisterComInterop" type="xs:boolean" minOccurs="0" /> | ||
219 | <xs:element name="RemoveIntegerChecks" type="xs:boolean" minOccurs="0" /> | ||
220 | <xs:element name="IncrementalBuild" type="xs:boolean" minOccurs="0" /> | ||
221 | <xs:element name="BaseAddress" type="xs:string" minOccurs="0" /> | ||
222 | <xs:element name="FileAlignment" type="xs:integer" minOccurs="0" /> | ||
223 | <xs:element name="NoStdLib" type="xs:boolean" minOccurs="0" /> | ||
224 | <xs:element name="KeyFile" type="xs:string" minOccurs="0" /> | ||
225 | </xs:all> | ||
226 | </xs:complexType> | ||
227 | </xs:element> | ||
228 | |||
229 | <xs:element name="Files"> | ||
230 | <xs:complexType> | ||
231 | <xs:sequence> | ||
232 | <xs:element ref="File" minOccurs="0" maxOccurs="unbounded" /> | ||
233 | <xs:element ref="Match" minOccurs="0" maxOccurs="unbounded" /> | ||
234 | </xs:sequence> | ||
235 | </xs:complexType> | ||
236 | </xs:element> | ||
237 | |||
238 | <xs:element name="File"> | ||
239 | <xs:complexType> | ||
240 | <xs:simpleContent> | ||
241 | <xs:extension base="xs:string"> | ||
242 | <xs:attribute name="resourceName" type="xs:string" default="" /> | ||
243 | <xs:attribute name="buildAction" default="Compile"> | ||
244 | <xs:simpleType> | ||
245 | <xs:restriction base="xs:string"> | ||
246 | <xs:enumeration value="None" /> | ||
247 | <xs:enumeration value="Compile" /> | ||
248 | <xs:enumeration value="Content" /> | ||
249 | <xs:enumeration value="EmbeddedResource" /> | ||
250 | </xs:restriction> | ||
251 | </xs:simpleType> | ||
252 | </xs:attribute> | ||
253 | <xs:attribute name="subType" default="Code"> | ||
254 | <xs:simpleType> | ||
255 | <xs:restriction base="xs:string"> | ||
256 | <xs:enumeration value="Code" /> | ||
257 | <xs:enumeration value="CodeBehind" /> | ||
258 | <xs:enumeration value="Component" /> | ||
259 | <xs:enumeration value="Form" /> | ||
260 | <xs:enumeration value="Settings" /> | ||
261 | <xs:enumeration value="UserControl" /> | ||
262 | </xs:restriction> | ||
263 | </xs:simpleType> | ||
264 | </xs:attribute> | ||
265 | <xs:attribute name="link" type="xs:boolean" /> | ||
266 | <xs:attribute name="copyToOutput" default="Never"> | ||
267 | <xs:simpleType> | ||
268 | <xs:restriction base="xs:string"> | ||
269 | <xs:enumeration value="Never" /> | ||
270 | <xs:enumeration value="Always" /> | ||
271 | <xs:enumeration value="PreserveNewest" /> | ||
272 | </xs:restriction> | ||
273 | </xs:simpleType> | ||
274 | </xs:attribute> | ||
275 | <xs:attribute name="preservePath" type="xs:boolean" /> | ||
276 | <xs:attribute name="linkPath" type="xs:string" /> | ||
277 | </xs:extension> | ||
278 | </xs:simpleContent> | ||
279 | </xs:complexType> | ||
280 | </xs:element> | ||
281 | |||
282 | <xs:element name="Match"> | ||
283 | <xs:complexType> | ||
284 | <xs:sequence> | ||
285 | <xs:element ref="Exclude" minOccurs="0" maxOccurs="unbounded" /> | ||
286 | </xs:sequence> | ||
287 | <xs:attribute name="path" type="xs:string" /> | ||
288 | <xs:attribute name="pattern" type="xs:string" use="required" /> | ||
289 | <xs:attribute name="recurse" type="xs:boolean" default="false" /> | ||
290 | <xs:attribute name="useRegex" type="xs:boolean" default="false" /> | ||
291 | <xs:attribute name="buildAction" default="Compile"> | ||
292 | <xs:simpleType> | ||
293 | <xs:restriction base="xs:string"> | ||
294 | <xs:enumeration value="None" /> | ||
295 | <xs:enumeration value="Compile" /> | ||
296 | <xs:enumeration value="Content" /> | ||
297 | <xs:enumeration value="EmbeddedResource" /> | ||
298 | </xs:restriction> | ||
299 | </xs:simpleType> | ||
300 | </xs:attribute> | ||
301 | <xs:attribute name="resourceName" type="xs:string" default="" /> | ||
302 | <xs:attribute name="subType" default="Code"> | ||
303 | <xs:simpleType> | ||
304 | <xs:restriction base="xs:string"> | ||
305 | <xs:enumeration value="Code" /> | ||
306 | <xs:enumeration value="CodeBehind" /> | ||
307 | <xs:enumeration value="Component" /> | ||
308 | <xs:enumeration value="Designer" /> | ||
309 | <xs:enumeration value="Form" /> | ||
310 | <xs:enumeration value="Settings" /> | ||
311 | <xs:enumeration value="UserControl" /> | ||
312 | </xs:restriction> | ||
313 | </xs:simpleType> | ||
314 | </xs:attribute> | ||
315 | <xs:attribute name="link" type="xs:boolean" /> | ||
316 | <xs:attribute name="copyToOutput" default="Never"> | ||
317 | <xs:simpleType> | ||
318 | <xs:restriction base="xs:string"> | ||
319 | <xs:enumeration value="Never" /> | ||
320 | <xs:enumeration value="Always" /> | ||
321 | <xs:enumeration value="PreserveNewest" /> | ||
322 | </xs:restriction> | ||
323 | </xs:simpleType> | ||
324 | </xs:attribute> | ||
325 | <xs:attribute name="preservePath" type="xs:boolean" /> | ||
326 | <xs:attribute name="linkPath" type="xs:string" /> | ||
327 | </xs:complexType> | ||
328 | </xs:element> | ||
329 | |||
330 | <xs:element name="Exclude"> | ||
331 | <xs:complexType> | ||
332 | <xs:attribute name="name" type="xs:string" /> | ||
333 | <xs:attribute name="pattern" type="xs:string" /> | ||
334 | </xs:complexType> | ||
335 | </xs:element> | ||
336 | |||
337 | <xs:element name="Cleanup"> | ||
338 | <xs:complexType> | ||
339 | <xs:sequence> | ||
340 | <xs:element ref="CleanFiles" minOccurs="1" maxOccurs="unbounded" /> | ||
341 | </xs:sequence> | ||
342 | </xs:complexType> | ||
343 | </xs:element> | ||
344 | |||
345 | <xs:element name="CleanFiles"> | ||
346 | <xs:complexType> | ||
347 | <xs:attribute name="pattern" type="xs:string" /> | ||
348 | </xs:complexType> | ||
349 | </xs:element> | ||
350 | </xs:schema> | ||