diff options
Diffstat (limited to 'Prebuild/src/data/dnpb-1.4.xsd')
-rw-r--r-- | Prebuild/src/data/dnpb-1.4.xsd | 424 |
1 files changed, 212 insertions, 212 deletions
diff --git a/Prebuild/src/data/dnpb-1.4.xsd b/Prebuild/src/data/dnpb-1.4.xsd index 54f9ac0..1da50fc 100644 --- a/Prebuild/src/data/dnpb-1.4.xsd +++ b/Prebuild/src/data/dnpb-1.4.xsd | |||
@@ -1,212 +1,212 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" ?> | 1 | <?xml version="1.0" encoding="utf-8" ?> |
2 | <xs:schema elementFormDefault="qualified" | 2 | <xs:schema elementFormDefault="qualified" |
3 | xmlns:xs="http://www.w3.org/2001/XMLSchema" | 3 | xmlns:xs="http://www.w3.org/2001/XMLSchema" |
4 | targetNamespace="http://dnpb.sourceforge.net/schemas/dnpb-1.4.xsd" | 4 | targetNamespace="http://dnpb.sourceforge.net/schemas/dnpb-1.4.xsd" |
5 | xmlns="http://dnpb.sourceforge.net/schemas/dnpb-1.4.xsd" | 5 | xmlns="http://dnpb.sourceforge.net/schemas/dnpb-1.4.xsd" |
6 | > | 6 | > |
7 | <xs:annotation> | 7 | <xs:annotation> |
8 | <xs:documentation> | 8 | <xs:documentation> |
9 | Copyright (c) 2004-2005 Matthew Holmes (calefaction at houston . rr . com), Dan Moorehead (dan05a at gmail . com) | 9 | Copyright (c) 2004-2005 Matthew Holmes (calefaction at houston . rr . com), Dan Moorehead (dan05a at gmail . 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 and | 13 | IDE's and .NET development tools including: Visual Studio .NET 2002 and |
14 | 2003, SharpDevelop, MonoDevelop, and NAnt. | 14 | 2003, SharpDevelop, MonoDevelop, and NAnt. |
15 | 15 | ||
16 | BSD License: | 16 | BSD License: |
17 | 17 | ||
18 | Redistribution and use in source and binary forms, with or without modification, are permitted | 18 | Redistribution and use in source and binary forms, with or without modification, are permitted |
19 | provided that the following conditions are met: | 19 | provided that the following conditions are met: |
20 | 20 | ||
21 | * Redistributions of source code must retain the above copyright notice, this list of conditions | 21 | * Redistributions of source code must retain the above copyright notice, this list of conditions |
22 | and the following disclaimer. | 22 | and the following disclaimer. |
23 | * Redistributions in binary form must reproduce the above copyright notice, this list of conditions | 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 | 24 | and the following disclaimer in the documentation and/or other materials provided with the |
25 | distribution. | 25 | distribution. |
26 | * The name of the author may not be used to endorse or promote products derived from this software | 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. | 27 | without specific prior written permission. |
28 | 28 | ||
29 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, | 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 | 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, | 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 | 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 | 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 | 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. | 35 | IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
36 | </xs:documentation> | 36 | </xs:documentation> |
37 | </xs:annotation> | 37 | </xs:annotation> |
38 | 38 | ||
39 | <xs:element name="DNPreBuild"> | 39 | <xs:element name="DNPreBuild"> |
40 | <xs:complexType> | 40 | <xs:complexType> |
41 | <xs:sequence> | 41 | <xs:sequence> |
42 | <xs:element ref="Process" minOccurs="0" maxOccurs="unbounded" /> | 42 | <xs:element ref="Process" minOccurs="0" maxOccurs="unbounded" /> |
43 | <xs:element ref="Solution" minOccurs="0" maxOccurs="unbounded" /> | 43 | <xs:element ref="Solution" minOccurs="0" maxOccurs="unbounded" /> |
44 | </xs:sequence> | 44 | </xs:sequence> |
45 | 45 | ||
46 | <xs:attribute name="version" /> | 46 | <xs:attribute name="version" /> |
47 | <xs:attribute name="checkOsVars" /> | 47 | <xs:attribute name="checkOsVars" /> |
48 | </xs:complexType> | 48 | </xs:complexType> |
49 | </xs:element> | 49 | </xs:element> |
50 | 50 | ||
51 | <xs:element name="Process" type="xs:string" /> | 51 | <xs:element name="Process" type="xs:string" /> |
52 | 52 | ||
53 | <xs:element name="Solution"> | 53 | <xs:element name="Solution"> |
54 | <xs:complexType> | 54 | <xs:complexType> |
55 | <xs:sequence> | 55 | <xs:sequence> |
56 | <xs:element ref="Options" minOccurs="0" /> | 56 | <xs:element ref="Options" minOccurs="0" /> |
57 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> | 57 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> |
58 | <xs:element ref="Files" minOccurs="0" /> | 58 | <xs:element ref="Files" minOccurs="0" /> |
59 | <xs:element ref="Project" minOccurs="1" maxOccurs="unbounded" /> | 59 | <xs:element ref="Project" minOccurs="1" maxOccurs="unbounded" /> |
60 | </xs:sequence> | 60 | </xs:sequence> |
61 | 61 | ||
62 | <xs:attribute name="name" type="xs:string" use="required" /> | 62 | <xs:attribute name="name" type="xs:string" use="required" /> |
63 | <xs:attribute name="activeConfig" type="xs:string" default="Debug" /> | 63 | <xs:attribute name="activeConfig" type="xs:string" default="Debug" /> |
64 | <xs:attribute name="path" type="xs:string" default="" /> | 64 | <xs:attribute name="path" type="xs:string" default="" /> |
65 | </xs:complexType> | 65 | </xs:complexType> |
66 | </xs:element> | 66 | </xs:element> |
67 | 67 | ||
68 | <xs:element name="Project"> | 68 | <xs:element name="Project"> |
69 | <xs:complexType> | 69 | <xs:complexType> |
70 | <xs:sequence> | 70 | <xs:sequence> |
71 | <xs:element ref="Configuration" minOccurs="0" maxOccurs="unbounded" /> | 71 | <xs:element ref="Configuration" minOccurs="0" maxOccurs="unbounded" /> |
72 | 72 | ||
73 | <xs:element name="ReferencePath" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | 73 | <xs:element name="ReferencePath" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> |
74 | 74 | ||
75 | <xs:element name="Reference" minOccurs="0" maxOccurs="unbounded"> | 75 | <xs:element name="Reference" minOccurs="0" maxOccurs="unbounded"> |
76 | <xs:complexType> | 76 | <xs:complexType> |
77 | <xs:attribute name="name" type="xs:string" use="required" /> | 77 | <xs:attribute name="name" type="xs:string" use="required" /> |
78 | <xs:attribute name="path" type="xs:string" /> | 78 | <xs:attribute name="path" type="xs:string" /> |
79 | <xs:attribute name="localCopy" type="xs:boolean" /> | 79 | <xs:attribute name="localCopy" type="xs:boolean" /> |
80 | <xs:attribute name="version" type="xs:string" /> | 80 | <xs:attribute name="version" type="xs:string" /> |
81 | </xs:complexType> | 81 | </xs:complexType> |
82 | </xs:element> | 82 | </xs:element> |
83 | 83 | ||
84 | <xs:element ref="Files" /> | 84 | <xs:element ref="Files" /> |
85 | </xs:sequence> | 85 | </xs:sequence> |
86 | 86 | ||
87 | <xs:attribute name="name" type="xs:string" use="required" /> | 87 | <xs:attribute name="name" type="xs:string" use="required" /> |
88 | <xs:attribute name="path" type="xs:string" default="" /> | 88 | <xs:attribute name="path" type="xs:string" default="" /> |
89 | <xs:attribute name="icon" type="xs:string" default="" /> | 89 | <xs:attribute name="icon" type="xs:string" default="" /> |
90 | 90 | ||
91 | <xs:attribute name="language" default="C#"> | 91 | <xs:attribute name="language" default="C#"> |
92 | <xs:simpleType> | 92 | <xs:simpleType> |
93 | <xs:restriction base="xs:string"> | 93 | <xs:restriction base="xs:string"> |
94 | <xs:enumeration value="C#" /> | 94 | <xs:enumeration value="C#" /> |
95 | <xs:enumeration value="VB.NET" /> | 95 | <xs:enumeration value="VB.NET" /> |
96 | </xs:restriction> | 96 | </xs:restriction> |
97 | </xs:simpleType> | 97 | </xs:simpleType> |
98 | </xs:attribute> | 98 | </xs:attribute> |
99 | 99 | ||
100 | <xs:attribute name="type" default="Exe"> | 100 | <xs:attribute name="type" default="Exe"> |
101 | <xs:simpleType> | 101 | <xs:simpleType> |
102 | <xs:restriction base="xs:string"> | 102 | <xs:restriction base="xs:string"> |
103 | <xs:enumeration value="Exe" /> | 103 | <xs:enumeration value="Exe" /> |
104 | <xs:enumeration value="WinExe" /> | 104 | <xs:enumeration value="WinExe" /> |
105 | <xs:enumeration value="Library" /> | 105 | <xs:enumeration value="Library" /> |
106 | </xs:restriction> | 106 | </xs:restriction> |
107 | </xs:simpleType> | 107 | </xs:simpleType> |
108 | </xs:attribute> | 108 | </xs:attribute> |
109 | 109 | ||
110 | <xs:attribute name="runtime" default="Microsoft"> | 110 | <xs:attribute name="runtime" default="Microsoft"> |
111 | <xs:simpleType> | 111 | <xs:simpleType> |
112 | <xs:restriction base="xs:string"> | 112 | <xs:restriction base="xs:string"> |
113 | <xs:enumeration value="Microsoft" /> | 113 | <xs:enumeration value="Microsoft" /> |
114 | <xs:enumeration value="Mono" /> | 114 | <xs:enumeration value="Mono" /> |
115 | </xs:restriction> | 115 | </xs:restriction> |
116 | </xs:simpleType> | 116 | </xs:simpleType> |
117 | </xs:attribute> | 117 | </xs:attribute> |
118 | 118 | ||
119 | <xs:attribute name="startupObject" type="xs:string" default="" /> | 119 | <xs:attribute name="startupObject" type="xs:string" default="" /> |
120 | <xs:attribute name="rootNamespace" type="xs:string" /> | 120 | <xs:attribute name="rootNamespace" type="xs:string" /> |
121 | <xs:attribute name="assemblyName" type="xs:string" /> | 121 | <xs:attribute name="assemblyName" type="xs:string" /> |
122 | </xs:complexType> | 122 | </xs:complexType> |
123 | </xs:element> | 123 | </xs:element> |
124 | 124 | ||
125 | <xs:element name="Configuration"> | 125 | <xs:element name="Configuration"> |
126 | <xs:complexType> | 126 | <xs:complexType> |
127 | <xs:sequence> | 127 | <xs:sequence> |
128 | <xs:element ref="Options" minOccurs="0" /> | 128 | <xs:element ref="Options" minOccurs="0" /> |
129 | </xs:sequence> | 129 | </xs:sequence> |
130 | 130 | ||
131 | <xs:attribute name="name" type="xs:string" use="required" /> | 131 | <xs:attribute name="name" type="xs:string" use="required" /> |
132 | </xs:complexType> | 132 | </xs:complexType> |
133 | </xs:element> | 133 | </xs:element> |
134 | 134 | ||
135 | <xs:element name="Options"> | 135 | <xs:element name="Options"> |
136 | <xs:complexType> | 136 | <xs:complexType> |
137 | <xs:all> | 137 | <xs:all> |
138 | <xs:element name="CompilerDefines" type="xs:string" minOccurs="0" /> | 138 | <xs:element name="CompilerDefines" type="xs:string" minOccurs="0" /> |
139 | <xs:element name="OptimizeCode" type="xs:boolean" minOccurs="0" /> | 139 | <xs:element name="OptimizeCode" type="xs:boolean" minOccurs="0" /> |
140 | <xs:element name="CheckUnderflowOverflow" type="xs:boolean" minOccurs="0" /> | 140 | <xs:element name="CheckUnderflowOverflow" type="xs:boolean" minOccurs="0" /> |
141 | <xs:element name="AllowUnsafe" type="xs:boolean" minOccurs="0" /> | 141 | <xs:element name="AllowUnsafe" type="xs:boolean" minOccurs="0" /> |
142 | <xs:element name="WarningLevel" minOccurs="0"> | 142 | <xs:element name="WarningLevel" minOccurs="0"> |
143 | <xs:simpleType> | 143 | <xs:simpleType> |
144 | <xs:restriction base="xs:integer"> | 144 | <xs:restriction base="xs:integer"> |
145 | <xs:minInclusive value="0" /> | 145 | <xs:minInclusive value="0" /> |
146 | <xs:maxInclusive value="4"/> | 146 | <xs:maxInclusive value="4"/> |
147 | </xs:restriction> | 147 | </xs:restriction> |
148 | </xs:simpleType> | 148 | </xs:simpleType> |
149 | </xs:element> | 149 | </xs:element> |
150 | <xs:element name="WarningsAsErrors" type="xs:boolean" minOccurs="0" /> | 150 | <xs:element name="WarningsAsErrors" type="xs:boolean" minOccurs="0" /> |
151 | <xs:element name="SupressWarnings" type="xs:string" minOccurs="0" /> | 151 | <xs:element name="SupressWarnings" type="xs:string" minOccurs="0" /> |
152 | <xs:element name="OutputPath" type="xs:string" minOccurs="0" /> | 152 | <xs:element name="OutputPath" type="xs:string" minOccurs="0" /> |
153 | <xs:element name="XmlDocFile" type="xs:string" minOccurs="0" /> | 153 | <xs:element name="XmlDocFile" type="xs:string" minOccurs="0" /> |
154 | <xs:element name="DebugInformation" type="xs:boolean" minOccurs="0" /> | 154 | <xs:element name="DebugInformation" type="xs:boolean" minOccurs="0" /> |
155 | <xs:element name="RegisterCOMInterop" type="xs:boolean" minOccurs="0" /> | 155 | <xs:element name="RegisterCOMInterop" type="xs:boolean" minOccurs="0" /> |
156 | <xs:element name="IncrementalBuild" type="xs:boolean" minOccurs="0" /> | 156 | <xs:element name="IncrementalBuild" type="xs:boolean" minOccurs="0" /> |
157 | <xs:element name="BaseAddress" type="xs:string" minOccurs="0" /> | 157 | <xs:element name="BaseAddress" type="xs:string" minOccurs="0" /> |
158 | <xs:element name="FileAlignment" type="xs:integer" minOccurs="0" /> | 158 | <xs:element name="FileAlignment" type="xs:integer" minOccurs="0" /> |
159 | <xs:element name="NoStdLib" type="xs:boolean" minOccurs="0" /> | 159 | <xs:element name="NoStdLib" type="xs:boolean" minOccurs="0" /> |
160 | </xs:all> | 160 | </xs:all> |
161 | </xs:complexType> | 161 | </xs:complexType> |
162 | </xs:element> | 162 | </xs:element> |
163 | 163 | ||
164 | <xs:element name="Files"> | 164 | <xs:element name="Files"> |
165 | <xs:complexType> | 165 | <xs:complexType> |
166 | <xs:sequence> | 166 | <xs:sequence> |
167 | <xs:element ref="File" minOccurs="0" maxOccurs="unbounded" /> | 167 | <xs:element ref="File" minOccurs="0" maxOccurs="unbounded" /> |
168 | <xs:element ref="Match" minOccurs="0" maxOccurs="unbounded" /> | 168 | <xs:element ref="Match" minOccurs="0" maxOccurs="unbounded" /> |
169 | </xs:sequence> | 169 | </xs:sequence> |
170 | </xs:complexType> | 170 | </xs:complexType> |
171 | </xs:element> | 171 | </xs:element> |
172 | 172 | ||
173 | <xs:element name="File"> | 173 | <xs:element name="File"> |
174 | <xs:complexType> | 174 | <xs:complexType> |
175 | <xs:simpleContent> | 175 | <xs:simpleContent> |
176 | <xs:extension base="xs:string"> | 176 | <xs:extension base="xs:string"> |
177 | <xs:attribute name="buildAction" default="Compile"> | 177 | <xs:attribute name="buildAction" default="Compile"> |
178 | <xs:simpleType> | 178 | <xs:simpleType> |
179 | <xs:restriction base="xs:string"> | 179 | <xs:restriction base="xs:string"> |
180 | <xs:enumeration value="None" /> | 180 | <xs:enumeration value="None" /> |
181 | <xs:enumeration value="Compile" /> | 181 | <xs:enumeration value="Compile" /> |
182 | <xs:enumeration value="Content" /> | 182 | <xs:enumeration value="Content" /> |
183 | <xs:enumeration value="EmbeddedResource" /> | 183 | <xs:enumeration value="EmbeddedResource" /> |
184 | </xs:restriction> | 184 | </xs:restriction> |
185 | </xs:simpleType> | 185 | </xs:simpleType> |
186 | </xs:attribute> | 186 | </xs:attribute> |
187 | </xs:extension> | 187 | </xs:extension> |
188 | </xs:simpleContent> | 188 | </xs:simpleContent> |
189 | </xs:complexType> | 189 | </xs:complexType> |
190 | </xs:element> | 190 | </xs:element> |
191 | 191 | ||
192 | <xs:element name="Match"> | 192 | <xs:element name="Match"> |
193 | <xs:complexType> | 193 | <xs:complexType> |
194 | <xs:attribute name="path" type="xs:string" /> | 194 | <xs:attribute name="path" type="xs:string" /> |
195 | <xs:attribute name="pattern" type="xs:string" use="required" /> | 195 | <xs:attribute name="pattern" type="xs:string" use="required" /> |
196 | <xs:attribute name="recurse" type="xs:boolean" default="false" /> | 196 | <xs:attribute name="recurse" type="xs:boolean" default="false" /> |
197 | <xs:attribute name="useRegex" type="xs:boolean" default="false" /> | 197 | <xs:attribute name="useRegex" type="xs:boolean" default="false" /> |
198 | <xs:attribute name="buildAction" default="Compile"> | 198 | <xs:attribute name="buildAction" default="Compile"> |
199 | <xs:simpleType> | 199 | <xs:simpleType> |
200 | <xs:restriction base="xs:string"> | 200 | <xs:restriction base="xs:string"> |
201 | <xs:enumeration value="None" /> | 201 | <xs:enumeration value="None" /> |
202 | <xs:enumeration value="Compile" /> | 202 | <xs:enumeration value="Compile" /> |
203 | <xs:enumeration value="Content" /> | 203 | <xs:enumeration value="Content" /> |
204 | <xs:enumeration value="EmbeddedResource" /> | 204 | <xs:enumeration value="EmbeddedResource" /> |
205 | </xs:restriction> | 205 | </xs:restriction> |
206 | </xs:simpleType> | 206 | </xs:simpleType> |
207 | </xs:attribute> | 207 | </xs:attribute> |
208 | </xs:complexType> | 208 | </xs:complexType> |
209 | </xs:element> | 209 | </xs:element> |
210 | </xs:schema> | 210 | </xs:schema> |
211 | 211 | ||
212 | 212 | ||