diff options
Diffstat (limited to '')
32 files changed, 7014 insertions, 0 deletions
diff --git a/Prebuild/src/data/.svn/all-wcprops b/Prebuild/src/data/.svn/all-wcprops new file mode 100644 index 0000000..3af3c24 --- /dev/null +++ b/Prebuild/src/data/.svn/all-wcprops | |||
@@ -0,0 +1,71 @@ | |||
1 | K 25 | ||
2 | svn:wc:ra_dav:version-url | ||
3 | V 50 | ||
4 | /svnroot/dnpb/!svn/ver/316/trunk/Prebuild/src/data | ||
5 | END | ||
6 | dnpb-1.3.xsd | ||
7 | K 25 | ||
8 | svn:wc:ra_dav:version-url | ||
9 | V 62 | ||
10 | /svnroot/dnpb/!svn/ver/96/trunk/Prebuild/src/data/dnpb-1.3.xsd | ||
11 | END | ||
12 | dnpb-1.4.xsd | ||
13 | K 25 | ||
14 | svn:wc:ra_dav:version-url | ||
15 | V 62 | ||
16 | /svnroot/dnpb/!svn/ver/96/trunk/Prebuild/src/data/dnpb-1.4.xsd | ||
17 | END | ||
18 | dnpb-1.5.xsd | ||
19 | K 25 | ||
20 | svn:wc:ra_dav:version-url | ||
21 | V 62 | ||
22 | /svnroot/dnpb/!svn/ver/96/trunk/Prebuild/src/data/dnpb-1.5.xsd | ||
23 | END | ||
24 | prebuild-1.6.xsd | ||
25 | K 25 | ||
26 | svn:wc:ra_dav:version-url | ||
27 | V 66 | ||
28 | /svnroot/dnpb/!svn/ver/96/trunk/Prebuild/src/data/prebuild-1.6.xsd | ||
29 | END | ||
30 | prebuild-1.7.xsd | ||
31 | K 25 | ||
32 | svn:wc:ra_dav:version-url | ||
33 | V 67 | ||
34 | /svnroot/dnpb/!svn/ver/299/trunk/Prebuild/src/data/prebuild-1.7.xsd | ||
35 | END | ||
36 | prebuild-1.8.xsd | ||
37 | K 25 | ||
38 | svn:wc:ra_dav:version-url | ||
39 | V 67 | ||
40 | /svnroot/dnpb/!svn/ver/314/trunk/Prebuild/src/data/prebuild-1.8.xsd | ||
41 | END | ||
42 | autotools.xml | ||
43 | K 25 | ||
44 | svn:wc:ra_dav:version-url | ||
45 | V 64 | ||
46 | /svnroot/dnpb/!svn/ver/256/trunk/Prebuild/src/data/autotools.xml | ||
47 | END | ||
48 | prebuild-1.9.xsd | ||
49 | K 25 | ||
50 | svn:wc:ra_dav:version-url | ||
51 | V 67 | ||
52 | /svnroot/dnpb/!svn/ver/316/trunk/Prebuild/src/data/prebuild-1.9.xsd | ||
53 | END | ||
54 | dnpb-1.0.xsd | ||
55 | K 25 | ||
56 | svn:wc:ra_dav:version-url | ||
57 | V 62 | ||
58 | /svnroot/dnpb/!svn/ver/96/trunk/Prebuild/src/data/dnpb-1.0.xsd | ||
59 | END | ||
60 | dnpb-1.1.xsd | ||
61 | K 25 | ||
62 | svn:wc:ra_dav:version-url | ||
63 | V 62 | ||
64 | /svnroot/dnpb/!svn/ver/96/trunk/Prebuild/src/data/dnpb-1.1.xsd | ||
65 | END | ||
66 | dnpb-1.2.xsd | ||
67 | K 25 | ||
68 | svn:wc:ra_dav:version-url | ||
69 | V 62 | ||
70 | /svnroot/dnpb/!svn/ver/96/trunk/Prebuild/src/data/dnpb-1.2.xsd | ||
71 | END | ||
diff --git a/Prebuild/src/data/.svn/dir-prop-base b/Prebuild/src/data/.svn/dir-prop-base new file mode 100644 index 0000000..29ffe33 --- /dev/null +++ b/Prebuild/src/data/.svn/dir-prop-base | |||
@@ -0,0 +1,6 @@ | |||
1 | K 10 | ||
2 | svn:ignore | ||
3 | V 11 | ||
4 | *.swp | ||
5 | *.xsx | ||
6 | END | ||
diff --git a/Prebuild/src/data/.svn/entries b/Prebuild/src/data/.svn/entries new file mode 100644 index 0000000..935b447 --- /dev/null +++ b/Prebuild/src/data/.svn/entries | |||
@@ -0,0 +1,402 @@ | |||
1 | 10 | ||
2 | |||
3 | dir | ||
4 | 323 | ||
5 | https://dnpb.svn.sourceforge.net/svnroot/dnpb/trunk/Prebuild/src/data | ||
6 | https://dnpb.svn.sourceforge.net/svnroot/dnpb | ||
7 | |||
8 | |||
9 | |||
10 | 2010-05-08T05:43:01.449559Z | ||
11 | 316 | ||
12 | jhurliman | ||
13 | has-props | ||
14 | |||
15 | |||
16 | |||
17 | |||
18 | |||
19 | |||
20 | |||
21 | |||
22 | |||
23 | |||
24 | |||
25 | |||
26 | |||
27 | 3355ff64-970d-0410-bbe8-d0fbd18be4fb | ||
28 | |||
29 | dnpb-1.3.xsd | ||
30 | file | ||
31 | |||
32 | |||
33 | |||
34 | |||
35 | 2010-09-10T22:51:45.000000Z | ||
36 | 636ed9edea90e5104ad1879c96552b91 | ||
37 | 2004-12-29T02:08:06.000000Z | ||
38 | 35 | ||
39 | xeonx | ||
40 | has-props | ||
41 | |||
42 | |||
43 | |||
44 | |||
45 | |||
46 | |||
47 | |||
48 | |||
49 | |||
50 | |||
51 | |||
52 | |||
53 | |||
54 | |||
55 | |||
56 | |||
57 | |||
58 | |||
59 | |||
60 | |||
61 | 7995 | ||
62 | |||
63 | dnpb-1.4.xsd | ||
64 | file | ||
65 | |||
66 | |||
67 | |||
68 | |||
69 | 2010-09-10T22:51:45.000000Z | ||
70 | 3e883fc616c786e3835ba3386ede4269 | ||
71 | 2005-12-23T06:05:38.000000Z | ||
72 | 39 | ||
73 | jendave | ||
74 | has-props | ||
75 | |||
76 | |||
77 | |||
78 | |||
79 | |||
80 | |||
81 | |||
82 | |||
83 | |||
84 | |||
85 | |||
86 | |||
87 | |||
88 | |||
89 | |||
90 | |||
91 | |||
92 | |||
93 | |||
94 | |||
95 | 8197 | ||
96 | |||
97 | dnpb-1.5.xsd | ||
98 | file | ||
99 | |||
100 | |||
101 | |||
102 | |||
103 | 2010-09-10T22:51:45.000000Z | ||
104 | c692bbcd63f10ca4c93da1c19f5b107e | ||
105 | 2006-01-23T23:19:16.000000Z | ||
106 | 55 | ||
107 | jendave | ||
108 | has-props | ||
109 | |||
110 | |||
111 | |||
112 | |||
113 | |||
114 | |||
115 | |||
116 | |||
117 | |||
118 | |||
119 | |||
120 | |||
121 | |||
122 | |||
123 | |||
124 | |||
125 | |||
126 | |||
127 | |||
128 | |||
129 | 8420 | ||
130 | |||
131 | prebuild-1.6.xsd | ||
132 | file | ||
133 | |||
134 | |||
135 | |||
136 | |||
137 | 2010-09-10T22:51:45.000000Z | ||
138 | 61f6e6f13f64ae842b1324cf145934ad | ||
139 | 2006-02-28T18:13:10.884431Z | ||
140 | 95 | ||
141 | jendave | ||
142 | has-props | ||
143 | |||
144 | |||
145 | |||
146 | |||
147 | |||
148 | |||
149 | |||
150 | |||
151 | |||
152 | |||
153 | |||
154 | |||
155 | |||
156 | |||
157 | |||
158 | |||
159 | |||
160 | |||
161 | |||
162 | |||
163 | 9770 | ||
164 | |||
165 | prebuild-1.7.xsd | ||
166 | file | ||
167 | |||
168 | |||
169 | |||
170 | |||
171 | 2010-09-10T22:51:45.000000Z | ||
172 | edf1193fad8922061845cf48cc8eb851 | ||
173 | 2009-02-21T05:36:29.327384Z | ||
174 | 299 | ||
175 | kunnis | ||
176 | |||
177 | |||
178 | |||
179 | |||
180 | |||
181 | |||
182 | |||
183 | |||
184 | |||
185 | |||
186 | |||
187 | |||
188 | |||
189 | |||
190 | |||
191 | |||
192 | |||
193 | |||
194 | |||
195 | |||
196 | |||
197 | 16083 | ||
198 | |||
199 | prebuild-1.8.xsd | ||
200 | file | ||
201 | |||
202 | |||
203 | |||
204 | |||
205 | 2010-09-10T22:51:45.000000Z | ||
206 | 6eb078509319faa7ae4cdc55af184ac1 | ||
207 | 2009-06-06T19:43:44.493200Z | ||
208 | 314 | ||
209 | dmoonfire | ||
210 | |||
211 | |||
212 | |||
213 | |||
214 | |||
215 | |||
216 | |||
217 | |||
218 | |||
219 | |||
220 | |||
221 | |||
222 | |||
223 | |||
224 | |||
225 | |||
226 | |||
227 | |||
228 | |||
229 | |||
230 | |||
231 | 15296 | ||
232 | |||
233 | autotools.xml | ||
234 | file | ||
235 | |||
236 | |||
237 | |||
238 | |||
239 | 2010-09-10T22:51:45.000000Z | ||
240 | e119a174539f100e18d2ee73c5660318 | ||
241 | 2008-02-07T16:31:29.630257Z | ||
242 | 256 | ||
243 | cjcollier | ||
244 | |||
245 | |||
246 | |||
247 | |||
248 | |||
249 | |||
250 | |||
251 | |||
252 | |||
253 | |||
254 | |||
255 | |||
256 | |||
257 | |||
258 | |||
259 | |||
260 | |||
261 | |||
262 | |||
263 | |||
264 | |||
265 | 27653 | ||
266 | |||
267 | prebuild-1.9.xsd | ||
268 | file | ||
269 | |||
270 | |||
271 | |||
272 | |||
273 | 2010-09-10T22:51:45.000000Z | ||
274 | 8988b0f7fc4462d76183a4c0b72121e9 | ||
275 | 2010-05-08T05:43:01.449559Z | ||
276 | 316 | ||
277 | jhurliman | ||
278 | |||
279 | |||
280 | |||
281 | |||
282 | |||
283 | |||
284 | |||
285 | |||
286 | |||
287 | |||
288 | |||
289 | |||
290 | |||
291 | |||
292 | |||
293 | |||
294 | |||
295 | |||
296 | |||
297 | |||
298 | |||
299 | 14622 | ||
300 | |||
301 | dnpb-1.0.xsd | ||
302 | file | ||
303 | |||
304 | |||
305 | |||
306 | |||
307 | 2010-09-10T22:51:45.000000Z | ||
308 | 080c1e8ce73ec5aff528c2a62b355c38 | ||
309 | 2004-04-19T07:06:45.000000Z | ||
310 | 17 | ||
311 | calefaction | ||
312 | has-props | ||
313 | |||
314 | |||
315 | |||
316 | |||
317 | |||
318 | |||
319 | |||
320 | |||
321 | |||
322 | |||
323 | |||
324 | |||
325 | |||
326 | |||
327 | |||
328 | |||
329 | |||
330 | |||
331 | |||
332 | |||
333 | 6878 | ||
334 | |||
335 | dnpb-1.1.xsd | ||
336 | file | ||
337 | |||
338 | |||
339 | |||
340 | |||
341 | 2010-09-10T22:51:45.000000Z | ||
342 | b00a1d973849b76554afb17f8a21978c | ||
343 | 2004-04-22T00:51:14.000000Z | ||
344 | 18 | ||
345 | calefaction | ||
346 | has-props | ||
347 | |||
348 | |||
349 | |||
350 | |||
351 | |||
352 | |||
353 | |||
354 | |||
355 | |||
356 | |||
357 | |||
358 | |||
359 | |||
360 | |||
361 | |||
362 | |||
363 | |||
364 | |||
365 | |||
366 | |||
367 | 6883 | ||
368 | |||
369 | dnpb-1.2.xsd | ||
370 | file | ||
371 | |||
372 | |||
373 | |||
374 | |||
375 | 2010-09-10T22:51:45.000000Z | ||
376 | 7ebd6286a2df12ef5e21e835342b1daa | ||
377 | 2004-09-15T19:40:37.000000Z | ||
378 | 29 | ||
379 | calefaction | ||
380 | has-props | ||
381 | |||
382 | |||
383 | |||
384 | |||
385 | |||
386 | |||
387 | |||
388 | |||
389 | |||
390 | |||
391 | |||
392 | |||
393 | |||
394 | |||
395 | |||
396 | |||
397 | |||
398 | |||
399 | |||
400 | |||
401 | 7639 | ||
402 | |||
diff --git a/Prebuild/src/data/.svn/prop-base/dnpb-1.0.xsd.svn-base b/Prebuild/src/data/.svn/prop-base/dnpb-1.0.xsd.svn-base new file mode 100644 index 0000000..7b57b30 --- /dev/null +++ b/Prebuild/src/data/.svn/prop-base/dnpb-1.0.xsd.svn-base | |||
@@ -0,0 +1,9 @@ | |||
1 | K 13 | ||
2 | svn:eol-style | ||
3 | V 6 | ||
4 | native | ||
5 | K 12 | ||
6 | svn:keywords | ||
7 | V 23 | ||
8 | Author Date Id Revision | ||
9 | END | ||
diff --git a/Prebuild/src/data/.svn/prop-base/dnpb-1.1.xsd.svn-base b/Prebuild/src/data/.svn/prop-base/dnpb-1.1.xsd.svn-base new file mode 100644 index 0000000..7b57b30 --- /dev/null +++ b/Prebuild/src/data/.svn/prop-base/dnpb-1.1.xsd.svn-base | |||
@@ -0,0 +1,9 @@ | |||
1 | K 13 | ||
2 | svn:eol-style | ||
3 | V 6 | ||
4 | native | ||
5 | K 12 | ||
6 | svn:keywords | ||
7 | V 23 | ||
8 | Author Date Id Revision | ||
9 | END | ||
diff --git a/Prebuild/src/data/.svn/prop-base/dnpb-1.2.xsd.svn-base b/Prebuild/src/data/.svn/prop-base/dnpb-1.2.xsd.svn-base new file mode 100644 index 0000000..7b57b30 --- /dev/null +++ b/Prebuild/src/data/.svn/prop-base/dnpb-1.2.xsd.svn-base | |||
@@ -0,0 +1,9 @@ | |||
1 | K 13 | ||
2 | svn:eol-style | ||
3 | V 6 | ||
4 | native | ||
5 | K 12 | ||
6 | svn:keywords | ||
7 | V 23 | ||
8 | Author Date Id Revision | ||
9 | END | ||
diff --git a/Prebuild/src/data/.svn/prop-base/dnpb-1.3.xsd.svn-base b/Prebuild/src/data/.svn/prop-base/dnpb-1.3.xsd.svn-base new file mode 100644 index 0000000..7b57b30 --- /dev/null +++ b/Prebuild/src/data/.svn/prop-base/dnpb-1.3.xsd.svn-base | |||
@@ -0,0 +1,9 @@ | |||
1 | K 13 | ||
2 | svn:eol-style | ||
3 | V 6 | ||
4 | native | ||
5 | K 12 | ||
6 | svn:keywords | ||
7 | V 23 | ||
8 | Author Date Id Revision | ||
9 | END | ||
diff --git a/Prebuild/src/data/.svn/prop-base/dnpb-1.4.xsd.svn-base b/Prebuild/src/data/.svn/prop-base/dnpb-1.4.xsd.svn-base new file mode 100644 index 0000000..7b57b30 --- /dev/null +++ b/Prebuild/src/data/.svn/prop-base/dnpb-1.4.xsd.svn-base | |||
@@ -0,0 +1,9 @@ | |||
1 | K 13 | ||
2 | svn:eol-style | ||
3 | V 6 | ||
4 | native | ||
5 | K 12 | ||
6 | svn:keywords | ||
7 | V 23 | ||
8 | Author Date Id Revision | ||
9 | END | ||
diff --git a/Prebuild/src/data/.svn/prop-base/dnpb-1.5.xsd.svn-base b/Prebuild/src/data/.svn/prop-base/dnpb-1.5.xsd.svn-base new file mode 100644 index 0000000..7b57b30 --- /dev/null +++ b/Prebuild/src/data/.svn/prop-base/dnpb-1.5.xsd.svn-base | |||
@@ -0,0 +1,9 @@ | |||
1 | K 13 | ||
2 | svn:eol-style | ||
3 | V 6 | ||
4 | native | ||
5 | K 12 | ||
6 | svn:keywords | ||
7 | V 23 | ||
8 | Author Date Id Revision | ||
9 | END | ||
diff --git a/Prebuild/src/data/.svn/prop-base/prebuild-1.6.xsd.svn-base b/Prebuild/src/data/.svn/prop-base/prebuild-1.6.xsd.svn-base new file mode 100644 index 0000000..7b57b30 --- /dev/null +++ b/Prebuild/src/data/.svn/prop-base/prebuild-1.6.xsd.svn-base | |||
@@ -0,0 +1,9 @@ | |||
1 | K 13 | ||
2 | svn:eol-style | ||
3 | V 6 | ||
4 | native | ||
5 | K 12 | ||
6 | svn:keywords | ||
7 | V 23 | ||
8 | Author Date Id Revision | ||
9 | END | ||
diff --git a/Prebuild/src/data/.svn/text-base/autotools.xml.svn-base b/Prebuild/src/data/.svn/text-base/autotools.xml.svn-base new file mode 100644 index 0000000..ee4b064 --- /dev/null +++ b/Prebuild/src/data/.svn/text-base/autotools.xml.svn-base | |||
@@ -0,0 +1,790 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" ?> | ||
2 | <Autotools> | ||
3 | <ProjectAutogenSh> | ||
4 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
5 | xmlns:dnpb="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" | ||
6 | exclude-result-prefixes="dnpb" | ||
7 | > | ||
8 | <xsl:template match="/"><xsl:text disable-output-escaping="yes">#!/bin/sh | ||
9 | # Run this to generate all the initial makefiles, etc. | ||
10 | # Ripped off from Mono, which ripped off from GNOME macros version | ||
11 | |||
12 | DIE=0 | ||
13 | |||
14 | srcdir=`dirname $0` | ||
15 | test -z "$srcdir" && srcdir=. | ||
16 | |||
17 | if [ -n "$MONO_PATH" ]; then | ||
18 | # from -> /mono/lib:/another/mono/lib | ||
19 | # to -> /mono /another/mono | ||
20 | for i in `echo ${MONO_PATH} | tr ":" " "`; do | ||
21 | i=`dirname ${i}` | ||
22 | if [ -n "{i}" -a -d "${i}/share/aclocal" ]; then | ||
23 | ACLOCAL_FLAGS="-I ${i}/share/aclocal $ACLOCAL_FLAGS" | ||
24 | fi | ||
25 | if [ -n "{i}" -a -d "${i}/bin" ]; then | ||
26 | PATH="${i}/bin:$PATH" | ||
27 | fi | ||
28 | done | ||
29 | export PATH | ||
30 | fi | ||
31 | |||
32 | (autoconf --version) < /dev/null > /dev/null 2>&1 || { | ||
33 | echo | ||
34 | echo "**Error**: You must have \`autoconf' installed to compile Mono." | ||
35 | echo "Download the appropriate package for your distribution," | ||
36 | echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" | ||
37 | DIE=1 | ||
38 | } | ||
39 | |||
40 | if [ -z "$LIBTOOL" ]; then | ||
41 | LIBTOOL=`which glibtool 2>/dev/null` | ||
42 | if [ ! -x "$LIBTOOL" ]; then | ||
43 | LIBTOOL=`which libtool` | ||
44 | fi | ||
45 | fi | ||
46 | |||
47 | (grep "^AM_PROG_LIBTOOL" $srcdir/configure.ac >/dev/null) && { | ||
48 | ($LIBTOOL --version) < /dev/null > /dev/null 2>&1 || { | ||
49 | echo | ||
50 | echo "**Error**: You must have \`libtool' installed to compile Mono." | ||
51 | echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz" | ||
52 | echo "(or a newer version if it is available)" | ||
53 | DIE=1 | ||
54 | } | ||
55 | } | ||
56 | |||
57 | grep "^AM_GNU_GETTEXT" $srcdir/configure.ac >/dev/null && { | ||
58 | grep "sed.*POTFILES" $srcdir/configure.ac >/dev/null || \ | ||
59 | (gettext --version) < /dev/null > /dev/null 2>&1 || { | ||
60 | echo | ||
61 | echo "**Error**: You must have \`gettext' installed to compile Mono." | ||
62 | echo "Get ftp://alpha.gnu.org/gnu/gettext-0.10.35.tar.gz" | ||
63 | echo "(or a newer version if it is available)" | ||
64 | DIE=1 | ||
65 | } | ||
66 | } | ||
67 | |||
68 | (automake --version) < /dev/null > /dev/null 2>&1 || { | ||
69 | echo | ||
70 | echo "**Error**: You must have \`automake' installed to compile Mono." | ||
71 | echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz" | ||
72 | echo "(or a newer version if it is available)" | ||
73 | DIE=1 | ||
74 | NO_AUTOMAKE=yes | ||
75 | } | ||
76 | |||
77 | # if no automake, don't bother testing for aclocal | ||
78 | test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || { | ||
79 | echo | ||
80 | echo "**Error**: Missing \`aclocal'. The version of \`automake'" | ||
81 | echo "installed doesn't appear recent enough." | ||
82 | echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz" | ||
83 | echo "(or a newer version if it is available)" | ||
84 | DIE=1 | ||
85 | } | ||
86 | |||
87 | if test "$DIE" -eq 1; then | ||
88 | exit 1 | ||
89 | fi | ||
90 | |||
91 | if test -z "$NOCONFIGURE"; then | ||
92 | |||
93 | if test -z "$*"; then | ||
94 | echo "**Warning**: I am going to run \`configure' with no arguments." | ||
95 | echo "If you wish to pass any to it, please specify them on the" | ||
96 | echo \`$0\'" command line." | ||
97 | echo | ||
98 | fi | ||
99 | |||
100 | fi | ||
101 | |||
102 | case $CC in | ||
103 | xlc ) | ||
104 | am_opt=--include-deps;; | ||
105 | esac | ||
106 | |||
107 | |||
108 | if grep "^AM_PROG_LIBTOOL" configure.ac >/dev/null; then | ||
109 | if test -z "$NO_LIBTOOLIZE" ; then | ||
110 | echo "Running libtoolize..." | ||
111 | ${LIBTOOL}ize --force --copy | ||
112 | fi | ||
113 | fi | ||
114 | |||
115 | echo "Running aclocal $ACLOCAL_FLAGS ..." | ||
116 | aclocal $ACLOCAL_FLAGS || { | ||
117 | echo | ||
118 | echo "**Error**: aclocal failed. This may mean that you have not" | ||
119 | echo "installed all of the packages you need, or you may need to" | ||
120 | echo "set ACLOCAL_FLAGS to include \"-I \$prefix/share/aclocal\"" | ||
121 | echo "for the prefix where you installed the packages whose" | ||
122 | echo "macros were not found" | ||
123 | exit 1 | ||
124 | } | ||
125 | |||
126 | if grep "^AM_CONFIG_HEADER" configure.ac >/dev/null; then | ||
127 | echo "Running autoheader..." | ||
128 | autoheader || { echo "**Error**: autoheader failed."; exit 1; } | ||
129 | fi | ||
130 | |||
131 | echo "Running automake --gnu $am_opt ..." | ||
132 | automake --add-missing --gnu $am_opt || | ||
133 | { echo "**Error**: automake failed."; exit 1; } | ||
134 | echo "Running autoconf ..." | ||
135 | autoconf || { echo "**Error**: autoconf failed."; exit 1; } | ||
136 | |||
137 | conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c | ||
138 | |||
139 | if test x$NOCONFIGURE = x; then | ||
140 | echo Running $srcdir/configure $conf_flags "$@" ... | ||
141 | $srcdir/configure $conf_flags "$@" \ | ||
142 | && echo Now type \`make\' to compile $PKG_NAME || exit 1 | ||
143 | else | ||
144 | echo Skipping configure process. | ||
145 | fi | ||
146 | </xsl:text> | ||
147 | </xsl:template> | ||
148 | </xsl:stylesheet> | ||
149 | </ProjectAutogenSh> | ||
150 | |||
151 | <ProjectConfigureAc> | ||
152 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
153 | xmlns:dnpb="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" | ||
154 | exclude-result-prefixes="dnpb" | ||
155 | xml:space="preserve" | ||
156 | > | ||
157 | <!-- Removes the xml version header in the generated file --> | ||
158 | <xsl:output method="text"/> | ||
159 | <xsl:param name="solutionName" /> | ||
160 | <xsl:param name="projectName" /> | ||
161 | <xsl:param name="projectVersion" /> | ||
162 | <xsl:param name="assemblyName" /> | ||
163 | <xsl:variable name="lcProjectName"><xsl:value-of select="translate($projectName, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')"/></xsl:variable> | ||
164 | <xsl:template match="/"> | ||
165 | <xsl:for-each select="//dnpb:Solution[@name=$solutionName]/dnpb:Project[@name=$projectName]" | ||
166 | >AC_INIT([<xsl:value-of select="$projectName" />],[<xsl:value-of select="$projectVersion" />]) | ||
167 | |||
168 | AC_PREREQ(2.60) | ||
169 | AC_CANONICAL_SYSTEM | ||
170 | AC_CONFIG_AUX_DIR(.) | ||
171 | AM_INIT_AUTOMAKE([1.9 tar-ustar foreign]) | ||
172 | AM_MAINTAINER_MODE | ||
173 | dnl AC_PROG_INTLTOOL([0.25]) | ||
174 | AC_PROG_INSTALL | ||
175 | |||
176 | ASSEMBLY_NAME=<xsl:value-of select="$assemblyName" /> | ||
177 | PROJECT_NAME=<xsl:value-of select="$projectName" /> | ||
178 | PROJECT_VERSION=$VERSION | ||
179 | PROJECT_DESCRIPTION="<xsl:value-of select="dnpb:Description/text()" />" | ||
180 | PROJECT_TYPE="<xsl:value-of select="@type" />" | ||
181 | |||
182 | AC_SUBST(ASSEMBLY_NAME) | ||
183 | AC_SUBST(PROJECT_NAME) | ||
184 | AC_SUBST(PROJECT_VERSION) | ||
185 | AC_SUBST(DESCRIPTION) | ||
186 | |||
187 | AC_MSG_CHECKING([assembly type]) | ||
188 | case $PROJECT_TYPE in | ||
189 | *Exe) | ||
190 | ASSEMBLY_EXTENSION=exe | ||
191 | ;; | ||
192 | *Library) | ||
193 | ASSEMBLY_EXTENSION=dll | ||
194 | ;; | ||
195 | *) | ||
196 | AC_MSG_ERROR([*** Please add support for project type $PROJECT_TYPE to configure.ac checks!]) | ||
197 | ;; | ||
198 | esac | ||
199 | AC_MSG_RESULT([$PROJECT_TYPE]) | ||
200 | |||
201 | AC_SUBST(ASSEMBLY_EXTENSION) | ||
202 | |||
203 | AC_MSG_CHECKING([whether we're compiling from an RCS]) | ||
204 | if test -f "$srcdir/.cvs_version" ; then | ||
205 | from_rcs=cvs | ||
206 | else | ||
207 | if test -f "$srcdir/.svn/entries" ; then | ||
208 | from_rcs=svn | ||
209 | else | ||
210 | from_rcs=no | ||
211 | fi | ||
212 | fi | ||
213 | |||
214 | AC_MSG_RESULT($from_rcs) | ||
215 | |||
216 | MONO_REQUIRED_VERSION=1.1 | ||
217 | <xsl:text disable-output-escaping="yes"> | ||
218 | PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= $MONO_REQUIRED_VERSION, has_mono=true, has_mono=false) | ||
219 | </xsl:text> | ||
220 | if test "x$has_mono" = "xtrue"; then | ||
221 | AC_PATH_PROG(RUNTIME, mono, no) | ||
222 | AC_PATH_PROG(CSC, gmcs, no) | ||
223 | AC_PATH_PROG(RESGEN, resgen2, no) | ||
224 | if test `uname -s` = "Darwin"; then | ||
225 | LIB_PREFIX= | ||
226 | LIB_SUFFIX=.dylib | ||
227 | else | ||
228 | LIB_PREFIX=.so | ||
229 | LIB_SUFFIX= | ||
230 | fi | ||
231 | else | ||
232 | AC_PATH_PROG(CSC, csc.exe, no) | ||
233 | if test x$CSC = "xno"; then | ||
234 | AC_MSG_ERROR([You need to install either mono or .Net]) | ||
235 | else | ||
236 | RUNTIME= | ||
237 | LIB_PREFIX= | ||
238 | LIB_SUFFIX= | ||
239 | fi | ||
240 | fi | ||
241 | |||
242 | AC_PATH_PROG(GACUTIL, gacutil) | ||
243 | if test "x$GACUTIL" = "xno" ; then | ||
244 | AC_MSG_ERROR([No gacutil tool found]) | ||
245 | fi | ||
246 | |||
247 | GACUTIL_FLAGS='/package <xsl:value-of select="$assemblyName" /> /gacdir $(DESTDIR)$(prefix)/lib' | ||
248 | AC_SUBST(GACUTIL_FLAGS) | ||
249 | |||
250 | AC_SUBST(PATH) | ||
251 | AC_SUBST(LD_LIBRARY_PATH) | ||
252 | |||
253 | AC_SUBST(LIB_PREFIX) | ||
254 | AC_SUBST(LIB_SUFFIX) | ||
255 | AC_SUBST(RUNTIME) | ||
256 | AC_SUBST(CSC) | ||
257 | AC_SUBST(RESGEN) | ||
258 | AC_SUBST(GACUTIL) | ||
259 | |||
260 | AC_SUBST(BASE_DEPENDENCIES_CFLAGS) | ||
261 | AC_SUBST(BASE_DEPENDENCIES_LIBS) | ||
262 | |||
263 | dnl Find monodoc | ||
264 | MONODOC_REQUIRED_VERSION=1.0 | ||
265 | AC_SUBST(MONODOC_REQUIRED_VERSION) | ||
266 | <xsl:text disable-output-escaping="yes"> | ||
267 | PKG_CHECK_MODULES(MONODOC_DEPENDENCY, monodoc >= $MONODOC_REQUIRED_VERSION, enable_monodoc=yes, enable_monodoc=no) | ||
268 | </xsl:text> | ||
269 | if test "x$enable_monodoc" = "xyes"; then | ||
270 | AC_PATH_PROG(MONODOC, monodoc, no) | ||
271 | if test x$MONODOC = xno; then | ||
272 | enable_monodoc=no | ||
273 | fi | ||
274 | else | ||
275 | MONODOC= | ||
276 | fi | ||
277 | |||
278 | AC_SUBST(MONODOC) | ||
279 | AM_CONDITIONAL(ENABLE_MONODOC, test "x$enable_monodoc" = "xyes") | ||
280 | |||
281 | winbuild=no | ||
282 | case "$host" in | ||
283 | *-*-mingw*|*-*-cygwin*) | ||
284 | winbuild=yes | ||
285 | ;; | ||
286 | esac | ||
287 | AM_CONDITIONAL(WINBUILD, test x$winbuild = xyes) | ||
288 | |||
289 | <xsl:if test="@type='Exe' or @type='WinExe'">AC_CONFIG_FILES(<xsl:value-of select="$lcProjectName" />)</xsl:if> | ||
290 | <xsl:if test="@type='Library'">AC_CONFIG_FILES(<xsl:value-of select="$projectName" />.pc)</xsl:if> | ||
291 | |||
292 | AC_CONFIG_FILES(Makefile) | ||
293 | AC_OUTPUT | ||
294 | |||
295 | echo "===" | ||
296 | echo "" | ||
297 | echo "Project configuration summary" | ||
298 | echo "" | ||
299 | echo " * Installation prefix: $prefix" | ||
300 | echo " * compiler: $CSC" | ||
301 | echo " * Documentation: $enable_monodoc ($MONODOC)" | ||
302 | echo " * Project Name: $PROJECT_NAME" | ||
303 | echo " * Version: $PROJECT_VERSION" | ||
304 | echo "" | ||
305 | echo "===" | ||
306 | |||
307 | </xsl:for-each> | ||
308 | </xsl:template> | ||
309 | </xsl:stylesheet> | ||
310 | </ProjectConfigureAc> | ||
311 | |||
312 | <ProjectMakefileAm> | ||
313 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
314 | xmlns:dnpb="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" | ||
315 | exclude-result-prefixes="dnpb" | ||
316 | xml:space="preserve" | ||
317 | > | ||
318 | <xsl:param name="projectName" /> | ||
319 | <xsl:param name="solutionName" /> | ||
320 | <xsl:param name="assemblyName" /> | ||
321 | <xsl:variable name="lcProjectName"><xsl:value-of select="translate($projectName, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')"/></xsl:variable> | ||
322 | <xsl:param name="embeddedFiles" /> | ||
323 | <xsl:param name="compiledFiles" /> | ||
324 | <xsl:param name="contentFiles" /> | ||
325 | <xsl:param name="extraDistFiles" /> | ||
326 | <xsl:param name="pkgLibs" /> | ||
327 | <xsl:param name="binaryLibs" /> | ||
328 | <xsl:param name="systemLibs" /> | ||
329 | <xsl:param name="localCopyTargets" /> | ||
330 | <xsl:param name="hasAssemblyConfig" /> | ||
331 | |||
332 | <xsl:template match="/"> | ||
333 | <xsl:for-each select="//dnpb:Solution[@name=$solutionName]/dnpb:Project[@name=$projectName]"> | ||
334 | <xsl:variable name="lcType"><xsl:value-of select="translate(@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')" /></xsl:variable> | ||
335 | |||
336 | ASSEMBLY=$(ASSEMBLY_NAME).$(ASSEMBLY_EXTENSION) | ||
337 | <!-- | ||
338 | If the project is an application, create targets for the wrapper script | ||
339 | --> | ||
340 | <xsl:if test="@type='Exe' or @type='WinExe'"> | ||
341 | <xsl:value-of select="$lcProjectName" />dir = $(prefix)/lib/<xsl:value-of select="$lcProjectName" /> | ||
342 | <xsl:value-of select="$lcProjectName" />_DATA = $(ASSEMBLY)<xsl:if test="$hasAssemblyConfig='true'"> $(ASSEMBLY).config</xsl:if> | ||
343 | |||
344 | bin_SCRIPTS=<xsl:value-of select="$lcProjectName" /> | ||
345 | </xsl:if><xsl:if test="@type='Library'"> | ||
346 | pkgconfigdir = $(prefix)/lib/pkgconfig | ||
347 | pkgconfig_DATA = <xsl:value-of select="$projectName" />.pc | ||
348 | <xsl:if test="$hasAssemblyConfig='true'"> | ||
349 | <xsl:value-of select="translate($lcProjectName, '.', '_')" />dir = $(prefix)/lib/mono/<xsl:value-of select="$projectName" /> | ||
350 | <xsl:value-of select="translate($lcProjectName, '.', '_')" />_DATA = $(ASSEMBLY).config | ||
351 | </xsl:if> | ||
352 | noinst_DATA = $(ASSEMBLY) | ||
353 | </xsl:if> | ||
354 | |||
355 | PACKAGES =<xsl:value-of select="$pkgLibs" /> | ||
356 | BINARY_LIBS =<xsl:value-of select="$binaryLibs" /> | ||
357 | SYSTEM_LIBS =<xsl:value-of select="$systemLibs" /> | ||
358 | RESOURCES_SRC =<xsl:value-of select="$embeddedFiles" /> | ||
359 | RESOURCES = $(RESOURCES_SRC:.resx=.resources) | ||
360 | SOURCES =<xsl:value-of select="$compiledFiles" /> | ||
361 | |||
362 | EXTRA_DIST=$(SOURCES) $(BINARY_LIBS) $(RESOURCES_SRC) install-sh missing <xsl:value-of select="$extraDistFiles" /> | ||
363 | |||
364 | CLEANFILES=$(ASSEMBLY) | ||
365 | |||
366 | <xsl:value-of select="$localCopyTargets" /> | ||
367 | |||
368 | <xsl:for-each select="//dnpb:Solution[@name=$solutionName]/dnpb:Project[@name=$projectName]/dnpb:Configuration"> | ||
369 | <xsl:variable name="outputPath"><xsl:value-of select="dnpb:Options/dnpb:OutputPath/text()" /></xsl:variable> | ||
370 | <xsl:variable name="keyFile"><xsl:value-of select="dnpb:Options/dnpb:KeyFile/text()" /></xsl:variable> | ||
371 | <xsl:variable name="docFile"><xsl:value-of select="dnpb:Options/dnpb:XmlDocFile/text()" /></xsl:variable> | ||
372 | <xsl:value-of select="$outputPath"/>/$(ASSEMBLY): $(srcdir)/$(ASSEMBLY).response $(RESOURCES) $(SOURCES) $(BINARY_LIBS) <xsl:call-template name="substring-after-last-mod"><xsl:with-param name="input" select="$keyFile" /><xsl:with-param name="substr" select="'/'" /></xsl:call-template> | ||
373 | <xsl:if test="$docFile!=''">mkdir -p doc <xsl:text disable-output-escaping="yes">&&</xsl:text> </xsl:if>mkdir -p <xsl:value-of select="$outputPath" /> <xsl:text disable-output-escaping="yes">&&</xsl:text> $(CSC) /out:$@ \ | ||
374 | /target:<xsl:value-of select="$lcType" /> \<xsl:if test="$embeddedFiles!=''"> | ||
375 | $(addprefix /resource:$(srcdir)/, $(RESOURCES)) \</xsl:if><xsl:if test="$pkgLibs!=''"> | ||
376 | $(addprefix /pkg:, $(PACKAGES)) \</xsl:if><xsl:if test="$systemLibs!=''"> | ||
377 | $(addprefix /r:, $(SYSTEM_LIBS)) \</xsl:if><xsl:if test="$binaryLibs!=''"> | ||
378 | $(addprefix /r:$(srcdir)/, $(BINARY_LIBS)) \</xsl:if> | ||
379 | @$(srcdir)/$(ASSEMBLY).response \<xsl:if test="$docFile!=''"> | ||
380 | /doc:doc/<xsl:value-of select="$docFile" /> \</xsl:if><xsl:if test="$keyFile!=''"> | ||
381 | /keyfile:$(srcdir)/<xsl:call-template name="substring-after-last-mod"><xsl:with-param name="input" select="$keyFile" /><xsl:with-param name="substr" select="'/'" /></xsl:call-template> \</xsl:if><xsl:if test="dnpb:Options/dnpb:AllowUnsafe/text()='true'"> | ||
382 | /unsafe \</xsl:if><xsl:text disable-output-escaping="yes"> | ||
383 | && rm -f $(ASSEMBLY) \ | ||
384 | && ln $@ $(ASSEMBLY)</xsl:text> | ||
385 | |||
386 | CLEANFILES+=<xsl:value-of select="$outputPath"/>/$(ASSEMBLY) | ||
387 | |||
388 | <!-- if this project config has a KeyFile --> | ||
389 | <xsl:if test="$keyFile!=''">EXTRA_DIST+=<xsl:call-template name="substring-after-last-mod"><xsl:with-param name="input" select="$keyFile" /><xsl:with-param name="substr" select="'/'" /></xsl:call-template></xsl:if> | ||
390 | |||
391 | <xsl:value-of select="@name" />: <xsl:value-of select="$outputPath"/>/$(ASSEMBLY)<xsl:text disable-output-escaping="yes"> | ||
392 | rm -f $(ASSEMBLY) \ | ||
393 | &&</xsl:text> ln <xsl:value-of select="$outputPath"/>/$(ASSEMBLY) $(ASSEMBLY) | ||
394 | <!-- If the project is a library, create library-specific targets --> | ||
395 | <xsl:if test="//dnpb:Solution[@name=$solutionName]/dnpb:Project[@name=$projectName]/@type='Library'"> | ||
396 | <xsl:choose> | ||
397 | <!-- | ||
398 | If the project has a keyfile, make a gac install/uninstall target | ||
399 | --> | ||
400 | <xsl:when test="dnpb:Options/dnpb:KeyFile/text()!=''"> | ||
401 | <xsl:value-of select="@name" />_install-data-local: <xsl:value-of select="$outputPath"/>/$(ASSEMBLY) | ||
402 | echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ | ||
403 | $(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; | ||
404 | |||
405 | <xsl:value-of select="@name" />_uninstall-local: | ||
406 | if [`gacutil -l <xsl:value-of select="$projectName" /> | grep "Number" | awk -F= '{print $$2}'` -gt "0" ] ; \ | ||
407 | then \ | ||
408 | echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ | ||
409 | $(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ | ||
410 | fi | ||
411 | </xsl:when> | ||
412 | <!-- | ||
413 | If there is no keyfile for the project, define a filesystem | ||
414 | install target | ||
415 | --> | ||
416 | <xsl:otherwise> | ||
417 | noinst_<xsl:value-of select="@name" />_<xsl:value-of select="translate($lcProjectName, '.', '_')" />dir = $(prefix)/lib/mono/<xsl:value-of select="$projectName" /> | ||
418 | noinst_<xsl:value-of select="@name" />_<xsl:value-of select="translate($lcProjectName, '.', '_')" />_DATA = <xsl:value-of select="$outputPath"/>/$(ASSEMBLY) | ||
419 | </xsl:otherwise> | ||
420 | </xsl:choose> | ||
421 | </xsl:if> | ||
422 | </xsl:for-each> | ||
423 | |||
424 | <xsl:variable name="defaultConfig"><xsl:value-of select="//dnpb:Solution[@name=$solutionName]/dnpb:Project[@name=$projectName]/dnpb:Configuration/@name" /></xsl:variable> | ||
425 | $(ASSEMBLY): <xsl:value-of select="$defaultConfig" /> | ||
426 | |||
427 | <xsl:text disable-output-escaping="yes"> | ||
428 | $(srcdir)/$(ASSEMBLY).response: $(srcdir)/Makefile | ||
429 | echo "$(addprefix $(srcdir)/, $(SOURCES))" > $@ | ||
430 | </xsl:text> | ||
431 | |||
432 | all: $(ASSEMBLY) | ||
433 | |||
434 | # rule to compile .resx files to .resources | ||
435 | %.resources: %.resx | ||
436 | $(RESGEN) /useSourcePath /compile $(@:.resources=.resx) | ||
437 | |||
438 | <xsl:if test="@type='Library'"> | ||
439 | <!-- if the default config has a KeyFile --> | ||
440 | <xsl:choose> | ||
441 | <xsl:when test="//dnpb:Solution[@name=$solutionName]/dnpb:Project[@name=$projectName]/dnpb:Configuration[@name=$defaultConfig]/dnpb:Options/dnpb:KeyFile/text()!=''"> | ||
442 | install-data-local: <xsl:value-of select="$defaultConfig" />_install-data-local | ||
443 | |||
444 | uninstall-local: <xsl:value-of select="$defaultConfig" />_uninstall-local | ||
445 | </xsl:when> | ||
446 | <!-- | ||
447 | If the default config does not have a KeyFile, don't really do | ||
448 | anything | ||
449 | --> | ||
450 | <xsl:otherwise> | ||
451 | #<xsl:value-of select="translate($lcProjectName, '.', '_')" />dir+=$(noinst_<xsl:value-of select="$defaultConfig" />_<xsl:value-of select="translate($lcProjectName, '.', '_')" />dir) | ||
452 | #<xsl:value-of select="translate($lcProjectName, '.', '_')" />_DATA+=$(noinst_<xsl:value-of select="$defaultConfig" />_<xsl:value-of select="translate($lcProjectName, '.', '_')" />_DATA) | ||
453 | </xsl:otherwise> | ||
454 | </xsl:choose> | ||
455 | </xsl:if> | ||
456 | </xsl:for-each> | ||
457 | </xsl:template> | ||
458 | |||
459 | <xsl:template name="substring-after-last" xml:space="default"> | ||
460 | <xsl:param name="input" /> | ||
461 | <xsl:param name="substr" /> | ||
462 | |||
463 | <!-- Extract the string which comes after the first occurence --> | ||
464 | <xsl:variable name="temp" select="substring-after($input,$substr)" /> | ||
465 | |||
466 | <xsl:choose> | ||
467 | <!-- If it still contains the search string then recursively process --> | ||
468 | <xsl:when test="$substr and contains($temp,$substr)"> | ||
469 | <xsl:call-template name="substring-after-last"> | ||
470 | <xsl:with-param name="input" select="$temp" /> | ||
471 | <xsl:with-param name="substr" select="$substr" /> | ||
472 | </xsl:call-template> | ||
473 | </xsl:when> | ||
474 | <xsl:otherwise> | ||
475 | <xsl:value-of select="$temp" /> | ||
476 | </xsl:otherwise> | ||
477 | </xsl:choose> | ||
478 | </xsl:template> | ||
479 | |||
480 | <xsl:template name="substring-after-last-mod" xml:space="default"> | ||
481 | <xsl:param name="input" /> | ||
482 | <xsl:param name="substr" /> | ||
483 | |||
484 | <xsl:choose> | ||
485 | <xsl:when test="contains($input,$substr)"> | ||
486 | <xsl:call-template name="substring-after-last"> | ||
487 | <xsl:with-param name="input" select="$input" /> | ||
488 | <xsl:with-param name="substr" select="$substr" /> | ||
489 | </xsl:call-template> | ||
490 | </xsl:when> | ||
491 | <xsl:otherwise> | ||
492 | <xsl:value-of select="$input" /> | ||
493 | </xsl:otherwise> | ||
494 | </xsl:choose> | ||
495 | </xsl:template> | ||
496 | </xsl:stylesheet> | ||
497 | </ProjectMakefileAm> | ||
498 | |||
499 | <ProjectPcIn> | ||
500 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
501 | xmlns:dnpb="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" | ||
502 | exclude-result-prefixes="dnpb" | ||
503 | xml:space="preserve" | ||
504 | > | ||
505 | <!-- Removes the xml version header in the generated file --> | ||
506 | <xsl:output method="text"/> | ||
507 | <xsl:param name="projectName" /> | ||
508 | <xsl:param name="solutionName" /> | ||
509 | <xsl:variable name="lcProjectName"><xsl:value-of select="translate($projectName, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')"/></xsl:variable> | ||
510 | <xsl:template match="/"><xsl:for-each select="//dnpb:Solution[@name=$solutionName]/dnpb:Project[@name=$projectName]">prefix=@prefix@ | ||
511 | exec_prefix=${prefix} | ||
512 | libdir=${exec_prefix}/lib/mono/@PROJECT_NAME@ | ||
513 | |||
514 | Name: <xsl:value-of select="@name" /> | ||
515 | Description: <xsl:value-of select="Description/text()" /> | ||
516 | Version: @PROJECT_VERSION@ | ||
517 | Requires:<xsl:for-each select="Reference"><xsl:if test="@localCopy=false"><xsl:text disable-output-escaping="yes"> </xsl:text><xsl:value-of select="@name" /></xsl:if></xsl:for-each> | ||
518 | Libs: -r:${libdir}/@PROJECT_NAME@.dll | ||
519 | |||
520 | </xsl:for-each> | ||
521 | |||
522 | </xsl:template> | ||
523 | </xsl:stylesheet> | ||
524 | </ProjectPcIn> | ||
525 | |||
526 | <SolutionAutogenSh> | ||
527 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
528 | xmlns:dnpb="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" | ||
529 | exclude-result-prefixes="dnpb" | ||
530 | > | ||
531 | <xsl:param name="solutionName" /> | ||
532 | <xsl:template match="/"><xsl:text disable-output-escaping="yes">#!/bin/sh | ||
533 | # Run this to generate all the initial makefiles, etc. | ||
534 | # Ripped off from Mono, which ripped off from GNOME macros version | ||
535 | |||
536 | DIE=0 | ||
537 | |||
538 | srcdir=`dirname $0` | ||
539 | test -z "$srcdir" && srcdir=. | ||
540 | |||
541 | if [ -n "$MONO_PATH" ]; then | ||
542 | # from -> /mono/lib:/another/mono/lib | ||
543 | # to -> /mono /another/mono | ||
544 | for i in `echo ${MONO_PATH} | tr ":" " "`; do | ||
545 | i=`dirname ${i}` | ||
546 | if [ -n "{i}" -a -d "${i}/share/aclocal" ]; then | ||
547 | ACLOCAL_FLAGS="-I ${i}/share/aclocal $ACLOCAL_FLAGS" | ||
548 | fi | ||
549 | if [ -n "{i}" -a -d "${i}/bin" ]; then | ||
550 | PATH="${i}/bin:$PATH" | ||
551 | fi | ||
552 | done | ||
553 | export PATH | ||
554 | fi | ||
555 | |||
556 | (autoconf --version) < /dev/null > /dev/null 2>&1 || { | ||
557 | echo | ||
558 | echo "**Error**: You must have \`autoconf' installed to compile Mono." | ||
559 | echo "Download the appropriate package for your distribution," | ||
560 | echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" | ||
561 | DIE=1 | ||
562 | } | ||
563 | |||
564 | if [ -z "$LIBTOOL" ]; then | ||
565 | LIBTOOL=`which glibtool 2>/dev/null` | ||
566 | if [ ! -x "$LIBTOOL" ]; then | ||
567 | LIBTOOL=`which libtool` | ||
568 | fi | ||
569 | fi | ||
570 | |||
571 | (grep "^AM_PROG_LIBTOOL" $srcdir/configure.ac >/dev/null) && { | ||
572 | ($LIBTOOL --version) < /dev/null > /dev/null 2>&1 || { | ||
573 | echo | ||
574 | echo "**Error**: You must have \`libtool' installed to compile Mono." | ||
575 | echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz" | ||
576 | echo "(or a newer version if it is available)" | ||
577 | DIE=1 | ||
578 | } | ||
579 | } | ||
580 | |||
581 | grep "^AM_GNU_GETTEXT" $srcdir/configure.ac >/dev/null && { | ||
582 | grep "sed.*POTFILES" $srcdir/configure.ac >/dev/null || \ | ||
583 | (gettext --version) < /dev/null > /dev/null 2>&1 || { | ||
584 | echo | ||
585 | echo "**Error**: You must have \`gettext' installed to compile Mono." | ||
586 | echo "Get ftp://alpha.gnu.org/gnu/gettext-0.10.35.tar.gz" | ||
587 | echo "(or a newer version if it is available)" | ||
588 | DIE=1 | ||
589 | } | ||
590 | } | ||
591 | |||
592 | (automake --version) < /dev/null > /dev/null 2>&1 || { | ||
593 | echo | ||
594 | echo "**Error**: You must have \`automake' installed to compile Mono." | ||
595 | echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz" | ||
596 | echo "(or a newer version if it is available)" | ||
597 | DIE=1 | ||
598 | NO_AUTOMAKE=yes | ||
599 | } | ||
600 | |||
601 | |||
602 | # if no automake, don't bother testing for aclocal | ||
603 | test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || { | ||
604 | echo | ||
605 | echo "**Error**: Missing \`aclocal'. The version of \`automake'" | ||
606 | echo "installed doesn't appear recent enough." | ||
607 | echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz" | ||
608 | echo "(or a newer version if it is available)" | ||
609 | DIE=1 | ||
610 | } | ||
611 | |||
612 | if test "$DIE" -eq 1; then | ||
613 | exit 1 | ||
614 | fi | ||
615 | |||
616 | if test -z "$*"; then | ||
617 | echo "**Warning**: I am going to run \`configure' with no arguments." | ||
618 | echo "If you wish to pass any to it, please specify them on the" | ||
619 | echo \`$0\'" command line." | ||
620 | echo | ||
621 | fi | ||
622 | |||
623 | case $CC in | ||
624 | xlc ) | ||
625 | am_opt=--include-deps;; | ||
626 | esac | ||
627 | |||
628 | |||
629 | if grep "^AM_PROG_LIBTOOL" configure.ac >/dev/null; then | ||
630 | if test -z "$NO_LIBTOOLIZE" ; then | ||
631 | echo "Running libtoolize..." | ||
632 | ${LIBTOOL}ize --force --copy | ||
633 | fi | ||
634 | fi | ||
635 | |||
636 | echo "Running aclocal $ACLOCAL_FLAGS ..." | ||
637 | aclocal $ACLOCAL_FLAGS || { | ||
638 | echo | ||
639 | echo "**Error**: aclocal failed. This may mean that you have not" | ||
640 | echo "installed all of the packages you need, or you may need to" | ||
641 | echo "set ACLOCAL_FLAGS to include \"-I \$prefix/share/aclocal\"" | ||
642 | echo "for the prefix where you installed the packages whose" | ||
643 | echo "macros were not found" | ||
644 | exit 1 | ||
645 | } | ||
646 | |||
647 | if grep "^AM_CONFIG_HEADER" configure.ac >/dev/null; then | ||
648 | echo "Running autoheader..." | ||
649 | autoheader || { echo "**Error**: autoheader failed."; exit 1; } | ||
650 | fi | ||
651 | |||
652 | echo "Running automake --gnu $am_opt ..." | ||
653 | automake --add-missing --gnu $am_opt || | ||
654 | { echo "**Error**: automake failed."; exit 1; } | ||
655 | echo "Running autoconf ..." | ||
656 | autoconf || { echo "**Error**: autoconf failed."; exit 1; } | ||
657 | </xsl:text> | ||
658 | <xsl:for-each select="/dnpb:Prebuild/dnpb:Solution[@name=$solutionName]/dnpb:Project"> | ||
659 | echo Running <xsl:value-of select="@name" />/autogen.sh ... | ||
660 | (cd $srcdir/<xsl:value-of select="@name" /> ; NOCONFIGURE=1 /bin/sh ./autogen.sh "$@") | ||
661 | echo Done running <xsl:value-of select="@name" />/autogen.sh ... | ||
662 | </xsl:for-each> | ||
663 | <xsl:text disable-output-escaping="yes"> | ||
664 | conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c | ||
665 | |||
666 | if test x$NOCONFIGURE = x; then | ||
667 | echo Running $srcdir/configure $conf_flags "$@" ... | ||
668 | $srcdir/configure $conf_flags "$@" \ | ||
669 | && echo Now type \`make\' to compile $PKG_NAME || exit 1 | ||
670 | else | ||
671 | echo Skipping configure process. | ||
672 | fi | ||
673 | </xsl:text> | ||
674 | </xsl:template> | ||
675 | </xsl:stylesheet> | ||
676 | </SolutionAutogenSh> | ||
677 | |||
678 | <SolutionConfigureAc> | ||
679 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
680 | xmlns:dnpb="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" | ||
681 | exclude-result-prefixes="dnpb" | ||
682 | xml:space="preserve" | ||
683 | > | ||
684 | <!-- Removes the xml version header in the generated file --> | ||
685 | <xsl:output method="text"/> | ||
686 | <xsl:param name="solutionName" /> | ||
687 | <xsl:template match="/" | ||
688 | >AC_INIT([<xsl:value-of select="$solutionName" />]-solution,[<xsl:value-of select="/dnpb:Prebuild/dnpb:Solution[@name=$solutionName]/@version" />]) | ||
689 | AC_CONFIG_AUX_DIR(.) | ||
690 | AM_INIT_AUTOMAKE([1.9 tar-ustar foreign]) | ||
691 | EXTRA_DIST="install-sh missing" | ||
692 | SOLUTION_NAME=<xsl:value-of select="$solutionName" /> | ||
693 | SOLUTION_VERSION=$VERSION | ||
694 | SOLUTION_DESCRIPTION="<xsl:value-of select="/dnpb:Prebuild/dnpb:Solution[@name=$solutionName]/dnpb:Description" />" | ||
695 | AC_SUBST(DESCRIPTION) | ||
696 | |||
697 | AM_MAINTAINER_MODE | ||
698 | |||
699 | dnl AC_PROG_INTLTOOL([0.25]) | ||
700 | |||
701 | AC_PROG_INSTALL | ||
702 | |||
703 | AC_MSG_CHECKING([whether we're building from an RCS]) | ||
704 | if test -f "$srcdir/.cvs_version" ; then | ||
705 | from_rcs=cvs | ||
706 | else | ||
707 | if test -f "$srcdir/.svn/entries" ; then | ||
708 | from_rcs=svn | ||
709 | else | ||
710 | from_rcs=no | ||
711 | fi | ||
712 | fi | ||
713 | |||
714 | AC_MSG_RESULT($from_rcs) | ||
715 | |||
716 | CONFIG="Release" | ||
717 | AC_SUBST(CONFIG) | ||
718 | <!-- TODO: Ensure that these SUBDIRS are processed in dependency order --> | ||
719 | AC_CONFIG_SUBDIRS(<xsl:for-each select="/dnpb:Prebuild/dnpb:Solution[@name=$solutionName]/dnpb:Project"><xsl:text disable-output-escaping="yes"> </xsl:text><xsl:value-of select="@name" /> | ||
720 | </xsl:for-each>) | ||
721 | <xsl:text disable-output-escaping="yes"> | ||
722 | |||
723 | AC_OUTPUT([ | ||
724 | Makefile | ||
725 | ]) | ||
726 | |||
727 | echo "===" | ||
728 | echo "" | ||
729 | echo "Solution configuration summary" | ||
730 | echo "" | ||
731 | echo " * Solution Name: $SOLUTION_NAME" | ||
732 | echo " * Version: $SOLUTION_VERSION" | ||
733 | echo " * Packages:"</xsl:text> | ||
734 | <xsl:for-each select="/dnpb:Prebuild/dnpb:Solution[@name=$solutionName]/dnpb:Project">echo " - <xsl:value-of select="@name" />" | ||
735 | </xsl:for-each><xsl:text disable-output-escaping="yes">echo "" | ||
736 | echo "===" | ||
737 | </xsl:text> | ||
738 | </xsl:template> | ||
739 | </xsl:stylesheet> | ||
740 | </SolutionConfigureAc> | ||
741 | |||
742 | <SolutionMakefileAm> | ||
743 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
744 | xmlns:dnpb="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" | ||
745 | exclude-result-prefixes="dnpb" | ||
746 | xml:space="preserve" | ||
747 | > | ||
748 | <xsl:param name="solutionName" /> | ||
749 | <xsl:template match="/">SUBDIRS =<xsl:for-each select="//dnpb:Solution[@name=$solutionName]/dnpb:Project"><xsl:text disable-output-escaping="yes"> </xsl:text><xsl:value-of select="@name" /></xsl:for-each> | ||
750 | </xsl:template> | ||
751 | </xsl:stylesheet> | ||
752 | </SolutionMakefileAm> | ||
753 | <ProjectWrapperScriptIn> | ||
754 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
755 | xmlns:dnpb="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" | ||
756 | exclude-result-prefixes="dnpb" | ||
757 | xml:space="preserve" | ||
758 | > | ||
759 | <!-- Removes the xml version header in the generated file --> | ||
760 | <xsl:output method="text"/> | ||
761 | <xsl:param name="projectName" /> | ||
762 | <xsl:param name="assemblyName" /> | ||
763 | <xsl:param name="solutionName" /> | ||
764 | <xsl:param name="monoPath" /> | ||
765 | <xsl:variable name="lcProjectName"><xsl:value-of select="translate($projectName, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')"/></xsl:variable> | ||
766 | <xsl:template match="/"><xsl:for-each select="//dnpb:Solution[@name=$solutionName]/dnpb:Project[@name=$projectName]">#! /bin/sh | ||
767 | |||
768 | PACKAGE=<xsl:value-of select="$assemblyName" /> | ||
769 | prefix=@prefix@ | ||
770 | exec_prefix=@exec_prefix@ | ||
771 | |||
772 | # %%$@%$# why oh why isn't it $sharedir/<xsl:value-of select="$lcProjectName" /> | ||
773 | # Day changed to 30 Mar 2007 | ||
774 | # ... | ||
775 | # 07:50 < cj> why are we installing .exe assemblies to $prefix/lib/$package/ and | ||
776 | # not $prefix/share/$package ? | ||
777 | # 07:50 < jonp> momentum. | ||
778 | # 07:50 < jonp> and it's hard to say that a .exe isn't platform specific | ||
779 | # 07:50 < jonp> as it can still contain DllImport's which make platform | ||
780 | # assumptions | ||
781 | |||
782 | packagedir=$prefix/lib/<xsl:value-of select="$lcProjectName" /> | ||
783 | export MONO_PATH=$MONO_PATH<xsl:value-of select="$monoPath" /> | ||
784 | |||
785 | exec @RUNTIME@ $packagedir/$PACKAGE.exe "$@" | ||
786 | </xsl:for-each> | ||
787 | </xsl:template> | ||
788 | </xsl:stylesheet> | ||
789 | </ProjectWrapperScriptIn> | ||
790 | </Autotools> | ||
diff --git a/Prebuild/src/data/.svn/text-base/dnpb-1.0.xsd.svn-base b/Prebuild/src/data/.svn/text-base/dnpb-1.0.xsd.svn-base new file mode 100644 index 0000000..b9e0e4e --- /dev/null +++ b/Prebuild/src/data/.svn/text-base/dnpb-1.0.xsd.svn-base | |||
@@ -0,0 +1,183 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" ?> | ||
2 | <xs:schema elementFormDefault="qualified" | ||
3 | xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
4 | targetNamespace="http://dnpb.sourceforge.net/schemas/dnpb-1.0.xsd" | ||
5 | xmlns="http://dnpb.sourceforge.net/schemas/dnpb-1.0.xsd" | ||
6 | > | ||
7 | <xs:annotation> | ||
8 | <xs:documentation> | ||
9 | Copyright (c) 2004 Matthew Holmes (kerion@houston.rr.com) | ||
10 | |||
11 | Redistribution and use in source and binary forms, with or without modification, are permitted | ||
12 | provided that the following conditions are met: | ||
13 | |||
14 | * Redistributions of source code must retain the above copyright notice, this list of conditions | ||
15 | and the following disclaimer. | ||
16 | * Redistributions in binary form must reproduce the above copyright notice, this list of conditions | ||
17 | and the following disclaimer in the documentation and/or other materials provided with the | ||
18 | distribution. | ||
19 | * The name of the author may not be used to endorse or promote products derived from this software | ||
20 | without specific prior written permission. | ||
21 | |||
22 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, | ||
23 | BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
24 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
25 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
26 | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | ||
27 | OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING | ||
28 | IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
29 | </xs:documentation> | ||
30 | </xs:annotation> | ||
31 | |||
32 | <xs:element name="DNPreBuild"> | ||
33 | <xs:complexType> | ||
34 | <xs:sequence> | ||
35 | <xs:element ref="Process" minOccurs="0" maxOccurs="unbounded" /> | ||
36 | <xs:element ref="Solution" minOccurs="1" maxOccurs="unbounded" /> | ||
37 | </xs:sequence> | ||
38 | |||
39 | <xs:attribute name="version" use="required" /> | ||
40 | </xs:complexType> | ||
41 | </xs:element> | ||
42 | |||
43 | <xs:element name="Process" type="xs:string" /> | ||
44 | |||
45 | <xs:element name="Solution"> | ||
46 | <xs:complexType> | ||
47 | <xs:sequence> | ||
48 | <xs:element ref="Options" minOccurs="0" /> | ||
49 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> | ||
50 | <xs:element ref="Files" minOccurs="0" /> | ||
51 | <xs:element ref="Project" minOccurs="1" maxOccurs="unbounded" /> | ||
52 | </xs:sequence> | ||
53 | |||
54 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
55 | <xs:attribute name="path" type="xs:string" default="" /> | ||
56 | </xs:complexType> | ||
57 | </xs:element> | ||
58 | |||
59 | <xs:element name="Project"> | ||
60 | <xs:complexType> | ||
61 | <xs:sequence> | ||
62 | <xs:element name="Reference" maxOccurs="unbounded"> | ||
63 | <xs:complexType> | ||
64 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
65 | <xs:attribute name="path" type="xs:string" /> | ||
66 | <xs:attribute name="localCopy" type="xs:boolean" /> | ||
67 | <xs:attribute name="version" type="xs:string" /> | ||
68 | </xs:complexType> | ||
69 | </xs:element> | ||
70 | |||
71 | <xs:element ref="Files" /> | ||
72 | </xs:sequence> | ||
73 | |||
74 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
75 | <xs:attribute name="path" type="xs:string" default="" /> | ||
76 | |||
77 | <xs:attribute name="language" default="C#"> | ||
78 | <xs:simpleType> | ||
79 | <xs:restriction base="xs:string"> | ||
80 | <xs:enumeration value="C#" /> | ||
81 | <xs:enumeration value="VB.NET" /> | ||
82 | </xs:restriction> | ||
83 | </xs:simpleType> | ||
84 | </xs:attribute> | ||
85 | |||
86 | <xs:attribute name="type" default="Exe"> | ||
87 | <xs:simpleType> | ||
88 | <xs:restriction base="xs:string"> | ||
89 | <xs:enumeration value="Exe" /> | ||
90 | <xs:enumeration value="WinExe" /> | ||
91 | <xs:enumeration value="Library" /> | ||
92 | </xs:restriction> | ||
93 | </xs:simpleType> | ||
94 | </xs:attribute> | ||
95 | |||
96 | <xs:attribute name="runtime" default="Microsoft"> | ||
97 | <xs:simpleType> | ||
98 | <xs:restriction base="xs:string"> | ||
99 | <xs:enumeration value="Microsoft" /> | ||
100 | <xs:enumeration value="Mono" /> | ||
101 | </xs:restriction> | ||
102 | </xs:simpleType> | ||
103 | </xs:attribute> | ||
104 | |||
105 | <xs:attribute name="startupObject" type="xs:string" default="" /> | ||
106 | </xs:complexType> | ||
107 | </xs:element> | ||
108 | |||
109 | <xs:element name="Configuration"> | ||
110 | <xs:complexType> | ||
111 | <xs:all> | ||
112 | <xs:element ref="Options" minOccurs="0" /> | ||
113 | </xs:all> | ||
114 | |||
115 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
116 | </xs:complexType> | ||
117 | </xs:element> | ||
118 | |||
119 | <xs:element name="Options"> | ||
120 | <xs:complexType> | ||
121 | <xs:sequence> | ||
122 | <xs:element name="CompilerDefines" type="xs:string" minOccurs="0" /> | ||
123 | <xs:element name="OptimizeCode" type="xs:boolean" minOccurs="0" /> | ||
124 | <xs:element name="CheckUnderflowOverflow" type="xs:boolean" minOccurs="0" /> | ||
125 | <xs:element name="AllowUnsafe" type="xs:boolean" minOccurs="0" /> | ||
126 | <xs:element name="WarningLevel" minOccurs="0"> | ||
127 | <xs:simpleType> | ||
128 | <xs:restriction base="xs:integer"> | ||
129 | <xs:minInclusive value="0" /> | ||
130 | <xs:maxInclusive value="4"/> | ||
131 | </xs:restriction> | ||
132 | </xs:simpleType> | ||
133 | </xs:element> | ||
134 | <xs:element name="WarningsAsErrors" type="xs:boolean" minOccurs="0" /> | ||
135 | <xs:element name="SupressWarnings" type="xs:string" minOccurs="0" /> | ||
136 | <xs:element name="OutputPath" type="xs:string" minOccurs="0" /> | ||
137 | <xs:element name="XmlDocFile" type="xs:string" minOccurs="0" /> | ||
138 | <xs:element name="DebugInformation" type="xs:boolean" minOccurs="0" /> | ||
139 | <xs:element name="RegisterCOMInterop" type="xs:boolean" minOccurs="0" /> | ||
140 | <xs:element name="IncrementalBuild" type="xs:boolean" minOccurs="0" /> | ||
141 | <xs:element name="BaseAddress" type="xs:string" minOccurs="0" /> | ||
142 | <xs:element name="FileAlignment" type="xs:integer" minOccurs="0" /> | ||
143 | <xs:element name="NoStdLib" type="xs:boolean" minOccurs="0" /> | ||
144 | <xs:element name="ReferencePath" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
145 | </xs:sequence> | ||
146 | </xs:complexType> | ||
147 | </xs:element> | ||
148 | |||
149 | <xs:element name="Files"> | ||
150 | <xs:complexType> | ||
151 | <xs:sequence> | ||
152 | <xs:element ref="File" minOccurs="0" maxOccurs="unbounded" /> | ||
153 | <xs:element ref="Match" minOccurs="0" maxOccurs="unbounded" /> | ||
154 | </xs:sequence> | ||
155 | </xs:complexType> | ||
156 | </xs:element> | ||
157 | |||
158 | <xs:element name="File"> | ||
159 | <xs:complexType> | ||
160 | <xs:simpleContent> | ||
161 | <xs:extension base="xs:string"> | ||
162 | <xs:attribute name="buildAction" default="Compile"> | ||
163 | <xs:simpleType> | ||
164 | <xs:restriction base="xs:string"> | ||
165 | <xs:enumeration value="Compile" /> | ||
166 | <xs:enumeration value="Content" /> | ||
167 | <xs:enumeration value="EmbeddedResource" /> | ||
168 | </xs:restriction> | ||
169 | </xs:simpleType> | ||
170 | </xs:attribute> | ||
171 | </xs:extension> | ||
172 | </xs:simpleContent> | ||
173 | </xs:complexType> | ||
174 | </xs:element> | ||
175 | |||
176 | <xs:element name="Match"> | ||
177 | <xs:complexType> | ||
178 | <xs:attribute name="path" type="xs:string" use="required" /> | ||
179 | <xs:attribute name="pattern" type="xs:string" use="required" /> | ||
180 | <xs:attribute name="recurse" type="xs:boolean" default="false" /> | ||
181 | </xs:complexType> | ||
182 | </xs:element> | ||
183 | </xs:schema> \ No newline at end of file | ||
diff --git a/Prebuild/src/data/.svn/text-base/dnpb-1.1.xsd.svn-base b/Prebuild/src/data/.svn/text-base/dnpb-1.1.xsd.svn-base new file mode 100644 index 0000000..2c065a3 --- /dev/null +++ b/Prebuild/src/data/.svn/text-base/dnpb-1.1.xsd.svn-base | |||
@@ -0,0 +1,184 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" ?> | ||
2 | <xs:schema elementFormDefault="qualified" | ||
3 | xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
4 | targetNamespace="http://dnpb.sourceforge.net/schemas/dnpb-1.1.xsd" | ||
5 | xmlns="http://dnpb.sourceforge.net/schemas/dnpb-1.1.xsd" | ||
6 | > | ||
7 | <xs:annotation> | ||
8 | <xs:documentation> | ||
9 | Copyright (c) 2004 Matthew Holmes (kerion@houston.rr.com) | ||
10 | |||
11 | Redistribution and use in source and binary forms, with or without modification, are permitted | ||
12 | provided that the following conditions are met: | ||
13 | |||
14 | * Redistributions of source code must retain the above copyright notice, this list of conditions | ||
15 | and the following disclaimer. | ||
16 | * Redistributions in binary form must reproduce the above copyright notice, this list of conditions | ||
17 | and the following disclaimer in the documentation and/or other materials provided with the | ||
18 | distribution. | ||
19 | * The name of the author may not be used to endorse or promote products derived from this software | ||
20 | without specific prior written permission. | ||
21 | |||
22 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, | ||
23 | BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
24 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
25 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
26 | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | ||
27 | OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING | ||
28 | IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
29 | </xs:documentation> | ||
30 | </xs:annotation> | ||
31 | |||
32 | <xs:element name="DNPreBuild"> | ||
33 | <xs:complexType> | ||
34 | <xs:sequence> | ||
35 | <xs:element ref="Process" minOccurs="0" maxOccurs="unbounded" /> | ||
36 | <xs:element ref="Solution" minOccurs="1" maxOccurs="unbounded" /> | ||
37 | </xs:sequence> | ||
38 | |||
39 | <xs:attribute name="version" use="required" /> | ||
40 | </xs:complexType> | ||
41 | </xs:element> | ||
42 | |||
43 | <xs:element name="Process" type="xs:string" /> | ||
44 | |||
45 | <xs:element name="Solution"> | ||
46 | <xs:complexType> | ||
47 | <xs:sequence> | ||
48 | <xs:element ref="Options" minOccurs="0" /> | ||
49 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> | ||
50 | <xs:element ref="Files" minOccurs="0" /> | ||
51 | <xs:element ref="Project" minOccurs="1" maxOccurs="unbounded" /> | ||
52 | </xs:sequence> | ||
53 | |||
54 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
55 | <xs:attribute name="path" type="xs:string" default="" /> | ||
56 | </xs:complexType> | ||
57 | </xs:element> | ||
58 | |||
59 | <xs:element name="Project"> | ||
60 | <xs:complexType> | ||
61 | <xs:sequence> | ||
62 | <xs:element name="ReferencePath" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
63 | |||
64 | <xs:element name="Reference" maxOccurs="unbounded"> | ||
65 | <xs:complexType> | ||
66 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
67 | <xs:attribute name="path" type="xs:string" /> | ||
68 | <xs:attribute name="localCopy" type="xs:boolean" /> | ||
69 | <xs:attribute name="version" type="xs:string" /> | ||
70 | </xs:complexType> | ||
71 | </xs:element> | ||
72 | |||
73 | <xs:element ref="Files" /> | ||
74 | </xs:sequence> | ||
75 | |||
76 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
77 | <xs:attribute name="path" type="xs:string" default="" /> | ||
78 | |||
79 | <xs:attribute name="language" default="C#"> | ||
80 | <xs:simpleType> | ||
81 | <xs:restriction base="xs:string"> | ||
82 | <xs:enumeration value="C#" /> | ||
83 | <xs:enumeration value="VB.NET" /> | ||
84 | </xs:restriction> | ||
85 | </xs:simpleType> | ||
86 | </xs:attribute> | ||
87 | |||
88 | <xs:attribute name="type" default="Exe"> | ||
89 | <xs:simpleType> | ||
90 | <xs:restriction base="xs:string"> | ||
91 | <xs:enumeration value="Exe" /> | ||
92 | <xs:enumeration value="WinExe" /> | ||
93 | <xs:enumeration value="Library" /> | ||
94 | </xs:restriction> | ||
95 | </xs:simpleType> | ||
96 | </xs:attribute> | ||
97 | |||
98 | <xs:attribute name="runtime" default="Microsoft"> | ||
99 | <xs:simpleType> | ||
100 | <xs:restriction base="xs:string"> | ||
101 | <xs:enumeration value="Microsoft" /> | ||
102 | <xs:enumeration value="Mono" /> | ||
103 | </xs:restriction> | ||
104 | </xs:simpleType> | ||
105 | </xs:attribute> | ||
106 | |||
107 | <xs:attribute name="startupObject" type="xs:string" default="" /> | ||
108 | </xs:complexType> | ||
109 | </xs:element> | ||
110 | |||
111 | <xs:element name="Configuration"> | ||
112 | <xs:complexType> | ||
113 | <xs:all> | ||
114 | <xs:element ref="Options" minOccurs="0" /> | ||
115 | </xs:all> | ||
116 | |||
117 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
118 | </xs:complexType> | ||
119 | </xs:element> | ||
120 | |||
121 | <xs:element name="Options"> | ||
122 | <xs:complexType> | ||
123 | <xs:sequence> | ||
124 | <xs:element name="CompilerDefines" type="xs:string" minOccurs="0" /> | ||
125 | <xs:element name="OptimizeCode" type="xs:boolean" minOccurs="0" /> | ||
126 | <xs:element name="CheckUnderflowOverflow" type="xs:boolean" minOccurs="0" /> | ||
127 | <xs:element name="AllowUnsafe" type="xs:boolean" minOccurs="0" /> | ||
128 | <xs:element name="WarningLevel" minOccurs="0"> | ||
129 | <xs:simpleType> | ||
130 | <xs:restriction base="xs:integer"> | ||
131 | <xs:minInclusive value="0" /> | ||
132 | <xs:maxInclusive value="4"/> | ||
133 | </xs:restriction> | ||
134 | </xs:simpleType> | ||
135 | </xs:element> | ||
136 | <xs:element name="WarningsAsErrors" type="xs:boolean" minOccurs="0" /> | ||
137 | <xs:element name="SupressWarnings" type="xs:string" minOccurs="0" /> | ||
138 | <xs:element name="OutputPath" type="xs:string" minOccurs="0" /> | ||
139 | <xs:element name="XmlDocFile" type="xs:string" minOccurs="0" /> | ||
140 | <xs:element name="DebugInformation" type="xs:boolean" minOccurs="0" /> | ||
141 | <xs:element name="RegisterCOMInterop" type="xs:boolean" minOccurs="0" /> | ||
142 | <xs:element name="IncrementalBuild" type="xs:boolean" minOccurs="0" /> | ||
143 | <xs:element name="BaseAddress" type="xs:string" minOccurs="0" /> | ||
144 | <xs:element name="FileAlignment" type="xs:integer" minOccurs="0" /> | ||
145 | <xs:element name="NoStdLib" type="xs:boolean" minOccurs="0" /> | ||
146 | </xs:sequence> | ||
147 | </xs:complexType> | ||
148 | </xs:element> | ||
149 | |||
150 | <xs:element name="Files"> | ||
151 | <xs:complexType> | ||
152 | <xs:sequence> | ||
153 | <xs:element ref="File" minOccurs="0" maxOccurs="unbounded" /> | ||
154 | <xs:element ref="Match" minOccurs="0" maxOccurs="unbounded" /> | ||
155 | </xs:sequence> | ||
156 | </xs:complexType> | ||
157 | </xs:element> | ||
158 | |||
159 | <xs:element name="File"> | ||
160 | <xs:complexType> | ||
161 | <xs:simpleContent> | ||
162 | <xs:extension base="xs:string"> | ||
163 | <xs:attribute name="buildAction" default="Compile"> | ||
164 | <xs:simpleType> | ||
165 | <xs:restriction base="xs:string"> | ||
166 | <xs:enumeration value="Compile" /> | ||
167 | <xs:enumeration value="Content" /> | ||
168 | <xs:enumeration value="EmbeddedResource" /> | ||
169 | </xs:restriction> | ||
170 | </xs:simpleType> | ||
171 | </xs:attribute> | ||
172 | </xs:extension> | ||
173 | </xs:simpleContent> | ||
174 | </xs:complexType> | ||
175 | </xs:element> | ||
176 | |||
177 | <xs:element name="Match"> | ||
178 | <xs:complexType> | ||
179 | <xs:attribute name="path" type="xs:string" use="required" /> | ||
180 | <xs:attribute name="pattern" type="xs:string" use="required" /> | ||
181 | <xs:attribute name="recurse" type="xs:boolean" default="false" /> | ||
182 | </xs:complexType> | ||
183 | </xs:element> | ||
184 | </xs:schema> \ No newline at end of file | ||
diff --git a/Prebuild/src/data/.svn/text-base/dnpb-1.2.xsd.svn-base b/Prebuild/src/data/.svn/text-base/dnpb-1.2.xsd.svn-base new file mode 100644 index 0000000..d694ab4 --- /dev/null +++ b/Prebuild/src/data/.svn/text-base/dnpb-1.2.xsd.svn-base | |||
@@ -0,0 +1,198 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" ?> | ||
2 | <xs:schema elementFormDefault="qualified" | ||
3 | xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
4 | targetNamespace="http://dnpb.sourceforge.net/schemas/dnpb-1.2.xsd" | ||
5 | xmlns="http://dnpb.sourceforge.net/schemas/dnpb-1.2.xsd" | ||
6 | > | ||
7 | <xs:annotation> | ||
8 | <xs:documentation> | ||
9 | Copyright (c) 2004 Matthew Holmes (calefaction _at_ houston _._ rr _._ com) | ||
10 | |||
11 | Redistribution and use in source and binary forms, with or without modification, are permitted | ||
12 | provided that the following conditions are met: | ||
13 | |||
14 | * Redistributions of source code must retain the above copyright notice, this list of conditions | ||
15 | and the following disclaimer. | ||
16 | * Redistributions in binary form must reproduce the above copyright notice, this list of conditions | ||
17 | and the following disclaimer in the documentation and/or other materials provided with the | ||
18 | distribution. | ||
19 | * The name of the author may not be used to endorse or promote products derived from this software | ||
20 | without specific prior written permission. | ||
21 | |||
22 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, | ||
23 | BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
24 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
25 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
26 | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | ||
27 | OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING | ||
28 | IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
29 | </xs:documentation> | ||
30 | </xs:annotation> | ||
31 | |||
32 | <xs:element name="DNPreBuild"> | ||
33 | <xs:complexType> | ||
34 | <xs:sequence> | ||
35 | <xs:element ref="Process" minOccurs="0" maxOccurs="unbounded" /> | ||
36 | <xs:element ref="Solution" minOccurs="0" maxOccurs="unbounded" /> | ||
37 | </xs:sequence> | ||
38 | |||
39 | <xs:attribute name="version" use="required" /> | ||
40 | </xs:complexType> | ||
41 | </xs:element> | ||
42 | |||
43 | <xs:element name="Process" type="xs:string" /> | ||
44 | |||
45 | <xs:element name="Solution"> | ||
46 | <xs:complexType> | ||
47 | <xs:sequence> | ||
48 | <xs:element ref="Options" minOccurs="0" /> | ||
49 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> | ||
50 | <xs:element ref="Files" minOccurs="0" /> | ||
51 | <xs:element ref="Project" minOccurs="1" maxOccurs="unbounded" /> | ||
52 | </xs:sequence> | ||
53 | |||
54 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
55 | <xs:attribute name="path" type="xs:string" default="" /> | ||
56 | </xs:complexType> | ||
57 | </xs:element> | ||
58 | |||
59 | <xs:element name="Project"> | ||
60 | <xs:complexType> | ||
61 | <xs:sequence> | ||
62 | <xs:element ref="Configuration" minOccurs="0" maxOccurs="unbounded" /> | ||
63 | |||
64 | <xs:element name="ReferencePath" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
65 | |||
66 | <xs:element name="Reference" minOccurs="0" maxOccurs="unbounded"> | ||
67 | <xs:complexType> | ||
68 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
69 | <xs:attribute name="path" type="xs:string" /> | ||
70 | <xs:attribute name="localCopy" type="xs:boolean" /> | ||
71 | <xs:attribute name="version" type="xs:string" /> | ||
72 | </xs:complexType> | ||
73 | </xs:element> | ||
74 | |||
75 | <xs:element ref="Files" /> | ||
76 | </xs:sequence> | ||
77 | |||
78 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
79 | <xs:attribute name="path" type="xs:string" default="" /> | ||
80 | |||
81 | <xs:attribute name="language" default="C#"> | ||
82 | <xs:simpleType> | ||
83 | <xs:restriction base="xs:string"> | ||
84 | <xs:enumeration value="C#" /> | ||
85 | <xs:enumeration value="VB.NET" /> | ||
86 | </xs:restriction> | ||
87 | </xs:simpleType> | ||
88 | </xs:attribute> | ||
89 | |||
90 | <xs:attribute name="type" default="Exe"> | ||
91 | <xs:simpleType> | ||
92 | <xs:restriction base="xs:string"> | ||
93 | <xs:enumeration value="Exe" /> | ||
94 | <xs:enumeration value="WinExe" /> | ||
95 | <xs:enumeration value="Library" /> | ||
96 | </xs:restriction> | ||
97 | </xs:simpleType> | ||
98 | </xs:attribute> | ||
99 | |||
100 | <xs:attribute name="runtime" default="Microsoft"> | ||
101 | <xs:simpleType> | ||
102 | <xs:restriction base="xs:string"> | ||
103 | <xs:enumeration value="Microsoft" /> | ||
104 | <xs:enumeration value="Mono" /> | ||
105 | </xs:restriction> | ||
106 | </xs:simpleType> | ||
107 | </xs:attribute> | ||
108 | |||
109 | <xs:attribute name="startupObject" type="xs:string" default="" /> | ||
110 | <xs:attribute name="rootNamespace" type="xs:string" /> | ||
111 | <xs:attribute name="assemblyName" type="xs:string" /> | ||
112 | </xs:complexType> | ||
113 | </xs:element> | ||
114 | |||
115 | <xs:element name="Configuration"> | ||
116 | <xs:complexType> | ||
117 | <xs:all> | ||
118 | <xs:element ref="Options" minOccurs="0" /> | ||
119 | </xs:all> | ||
120 | |||
121 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
122 | </xs:complexType> | ||
123 | </xs:element> | ||
124 | |||
125 | <xs:element name="Options"> | ||
126 | <xs:complexType> | ||
127 | <xs:all> | ||
128 | <xs:element name="CompilerDefines" type="xs:string" minOccurs="0" /> | ||
129 | <xs:element name="OptimizeCode" type="xs:boolean" minOccurs="0" /> | ||
130 | <xs:element name="CheckUnderflowOverflow" type="xs:boolean" minOccurs="0" /> | ||
131 | <xs:element name="AllowUnsafe" type="xs:boolean" minOccurs="0" /> | ||
132 | <xs:element name="WarningLevel" minOccurs="0"> | ||
133 | <xs:simpleType> | ||
134 | <xs:restriction base="xs:integer"> | ||
135 | <xs:minInclusive value="0" /> | ||
136 | <xs:maxInclusive value="4"/> | ||
137 | </xs:restriction> | ||
138 | </xs:simpleType> | ||
139 | </xs:element> | ||
140 | <xs:element name="WarningsAsErrors" type="xs:boolean" minOccurs="0" /> | ||
141 | <xs:element name="SupressWarnings" type="xs:string" minOccurs="0" /> | ||
142 | <xs:element name="OutputPath" type="xs:string" minOccurs="0" /> | ||
143 | <xs:element name="XmlDocFile" type="xs:string" minOccurs="0" /> | ||
144 | <xs:element name="DebugInformation" type="xs:boolean" minOccurs="0" /> | ||
145 | <xs:element name="RegisterCOMInterop" type="xs:boolean" minOccurs="0" /> | ||
146 | <xs:element name="IncrementalBuild" type="xs:boolean" minOccurs="0" /> | ||
147 | <xs:element name="BaseAddress" type="xs:string" minOccurs="0" /> | ||
148 | <xs:element name="FileAlignment" type="xs:integer" minOccurs="0" /> | ||
149 | <xs:element name="NoStdLib" type="xs:boolean" minOccurs="0" /> | ||
150 | </xs:all> | ||
151 | </xs:complexType> | ||
152 | </xs:element> | ||
153 | |||
154 | <xs:element name="Files"> | ||
155 | <xs:complexType> | ||
156 | <xs:sequence> | ||
157 | <xs:element ref="File" minOccurs="0" maxOccurs="unbounded" /> | ||
158 | <xs:element ref="Match" minOccurs="0" maxOccurs="unbounded" /> | ||
159 | </xs:sequence> | ||
160 | </xs:complexType> | ||
161 | </xs:element> | ||
162 | |||
163 | <xs:element name="File"> | ||
164 | <xs:complexType> | ||
165 | <xs:simpleContent> | ||
166 | <xs:extension base="xs:string"> | ||
167 | <xs:attribute name="buildAction" default="Compile"> | ||
168 | <xs:simpleType> | ||
169 | <xs:restriction base="xs:string"> | ||
170 | <xs:enumeration value="Compile" /> | ||
171 | <xs:enumeration value="Content" /> | ||
172 | <xs:enumeration value="EmbeddedResource" /> | ||
173 | </xs:restriction> | ||
174 | </xs:simpleType> | ||
175 | </xs:attribute> | ||
176 | </xs:extension> | ||
177 | </xs:simpleContent> | ||
178 | </xs:complexType> | ||
179 | </xs:element> | ||
180 | |||
181 | <xs:element name="Match"> | ||
182 | <xs:complexType> | ||
183 | <xs:attribute name="path" type="xs:string" use="required" /> | ||
184 | <xs:attribute name="pattern" type="xs:string" use="required" /> | ||
185 | <xs:attribute name="recurse" type="xs:boolean" default="false" /> | ||
186 | <xs:attribute name="useRegex" type="xs:boolean" default="false" /> | ||
187 | <xs:attribute name="buildAction" default="Compile"> | ||
188 | <xs:simpleType> | ||
189 | <xs:restriction base="xs:string"> | ||
190 | <xs:enumeration value="Compile" /> | ||
191 | <xs:enumeration value="Content" /> | ||
192 | <xs:enumeration value="EmbeddedResource" /> | ||
193 | </xs:restriction> | ||
194 | </xs:simpleType> | ||
195 | </xs:attribute> | ||
196 | </xs:complexType> | ||
197 | </xs:element> | ||
198 | </xs:schema> \ No newline at end of file | ||
diff --git a/Prebuild/src/data/.svn/text-base/dnpb-1.3.xsd.svn-base b/Prebuild/src/data/.svn/text-base/dnpb-1.3.xsd.svn-base new file mode 100644 index 0000000..8f31a54 --- /dev/null +++ b/Prebuild/src/data/.svn/text-base/dnpb-1.3.xsd.svn-base | |||
@@ -0,0 +1,206 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" ?> | ||
2 | <xs:schema elementFormDefault="qualified" | ||
3 | xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
4 | targetNamespace="http://dnpb.sourceforge.net/schemas/dnpb-1.3.xsd" | ||
5 | xmlns="http://dnpb.sourceforge.net/schemas/dnpb-1.3.xsd" | ||
6 | > | ||
7 | <xs:annotation> | ||
8 | <xs:documentation> | ||
9 | Copyright (c) 2004-2005 Matthew Holmes (calefaction at houston . rr . com), Dan Moorehead (dan05a at gmail . com) | ||
10 | |||
11 | .NET Pre-Build is an XML-driven pre-build tool allowing developers to | ||
12 | easily generate project or make files for major IDE's and .NET | ||
13 | development tools including: Visual Studio 2003, Visual Studio 2002, | ||
14 | SharpDevelop, MonoDevelop, and NAnt. | ||
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="DNPreBuild"> | ||
40 | <xs:complexType> | ||
41 | <xs:sequence> | ||
42 | <xs:element ref="Process" minOccurs="0" maxOccurs="unbounded" /> | ||
43 | <xs:element ref="Solution" minOccurs="0" maxOccurs="unbounded" /> | ||
44 | </xs:sequence> | ||
45 | |||
46 | <xs:attribute name="version" use="required" /> | ||
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="Options" minOccurs="0" /> | ||
56 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> | ||
57 | <xs:element ref="Files" minOccurs="0" /> | ||
58 | <xs:element ref="Project" minOccurs="1" maxOccurs="unbounded" /> | ||
59 | </xs:sequence> | ||
60 | |||
61 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
62 | <xs:attribute name="path" type="xs:string" default="" /> | ||
63 | </xs:complexType> | ||
64 | </xs:element> | ||
65 | |||
66 | <xs:element name="Project"> | ||
67 | <xs:complexType> | ||
68 | <xs:sequence> | ||
69 | <xs:element ref="Configuration" minOccurs="0" maxOccurs="unbounded" /> | ||
70 | |||
71 | <xs:element name="ReferencePath" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
72 | |||
73 | <xs:element name="Reference" minOccurs="0" maxOccurs="unbounded"> | ||
74 | <xs:complexType> | ||
75 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
76 | <xs:attribute name="path" type="xs:string" /> | ||
77 | <xs:attribute name="localCopy" type="xs:boolean" /> | ||
78 | <xs:attribute name="version" type="xs:string" /> | ||
79 | </xs:complexType> | ||
80 | </xs:element> | ||
81 | |||
82 | <xs:element ref="Files" /> | ||
83 | </xs:sequence> | ||
84 | |||
85 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
86 | <xs:attribute name="path" type="xs:string" default="" /> | ||
87 | <xs:attribute name="icon" type="xs:string" default="" /> | ||
88 | |||
89 | <xs:attribute name="language" default="C#"> | ||
90 | <xs:simpleType> | ||
91 | <xs:restriction base="xs:string"> | ||
92 | <xs:enumeration value="C#" /> | ||
93 | <xs:enumeration value="VB.NET" /> | ||
94 | </xs:restriction> | ||
95 | </xs:simpleType> | ||
96 | </xs:attribute> | ||
97 | |||
98 | <xs:attribute name="type" default="Exe"> | ||
99 | <xs:simpleType> | ||
100 | <xs:restriction base="xs:string"> | ||
101 | <xs:enumeration value="Exe" /> | ||
102 | <xs:enumeration value="WinExe" /> | ||
103 | <xs:enumeration value="Library" /> | ||
104 | </xs:restriction> | ||
105 | </xs:simpleType> | ||
106 | </xs:attribute> | ||
107 | |||
108 | <xs:attribute name="runtime" default="Microsoft"> | ||
109 | <xs:simpleType> | ||
110 | <xs:restriction base="xs:string"> | ||
111 | <xs:enumeration value="Microsoft" /> | ||
112 | <xs:enumeration value="Mono" /> | ||
113 | </xs:restriction> | ||
114 | </xs:simpleType> | ||
115 | </xs:attribute> | ||
116 | |||
117 | <xs:attribute name="startupObject" type="xs:string" default="" /> | ||
118 | <xs:attribute name="rootNamespace" type="xs:string" /> | ||
119 | <xs:attribute name="assemblyName" type="xs:string" /> | ||
120 | </xs:complexType> | ||
121 | </xs:element> | ||
122 | |||
123 | <xs:element name="Configuration"> | ||
124 | <xs:complexType> | ||
125 | <xs:all> | ||
126 | <xs:element ref="Options" minOccurs="0" /> | ||
127 | </xs:all> | ||
128 | |||
129 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
130 | </xs:complexType> | ||
131 | </xs:element> | ||
132 | |||
133 | <xs:element name="Options"> | ||
134 | <xs:complexType> | ||
135 | <xs:all> | ||
136 | <xs:element name="CompilerDefines" type="xs:string" minOccurs="0" /> | ||
137 | <xs:element name="OptimizeCode" type="xs:boolean" minOccurs="0" /> | ||
138 | <xs:element name="CheckUnderflowOverflow" type="xs:boolean" minOccurs="0" /> | ||
139 | <xs:element name="AllowUnsafe" type="xs:boolean" minOccurs="0" /> | ||
140 | <xs:element name="WarningLevel" minOccurs="0"> | ||
141 | <xs:simpleType> | ||
142 | <xs:restriction base="xs:integer"> | ||
143 | <xs:minInclusive value="0" /> | ||
144 | <xs:maxInclusive value="4"/> | ||
145 | </xs:restriction> | ||
146 | </xs:simpleType> | ||
147 | </xs:element> | ||
148 | <xs:element name="WarningsAsErrors" type="xs:boolean" minOccurs="0" /> | ||
149 | <xs:element name="SupressWarnings" type="xs:string" minOccurs="0" /> | ||
150 | <xs:element name="OutputPath" type="xs:string" minOccurs="0" /> | ||
151 | <xs:element name="XmlDocFile" type="xs:string" minOccurs="0" /> | ||
152 | <xs:element name="DebugInformation" type="xs:boolean" minOccurs="0" /> | ||
153 | <xs:element name="RegisterCOMInterop" type="xs:boolean" minOccurs="0" /> | ||
154 | <xs:element name="IncrementalBuild" type="xs:boolean" minOccurs="0" /> | ||
155 | <xs:element name="BaseAddress" type="xs:string" minOccurs="0" /> | ||
156 | <xs:element name="FileAlignment" type="xs:integer" minOccurs="0" /> | ||
157 | <xs:element name="NoStdLib" type="xs:boolean" minOccurs="0" /> | ||
158 | </xs:all> | ||
159 | </xs:complexType> | ||
160 | </xs:element> | ||
161 | |||
162 | <xs:element name="Files"> | ||
163 | <xs:complexType> | ||
164 | <xs:sequence> | ||
165 | <xs:element ref="File" minOccurs="0" maxOccurs="unbounded" /> | ||
166 | <xs:element ref="Match" minOccurs="0" maxOccurs="unbounded" /> | ||
167 | </xs:sequence> | ||
168 | </xs:complexType> | ||
169 | </xs:element> | ||
170 | |||
171 | <xs:element name="File"> | ||
172 | <xs:complexType> | ||
173 | <xs:simpleContent> | ||
174 | <xs:extension base="xs:string"> | ||
175 | <xs:attribute name="buildAction" default="Compile"> | ||
176 | <xs:simpleType> | ||
177 | <xs:restriction base="xs:string"> | ||
178 | <xs:enumeration value="Compile" /> | ||
179 | <xs:enumeration value="Content" /> | ||
180 | <xs:enumeration value="EmbeddedResource" /> | ||
181 | </xs:restriction> | ||
182 | </xs:simpleType> | ||
183 | </xs:attribute> | ||
184 | </xs:extension> | ||
185 | </xs:simpleContent> | ||
186 | </xs:complexType> | ||
187 | </xs:element> | ||
188 | |||
189 | <xs:element name="Match"> | ||
190 | <xs:complexType> | ||
191 | <xs:attribute name="path" type="xs:string" /> | ||
192 | <xs:attribute name="pattern" type="xs:string" use="required" /> | ||
193 | <xs:attribute name="recurse" type="xs:boolean" default="false" /> | ||
194 | <xs:attribute name="useRegex" type="xs:boolean" default="false" /> | ||
195 | <xs:attribute name="buildAction" default="Compile"> | ||
196 | <xs:simpleType> | ||
197 | <xs:restriction base="xs:string"> | ||
198 | <xs:enumeration value="Compile" /> | ||
199 | <xs:enumeration value="Content" /> | ||
200 | <xs:enumeration value="EmbeddedResource" /> | ||
201 | </xs:restriction> | ||
202 | </xs:simpleType> | ||
203 | </xs:attribute> | ||
204 | </xs:complexType> | ||
205 | </xs:element> | ||
206 | </xs:schema> \ No newline at end of file | ||
diff --git a/Prebuild/src/data/.svn/text-base/dnpb-1.4.xsd.svn-base b/Prebuild/src/data/.svn/text-base/dnpb-1.4.xsd.svn-base new file mode 100644 index 0000000..1da50fc --- /dev/null +++ b/Prebuild/src/data/.svn/text-base/dnpb-1.4.xsd.svn-base | |||
@@ -0,0 +1,212 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" ?> | ||
2 | <xs:schema elementFormDefault="qualified" | ||
3 | xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
4 | targetNamespace="http://dnpb.sourceforge.net/schemas/dnpb-1.4.xsd" | ||
5 | xmlns="http://dnpb.sourceforge.net/schemas/dnpb-1.4.xsd" | ||
6 | > | ||
7 | <xs:annotation> | ||
8 | <xs:documentation> | ||
9 | Copyright (c) 2004-2005 Matthew Holmes (calefaction at houston . rr . com), Dan Moorehead (dan05a at gmail . 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 and | ||
14 | 2003, SharpDevelop, MonoDevelop, and NAnt. | ||
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="DNPreBuild"> | ||
40 | <xs:complexType> | ||
41 | <xs:sequence> | ||
42 | <xs:element ref="Process" minOccurs="0" maxOccurs="unbounded" /> | ||
43 | <xs:element ref="Solution" minOccurs="0" maxOccurs="unbounded" /> | ||
44 | </xs:sequence> | ||
45 | |||
46 | <xs:attribute name="version" /> | ||
47 | <xs:attribute name="checkOsVars" /> | ||
48 | </xs:complexType> | ||
49 | </xs:element> | ||
50 | |||
51 | <xs:element name="Process" type="xs:string" /> | ||
52 | |||
53 | <xs:element name="Solution"> | ||
54 | <xs:complexType> | ||
55 | <xs:sequence> | ||
56 | <xs:element ref="Options" minOccurs="0" /> | ||
57 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> | ||
58 | <xs:element ref="Files" minOccurs="0" /> | ||
59 | <xs:element ref="Project" minOccurs="1" maxOccurs="unbounded" /> | ||
60 | </xs:sequence> | ||
61 | |||
62 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
63 | <xs:attribute name="activeConfig" type="xs:string" default="Debug" /> | ||
64 | <xs:attribute name="path" type="xs:string" default="" /> | ||
65 | </xs:complexType> | ||
66 | </xs:element> | ||
67 | |||
68 | <xs:element name="Project"> | ||
69 | <xs:complexType> | ||
70 | <xs:sequence> | ||
71 | <xs:element ref="Configuration" minOccurs="0" maxOccurs="unbounded" /> | ||
72 | |||
73 | <xs:element name="ReferencePath" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
74 | |||
75 | <xs:element name="Reference" minOccurs="0" maxOccurs="unbounded"> | ||
76 | <xs:complexType> | ||
77 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
78 | <xs:attribute name="path" type="xs:string" /> | ||
79 | <xs:attribute name="localCopy" type="xs:boolean" /> | ||
80 | <xs:attribute name="version" type="xs:string" /> | ||
81 | </xs:complexType> | ||
82 | </xs:element> | ||
83 | |||
84 | <xs:element ref="Files" /> | ||
85 | </xs:sequence> | ||
86 | |||
87 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
88 | <xs:attribute name="path" type="xs:string" default="" /> | ||
89 | <xs:attribute name="icon" type="xs:string" default="" /> | ||
90 | |||
91 | <xs:attribute name="language" default="C#"> | ||
92 | <xs:simpleType> | ||
93 | <xs:restriction base="xs:string"> | ||
94 | <xs:enumeration value="C#" /> | ||
95 | <xs:enumeration value="VB.NET" /> | ||
96 | </xs:restriction> | ||
97 | </xs:simpleType> | ||
98 | </xs:attribute> | ||
99 | |||
100 | <xs:attribute name="type" default="Exe"> | ||
101 | <xs:simpleType> | ||
102 | <xs:restriction base="xs:string"> | ||
103 | <xs:enumeration value="Exe" /> | ||
104 | <xs:enumeration value="WinExe" /> | ||
105 | <xs:enumeration value="Library" /> | ||
106 | </xs:restriction> | ||
107 | </xs:simpleType> | ||
108 | </xs:attribute> | ||
109 | |||
110 | <xs:attribute name="runtime" default="Microsoft"> | ||
111 | <xs:simpleType> | ||
112 | <xs:restriction base="xs:string"> | ||
113 | <xs:enumeration value="Microsoft" /> | ||
114 | <xs:enumeration value="Mono" /> | ||
115 | </xs:restriction> | ||
116 | </xs:simpleType> | ||
117 | </xs:attribute> | ||
118 | |||
119 | <xs:attribute name="startupObject" type="xs:string" default="" /> | ||
120 | <xs:attribute name="rootNamespace" type="xs:string" /> | ||
121 | <xs:attribute name="assemblyName" type="xs:string" /> | ||
122 | </xs:complexType> | ||
123 | </xs:element> | ||
124 | |||
125 | <xs:element name="Configuration"> | ||
126 | <xs:complexType> | ||
127 | <xs:sequence> | ||
128 | <xs:element ref="Options" minOccurs="0" /> | ||
129 | </xs:sequence> | ||
130 | |||
131 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
132 | </xs:complexType> | ||
133 | </xs:element> | ||
134 | |||
135 | <xs:element name="Options"> | ||
136 | <xs:complexType> | ||
137 | <xs:all> | ||
138 | <xs:element name="CompilerDefines" type="xs:string" minOccurs="0" /> | ||
139 | <xs:element name="OptimizeCode" 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" /> | ||
142 | <xs:element name="WarningLevel" minOccurs="0"> | ||
143 | <xs:simpleType> | ||
144 | <xs:restriction base="xs:integer"> | ||
145 | <xs:minInclusive value="0" /> | ||
146 | <xs:maxInclusive value="4"/> | ||
147 | </xs:restriction> | ||
148 | </xs:simpleType> | ||
149 | </xs:element> | ||
150 | <xs:element name="WarningsAsErrors" type="xs:boolean" minOccurs="0" /> | ||
151 | <xs:element name="SupressWarnings" 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" /> | ||
154 | <xs:element name="DebugInformation" 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" /> | ||
157 | <xs:element name="BaseAddress" type="xs:string" minOccurs="0" /> | ||
158 | <xs:element name="FileAlignment" type="xs:integer" minOccurs="0" /> | ||
159 | <xs:element name="NoStdLib" type="xs:boolean" minOccurs="0" /> | ||
160 | </xs:all> | ||
161 | </xs:complexType> | ||
162 | </xs:element> | ||
163 | |||
164 | <xs:element name="Files"> | ||
165 | <xs:complexType> | ||
166 | <xs:sequence> | ||
167 | <xs:element ref="File" minOccurs="0" maxOccurs="unbounded" /> | ||
168 | <xs:element ref="Match" minOccurs="0" maxOccurs="unbounded" /> | ||
169 | </xs:sequence> | ||
170 | </xs:complexType> | ||
171 | </xs:element> | ||
172 | |||
173 | <xs:element name="File"> | ||
174 | <xs:complexType> | ||
175 | <xs:simpleContent> | ||
176 | <xs:extension base="xs:string"> | ||
177 | <xs:attribute name="buildAction" default="Compile"> | ||
178 | <xs:simpleType> | ||
179 | <xs:restriction base="xs:string"> | ||
180 | <xs:enumeration value="None" /> | ||
181 | <xs:enumeration value="Compile" /> | ||
182 | <xs:enumeration value="Content" /> | ||
183 | <xs:enumeration value="EmbeddedResource" /> | ||
184 | </xs:restriction> | ||
185 | </xs:simpleType> | ||
186 | </xs:attribute> | ||
187 | </xs:extension> | ||
188 | </xs:simpleContent> | ||
189 | </xs:complexType> | ||
190 | </xs:element> | ||
191 | |||
192 | <xs:element name="Match"> | ||
193 | <xs:complexType> | ||
194 | <xs:attribute name="path" type="xs:string" /> | ||
195 | <xs:attribute name="pattern" type="xs:string" use="required" /> | ||
196 | <xs:attribute name="recurse" type="xs:boolean" default="false" /> | ||
197 | <xs:attribute name="useRegex" type="xs:boolean" default="false" /> | ||
198 | <xs:attribute name="buildAction" default="Compile"> | ||
199 | <xs:simpleType> | ||
200 | <xs:restriction base="xs:string"> | ||
201 | <xs:enumeration value="None" /> | ||
202 | <xs:enumeration value="Compile" /> | ||
203 | <xs:enumeration value="Content" /> | ||
204 | <xs:enumeration value="EmbeddedResource" /> | ||
205 | </xs:restriction> | ||
206 | </xs:simpleType> | ||
207 | </xs:attribute> | ||
208 | </xs:complexType> | ||
209 | </xs:element> | ||
210 | </xs:schema> | ||
211 | |||
212 | |||
diff --git a/Prebuild/src/data/.svn/text-base/dnpb-1.5.xsd.svn-base b/Prebuild/src/data/.svn/text-base/dnpb-1.5.xsd.svn-base new file mode 100644 index 0000000..e2b21f0 --- /dev/null +++ b/Prebuild/src/data/.svn/text-base/dnpb-1.5.xsd.svn-base | |||
@@ -0,0 +1,215 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" ?> | ||
2 | <xs:schema elementFormDefault="qualified" | ||
3 | xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
4 | targetNamespace="http://dnpb.sourceforge.net/schemas/dnpb-1.5.xsd" | ||
5 | xmlns="http://dnpb.sourceforge.net/schemas/dnpb-1.5.xsd" | ||
6 | > | ||
7 | <xs:annotation> | ||
8 | <xs:documentation> | ||
9 | Copyright (c) 2004-2005 Matthew Holmes (calefaction at houston . rr . com), Dan Moorehead (dan05a at gmail . 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 and | ||
14 | 2003, SharpDevelop, MonoDevelop, and NAnt. | ||
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="DNPreBuild"> | ||
40 | <xs:complexType> | ||
41 | <xs:sequence> | ||
42 | <xs:element ref="Process" minOccurs="0" maxOccurs="unbounded" /> | ||
43 | <xs:element ref="Solution" minOccurs="0" maxOccurs="unbounded" /> | ||
44 | </xs:sequence> | ||
45 | |||
46 | <xs:attribute name="version" /> | ||
47 | <xs:attribute name="checkOsVars" /> | ||
48 | </xs:complexType> | ||
49 | </xs:element> | ||
50 | |||
51 | <xs:element name="Process" type="xs:string" /> | ||
52 | |||
53 | <xs:element name="Solution"> | ||
54 | <xs:complexType> | ||
55 | <xs:sequence> | ||
56 | <xs:element ref="Options" minOccurs="0" /> | ||
57 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> | ||
58 | <xs:element ref="Files" minOccurs="0" /> | ||
59 | <xs:element ref="Project" minOccurs="1" maxOccurs="unbounded" /> | ||
60 | </xs:sequence> | ||
61 | |||
62 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
63 | <xs:attribute name="activeConfig" type="xs:string" default="Debug" /> | ||
64 | <xs:attribute name="path" type="xs:string" default="" /> | ||
65 | </xs:complexType> | ||
66 | </xs:element> | ||
67 | |||
68 | <xs:element name="Project"> | ||
69 | <xs:complexType> | ||
70 | <xs:sequence> | ||
71 | <xs:element ref="Configuration" minOccurs="0" maxOccurs="unbounded" /> | ||
72 | |||
73 | <xs:element name="ReferencePath" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
74 | |||
75 | <xs:element name="Reference" minOccurs="0" maxOccurs="unbounded"> | ||
76 | <xs:complexType> | ||
77 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
78 | <xs:attribute name="path" type="xs:string" /> | ||
79 | <xs:attribute name="localCopy" type="xs:boolean" /> | ||
80 | <xs:attribute name="version" type="xs:string" /> | ||
81 | </xs:complexType> | ||
82 | </xs:element> | ||
83 | |||
84 | <xs:element ref="Files" /> | ||
85 | </xs:sequence> | ||
86 | |||
87 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
88 | <xs:attribute name="filterGroups" type="xs:string" default="" /> | ||
89 | <xs:attribute name="path" type="xs:string" default="" /> | ||
90 | <xs:attribute name="icon" type="xs:string" default="" /> | ||
91 | |||
92 | <xs:attribute name="language" default="C#"> | ||
93 | <xs:simpleType> | ||
94 | <xs:restriction base="xs:string"> | ||
95 | <xs:enumeration value="C#" /> | ||
96 | <xs:enumeration value="VB.NET" /> | ||
97 | </xs:restriction> | ||
98 | </xs:simpleType> | ||
99 | </xs:attribute> | ||
100 | |||
101 | <xs:attribute name="type" default="Exe"> | ||
102 | <xs:simpleType> | ||
103 | <xs:restriction base="xs:string"> | ||
104 | <xs:enumeration value="Exe" /> | ||
105 | <xs:enumeration value="WinExe" /> | ||
106 | <xs:enumeration value="Library" /> | ||
107 | </xs:restriction> | ||
108 | </xs:simpleType> | ||
109 | </xs:attribute> | ||
110 | |||
111 | <xs:attribute name="runtime" default="Microsoft"> | ||
112 | <xs:simpleType> | ||
113 | <xs:restriction base="xs:string"> | ||
114 | <xs:enumeration value="Microsoft" /> | ||
115 | <xs:enumeration value="Mono" /> | ||
116 | </xs:restriction> | ||
117 | </xs:simpleType> | ||
118 | </xs:attribute> | ||
119 | |||
120 | <xs:attribute name="startupObject" type="xs:string" default="" /> | ||
121 | <xs:attribute name="rootNamespace" type="xs:string" /> | ||
122 | <xs:attribute name="assemblyName" type="xs:string" /> | ||
123 | </xs:complexType> | ||
124 | </xs:element> | ||
125 | |||
126 | <xs:element name="Configuration"> | ||
127 | <xs:complexType> | ||
128 | <xs:sequence> | ||
129 | <xs:element ref="Options" minOccurs="0" /> | ||
130 | </xs:sequence> | ||
131 | |||
132 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
133 | </xs:complexType> | ||
134 | </xs:element> | ||
135 | |||
136 | <xs:element name="Options"> | ||
137 | <xs:complexType> | ||
138 | <xs:all> | ||
139 | <xs:element name="CompilerDefines" type="xs:string" minOccurs="0" /> | ||
140 | <xs:element name="OptimizeCode" type="xs:boolean" minOccurs="0" /> | ||
141 | <xs:element name="CheckUnderflowOverflow" type="xs:boolean" minOccurs="0" /> | ||
142 | <xs:element name="AllowUnsafe" type="xs:boolean" minOccurs="0" /> | ||
143 | <xs:element name="WarningLevel" minOccurs="0"> | ||
144 | <xs:simpleType> | ||
145 | <xs:restriction base="xs:integer"> | ||
146 | <xs:minInclusive value="0" /> | ||
147 | <xs:maxInclusive value="4"/> | ||
148 | </xs:restriction> | ||
149 | </xs:simpleType> | ||
150 | </xs:element> | ||
151 | <xs:element name="WarningsAsErrors" type="xs:boolean" minOccurs="0" /> | ||
152 | <xs:element name="SupressWarnings" type="xs:string" minOccurs="0" /> | ||
153 | <xs:element name="OutputPath" type="xs:string" minOccurs="0" /> | ||
154 | <xs:element name="GenerateXmlDocFile" type="xs:boolean" minOccurs="0" /> | ||
155 | <xs:element name="XmlDocFile" type="xs:string" minOccurs="0" /> | ||
156 | <xs:element name="DebugInformation" type="xs:boolean" minOccurs="0" /> | ||
157 | <xs:element name="RegisterCOMInterop" type="xs:boolean" minOccurs="0" /> | ||
158 | <xs:element name="RemoveIntegerChecks" type="xs:boolean" minOccurs="0" /> | ||
159 | <xs:element name="IncrementalBuild" type="xs:boolean" minOccurs="0" /> | ||
160 | <xs:element name="BaseAddress" type="xs:string" minOccurs="0" /> | ||
161 | <xs:element name="FileAlignment" type="xs:integer" minOccurs="0" /> | ||
162 | <xs:element name="NoStdLib" type="xs:boolean" minOccurs="0" /> | ||
163 | </xs:all> | ||
164 | </xs:complexType> | ||
165 | </xs:element> | ||
166 | |||
167 | <xs:element name="Files"> | ||
168 | <xs:complexType> | ||
169 | <xs:sequence> | ||
170 | <xs:element ref="File" minOccurs="0" maxOccurs="unbounded" /> | ||
171 | <xs:element ref="Match" minOccurs="0" maxOccurs="unbounded" /> | ||
172 | </xs:sequence> | ||
173 | </xs:complexType> | ||
174 | </xs:element> | ||
175 | |||
176 | <xs:element name="File"> | ||
177 | <xs:complexType> | ||
178 | <xs:simpleContent> | ||
179 | <xs:extension base="xs:string"> | ||
180 | <xs:attribute name="buildAction" default="Compile"> | ||
181 | <xs:simpleType> | ||
182 | <xs:restriction base="xs:string"> | ||
183 | <xs:enumeration value="None" /> | ||
184 | <xs:enumeration value="Compile" /> | ||
185 | <xs:enumeration value="Content" /> | ||
186 | <xs:enumeration value="EmbeddedResource" /> | ||
187 | </xs:restriction> | ||
188 | </xs:simpleType> | ||
189 | </xs:attribute> | ||
190 | </xs:extension> | ||
191 | </xs:simpleContent> | ||
192 | </xs:complexType> | ||
193 | </xs:element> | ||
194 | |||
195 | <xs:element name="Match"> | ||
196 | <xs:complexType> | ||
197 | <xs:attribute name="path" type="xs:string" /> | ||
198 | <xs:attribute name="pattern" type="xs:string" use="required" /> | ||
199 | <xs:attribute name="recurse" type="xs:boolean" default="false" /> | ||
200 | <xs:attribute name="useRegex" type="xs:boolean" default="false" /> | ||
201 | <xs:attribute name="buildAction" default="Compile"> | ||
202 | <xs:simpleType> | ||
203 | <xs:restriction base="xs:string"> | ||
204 | <xs:enumeration value="None" /> | ||
205 | <xs:enumeration value="Compile" /> | ||
206 | <xs:enumeration value="Content" /> | ||
207 | <xs:enumeration value="EmbeddedResource" /> | ||
208 | </xs:restriction> | ||
209 | </xs:simpleType> | ||
210 | </xs:attribute> | ||
211 | </xs:complexType> | ||
212 | </xs:element> | ||
213 | </xs:schema> | ||
214 | |||
215 | |||
diff --git a/Prebuild/src/data/.svn/text-base/prebuild-1.6.xsd.svn-base b/Prebuild/src/data/.svn/text-base/prebuild-1.6.xsd.svn-base new file mode 100644 index 0000000..57ebd2e --- /dev/null +++ b/Prebuild/src/data/.svn/text-base/prebuild-1.6.xsd.svn-base | |||
@@ -0,0 +1,231 @@ | |||
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.6.xsd" | ||
3 | xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.6.xsd"> | ||
4 | <xs:annotation> | ||
5 | <xs:documentation> | ||
6 | Copyright (c) 2004-2005 Matthew Holmes (calefaction at houston . rr . com), Dan Moorehead (dan05a at gmail . com) | ||
7 | |||
8 | .NET Prebuild is a cross-platform XML-driven pre-build tool which | ||
9 | allows developers to easily generate project or make files for major | ||
10 | IDE's and .NET development tools including: Visual Studio .NET 2002 and | ||
11 | 2003, SharpDevelop, MonoDevelop, and NAnt. | ||
12 | |||
13 | BSD License: | ||
14 | |||
15 | Redistribution and use in source and binary forms, with or without modification, are permitted | ||
16 | provided that the following conditions are met: | ||
17 | |||
18 | * Redistributions of source code must retain the above copyright notice, this list of conditions | ||
19 | and the following disclaimer. | ||
20 | * Redistributions in binary form must reproduce the above copyright notice, this list of conditions | ||
21 | and the following disclaimer in the documentation and/or other materials provided with the | ||
22 | distribution. | ||
23 | * The name of the author may not be used to endorse or promote products derived from this software | ||
24 | without specific prior written permission. | ||
25 | |||
26 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, | ||
27 | BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
28 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
29 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
30 | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | ||
31 | OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING | ||
32 | IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
33 | </xs:documentation> | ||
34 | </xs:annotation> | ||
35 | <xs:element name="Prebuild"> | ||
36 | <xs:complexType> | ||
37 | <xs:sequence> | ||
38 | <xs:element ref="Process" minOccurs="0" maxOccurs="unbounded" /> | ||
39 | <xs:element ref="Solution" minOccurs="0" maxOccurs="unbounded" /> | ||
40 | </xs:sequence> | ||
41 | <xs:attribute name="version" /> | ||
42 | <xs:attribute name="checkOsVars" /> | ||
43 | </xs:complexType> | ||
44 | </xs:element> | ||
45 | <xs:element name="Process" type="xs:string" /> | ||
46 | <xs:element name="Solution"> | ||
47 | <xs:complexType> | ||
48 | <xs:sequence> | ||
49 | <xs:element ref="Options" minOccurs="0" /> | ||
50 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> | ||
51 | <xs:element ref="Files" minOccurs="0" /> | ||
52 | <xs:element ref="Project" minOccurs="1" maxOccurs="unbounded" /> | ||
53 | </xs:sequence> | ||
54 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
55 | <xs:attribute name="activeConfig" type="xs:string" default="Debug" /> | ||
56 | <xs:attribute name="path" type="xs:string" default="" /> | ||
57 | </xs:complexType> | ||
58 | </xs:element> | ||
59 | <xs:element name="Project"> | ||
60 | <xs:complexType> | ||
61 | <xs:sequence> | ||
62 | <xs:element ref="Configuration" minOccurs="0" maxOccurs="unbounded" /> | ||
63 | <xs:element name="ReferencePath" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
64 | <xs:element name="Reference" minOccurs="0" maxOccurs="unbounded"> | ||
65 | <xs:complexType> | ||
66 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
67 | <xs:attribute name="path" type="xs:string" /> | ||
68 | <xs:attribute name="localCopy" type="xs:boolean" /> | ||
69 | <xs:attribute name="version" type="xs:string" /> | ||
70 | </xs:complexType> | ||
71 | </xs:element> | ||
72 | <xs:element ref="Files" /> | ||
73 | </xs:sequence> | ||
74 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
75 | <xs:attribute name="filterGroups" type="xs:string" default="" /> | ||
76 | <xs:attribute name="path" type="xs:string" default="" /> | ||
77 | <xs:attribute name="icon" type="xs:string" default="" /> | ||
78 | <xs:attribute name="language" default="C#"> | ||
79 | <xs:simpleType> | ||
80 | <xs:restriction base="xs:string"> | ||
81 | <xs:enumeration value="C#" /> | ||
82 | <xs:enumeration value="VB.NET" /> | ||
83 | </xs:restriction> | ||
84 | </xs:simpleType> | ||
85 | </xs:attribute> | ||
86 | <xs:attribute name="type" default="Exe"> | ||
87 | <xs:simpleType> | ||
88 | <xs:restriction base="xs:string"> | ||
89 | <xs:enumeration value="Exe" /> | ||
90 | <xs:enumeration value="WinExe" /> | ||
91 | <xs:enumeration value="Library" /> | ||
92 | </xs:restriction> | ||
93 | </xs:simpleType> | ||
94 | </xs:attribute> | ||
95 | <xs:attribute name="runtime" default="Microsoft"> | ||
96 | <xs:simpleType> | ||
97 | <xs:restriction base="xs:string"> | ||
98 | <xs:enumeration value="Microsoft" /> | ||
99 | <xs:enumeration value="Mono" /> | ||
100 | </xs:restriction> | ||
101 | </xs:simpleType> | ||
102 | </xs:attribute> | ||
103 | <xs:attribute name="startupObject" type="xs:string" default="" /> | ||
104 | <xs:attribute name="rootNamespace" type="xs:string" /> | ||
105 | <xs:attribute name="assemblyName" type="xs:string" /> | ||
106 | </xs:complexType> | ||
107 | </xs:element> | ||
108 | <xs:element name="Configuration"> | ||
109 | <xs:complexType> | ||
110 | <xs:sequence> | ||
111 | <xs:element ref="Options" minOccurs="0" /> | ||
112 | </xs:sequence> | ||
113 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
114 | </xs:complexType> | ||
115 | </xs:element> | ||
116 | <xs:element name="Options"> | ||
117 | <xs:complexType> | ||
118 | <xs:all> | ||
119 | <xs:element name="CompilerDefines" type="xs:string" minOccurs="0" /> | ||
120 | <xs:element name="OptimizeCode" type="xs:boolean" minOccurs="0" /> | ||
121 | <xs:element name="CheckUnderflowOverflow" type="xs:boolean" minOccurs="0" /> | ||
122 | <xs:element name="AllowUnsafe" type="xs:boolean" minOccurs="0" /> | ||
123 | <xs:element name="PreBuildEvent" type="xs:string" minOccurs="0" /> | ||
124 | <xs:element name="PostBuildEvent" type="xs:string" minOccurs="0" /> | ||
125 | <xs:element name="RunPostBuildEvent" minOccurs="0" default="OnBuildSuccess"> | ||
126 | <xs:simpleType> | ||
127 | <xs:restriction base="xs:string"> | ||
128 | <xs:enumeration value="OnBuildSuccess" /> | ||
129 | <xs:enumeration value="Always" /> | ||
130 | <xs:enumeration value="OnOutputUpdated" /> | ||
131 | </xs:restriction> | ||
132 | </xs:simpleType> | ||
133 | </xs:element> | ||
134 | <xs:element name="RunScript" type="xs:string" minOccurs="0" /> | ||
135 | <xs:element name="PreBuildEventArgs" type="xs:string" minOccurs="0" /> | ||
136 | <xs:element name="PostBuildEventArgs" type="xs:string" minOccurs="0" /> | ||
137 | <xs:element name="WarningLevel" minOccurs="0"> | ||
138 | <xs:simpleType> | ||
139 | <xs:restriction base="xs:integer"> | ||
140 | <xs:minInclusive value="0" /> | ||
141 | <xs:maxInclusive value="4" /> | ||
142 | </xs:restriction> | ||
143 | </xs:simpleType> | ||
144 | </xs:element> | ||
145 | <xs:element name="WarningsAsErrors" type="xs:boolean" minOccurs="0" /> | ||
146 | <xs:element name="SuppressWarnings" type="xs:string" minOccurs="0" /> | ||
147 | <xs:element name="OutputPath" type="xs:string" minOccurs="0" /> | ||
148 | <xs:element name="XmlDocFile" type="xs:string" minOccurs="0" /> | ||
149 | <xs:element name="DebugInformation" type="xs:boolean" minOccurs="0" /> | ||
150 | <xs:element name="RegisterComInterop" type="xs:boolean" minOccurs="0" /> | ||
151 | <xs:element name="RemoveIntegerChecks" type="xs:boolean" minOccurs="0" /> | ||
152 | <xs:element name="IncrementalBuild" type="xs:boolean" minOccurs="0" /> | ||
153 | <xs:element name="BaseAddress" type="xs:string" minOccurs="0" /> | ||
154 | <xs:element name="FileAlignment" type="xs:integer" minOccurs="0" /> | ||
155 | <xs:element name="NoStdLib" type="xs:boolean" minOccurs="0" /> | ||
156 | </xs:all> | ||
157 | </xs:complexType> | ||
158 | </xs:element> | ||
159 | <xs:element name="Files"> | ||
160 | <xs:complexType> | ||
161 | <xs:sequence> | ||
162 | <xs:element ref="File" minOccurs="0" maxOccurs="unbounded" /> | ||
163 | <xs:element ref="Match" minOccurs="0" maxOccurs="unbounded" /> | ||
164 | </xs:sequence> | ||
165 | </xs:complexType> | ||
166 | </xs:element> | ||
167 | <xs:element name="File"> | ||
168 | <xs:complexType> | ||
169 | <xs:simpleContent> | ||
170 | <xs:extension base="xs:string"> | ||
171 | <xs:attribute name="buildAction" default="Compile"> | ||
172 | <xs:simpleType> | ||
173 | <xs:restriction base="xs:string"> | ||
174 | <xs:enumeration value="None" /> | ||
175 | <xs:enumeration value="Compile" /> | ||
176 | <xs:enumeration value="Content" /> | ||
177 | <xs:enumeration value="EmbeddedResource" /> | ||
178 | </xs:restriction> | ||
179 | </xs:simpleType> | ||
180 | </xs:attribute> | ||
181 | <xs:attribute name="subType" default="Code"> | ||
182 | <xs:simpleType> | ||
183 | <xs:restriction base="xs:string"> | ||
184 | <xs:enumeration value="Code" /> | ||
185 | <xs:enumeration value="Component" /> | ||
186 | <xs:enumeration value="Form" /> | ||
187 | <xs:enumeration value="UserControl" /> | ||
188 | </xs:restriction> | ||
189 | </xs:simpleType> | ||
190 | </xs:attribute> | ||
191 | </xs:extension> | ||
192 | </xs:simpleContent> | ||
193 | </xs:complexType> | ||
194 | </xs:element> | ||
195 | <xs:element name="Match"> | ||
196 | <xs:complexType> | ||
197 | <xs:sequence> | ||
198 | <xs:element ref="Exclude" minOccurs="0" /> | ||
199 | </xs:sequence> | ||
200 | <xs:attribute name="path" type="xs:string" /> | ||
201 | <xs:attribute name="pattern" type="xs:string" use="required" /> | ||
202 | <xs:attribute name="recurse" type="xs:boolean" default="false" /> | ||
203 | <xs:attribute name="useRegex" type="xs:boolean" default="false" /> | ||
204 | <xs:attribute name="buildAction" default="Compile"> | ||
205 | <xs:simpleType> | ||
206 | <xs:restriction base="xs:string"> | ||
207 | <xs:enumeration value="None" /> | ||
208 | <xs:enumeration value="Compile" /> | ||
209 | <xs:enumeration value="Content" /> | ||
210 | <xs:enumeration value="EmbeddedResource" /> | ||
211 | </xs:restriction> | ||
212 | </xs:simpleType> | ||
213 | </xs:attribute> | ||
214 | <xs:attribute name="subType" default="Code"> | ||
215 | <xs:simpleType> | ||
216 | <xs:restriction base="xs:string"> | ||
217 | <xs:enumeration value="Code" /> | ||
218 | <xs:enumeration value="Component" /> | ||
219 | <xs:enumeration value="Form" /> | ||
220 | <xs:enumeration value="UserControl" /> | ||
221 | </xs:restriction> | ||
222 | </xs:simpleType> | ||
223 | </xs:attribute> | ||
224 | </xs:complexType> | ||
225 | </xs:element> | ||
226 | <xs:element name="Exclude"> | ||
227 | <xs:complexType> | ||
228 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
229 | </xs:complexType> | ||
230 | </xs:element> | ||
231 | </xs:schema> | ||
diff --git a/Prebuild/src/data/.svn/text-base/prebuild-1.7.xsd.svn-base b/Prebuild/src/data/.svn/text-base/prebuild-1.7.xsd.svn-base new file mode 100644 index 0000000..a7f5c88 --- /dev/null +++ b/Prebuild/src/data/.svn/text-base/prebuild-1.7.xsd.svn-base | |||
@@ -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> | ||
diff --git a/Prebuild/src/data/.svn/text-base/prebuild-1.8.xsd.svn-base b/Prebuild/src/data/.svn/text-base/prebuild-1.8.xsd.svn-base new file mode 100644 index 0000000..8f5c1a4 --- /dev/null +++ b/Prebuild/src/data/.svn/text-base/prebuild-1.8.xsd.svn-base | |||
@@ -0,0 +1,331 @@ | |||
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.8.xsd" xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.8.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="1" /> | ||
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="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" /> | ||
74 | <xs:element ref="Files" minOccurs="0" /> | ||
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" /> | ||
78 | </xs:sequence> | ||
79 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
80 | <xs:attribute name="activeConfig" type="xs:string" default="Debug" /> | ||
81 | <xs:attribute name="path" type="xs:string" default="" /> | ||
82 | <xs:attribute name="version" type="xs:string" default="1.0.0" /> | ||
83 | </xs:complexType> | ||
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 | |||
106 | <xs:element name="Project"> | ||
107 | <xs:complexType> | ||
108 | <xs:sequence> | ||
109 | <xs:element name="Author" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
110 | <xs:element name="Description" type="xs:string" minOccurs="0" maxOccurs="1" /> | ||
111 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> | ||
112 | <xs:element name="ReferencePath" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
113 | <xs:element name="Reference" minOccurs="0" maxOccurs="unbounded"> | ||
114 | <xs:complexType> | ||
115 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
116 | <xs:attribute name="path" type="xs:string" /> | ||
117 | <xs:attribute name="localCopy" type="xs:boolean" /> | ||
118 | <xs:attribute name="version" type="xs:string" /> | ||
119 | </xs:complexType> | ||
120 | </xs:element> | ||
121 | <xs:element ref="Files" /> | ||
122 | </xs:sequence> | ||
123 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
124 | <xs:attribute name="designerFolder" type="xs:string" default="" /> | ||
125 | <xs:attribute name="filterGroups" type="xs:string" default="" /> | ||
126 | <xs:attribute name="path" type="xs:string" default="" /> | ||
127 | <xs:attribute name="icon" type="xs:string" default="" /> | ||
128 | <xs:attribute name="configFile" type="xs:string" default="" /> | ||
129 | <xs:attribute name="version" type="xs:string" default="1.0.0" /> | ||
130 | <xs:attribute name="guid" type="xs:string"/> | ||
131 | <xs:attribute name="language" default="C#"> | ||
132 | <xs:simpleType> | ||
133 | <xs:restriction base="xs:string"> | ||
134 | <xs:enumeration value="C#" /> | ||
135 | <xs:enumeration value="VB.NET" /> | ||
136 | </xs:restriction> | ||
137 | </xs:simpleType> | ||
138 | </xs:attribute> | ||
139 | <xs:attribute name="type" default="Exe"> | ||
140 | <xs:simpleType> | ||
141 | <xs:restriction base="xs:string"> | ||
142 | <xs:enumeration value="Exe" /> | ||
143 | <xs:enumeration value="WinExe" /> | ||
144 | <xs:enumeration value="Library" /> | ||
145 | <xs:enumeration value="Web" /> | ||
146 | </xs:restriction> | ||
147 | </xs:simpleType> | ||
148 | </xs:attribute> | ||
149 | <xs:attribute name="runtime" default="Microsoft"> | ||
150 | <xs:simpleType> | ||
151 | <xs:restriction base="xs:string"> | ||
152 | <xs:enumeration value="Microsoft" /> | ||
153 | <xs:enumeration value="Mono" /> | ||
154 | </xs:restriction> | ||
155 | </xs:simpleType> | ||
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> | ||
166 | <xs:attribute name="startupObject" type="xs:string" default="" /> | ||
167 | <xs:attribute name="rootNamespace" type="xs:string" /> | ||
168 | <xs:attribute name="assemblyName" type="xs:string" /> | ||
169 | <xs:attribute name="generateAssemblyInfoFile" type="xs:boolean" default="false" /> | ||
170 | </xs:complexType> | ||
171 | </xs:element> | ||
172 | |||
173 | <xs:element name="Configuration"> | ||
174 | <xs:complexType> | ||
175 | <xs:sequence> | ||
176 | <xs:element ref="Options" minOccurs="0" /> | ||
177 | </xs:sequence> | ||
178 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
179 | <xs:attribute name="platform" type="xs:string" use="required" /> | ||
180 | </xs:complexType> | ||
181 | </xs:element> | ||
182 | <xs:element name="Options"> | ||
183 | <xs:complexType> | ||
184 | <xs:all> | ||
185 | <xs:element name="CompilerDefines" type="xs:string" minOccurs="0" /> | ||
186 | <xs:element name="OptimizeCode" type="xs:boolean" minOccurs="0" /> | ||
187 | <xs:element name="CheckUnderflowOverflow" type="xs:boolean" minOccurs="0" /> | ||
188 | <xs:element name="AllowUnsafe" type="xs:boolean" minOccurs="0" /> | ||
189 | <xs:element name="PreBuildEvent" type="xs:string" minOccurs="0" /> | ||
190 | <xs:element name="PostBuildEvent" type="xs:string" minOccurs="0" /> | ||
191 | <xs:element name="RunPostBuildEvent" minOccurs="0" default="OnBuildSuccess"> | ||
192 | <xs:simpleType> | ||
193 | <xs:restriction base="xs:string"> | ||
194 | <xs:enumeration value="OnBuildSuccess" /> | ||
195 | <xs:enumeration value="Always" /> | ||
196 | <xs:enumeration value="OnOutputUpdated" /> | ||
197 | </xs:restriction> | ||
198 | </xs:simpleType> | ||
199 | </xs:element> | ||
200 | <xs:element name="RunScript" type="xs:string" minOccurs="0" /> | ||
201 | <xs:element name="PreBuildEventArgs" type="xs:string" minOccurs="0" /> | ||
202 | <xs:element name="PostBuildEventArgs" type="xs:string" minOccurs="0" /> | ||
203 | <xs:element name="WarningLevel" minOccurs="0"> | ||
204 | <xs:simpleType> | ||
205 | <xs:restriction base="xs:integer"> | ||
206 | <xs:minInclusive value="0" /> | ||
207 | <xs:maxInclusive value="4" /> | ||
208 | </xs:restriction> | ||
209 | </xs:simpleType> | ||
210 | </xs:element> | ||
211 | <xs:element name="WarningsAsErrors" type="xs:boolean" minOccurs="0" /> | ||
212 | <xs:element name="SuppressWarnings" type="xs:string" minOccurs="0" /> | ||
213 | <xs:element name="OutputPath" type="xs:string" minOccurs="0" /> | ||
214 | <xs:element name="GenerateDocumentation" type="xs:boolean" minOccurs="0" /> | ||
215 | <xs:element name="XmlDocFile" type="xs:string" minOccurs="0" /> | ||
216 | <xs:element name="DebugInformation" type="xs:boolean" minOccurs="0" /> | ||
217 | <xs:element name="RegisterComInterop" type="xs:boolean" minOccurs="0" /> | ||
218 | <xs:element name="RemoveIntegerChecks" type="xs:boolean" minOccurs="0" /> | ||
219 | <xs:element name="IncrementalBuild" type="xs:boolean" minOccurs="0" /> | ||
220 | <xs:element name="BaseAddress" type="xs:string" minOccurs="0" /> | ||
221 | <xs:element name="FileAlignment" type="xs:integer" minOccurs="0" /> | ||
222 | <xs:element name="NoStdLib" type="xs:boolean" minOccurs="0" /> | ||
223 | <xs:element name="KeyFile" type="xs:string" minOccurs="0" /> | ||
224 | </xs:all> | ||
225 | </xs:complexType> | ||
226 | </xs:element> | ||
227 | <xs:element name="Files"> | ||
228 | <xs:complexType> | ||
229 | <xs:sequence> | ||
230 | <xs:element ref="File" minOccurs="0" maxOccurs="unbounded" /> | ||
231 | <xs:element ref="Match" minOccurs="0" maxOccurs="unbounded" /> | ||
232 | </xs:sequence> | ||
233 | </xs:complexType> | ||
234 | </xs:element> | ||
235 | <xs:element name="File"> | ||
236 | <xs:complexType> | ||
237 | <xs:simpleContent> | ||
238 | <xs:extension base="xs:string"> | ||
239 | <xs:attribute name="resourceName" type="xs:string" default="" /> | ||
240 | <xs:attribute name="buildAction" default="Compile"> | ||
241 | <xs:simpleType> | ||
242 | <xs:restriction base="xs:string"> | ||
243 | <xs:enumeration value="None" /> | ||
244 | <xs:enumeration value="Compile" /> | ||
245 | <xs:enumeration value="Content" /> | ||
246 | <xs:enumeration value="EmbeddedResource" /> | ||
247 | </xs:restriction> | ||
248 | </xs:simpleType> | ||
249 | </xs:attribute> | ||
250 | <xs:attribute name="subType" default="Code"> | ||
251 | <xs:simpleType> | ||
252 | <xs:restriction base="xs:string"> | ||
253 | <xs:enumeration value="Code" /> | ||
254 | <xs:enumeration value="CodeBehind" /> | ||
255 | <xs:enumeration value="Component" /> | ||
256 | <xs:enumeration value="Form" /> | ||
257 | <xs:enumeration value="Settings" /> | ||
258 | <xs:enumeration value="UserControl" /> | ||
259 | </xs:restriction> | ||
260 | </xs:simpleType> | ||
261 | </xs:attribute> | ||
262 | <xs:attribute name="link" type="xs:boolean" /> | ||
263 | <xs:attribute name="copyToOutput" default="Never"> | ||
264 | <xs:simpleType> | ||
265 | <xs:restriction base="xs:string"> | ||
266 | <xs:enumeration value="Never" /> | ||
267 | <xs:enumeration value="Always" /> | ||
268 | <xs:enumeration value="PreserveNewest" /> | ||
269 | </xs:restriction> | ||
270 | </xs:simpleType> | ||
271 | </xs:attribute> | ||
272 | <xs:attribute name="preservePath" type="xs:boolean" /> | ||
273 | <xs:attribute name="linkPath" type="xs:string" /> | ||
274 | </xs:extension> | ||
275 | </xs:simpleContent> | ||
276 | </xs:complexType> | ||
277 | </xs:element> | ||
278 | <xs:element name="Match"> | ||
279 | <xs:complexType> | ||
280 | <xs:sequence> | ||
281 | <xs:element ref="Exclude" minOccurs="0" maxOccurs="unbounded" /> | ||
282 | </xs:sequence> | ||
283 | <xs:attribute name="path" type="xs:string" /> | ||
284 | <xs:attribute name="pattern" type="xs:string" use="required" /> | ||
285 | <xs:attribute name="recurse" type="xs:boolean" default="false" /> | ||
286 | <xs:attribute name="useRegex" type="xs:boolean" default="false" /> | ||
287 | <xs:attribute name="buildAction" default="Compile"> | ||
288 | <xs:simpleType> | ||
289 | <xs:restriction base="xs:string"> | ||
290 | <xs:enumeration value="None" /> | ||
291 | <xs:enumeration value="Compile" /> | ||
292 | <xs:enumeration value="Content" /> | ||
293 | <xs:enumeration value="EmbeddedResource" /> | ||
294 | </xs:restriction> | ||
295 | </xs:simpleType> | ||
296 | </xs:attribute> | ||
297 | <xs:attribute name="resourceName" type="xs:string" default="" /> | ||
298 | <xs:attribute name="subType" default="Code"> | ||
299 | <xs:simpleType> | ||
300 | <xs:restriction base="xs:string"> | ||
301 | <xs:enumeration value="Code" /> | ||
302 | <xs:enumeration value="CodeBehind" /> | ||
303 | <xs:enumeration value="Component" /> | ||
304 | <xs:enumeration value="Designer" /> | ||
305 | <xs:enumeration value="Form" /> | ||
306 | <xs:enumeration value="Settings" /> | ||
307 | <xs:enumeration value="UserControl" /> | ||
308 | </xs:restriction> | ||
309 | </xs:simpleType> | ||
310 | </xs:attribute> | ||
311 | <xs:attribute name="link" type="xs:boolean" /> | ||
312 | <xs:attribute name="copyToOutput" default="Never"> | ||
313 | <xs:simpleType> | ||
314 | <xs:restriction base="xs:string"> | ||
315 | <xs:enumeration value="Never" /> | ||
316 | <xs:enumeration value="Always" /> | ||
317 | <xs:enumeration value="PreserveNewest" /> | ||
318 | </xs:restriction> | ||
319 | </xs:simpleType> | ||
320 | </xs:attribute> | ||
321 | <xs:attribute name="preservePath" type="xs:boolean" /> | ||
322 | <xs:attribute name="linkPath" type="xs:string" /> | ||
323 | </xs:complexType> | ||
324 | </xs:element> | ||
325 | <xs:element name="Exclude"> | ||
326 | <xs:complexType> | ||
327 | <xs:attribute name="name" type="xs:string" /> | ||
328 | <xs:attribute name="pattern" type="xs:string" /> | ||
329 | </xs:complexType> | ||
330 | </xs:element> | ||
331 | </xs:schema> | ||
diff --git a/Prebuild/src/data/.svn/text-base/prebuild-1.9.xsd.svn-base b/Prebuild/src/data/.svn/text-base/prebuild-1.9.xsd.svn-base new file mode 100644 index 0000000..d647e08 --- /dev/null +++ b/Prebuild/src/data/.svn/text-base/prebuild-1.9.xsd.svn-base | |||
@@ -0,0 +1,336 @@ | |||
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.9.xsd" xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.9.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="1" /> | ||
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="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" /> | ||
74 | <xs:element ref="Files" minOccurs="0" /> | ||
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" /> | ||
78 | </xs:sequence> | ||
79 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
80 | <xs:attribute name="activeConfig" type="xs:string" default="Debug" /> | ||
81 | <xs:attribute name="path" type="xs:string" default="" /> | ||
82 | <xs:attribute name="version" type="xs:string" default="1.0.0" /> | ||
83 | </xs:complexType> | ||
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 | |||
106 | <xs:element name="Project"> | ||
107 | <xs:complexType> | ||
108 | <xs:sequence> | ||
109 | <xs:element name="Author" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
110 | <xs:element name="Description" type="xs:string" minOccurs="0" maxOccurs="1" /> | ||
111 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> | ||
112 | <xs:element name="ReferencePath" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
113 | <xs:element name="Reference" minOccurs="0" maxOccurs="unbounded"> | ||
114 | <xs:complexType> | ||
115 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
116 | <xs:attribute name="path" type="xs:string" /> | ||
117 | <xs:attribute name="localCopy" type="xs:boolean" /> | ||
118 | <xs:attribute name="version" type="xs:string" /> | ||
119 | </xs:complexType> | ||
120 | </xs:element> | ||
121 | <xs:element ref="Files" /> | ||
122 | </xs:sequence> | ||
123 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
124 | <xs:attribute name="designerFolder" type="xs:string" default="" /> | ||
125 | <xs:attribute name="filterGroups" type="xs:string" default="" /> | ||
126 | <xs:attribute name="path" type="xs:string" default="" /> | ||
127 | <xs:attribute name="icon" type="xs:string" default="" /> | ||
128 | <xs:attribute name="configFile" type="xs:string" default="" /> | ||
129 | <xs:attribute name="version" type="xs:string" default="1.0.0" /> | ||
130 | <xs:attribute name="guid" type="xs:string"/> | ||
131 | <xs:attribute name="language" default="C#"> | ||
132 | <xs:simpleType> | ||
133 | <xs:restriction base="xs:string"> | ||
134 | <xs:enumeration value="C#" /> | ||
135 | <xs:enumeration value="VB.NET" /> | ||
136 | </xs:restriction> | ||
137 | </xs:simpleType> | ||
138 | </xs:attribute> | ||
139 | <xs:attribute name="type" default="Exe"> | ||
140 | <xs:simpleType> | ||
141 | <xs:restriction base="xs:string"> | ||
142 | <xs:enumeration value="Exe" /> | ||
143 | <xs:enumeration value="WinExe" /> | ||
144 | <xs:enumeration value="Library" /> | ||
145 | <xs:enumeration value="Web" /> | ||
146 | </xs:restriction> | ||
147 | </xs:simpleType> | ||
148 | </xs:attribute> | ||
149 | <xs:attribute name="runtime" default="Microsoft"> | ||
150 | <xs:simpleType> | ||
151 | <xs:restriction base="xs:string"> | ||
152 | <xs:enumeration value="Microsoft" /> | ||
153 | <xs:enumeration value="Mono" /> | ||
154 | </xs:restriction> | ||
155 | </xs:simpleType> | ||
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:enumeration value="v4_0" /> | ||
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="assemblyName" type="xs:string" /> | ||
170 | <xs:attribute name="generateAssemblyInfoFile" type="xs:boolean" default="false" /> | ||
171 | </xs:complexType> | ||
172 | </xs:element> | ||
173 | |||
174 | <xs:element name="Configuration"> | ||
175 | <xs:complexType> | ||
176 | <xs:sequence> | ||
177 | <xs:element ref="Options" minOccurs="0" /> | ||
178 | </xs:sequence> | ||
179 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
180 | <xs:attribute name="platform" 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 | <xs:element name="Files"> | ||
229 | <xs:complexType> | ||
230 | <xs:sequence> | ||
231 | <xs:element ref="File" minOccurs="0" maxOccurs="unbounded" /> | ||
232 | <xs:element ref="Match" minOccurs="0" maxOccurs="unbounded" /> | ||
233 | </xs:sequence> | ||
234 | </xs:complexType> | ||
235 | </xs:element> | ||
236 | <xs:element name="File"> | ||
237 | <xs:complexType> | ||
238 | <xs:simpleContent> | ||
239 | <xs:extension base="xs:string"> | ||
240 | <xs:attribute name="resourceName" type="xs:string" default="" /> | ||
241 | <xs:attribute name="buildAction" default="Compile"> | ||
242 | <xs:simpleType> | ||
243 | <xs:restriction base="xs:string"> | ||
244 | <xs:enumeration value="None" /> | ||
245 | <xs:enumeration value="Compile" /> | ||
246 | <xs:enumeration value="Content" /> | ||
247 | <xs:enumeration value="EmbeddedResource" /> | ||
248 | <xs:enumeration value="ApplicationDefinition" /> | ||
249 | <xs:enumeration value="Page" /> | ||
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 | <xs:element name="Match"> | ||
282 | <xs:complexType> | ||
283 | <xs:sequence> | ||
284 | <xs:element ref="Exclude" minOccurs="0" maxOccurs="unbounded" /> | ||
285 | </xs:sequence> | ||
286 | <xs:attribute name="path" type="xs:string" /> | ||
287 | <xs:attribute name="pattern" type="xs:string" use="required" /> | ||
288 | <xs:attribute name="recurse" type="xs:boolean" default="false" /> | ||
289 | <xs:attribute name="useRegex" type="xs:boolean" default="false" /> | ||
290 | <xs:attribute name="buildAction" default="Compile"> | ||
291 | <xs:simpleType> | ||
292 | <xs:restriction base="xs:string"> | ||
293 | <xs:enumeration value="None" /> | ||
294 | <xs:enumeration value="Compile" /> | ||
295 | <xs:enumeration value="Content" /> | ||
296 | <xs:enumeration value="EmbeddedResource" /> | ||
297 | <xs:enumeration value="ApplicationDefinition" /> | ||
298 | <xs:enumeration value="Page" /> | ||
299 | </xs:restriction> | ||
300 | </xs:simpleType> | ||
301 | </xs:attribute> | ||
302 | <xs:attribute name="resourceName" type="xs:string" default="" /> | ||
303 | <xs:attribute name="subType" default="Code"> | ||
304 | <xs:simpleType> | ||
305 | <xs:restriction base="xs:string"> | ||
306 | <xs:enumeration value="Code" /> | ||
307 | <xs:enumeration value="CodeBehind" /> | ||
308 | <xs:enumeration value="Component" /> | ||
309 | <xs:enumeration value="Designer" /> | ||
310 | <xs:enumeration value="Form" /> | ||
311 | <xs:enumeration value="Settings" /> | ||
312 | <xs:enumeration value="UserControl" /> | ||
313 | </xs:restriction> | ||
314 | </xs:simpleType> | ||
315 | </xs:attribute> | ||
316 | <xs:attribute name="link" type="xs:boolean" /> | ||
317 | <xs:attribute name="copyToOutput" default="Never"> | ||
318 | <xs:simpleType> | ||
319 | <xs:restriction base="xs:string"> | ||
320 | <xs:enumeration value="Never" /> | ||
321 | <xs:enumeration value="Always" /> | ||
322 | <xs:enumeration value="PreserveNewest" /> | ||
323 | </xs:restriction> | ||
324 | </xs:simpleType> | ||
325 | </xs:attribute> | ||
326 | <xs:attribute name="preservePath" type="xs:boolean" /> | ||
327 | <xs:attribute name="linkPath" type="xs:string" /> | ||
328 | </xs:complexType> | ||
329 | </xs:element> | ||
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 | </xs:schema> | ||
diff --git a/Prebuild/src/data/autotools.xml b/Prebuild/src/data/autotools.xml new file mode 100644 index 0000000..ee4b064 --- /dev/null +++ b/Prebuild/src/data/autotools.xml | |||
@@ -0,0 +1,790 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" ?> | ||
2 | <Autotools> | ||
3 | <ProjectAutogenSh> | ||
4 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
5 | xmlns:dnpb="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" | ||
6 | exclude-result-prefixes="dnpb" | ||
7 | > | ||
8 | <xsl:template match="/"><xsl:text disable-output-escaping="yes">#!/bin/sh | ||
9 | # Run this to generate all the initial makefiles, etc. | ||
10 | # Ripped off from Mono, which ripped off from GNOME macros version | ||
11 | |||
12 | DIE=0 | ||
13 | |||
14 | srcdir=`dirname $0` | ||
15 | test -z "$srcdir" && srcdir=. | ||
16 | |||
17 | if [ -n "$MONO_PATH" ]; then | ||
18 | # from -> /mono/lib:/another/mono/lib | ||
19 | # to -> /mono /another/mono | ||
20 | for i in `echo ${MONO_PATH} | tr ":" " "`; do | ||
21 | i=`dirname ${i}` | ||
22 | if [ -n "{i}" -a -d "${i}/share/aclocal" ]; then | ||
23 | ACLOCAL_FLAGS="-I ${i}/share/aclocal $ACLOCAL_FLAGS" | ||
24 | fi | ||
25 | if [ -n "{i}" -a -d "${i}/bin" ]; then | ||
26 | PATH="${i}/bin:$PATH" | ||
27 | fi | ||
28 | done | ||
29 | export PATH | ||
30 | fi | ||
31 | |||
32 | (autoconf --version) < /dev/null > /dev/null 2>&1 || { | ||
33 | echo | ||
34 | echo "**Error**: You must have \`autoconf' installed to compile Mono." | ||
35 | echo "Download the appropriate package for your distribution," | ||
36 | echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" | ||
37 | DIE=1 | ||
38 | } | ||
39 | |||
40 | if [ -z "$LIBTOOL" ]; then | ||
41 | LIBTOOL=`which glibtool 2>/dev/null` | ||
42 | if [ ! -x "$LIBTOOL" ]; then | ||
43 | LIBTOOL=`which libtool` | ||
44 | fi | ||
45 | fi | ||
46 | |||
47 | (grep "^AM_PROG_LIBTOOL" $srcdir/configure.ac >/dev/null) && { | ||
48 | ($LIBTOOL --version) < /dev/null > /dev/null 2>&1 || { | ||
49 | echo | ||
50 | echo "**Error**: You must have \`libtool' installed to compile Mono." | ||
51 | echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz" | ||
52 | echo "(or a newer version if it is available)" | ||
53 | DIE=1 | ||
54 | } | ||
55 | } | ||
56 | |||
57 | grep "^AM_GNU_GETTEXT" $srcdir/configure.ac >/dev/null && { | ||
58 | grep "sed.*POTFILES" $srcdir/configure.ac >/dev/null || \ | ||
59 | (gettext --version) < /dev/null > /dev/null 2>&1 || { | ||
60 | echo | ||
61 | echo "**Error**: You must have \`gettext' installed to compile Mono." | ||
62 | echo "Get ftp://alpha.gnu.org/gnu/gettext-0.10.35.tar.gz" | ||
63 | echo "(or a newer version if it is available)" | ||
64 | DIE=1 | ||
65 | } | ||
66 | } | ||
67 | |||
68 | (automake --version) < /dev/null > /dev/null 2>&1 || { | ||
69 | echo | ||
70 | echo "**Error**: You must have \`automake' installed to compile Mono." | ||
71 | echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz" | ||
72 | echo "(or a newer version if it is available)" | ||
73 | DIE=1 | ||
74 | NO_AUTOMAKE=yes | ||
75 | } | ||
76 | |||
77 | # if no automake, don't bother testing for aclocal | ||
78 | test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || { | ||
79 | echo | ||
80 | echo "**Error**: Missing \`aclocal'. The version of \`automake'" | ||
81 | echo "installed doesn't appear recent enough." | ||
82 | echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz" | ||
83 | echo "(or a newer version if it is available)" | ||
84 | DIE=1 | ||
85 | } | ||
86 | |||
87 | if test "$DIE" -eq 1; then | ||
88 | exit 1 | ||
89 | fi | ||
90 | |||
91 | if test -z "$NOCONFIGURE"; then | ||
92 | |||
93 | if test -z "$*"; then | ||
94 | echo "**Warning**: I am going to run \`configure' with no arguments." | ||
95 | echo "If you wish to pass any to it, please specify them on the" | ||
96 | echo \`$0\'" command line." | ||
97 | echo | ||
98 | fi | ||
99 | |||
100 | fi | ||
101 | |||
102 | case $CC in | ||
103 | xlc ) | ||
104 | am_opt=--include-deps;; | ||
105 | esac | ||
106 | |||
107 | |||
108 | if grep "^AM_PROG_LIBTOOL" configure.ac >/dev/null; then | ||
109 | if test -z "$NO_LIBTOOLIZE" ; then | ||
110 | echo "Running libtoolize..." | ||
111 | ${LIBTOOL}ize --force --copy | ||
112 | fi | ||
113 | fi | ||
114 | |||
115 | echo "Running aclocal $ACLOCAL_FLAGS ..." | ||
116 | aclocal $ACLOCAL_FLAGS || { | ||
117 | echo | ||
118 | echo "**Error**: aclocal failed. This may mean that you have not" | ||
119 | echo "installed all of the packages you need, or you may need to" | ||
120 | echo "set ACLOCAL_FLAGS to include \"-I \$prefix/share/aclocal\"" | ||
121 | echo "for the prefix where you installed the packages whose" | ||
122 | echo "macros were not found" | ||
123 | exit 1 | ||
124 | } | ||
125 | |||
126 | if grep "^AM_CONFIG_HEADER" configure.ac >/dev/null; then | ||
127 | echo "Running autoheader..." | ||
128 | autoheader || { echo "**Error**: autoheader failed."; exit 1; } | ||
129 | fi | ||
130 | |||
131 | echo "Running automake --gnu $am_opt ..." | ||
132 | automake --add-missing --gnu $am_opt || | ||
133 | { echo "**Error**: automake failed."; exit 1; } | ||
134 | echo "Running autoconf ..." | ||
135 | autoconf || { echo "**Error**: autoconf failed."; exit 1; } | ||
136 | |||
137 | conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c | ||
138 | |||
139 | if test x$NOCONFIGURE = x; then | ||
140 | echo Running $srcdir/configure $conf_flags "$@" ... | ||
141 | $srcdir/configure $conf_flags "$@" \ | ||
142 | && echo Now type \`make\' to compile $PKG_NAME || exit 1 | ||
143 | else | ||
144 | echo Skipping configure process. | ||
145 | fi | ||
146 | </xsl:text> | ||
147 | </xsl:template> | ||
148 | </xsl:stylesheet> | ||
149 | </ProjectAutogenSh> | ||
150 | |||
151 | <ProjectConfigureAc> | ||
152 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
153 | xmlns:dnpb="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" | ||
154 | exclude-result-prefixes="dnpb" | ||
155 | xml:space="preserve" | ||
156 | > | ||
157 | <!-- Removes the xml version header in the generated file --> | ||
158 | <xsl:output method="text"/> | ||
159 | <xsl:param name="solutionName" /> | ||
160 | <xsl:param name="projectName" /> | ||
161 | <xsl:param name="projectVersion" /> | ||
162 | <xsl:param name="assemblyName" /> | ||
163 | <xsl:variable name="lcProjectName"><xsl:value-of select="translate($projectName, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')"/></xsl:variable> | ||
164 | <xsl:template match="/"> | ||
165 | <xsl:for-each select="//dnpb:Solution[@name=$solutionName]/dnpb:Project[@name=$projectName]" | ||
166 | >AC_INIT([<xsl:value-of select="$projectName" />],[<xsl:value-of select="$projectVersion" />]) | ||
167 | |||
168 | AC_PREREQ(2.60) | ||
169 | AC_CANONICAL_SYSTEM | ||
170 | AC_CONFIG_AUX_DIR(.) | ||
171 | AM_INIT_AUTOMAKE([1.9 tar-ustar foreign]) | ||
172 | AM_MAINTAINER_MODE | ||
173 | dnl AC_PROG_INTLTOOL([0.25]) | ||
174 | AC_PROG_INSTALL | ||
175 | |||
176 | ASSEMBLY_NAME=<xsl:value-of select="$assemblyName" /> | ||
177 | PROJECT_NAME=<xsl:value-of select="$projectName" /> | ||
178 | PROJECT_VERSION=$VERSION | ||
179 | PROJECT_DESCRIPTION="<xsl:value-of select="dnpb:Description/text()" />" | ||
180 | PROJECT_TYPE="<xsl:value-of select="@type" />" | ||
181 | |||
182 | AC_SUBST(ASSEMBLY_NAME) | ||
183 | AC_SUBST(PROJECT_NAME) | ||
184 | AC_SUBST(PROJECT_VERSION) | ||
185 | AC_SUBST(DESCRIPTION) | ||
186 | |||
187 | AC_MSG_CHECKING([assembly type]) | ||
188 | case $PROJECT_TYPE in | ||
189 | *Exe) | ||
190 | ASSEMBLY_EXTENSION=exe | ||
191 | ;; | ||
192 | *Library) | ||
193 | ASSEMBLY_EXTENSION=dll | ||
194 | ;; | ||
195 | *) | ||
196 | AC_MSG_ERROR([*** Please add support for project type $PROJECT_TYPE to configure.ac checks!]) | ||
197 | ;; | ||
198 | esac | ||
199 | AC_MSG_RESULT([$PROJECT_TYPE]) | ||
200 | |||
201 | AC_SUBST(ASSEMBLY_EXTENSION) | ||
202 | |||
203 | AC_MSG_CHECKING([whether we're compiling from an RCS]) | ||
204 | if test -f "$srcdir/.cvs_version" ; then | ||
205 | from_rcs=cvs | ||
206 | else | ||
207 | if test -f "$srcdir/.svn/entries" ; then | ||
208 | from_rcs=svn | ||
209 | else | ||
210 | from_rcs=no | ||
211 | fi | ||
212 | fi | ||
213 | |||
214 | AC_MSG_RESULT($from_rcs) | ||
215 | |||
216 | MONO_REQUIRED_VERSION=1.1 | ||
217 | <xsl:text disable-output-escaping="yes"> | ||
218 | PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= $MONO_REQUIRED_VERSION, has_mono=true, has_mono=false) | ||
219 | </xsl:text> | ||
220 | if test "x$has_mono" = "xtrue"; then | ||
221 | AC_PATH_PROG(RUNTIME, mono, no) | ||
222 | AC_PATH_PROG(CSC, gmcs, no) | ||
223 | AC_PATH_PROG(RESGEN, resgen2, no) | ||
224 | if test `uname -s` = "Darwin"; then | ||
225 | LIB_PREFIX= | ||
226 | LIB_SUFFIX=.dylib | ||
227 | else | ||
228 | LIB_PREFIX=.so | ||
229 | LIB_SUFFIX= | ||
230 | fi | ||
231 | else | ||
232 | AC_PATH_PROG(CSC, csc.exe, no) | ||
233 | if test x$CSC = "xno"; then | ||
234 | AC_MSG_ERROR([You need to install either mono or .Net]) | ||
235 | else | ||
236 | RUNTIME= | ||
237 | LIB_PREFIX= | ||
238 | LIB_SUFFIX= | ||
239 | fi | ||
240 | fi | ||
241 | |||
242 | AC_PATH_PROG(GACUTIL, gacutil) | ||
243 | if test "x$GACUTIL" = "xno" ; then | ||
244 | AC_MSG_ERROR([No gacutil tool found]) | ||
245 | fi | ||
246 | |||
247 | GACUTIL_FLAGS='/package <xsl:value-of select="$assemblyName" /> /gacdir $(DESTDIR)$(prefix)/lib' | ||
248 | AC_SUBST(GACUTIL_FLAGS) | ||
249 | |||
250 | AC_SUBST(PATH) | ||
251 | AC_SUBST(LD_LIBRARY_PATH) | ||
252 | |||
253 | AC_SUBST(LIB_PREFIX) | ||
254 | AC_SUBST(LIB_SUFFIX) | ||
255 | AC_SUBST(RUNTIME) | ||
256 | AC_SUBST(CSC) | ||
257 | AC_SUBST(RESGEN) | ||
258 | AC_SUBST(GACUTIL) | ||
259 | |||
260 | AC_SUBST(BASE_DEPENDENCIES_CFLAGS) | ||
261 | AC_SUBST(BASE_DEPENDENCIES_LIBS) | ||
262 | |||
263 | dnl Find monodoc | ||
264 | MONODOC_REQUIRED_VERSION=1.0 | ||
265 | AC_SUBST(MONODOC_REQUIRED_VERSION) | ||
266 | <xsl:text disable-output-escaping="yes"> | ||
267 | PKG_CHECK_MODULES(MONODOC_DEPENDENCY, monodoc >= $MONODOC_REQUIRED_VERSION, enable_monodoc=yes, enable_monodoc=no) | ||
268 | </xsl:text> | ||
269 | if test "x$enable_monodoc" = "xyes"; then | ||
270 | AC_PATH_PROG(MONODOC, monodoc, no) | ||
271 | if test x$MONODOC = xno; then | ||
272 | enable_monodoc=no | ||
273 | fi | ||
274 | else | ||
275 | MONODOC= | ||
276 | fi | ||
277 | |||
278 | AC_SUBST(MONODOC) | ||
279 | AM_CONDITIONAL(ENABLE_MONODOC, test "x$enable_monodoc" = "xyes") | ||
280 | |||
281 | winbuild=no | ||
282 | case "$host" in | ||
283 | *-*-mingw*|*-*-cygwin*) | ||
284 | winbuild=yes | ||
285 | ;; | ||
286 | esac | ||
287 | AM_CONDITIONAL(WINBUILD, test x$winbuild = xyes) | ||
288 | |||
289 | <xsl:if test="@type='Exe' or @type='WinExe'">AC_CONFIG_FILES(<xsl:value-of select="$lcProjectName" />)</xsl:if> | ||
290 | <xsl:if test="@type='Library'">AC_CONFIG_FILES(<xsl:value-of select="$projectName" />.pc)</xsl:if> | ||
291 | |||
292 | AC_CONFIG_FILES(Makefile) | ||
293 | AC_OUTPUT | ||
294 | |||
295 | echo "===" | ||
296 | echo "" | ||
297 | echo "Project configuration summary" | ||
298 | echo "" | ||
299 | echo " * Installation prefix: $prefix" | ||
300 | echo " * compiler: $CSC" | ||
301 | echo " * Documentation: $enable_monodoc ($MONODOC)" | ||
302 | echo " * Project Name: $PROJECT_NAME" | ||
303 | echo " * Version: $PROJECT_VERSION" | ||
304 | echo "" | ||
305 | echo "===" | ||
306 | |||
307 | </xsl:for-each> | ||
308 | </xsl:template> | ||
309 | </xsl:stylesheet> | ||
310 | </ProjectConfigureAc> | ||
311 | |||
312 | <ProjectMakefileAm> | ||
313 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
314 | xmlns:dnpb="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" | ||
315 | exclude-result-prefixes="dnpb" | ||
316 | xml:space="preserve" | ||
317 | > | ||
318 | <xsl:param name="projectName" /> | ||
319 | <xsl:param name="solutionName" /> | ||
320 | <xsl:param name="assemblyName" /> | ||
321 | <xsl:variable name="lcProjectName"><xsl:value-of select="translate($projectName, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')"/></xsl:variable> | ||
322 | <xsl:param name="embeddedFiles" /> | ||
323 | <xsl:param name="compiledFiles" /> | ||
324 | <xsl:param name="contentFiles" /> | ||
325 | <xsl:param name="extraDistFiles" /> | ||
326 | <xsl:param name="pkgLibs" /> | ||
327 | <xsl:param name="binaryLibs" /> | ||
328 | <xsl:param name="systemLibs" /> | ||
329 | <xsl:param name="localCopyTargets" /> | ||
330 | <xsl:param name="hasAssemblyConfig" /> | ||
331 | |||
332 | <xsl:template match="/"> | ||
333 | <xsl:for-each select="//dnpb:Solution[@name=$solutionName]/dnpb:Project[@name=$projectName]"> | ||
334 | <xsl:variable name="lcType"><xsl:value-of select="translate(@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')" /></xsl:variable> | ||
335 | |||
336 | ASSEMBLY=$(ASSEMBLY_NAME).$(ASSEMBLY_EXTENSION) | ||
337 | <!-- | ||
338 | If the project is an application, create targets for the wrapper script | ||
339 | --> | ||
340 | <xsl:if test="@type='Exe' or @type='WinExe'"> | ||
341 | <xsl:value-of select="$lcProjectName" />dir = $(prefix)/lib/<xsl:value-of select="$lcProjectName" /> | ||
342 | <xsl:value-of select="$lcProjectName" />_DATA = $(ASSEMBLY)<xsl:if test="$hasAssemblyConfig='true'"> $(ASSEMBLY).config</xsl:if> | ||
343 | |||
344 | bin_SCRIPTS=<xsl:value-of select="$lcProjectName" /> | ||
345 | </xsl:if><xsl:if test="@type='Library'"> | ||
346 | pkgconfigdir = $(prefix)/lib/pkgconfig | ||
347 | pkgconfig_DATA = <xsl:value-of select="$projectName" />.pc | ||
348 | <xsl:if test="$hasAssemblyConfig='true'"> | ||
349 | <xsl:value-of select="translate($lcProjectName, '.', '_')" />dir = $(prefix)/lib/mono/<xsl:value-of select="$projectName" /> | ||
350 | <xsl:value-of select="translate($lcProjectName, '.', '_')" />_DATA = $(ASSEMBLY).config | ||
351 | </xsl:if> | ||
352 | noinst_DATA = $(ASSEMBLY) | ||
353 | </xsl:if> | ||
354 | |||
355 | PACKAGES =<xsl:value-of select="$pkgLibs" /> | ||
356 | BINARY_LIBS =<xsl:value-of select="$binaryLibs" /> | ||
357 | SYSTEM_LIBS =<xsl:value-of select="$systemLibs" /> | ||
358 | RESOURCES_SRC =<xsl:value-of select="$embeddedFiles" /> | ||
359 | RESOURCES = $(RESOURCES_SRC:.resx=.resources) | ||
360 | SOURCES =<xsl:value-of select="$compiledFiles" /> | ||
361 | |||
362 | EXTRA_DIST=$(SOURCES) $(BINARY_LIBS) $(RESOURCES_SRC) install-sh missing <xsl:value-of select="$extraDistFiles" /> | ||
363 | |||
364 | CLEANFILES=$(ASSEMBLY) | ||
365 | |||
366 | <xsl:value-of select="$localCopyTargets" /> | ||
367 | |||
368 | <xsl:for-each select="//dnpb:Solution[@name=$solutionName]/dnpb:Project[@name=$projectName]/dnpb:Configuration"> | ||
369 | <xsl:variable name="outputPath"><xsl:value-of select="dnpb:Options/dnpb:OutputPath/text()" /></xsl:variable> | ||
370 | <xsl:variable name="keyFile"><xsl:value-of select="dnpb:Options/dnpb:KeyFile/text()" /></xsl:variable> | ||
371 | <xsl:variable name="docFile"><xsl:value-of select="dnpb:Options/dnpb:XmlDocFile/text()" /></xsl:variable> | ||
372 | <xsl:value-of select="$outputPath"/>/$(ASSEMBLY): $(srcdir)/$(ASSEMBLY).response $(RESOURCES) $(SOURCES) $(BINARY_LIBS) <xsl:call-template name="substring-after-last-mod"><xsl:with-param name="input" select="$keyFile" /><xsl:with-param name="substr" select="'/'" /></xsl:call-template> | ||
373 | <xsl:if test="$docFile!=''">mkdir -p doc <xsl:text disable-output-escaping="yes">&&</xsl:text> </xsl:if>mkdir -p <xsl:value-of select="$outputPath" /> <xsl:text disable-output-escaping="yes">&&</xsl:text> $(CSC) /out:$@ \ | ||
374 | /target:<xsl:value-of select="$lcType" /> \<xsl:if test="$embeddedFiles!=''"> | ||
375 | $(addprefix /resource:$(srcdir)/, $(RESOURCES)) \</xsl:if><xsl:if test="$pkgLibs!=''"> | ||
376 | $(addprefix /pkg:, $(PACKAGES)) \</xsl:if><xsl:if test="$systemLibs!=''"> | ||
377 | $(addprefix /r:, $(SYSTEM_LIBS)) \</xsl:if><xsl:if test="$binaryLibs!=''"> | ||
378 | $(addprefix /r:$(srcdir)/, $(BINARY_LIBS)) \</xsl:if> | ||
379 | @$(srcdir)/$(ASSEMBLY).response \<xsl:if test="$docFile!=''"> | ||
380 | /doc:doc/<xsl:value-of select="$docFile" /> \</xsl:if><xsl:if test="$keyFile!=''"> | ||
381 | /keyfile:$(srcdir)/<xsl:call-template name="substring-after-last-mod"><xsl:with-param name="input" select="$keyFile" /><xsl:with-param name="substr" select="'/'" /></xsl:call-template> \</xsl:if><xsl:if test="dnpb:Options/dnpb:AllowUnsafe/text()='true'"> | ||
382 | /unsafe \</xsl:if><xsl:text disable-output-escaping="yes"> | ||
383 | && rm -f $(ASSEMBLY) \ | ||
384 | && ln $@ $(ASSEMBLY)</xsl:text> | ||
385 | |||
386 | CLEANFILES+=<xsl:value-of select="$outputPath"/>/$(ASSEMBLY) | ||
387 | |||
388 | <!-- if this project config has a KeyFile --> | ||
389 | <xsl:if test="$keyFile!=''">EXTRA_DIST+=<xsl:call-template name="substring-after-last-mod"><xsl:with-param name="input" select="$keyFile" /><xsl:with-param name="substr" select="'/'" /></xsl:call-template></xsl:if> | ||
390 | |||
391 | <xsl:value-of select="@name" />: <xsl:value-of select="$outputPath"/>/$(ASSEMBLY)<xsl:text disable-output-escaping="yes"> | ||
392 | rm -f $(ASSEMBLY) \ | ||
393 | &&</xsl:text> ln <xsl:value-of select="$outputPath"/>/$(ASSEMBLY) $(ASSEMBLY) | ||
394 | <!-- If the project is a library, create library-specific targets --> | ||
395 | <xsl:if test="//dnpb:Solution[@name=$solutionName]/dnpb:Project[@name=$projectName]/@type='Library'"> | ||
396 | <xsl:choose> | ||
397 | <!-- | ||
398 | If the project has a keyfile, make a gac install/uninstall target | ||
399 | --> | ||
400 | <xsl:when test="dnpb:Options/dnpb:KeyFile/text()!=''"> | ||
401 | <xsl:value-of select="@name" />_install-data-local: <xsl:value-of select="$outputPath"/>/$(ASSEMBLY) | ||
402 | echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ | ||
403 | $(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; | ||
404 | |||
405 | <xsl:value-of select="@name" />_uninstall-local: | ||
406 | if [`gacutil -l <xsl:value-of select="$projectName" /> | grep "Number" | awk -F= '{print $$2}'` -gt "0" ] ; \ | ||
407 | then \ | ||
408 | echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ | ||
409 | $(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ | ||
410 | fi | ||
411 | </xsl:when> | ||
412 | <!-- | ||
413 | If there is no keyfile for the project, define a filesystem | ||
414 | install target | ||
415 | --> | ||
416 | <xsl:otherwise> | ||
417 | noinst_<xsl:value-of select="@name" />_<xsl:value-of select="translate($lcProjectName, '.', '_')" />dir = $(prefix)/lib/mono/<xsl:value-of select="$projectName" /> | ||
418 | noinst_<xsl:value-of select="@name" />_<xsl:value-of select="translate($lcProjectName, '.', '_')" />_DATA = <xsl:value-of select="$outputPath"/>/$(ASSEMBLY) | ||
419 | </xsl:otherwise> | ||
420 | </xsl:choose> | ||
421 | </xsl:if> | ||
422 | </xsl:for-each> | ||
423 | |||
424 | <xsl:variable name="defaultConfig"><xsl:value-of select="//dnpb:Solution[@name=$solutionName]/dnpb:Project[@name=$projectName]/dnpb:Configuration/@name" /></xsl:variable> | ||
425 | $(ASSEMBLY): <xsl:value-of select="$defaultConfig" /> | ||
426 | |||
427 | <xsl:text disable-output-escaping="yes"> | ||
428 | $(srcdir)/$(ASSEMBLY).response: $(srcdir)/Makefile | ||
429 | echo "$(addprefix $(srcdir)/, $(SOURCES))" > $@ | ||
430 | </xsl:text> | ||
431 | |||
432 | all: $(ASSEMBLY) | ||
433 | |||
434 | # rule to compile .resx files to .resources | ||
435 | %.resources: %.resx | ||
436 | $(RESGEN) /useSourcePath /compile $(@:.resources=.resx) | ||
437 | |||
438 | <xsl:if test="@type='Library'"> | ||
439 | <!-- if the default config has a KeyFile --> | ||
440 | <xsl:choose> | ||
441 | <xsl:when test="//dnpb:Solution[@name=$solutionName]/dnpb:Project[@name=$projectName]/dnpb:Configuration[@name=$defaultConfig]/dnpb:Options/dnpb:KeyFile/text()!=''"> | ||
442 | install-data-local: <xsl:value-of select="$defaultConfig" />_install-data-local | ||
443 | |||
444 | uninstall-local: <xsl:value-of select="$defaultConfig" />_uninstall-local | ||
445 | </xsl:when> | ||
446 | <!-- | ||
447 | If the default config does not have a KeyFile, don't really do | ||
448 | anything | ||
449 | --> | ||
450 | <xsl:otherwise> | ||
451 | #<xsl:value-of select="translate($lcProjectName, '.', '_')" />dir+=$(noinst_<xsl:value-of select="$defaultConfig" />_<xsl:value-of select="translate($lcProjectName, '.', '_')" />dir) | ||
452 | #<xsl:value-of select="translate($lcProjectName, '.', '_')" />_DATA+=$(noinst_<xsl:value-of select="$defaultConfig" />_<xsl:value-of select="translate($lcProjectName, '.', '_')" />_DATA) | ||
453 | </xsl:otherwise> | ||
454 | </xsl:choose> | ||
455 | </xsl:if> | ||
456 | </xsl:for-each> | ||
457 | </xsl:template> | ||
458 | |||
459 | <xsl:template name="substring-after-last" xml:space="default"> | ||
460 | <xsl:param name="input" /> | ||
461 | <xsl:param name="substr" /> | ||
462 | |||
463 | <!-- Extract the string which comes after the first occurence --> | ||
464 | <xsl:variable name="temp" select="substring-after($input,$substr)" /> | ||
465 | |||
466 | <xsl:choose> | ||
467 | <!-- If it still contains the search string then recursively process --> | ||
468 | <xsl:when test="$substr and contains($temp,$substr)"> | ||
469 | <xsl:call-template name="substring-after-last"> | ||
470 | <xsl:with-param name="input" select="$temp" /> | ||
471 | <xsl:with-param name="substr" select="$substr" /> | ||
472 | </xsl:call-template> | ||
473 | </xsl:when> | ||
474 | <xsl:otherwise> | ||
475 | <xsl:value-of select="$temp" /> | ||
476 | </xsl:otherwise> | ||
477 | </xsl:choose> | ||
478 | </xsl:template> | ||
479 | |||
480 | <xsl:template name="substring-after-last-mod" xml:space="default"> | ||
481 | <xsl:param name="input" /> | ||
482 | <xsl:param name="substr" /> | ||
483 | |||
484 | <xsl:choose> | ||
485 | <xsl:when test="contains($input,$substr)"> | ||
486 | <xsl:call-template name="substring-after-last"> | ||
487 | <xsl:with-param name="input" select="$input" /> | ||
488 | <xsl:with-param name="substr" select="$substr" /> | ||
489 | </xsl:call-template> | ||
490 | </xsl:when> | ||
491 | <xsl:otherwise> | ||
492 | <xsl:value-of select="$input" /> | ||
493 | </xsl:otherwise> | ||
494 | </xsl:choose> | ||
495 | </xsl:template> | ||
496 | </xsl:stylesheet> | ||
497 | </ProjectMakefileAm> | ||
498 | |||
499 | <ProjectPcIn> | ||
500 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
501 | xmlns:dnpb="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" | ||
502 | exclude-result-prefixes="dnpb" | ||
503 | xml:space="preserve" | ||
504 | > | ||
505 | <!-- Removes the xml version header in the generated file --> | ||
506 | <xsl:output method="text"/> | ||
507 | <xsl:param name="projectName" /> | ||
508 | <xsl:param name="solutionName" /> | ||
509 | <xsl:variable name="lcProjectName"><xsl:value-of select="translate($projectName, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')"/></xsl:variable> | ||
510 | <xsl:template match="/"><xsl:for-each select="//dnpb:Solution[@name=$solutionName]/dnpb:Project[@name=$projectName]">prefix=@prefix@ | ||
511 | exec_prefix=${prefix} | ||
512 | libdir=${exec_prefix}/lib/mono/@PROJECT_NAME@ | ||
513 | |||
514 | Name: <xsl:value-of select="@name" /> | ||
515 | Description: <xsl:value-of select="Description/text()" /> | ||
516 | Version: @PROJECT_VERSION@ | ||
517 | Requires:<xsl:for-each select="Reference"><xsl:if test="@localCopy=false"><xsl:text disable-output-escaping="yes"> </xsl:text><xsl:value-of select="@name" /></xsl:if></xsl:for-each> | ||
518 | Libs: -r:${libdir}/@PROJECT_NAME@.dll | ||
519 | |||
520 | </xsl:for-each> | ||
521 | |||
522 | </xsl:template> | ||
523 | </xsl:stylesheet> | ||
524 | </ProjectPcIn> | ||
525 | |||
526 | <SolutionAutogenSh> | ||
527 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
528 | xmlns:dnpb="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" | ||
529 | exclude-result-prefixes="dnpb" | ||
530 | > | ||
531 | <xsl:param name="solutionName" /> | ||
532 | <xsl:template match="/"><xsl:text disable-output-escaping="yes">#!/bin/sh | ||
533 | # Run this to generate all the initial makefiles, etc. | ||
534 | # Ripped off from Mono, which ripped off from GNOME macros version | ||
535 | |||
536 | DIE=0 | ||
537 | |||
538 | srcdir=`dirname $0` | ||
539 | test -z "$srcdir" && srcdir=. | ||
540 | |||
541 | if [ -n "$MONO_PATH" ]; then | ||
542 | # from -> /mono/lib:/another/mono/lib | ||
543 | # to -> /mono /another/mono | ||
544 | for i in `echo ${MONO_PATH} | tr ":" " "`; do | ||
545 | i=`dirname ${i}` | ||
546 | if [ -n "{i}" -a -d "${i}/share/aclocal" ]; then | ||
547 | ACLOCAL_FLAGS="-I ${i}/share/aclocal $ACLOCAL_FLAGS" | ||
548 | fi | ||
549 | if [ -n "{i}" -a -d "${i}/bin" ]; then | ||
550 | PATH="${i}/bin:$PATH" | ||
551 | fi | ||
552 | done | ||
553 | export PATH | ||
554 | fi | ||
555 | |||
556 | (autoconf --version) < /dev/null > /dev/null 2>&1 || { | ||
557 | echo | ||
558 | echo "**Error**: You must have \`autoconf' installed to compile Mono." | ||
559 | echo "Download the appropriate package for your distribution," | ||
560 | echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" | ||
561 | DIE=1 | ||
562 | } | ||
563 | |||
564 | if [ -z "$LIBTOOL" ]; then | ||
565 | LIBTOOL=`which glibtool 2>/dev/null` | ||
566 | if [ ! -x "$LIBTOOL" ]; then | ||
567 | LIBTOOL=`which libtool` | ||
568 | fi | ||
569 | fi | ||
570 | |||
571 | (grep "^AM_PROG_LIBTOOL" $srcdir/configure.ac >/dev/null) && { | ||
572 | ($LIBTOOL --version) < /dev/null > /dev/null 2>&1 || { | ||
573 | echo | ||
574 | echo "**Error**: You must have \`libtool' installed to compile Mono." | ||
575 | echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz" | ||
576 | echo "(or a newer version if it is available)" | ||
577 | DIE=1 | ||
578 | } | ||
579 | } | ||
580 | |||
581 | grep "^AM_GNU_GETTEXT" $srcdir/configure.ac >/dev/null && { | ||
582 | grep "sed.*POTFILES" $srcdir/configure.ac >/dev/null || \ | ||
583 | (gettext --version) < /dev/null > /dev/null 2>&1 || { | ||
584 | echo | ||
585 | echo "**Error**: You must have \`gettext' installed to compile Mono." | ||
586 | echo "Get ftp://alpha.gnu.org/gnu/gettext-0.10.35.tar.gz" | ||
587 | echo "(or a newer version if it is available)" | ||
588 | DIE=1 | ||
589 | } | ||
590 | } | ||
591 | |||
592 | (automake --version) < /dev/null > /dev/null 2>&1 || { | ||
593 | echo | ||
594 | echo "**Error**: You must have \`automake' installed to compile Mono." | ||
595 | echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz" | ||
596 | echo "(or a newer version if it is available)" | ||
597 | DIE=1 | ||
598 | NO_AUTOMAKE=yes | ||
599 | } | ||
600 | |||
601 | |||
602 | # if no automake, don't bother testing for aclocal | ||
603 | test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || { | ||
604 | echo | ||
605 | echo "**Error**: Missing \`aclocal'. The version of \`automake'" | ||
606 | echo "installed doesn't appear recent enough." | ||
607 | echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz" | ||
608 | echo "(or a newer version if it is available)" | ||
609 | DIE=1 | ||
610 | } | ||
611 | |||
612 | if test "$DIE" -eq 1; then | ||
613 | exit 1 | ||
614 | fi | ||
615 | |||
616 | if test -z "$*"; then | ||
617 | echo "**Warning**: I am going to run \`configure' with no arguments." | ||
618 | echo "If you wish to pass any to it, please specify them on the" | ||
619 | echo \`$0\'" command line." | ||
620 | echo | ||
621 | fi | ||
622 | |||
623 | case $CC in | ||
624 | xlc ) | ||
625 | am_opt=--include-deps;; | ||
626 | esac | ||
627 | |||
628 | |||
629 | if grep "^AM_PROG_LIBTOOL" configure.ac >/dev/null; then | ||
630 | if test -z "$NO_LIBTOOLIZE" ; then | ||
631 | echo "Running libtoolize..." | ||
632 | ${LIBTOOL}ize --force --copy | ||
633 | fi | ||
634 | fi | ||
635 | |||
636 | echo "Running aclocal $ACLOCAL_FLAGS ..." | ||
637 | aclocal $ACLOCAL_FLAGS || { | ||
638 | echo | ||
639 | echo "**Error**: aclocal failed. This may mean that you have not" | ||
640 | echo "installed all of the packages you need, or you may need to" | ||
641 | echo "set ACLOCAL_FLAGS to include \"-I \$prefix/share/aclocal\"" | ||
642 | echo "for the prefix where you installed the packages whose" | ||
643 | echo "macros were not found" | ||
644 | exit 1 | ||
645 | } | ||
646 | |||
647 | if grep "^AM_CONFIG_HEADER" configure.ac >/dev/null; then | ||
648 | echo "Running autoheader..." | ||
649 | autoheader || { echo "**Error**: autoheader failed."; exit 1; } | ||
650 | fi | ||
651 | |||
652 | echo "Running automake --gnu $am_opt ..." | ||
653 | automake --add-missing --gnu $am_opt || | ||
654 | { echo "**Error**: automake failed."; exit 1; } | ||
655 | echo "Running autoconf ..." | ||
656 | autoconf || { echo "**Error**: autoconf failed."; exit 1; } | ||
657 | </xsl:text> | ||
658 | <xsl:for-each select="/dnpb:Prebuild/dnpb:Solution[@name=$solutionName]/dnpb:Project"> | ||
659 | echo Running <xsl:value-of select="@name" />/autogen.sh ... | ||
660 | (cd $srcdir/<xsl:value-of select="@name" /> ; NOCONFIGURE=1 /bin/sh ./autogen.sh "$@") | ||
661 | echo Done running <xsl:value-of select="@name" />/autogen.sh ... | ||
662 | </xsl:for-each> | ||
663 | <xsl:text disable-output-escaping="yes"> | ||
664 | conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c | ||
665 | |||
666 | if test x$NOCONFIGURE = x; then | ||
667 | echo Running $srcdir/configure $conf_flags "$@" ... | ||
668 | $srcdir/configure $conf_flags "$@" \ | ||
669 | && echo Now type \`make\' to compile $PKG_NAME || exit 1 | ||
670 | else | ||
671 | echo Skipping configure process. | ||
672 | fi | ||
673 | </xsl:text> | ||
674 | </xsl:template> | ||
675 | </xsl:stylesheet> | ||
676 | </SolutionAutogenSh> | ||
677 | |||
678 | <SolutionConfigureAc> | ||
679 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
680 | xmlns:dnpb="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" | ||
681 | exclude-result-prefixes="dnpb" | ||
682 | xml:space="preserve" | ||
683 | > | ||
684 | <!-- Removes the xml version header in the generated file --> | ||
685 | <xsl:output method="text"/> | ||
686 | <xsl:param name="solutionName" /> | ||
687 | <xsl:template match="/" | ||
688 | >AC_INIT([<xsl:value-of select="$solutionName" />]-solution,[<xsl:value-of select="/dnpb:Prebuild/dnpb:Solution[@name=$solutionName]/@version" />]) | ||
689 | AC_CONFIG_AUX_DIR(.) | ||
690 | AM_INIT_AUTOMAKE([1.9 tar-ustar foreign]) | ||
691 | EXTRA_DIST="install-sh missing" | ||
692 | SOLUTION_NAME=<xsl:value-of select="$solutionName" /> | ||
693 | SOLUTION_VERSION=$VERSION | ||
694 | SOLUTION_DESCRIPTION="<xsl:value-of select="/dnpb:Prebuild/dnpb:Solution[@name=$solutionName]/dnpb:Description" />" | ||
695 | AC_SUBST(DESCRIPTION) | ||
696 | |||
697 | AM_MAINTAINER_MODE | ||
698 | |||
699 | dnl AC_PROG_INTLTOOL([0.25]) | ||
700 | |||
701 | AC_PROG_INSTALL | ||
702 | |||
703 | AC_MSG_CHECKING([whether we're building from an RCS]) | ||
704 | if test -f "$srcdir/.cvs_version" ; then | ||
705 | from_rcs=cvs | ||
706 | else | ||
707 | if test -f "$srcdir/.svn/entries" ; then | ||
708 | from_rcs=svn | ||
709 | else | ||
710 | from_rcs=no | ||
711 | fi | ||
712 | fi | ||
713 | |||
714 | AC_MSG_RESULT($from_rcs) | ||
715 | |||
716 | CONFIG="Release" | ||
717 | AC_SUBST(CONFIG) | ||
718 | <!-- TODO: Ensure that these SUBDIRS are processed in dependency order --> | ||
719 | AC_CONFIG_SUBDIRS(<xsl:for-each select="/dnpb:Prebuild/dnpb:Solution[@name=$solutionName]/dnpb:Project"><xsl:text disable-output-escaping="yes"> </xsl:text><xsl:value-of select="@name" /> | ||
720 | </xsl:for-each>) | ||
721 | <xsl:text disable-output-escaping="yes"> | ||
722 | |||
723 | AC_OUTPUT([ | ||
724 | Makefile | ||
725 | ]) | ||
726 | |||
727 | echo "===" | ||
728 | echo "" | ||
729 | echo "Solution configuration summary" | ||
730 | echo "" | ||
731 | echo " * Solution Name: $SOLUTION_NAME" | ||
732 | echo " * Version: $SOLUTION_VERSION" | ||
733 | echo " * Packages:"</xsl:text> | ||
734 | <xsl:for-each select="/dnpb:Prebuild/dnpb:Solution[@name=$solutionName]/dnpb:Project">echo " - <xsl:value-of select="@name" />" | ||
735 | </xsl:for-each><xsl:text disable-output-escaping="yes">echo "" | ||
736 | echo "===" | ||
737 | </xsl:text> | ||
738 | </xsl:template> | ||
739 | </xsl:stylesheet> | ||
740 | </SolutionConfigureAc> | ||
741 | |||
742 | <SolutionMakefileAm> | ||
743 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
744 | xmlns:dnpb="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" | ||
745 | exclude-result-prefixes="dnpb" | ||
746 | xml:space="preserve" | ||
747 | > | ||
748 | <xsl:param name="solutionName" /> | ||
749 | <xsl:template match="/">SUBDIRS =<xsl:for-each select="//dnpb:Solution[@name=$solutionName]/dnpb:Project"><xsl:text disable-output-escaping="yes"> </xsl:text><xsl:value-of select="@name" /></xsl:for-each> | ||
750 | </xsl:template> | ||
751 | </xsl:stylesheet> | ||
752 | </SolutionMakefileAm> | ||
753 | <ProjectWrapperScriptIn> | ||
754 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
755 | xmlns:dnpb="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" | ||
756 | exclude-result-prefixes="dnpb" | ||
757 | xml:space="preserve" | ||
758 | > | ||
759 | <!-- Removes the xml version header in the generated file --> | ||
760 | <xsl:output method="text"/> | ||
761 | <xsl:param name="projectName" /> | ||
762 | <xsl:param name="assemblyName" /> | ||
763 | <xsl:param name="solutionName" /> | ||
764 | <xsl:param name="monoPath" /> | ||
765 | <xsl:variable name="lcProjectName"><xsl:value-of select="translate($projectName, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')"/></xsl:variable> | ||
766 | <xsl:template match="/"><xsl:for-each select="//dnpb:Solution[@name=$solutionName]/dnpb:Project[@name=$projectName]">#! /bin/sh | ||
767 | |||
768 | PACKAGE=<xsl:value-of select="$assemblyName" /> | ||
769 | prefix=@prefix@ | ||
770 | exec_prefix=@exec_prefix@ | ||
771 | |||
772 | # %%$@%$# why oh why isn't it $sharedir/<xsl:value-of select="$lcProjectName" /> | ||
773 | # Day changed to 30 Mar 2007 | ||
774 | # ... | ||
775 | # 07:50 < cj> why are we installing .exe assemblies to $prefix/lib/$package/ and | ||
776 | # not $prefix/share/$package ? | ||
777 | # 07:50 < jonp> momentum. | ||
778 | # 07:50 < jonp> and it's hard to say that a .exe isn't platform specific | ||
779 | # 07:50 < jonp> as it can still contain DllImport's which make platform | ||
780 | # assumptions | ||
781 | |||
782 | packagedir=$prefix/lib/<xsl:value-of select="$lcProjectName" /> | ||
783 | export MONO_PATH=$MONO_PATH<xsl:value-of select="$monoPath" /> | ||
784 | |||
785 | exec @RUNTIME@ $packagedir/$PACKAGE.exe "$@" | ||
786 | </xsl:for-each> | ||
787 | </xsl:template> | ||
788 | </xsl:stylesheet> | ||
789 | </ProjectWrapperScriptIn> | ||
790 | </Autotools> | ||
diff --git a/Prebuild/src/data/dnpb-1.0.xsd b/Prebuild/src/data/dnpb-1.0.xsd new file mode 100644 index 0000000..b9e0e4e --- /dev/null +++ b/Prebuild/src/data/dnpb-1.0.xsd | |||
@@ -0,0 +1,183 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" ?> | ||
2 | <xs:schema elementFormDefault="qualified" | ||
3 | xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
4 | targetNamespace="http://dnpb.sourceforge.net/schemas/dnpb-1.0.xsd" | ||
5 | xmlns="http://dnpb.sourceforge.net/schemas/dnpb-1.0.xsd" | ||
6 | > | ||
7 | <xs:annotation> | ||
8 | <xs:documentation> | ||
9 | Copyright (c) 2004 Matthew Holmes (kerion@houston.rr.com) | ||
10 | |||
11 | Redistribution and use in source and binary forms, with or without modification, are permitted | ||
12 | provided that the following conditions are met: | ||
13 | |||
14 | * Redistributions of source code must retain the above copyright notice, this list of conditions | ||
15 | and the following disclaimer. | ||
16 | * Redistributions in binary form must reproduce the above copyright notice, this list of conditions | ||
17 | and the following disclaimer in the documentation and/or other materials provided with the | ||
18 | distribution. | ||
19 | * The name of the author may not be used to endorse or promote products derived from this software | ||
20 | without specific prior written permission. | ||
21 | |||
22 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, | ||
23 | BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
24 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
25 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
26 | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | ||
27 | OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING | ||
28 | IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
29 | </xs:documentation> | ||
30 | </xs:annotation> | ||
31 | |||
32 | <xs:element name="DNPreBuild"> | ||
33 | <xs:complexType> | ||
34 | <xs:sequence> | ||
35 | <xs:element ref="Process" minOccurs="0" maxOccurs="unbounded" /> | ||
36 | <xs:element ref="Solution" minOccurs="1" maxOccurs="unbounded" /> | ||
37 | </xs:sequence> | ||
38 | |||
39 | <xs:attribute name="version" use="required" /> | ||
40 | </xs:complexType> | ||
41 | </xs:element> | ||
42 | |||
43 | <xs:element name="Process" type="xs:string" /> | ||
44 | |||
45 | <xs:element name="Solution"> | ||
46 | <xs:complexType> | ||
47 | <xs:sequence> | ||
48 | <xs:element ref="Options" minOccurs="0" /> | ||
49 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> | ||
50 | <xs:element ref="Files" minOccurs="0" /> | ||
51 | <xs:element ref="Project" minOccurs="1" maxOccurs="unbounded" /> | ||
52 | </xs:sequence> | ||
53 | |||
54 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
55 | <xs:attribute name="path" type="xs:string" default="" /> | ||
56 | </xs:complexType> | ||
57 | </xs:element> | ||
58 | |||
59 | <xs:element name="Project"> | ||
60 | <xs:complexType> | ||
61 | <xs:sequence> | ||
62 | <xs:element name="Reference" maxOccurs="unbounded"> | ||
63 | <xs:complexType> | ||
64 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
65 | <xs:attribute name="path" type="xs:string" /> | ||
66 | <xs:attribute name="localCopy" type="xs:boolean" /> | ||
67 | <xs:attribute name="version" type="xs:string" /> | ||
68 | </xs:complexType> | ||
69 | </xs:element> | ||
70 | |||
71 | <xs:element ref="Files" /> | ||
72 | </xs:sequence> | ||
73 | |||
74 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
75 | <xs:attribute name="path" type="xs:string" default="" /> | ||
76 | |||
77 | <xs:attribute name="language" default="C#"> | ||
78 | <xs:simpleType> | ||
79 | <xs:restriction base="xs:string"> | ||
80 | <xs:enumeration value="C#" /> | ||
81 | <xs:enumeration value="VB.NET" /> | ||
82 | </xs:restriction> | ||
83 | </xs:simpleType> | ||
84 | </xs:attribute> | ||
85 | |||
86 | <xs:attribute name="type" default="Exe"> | ||
87 | <xs:simpleType> | ||
88 | <xs:restriction base="xs:string"> | ||
89 | <xs:enumeration value="Exe" /> | ||
90 | <xs:enumeration value="WinExe" /> | ||
91 | <xs:enumeration value="Library" /> | ||
92 | </xs:restriction> | ||
93 | </xs:simpleType> | ||
94 | </xs:attribute> | ||
95 | |||
96 | <xs:attribute name="runtime" default="Microsoft"> | ||
97 | <xs:simpleType> | ||
98 | <xs:restriction base="xs:string"> | ||
99 | <xs:enumeration value="Microsoft" /> | ||
100 | <xs:enumeration value="Mono" /> | ||
101 | </xs:restriction> | ||
102 | </xs:simpleType> | ||
103 | </xs:attribute> | ||
104 | |||
105 | <xs:attribute name="startupObject" type="xs:string" default="" /> | ||
106 | </xs:complexType> | ||
107 | </xs:element> | ||
108 | |||
109 | <xs:element name="Configuration"> | ||
110 | <xs:complexType> | ||
111 | <xs:all> | ||
112 | <xs:element ref="Options" minOccurs="0" /> | ||
113 | </xs:all> | ||
114 | |||
115 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
116 | </xs:complexType> | ||
117 | </xs:element> | ||
118 | |||
119 | <xs:element name="Options"> | ||
120 | <xs:complexType> | ||
121 | <xs:sequence> | ||
122 | <xs:element name="CompilerDefines" type="xs:string" minOccurs="0" /> | ||
123 | <xs:element name="OptimizeCode" type="xs:boolean" minOccurs="0" /> | ||
124 | <xs:element name="CheckUnderflowOverflow" type="xs:boolean" minOccurs="0" /> | ||
125 | <xs:element name="AllowUnsafe" type="xs:boolean" minOccurs="0" /> | ||
126 | <xs:element name="WarningLevel" minOccurs="0"> | ||
127 | <xs:simpleType> | ||
128 | <xs:restriction base="xs:integer"> | ||
129 | <xs:minInclusive value="0" /> | ||
130 | <xs:maxInclusive value="4"/> | ||
131 | </xs:restriction> | ||
132 | </xs:simpleType> | ||
133 | </xs:element> | ||
134 | <xs:element name="WarningsAsErrors" type="xs:boolean" minOccurs="0" /> | ||
135 | <xs:element name="SupressWarnings" type="xs:string" minOccurs="0" /> | ||
136 | <xs:element name="OutputPath" type="xs:string" minOccurs="0" /> | ||
137 | <xs:element name="XmlDocFile" type="xs:string" minOccurs="0" /> | ||
138 | <xs:element name="DebugInformation" type="xs:boolean" minOccurs="0" /> | ||
139 | <xs:element name="RegisterCOMInterop" type="xs:boolean" minOccurs="0" /> | ||
140 | <xs:element name="IncrementalBuild" type="xs:boolean" minOccurs="0" /> | ||
141 | <xs:element name="BaseAddress" type="xs:string" minOccurs="0" /> | ||
142 | <xs:element name="FileAlignment" type="xs:integer" minOccurs="0" /> | ||
143 | <xs:element name="NoStdLib" type="xs:boolean" minOccurs="0" /> | ||
144 | <xs:element name="ReferencePath" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
145 | </xs:sequence> | ||
146 | </xs:complexType> | ||
147 | </xs:element> | ||
148 | |||
149 | <xs:element name="Files"> | ||
150 | <xs:complexType> | ||
151 | <xs:sequence> | ||
152 | <xs:element ref="File" minOccurs="0" maxOccurs="unbounded" /> | ||
153 | <xs:element ref="Match" minOccurs="0" maxOccurs="unbounded" /> | ||
154 | </xs:sequence> | ||
155 | </xs:complexType> | ||
156 | </xs:element> | ||
157 | |||
158 | <xs:element name="File"> | ||
159 | <xs:complexType> | ||
160 | <xs:simpleContent> | ||
161 | <xs:extension base="xs:string"> | ||
162 | <xs:attribute name="buildAction" default="Compile"> | ||
163 | <xs:simpleType> | ||
164 | <xs:restriction base="xs:string"> | ||
165 | <xs:enumeration value="Compile" /> | ||
166 | <xs:enumeration value="Content" /> | ||
167 | <xs:enumeration value="EmbeddedResource" /> | ||
168 | </xs:restriction> | ||
169 | </xs:simpleType> | ||
170 | </xs:attribute> | ||
171 | </xs:extension> | ||
172 | </xs:simpleContent> | ||
173 | </xs:complexType> | ||
174 | </xs:element> | ||
175 | |||
176 | <xs:element name="Match"> | ||
177 | <xs:complexType> | ||
178 | <xs:attribute name="path" type="xs:string" use="required" /> | ||
179 | <xs:attribute name="pattern" type="xs:string" use="required" /> | ||
180 | <xs:attribute name="recurse" type="xs:boolean" default="false" /> | ||
181 | </xs:complexType> | ||
182 | </xs:element> | ||
183 | </xs:schema> \ No newline at end of file | ||
diff --git a/Prebuild/src/data/dnpb-1.1.xsd b/Prebuild/src/data/dnpb-1.1.xsd new file mode 100644 index 0000000..2c065a3 --- /dev/null +++ b/Prebuild/src/data/dnpb-1.1.xsd | |||
@@ -0,0 +1,184 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" ?> | ||
2 | <xs:schema elementFormDefault="qualified" | ||
3 | xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
4 | targetNamespace="http://dnpb.sourceforge.net/schemas/dnpb-1.1.xsd" | ||
5 | xmlns="http://dnpb.sourceforge.net/schemas/dnpb-1.1.xsd" | ||
6 | > | ||
7 | <xs:annotation> | ||
8 | <xs:documentation> | ||
9 | Copyright (c) 2004 Matthew Holmes (kerion@houston.rr.com) | ||
10 | |||
11 | Redistribution and use in source and binary forms, with or without modification, are permitted | ||
12 | provided that the following conditions are met: | ||
13 | |||
14 | * Redistributions of source code must retain the above copyright notice, this list of conditions | ||
15 | and the following disclaimer. | ||
16 | * Redistributions in binary form must reproduce the above copyright notice, this list of conditions | ||
17 | and the following disclaimer in the documentation and/or other materials provided with the | ||
18 | distribution. | ||
19 | * The name of the author may not be used to endorse or promote products derived from this software | ||
20 | without specific prior written permission. | ||
21 | |||
22 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, | ||
23 | BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
24 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
25 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
26 | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | ||
27 | OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING | ||
28 | IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
29 | </xs:documentation> | ||
30 | </xs:annotation> | ||
31 | |||
32 | <xs:element name="DNPreBuild"> | ||
33 | <xs:complexType> | ||
34 | <xs:sequence> | ||
35 | <xs:element ref="Process" minOccurs="0" maxOccurs="unbounded" /> | ||
36 | <xs:element ref="Solution" minOccurs="1" maxOccurs="unbounded" /> | ||
37 | </xs:sequence> | ||
38 | |||
39 | <xs:attribute name="version" use="required" /> | ||
40 | </xs:complexType> | ||
41 | </xs:element> | ||
42 | |||
43 | <xs:element name="Process" type="xs:string" /> | ||
44 | |||
45 | <xs:element name="Solution"> | ||
46 | <xs:complexType> | ||
47 | <xs:sequence> | ||
48 | <xs:element ref="Options" minOccurs="0" /> | ||
49 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> | ||
50 | <xs:element ref="Files" minOccurs="0" /> | ||
51 | <xs:element ref="Project" minOccurs="1" maxOccurs="unbounded" /> | ||
52 | </xs:sequence> | ||
53 | |||
54 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
55 | <xs:attribute name="path" type="xs:string" default="" /> | ||
56 | </xs:complexType> | ||
57 | </xs:element> | ||
58 | |||
59 | <xs:element name="Project"> | ||
60 | <xs:complexType> | ||
61 | <xs:sequence> | ||
62 | <xs:element name="ReferencePath" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
63 | |||
64 | <xs:element name="Reference" maxOccurs="unbounded"> | ||
65 | <xs:complexType> | ||
66 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
67 | <xs:attribute name="path" type="xs:string" /> | ||
68 | <xs:attribute name="localCopy" type="xs:boolean" /> | ||
69 | <xs:attribute name="version" type="xs:string" /> | ||
70 | </xs:complexType> | ||
71 | </xs:element> | ||
72 | |||
73 | <xs:element ref="Files" /> | ||
74 | </xs:sequence> | ||
75 | |||
76 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
77 | <xs:attribute name="path" type="xs:string" default="" /> | ||
78 | |||
79 | <xs:attribute name="language" default="C#"> | ||
80 | <xs:simpleType> | ||
81 | <xs:restriction base="xs:string"> | ||
82 | <xs:enumeration value="C#" /> | ||
83 | <xs:enumeration value="VB.NET" /> | ||
84 | </xs:restriction> | ||
85 | </xs:simpleType> | ||
86 | </xs:attribute> | ||
87 | |||
88 | <xs:attribute name="type" default="Exe"> | ||
89 | <xs:simpleType> | ||
90 | <xs:restriction base="xs:string"> | ||
91 | <xs:enumeration value="Exe" /> | ||
92 | <xs:enumeration value="WinExe" /> | ||
93 | <xs:enumeration value="Library" /> | ||
94 | </xs:restriction> | ||
95 | </xs:simpleType> | ||
96 | </xs:attribute> | ||
97 | |||
98 | <xs:attribute name="runtime" default="Microsoft"> | ||
99 | <xs:simpleType> | ||
100 | <xs:restriction base="xs:string"> | ||
101 | <xs:enumeration value="Microsoft" /> | ||
102 | <xs:enumeration value="Mono" /> | ||
103 | </xs:restriction> | ||
104 | </xs:simpleType> | ||
105 | </xs:attribute> | ||
106 | |||
107 | <xs:attribute name="startupObject" type="xs:string" default="" /> | ||
108 | </xs:complexType> | ||
109 | </xs:element> | ||
110 | |||
111 | <xs:element name="Configuration"> | ||
112 | <xs:complexType> | ||
113 | <xs:all> | ||
114 | <xs:element ref="Options" minOccurs="0" /> | ||
115 | </xs:all> | ||
116 | |||
117 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
118 | </xs:complexType> | ||
119 | </xs:element> | ||
120 | |||
121 | <xs:element name="Options"> | ||
122 | <xs:complexType> | ||
123 | <xs:sequence> | ||
124 | <xs:element name="CompilerDefines" type="xs:string" minOccurs="0" /> | ||
125 | <xs:element name="OptimizeCode" type="xs:boolean" minOccurs="0" /> | ||
126 | <xs:element name="CheckUnderflowOverflow" type="xs:boolean" minOccurs="0" /> | ||
127 | <xs:element name="AllowUnsafe" type="xs:boolean" minOccurs="0" /> | ||
128 | <xs:element name="WarningLevel" minOccurs="0"> | ||
129 | <xs:simpleType> | ||
130 | <xs:restriction base="xs:integer"> | ||
131 | <xs:minInclusive value="0" /> | ||
132 | <xs:maxInclusive value="4"/> | ||
133 | </xs:restriction> | ||
134 | </xs:simpleType> | ||
135 | </xs:element> | ||
136 | <xs:element name="WarningsAsErrors" type="xs:boolean" minOccurs="0" /> | ||
137 | <xs:element name="SupressWarnings" type="xs:string" minOccurs="0" /> | ||
138 | <xs:element name="OutputPath" type="xs:string" minOccurs="0" /> | ||
139 | <xs:element name="XmlDocFile" type="xs:string" minOccurs="0" /> | ||
140 | <xs:element name="DebugInformation" type="xs:boolean" minOccurs="0" /> | ||
141 | <xs:element name="RegisterCOMInterop" type="xs:boolean" minOccurs="0" /> | ||
142 | <xs:element name="IncrementalBuild" type="xs:boolean" minOccurs="0" /> | ||
143 | <xs:element name="BaseAddress" type="xs:string" minOccurs="0" /> | ||
144 | <xs:element name="FileAlignment" type="xs:integer" minOccurs="0" /> | ||
145 | <xs:element name="NoStdLib" type="xs:boolean" minOccurs="0" /> | ||
146 | </xs:sequence> | ||
147 | </xs:complexType> | ||
148 | </xs:element> | ||
149 | |||
150 | <xs:element name="Files"> | ||
151 | <xs:complexType> | ||
152 | <xs:sequence> | ||
153 | <xs:element ref="File" minOccurs="0" maxOccurs="unbounded" /> | ||
154 | <xs:element ref="Match" minOccurs="0" maxOccurs="unbounded" /> | ||
155 | </xs:sequence> | ||
156 | </xs:complexType> | ||
157 | </xs:element> | ||
158 | |||
159 | <xs:element name="File"> | ||
160 | <xs:complexType> | ||
161 | <xs:simpleContent> | ||
162 | <xs:extension base="xs:string"> | ||
163 | <xs:attribute name="buildAction" default="Compile"> | ||
164 | <xs:simpleType> | ||
165 | <xs:restriction base="xs:string"> | ||
166 | <xs:enumeration value="Compile" /> | ||
167 | <xs:enumeration value="Content" /> | ||
168 | <xs:enumeration value="EmbeddedResource" /> | ||
169 | </xs:restriction> | ||
170 | </xs:simpleType> | ||
171 | </xs:attribute> | ||
172 | </xs:extension> | ||
173 | </xs:simpleContent> | ||
174 | </xs:complexType> | ||
175 | </xs:element> | ||
176 | |||
177 | <xs:element name="Match"> | ||
178 | <xs:complexType> | ||
179 | <xs:attribute name="path" type="xs:string" use="required" /> | ||
180 | <xs:attribute name="pattern" type="xs:string" use="required" /> | ||
181 | <xs:attribute name="recurse" type="xs:boolean" default="false" /> | ||
182 | </xs:complexType> | ||
183 | </xs:element> | ||
184 | </xs:schema> \ No newline at end of file | ||
diff --git a/Prebuild/src/data/dnpb-1.2.xsd b/Prebuild/src/data/dnpb-1.2.xsd new file mode 100644 index 0000000..d694ab4 --- /dev/null +++ b/Prebuild/src/data/dnpb-1.2.xsd | |||
@@ -0,0 +1,198 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" ?> | ||
2 | <xs:schema elementFormDefault="qualified" | ||
3 | xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
4 | targetNamespace="http://dnpb.sourceforge.net/schemas/dnpb-1.2.xsd" | ||
5 | xmlns="http://dnpb.sourceforge.net/schemas/dnpb-1.2.xsd" | ||
6 | > | ||
7 | <xs:annotation> | ||
8 | <xs:documentation> | ||
9 | Copyright (c) 2004 Matthew Holmes (calefaction _at_ houston _._ rr _._ com) | ||
10 | |||
11 | Redistribution and use in source and binary forms, with or without modification, are permitted | ||
12 | provided that the following conditions are met: | ||
13 | |||
14 | * Redistributions of source code must retain the above copyright notice, this list of conditions | ||
15 | and the following disclaimer. | ||
16 | * Redistributions in binary form must reproduce the above copyright notice, this list of conditions | ||
17 | and the following disclaimer in the documentation and/or other materials provided with the | ||
18 | distribution. | ||
19 | * The name of the author may not be used to endorse or promote products derived from this software | ||
20 | without specific prior written permission. | ||
21 | |||
22 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, | ||
23 | BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
24 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
25 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
26 | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | ||
27 | OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING | ||
28 | IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
29 | </xs:documentation> | ||
30 | </xs:annotation> | ||
31 | |||
32 | <xs:element name="DNPreBuild"> | ||
33 | <xs:complexType> | ||
34 | <xs:sequence> | ||
35 | <xs:element ref="Process" minOccurs="0" maxOccurs="unbounded" /> | ||
36 | <xs:element ref="Solution" minOccurs="0" maxOccurs="unbounded" /> | ||
37 | </xs:sequence> | ||
38 | |||
39 | <xs:attribute name="version" use="required" /> | ||
40 | </xs:complexType> | ||
41 | </xs:element> | ||
42 | |||
43 | <xs:element name="Process" type="xs:string" /> | ||
44 | |||
45 | <xs:element name="Solution"> | ||
46 | <xs:complexType> | ||
47 | <xs:sequence> | ||
48 | <xs:element ref="Options" minOccurs="0" /> | ||
49 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> | ||
50 | <xs:element ref="Files" minOccurs="0" /> | ||
51 | <xs:element ref="Project" minOccurs="1" maxOccurs="unbounded" /> | ||
52 | </xs:sequence> | ||
53 | |||
54 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
55 | <xs:attribute name="path" type="xs:string" default="" /> | ||
56 | </xs:complexType> | ||
57 | </xs:element> | ||
58 | |||
59 | <xs:element name="Project"> | ||
60 | <xs:complexType> | ||
61 | <xs:sequence> | ||
62 | <xs:element ref="Configuration" minOccurs="0" maxOccurs="unbounded" /> | ||
63 | |||
64 | <xs:element name="ReferencePath" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
65 | |||
66 | <xs:element name="Reference" minOccurs="0" maxOccurs="unbounded"> | ||
67 | <xs:complexType> | ||
68 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
69 | <xs:attribute name="path" type="xs:string" /> | ||
70 | <xs:attribute name="localCopy" type="xs:boolean" /> | ||
71 | <xs:attribute name="version" type="xs:string" /> | ||
72 | </xs:complexType> | ||
73 | </xs:element> | ||
74 | |||
75 | <xs:element ref="Files" /> | ||
76 | </xs:sequence> | ||
77 | |||
78 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
79 | <xs:attribute name="path" type="xs:string" default="" /> | ||
80 | |||
81 | <xs:attribute name="language" default="C#"> | ||
82 | <xs:simpleType> | ||
83 | <xs:restriction base="xs:string"> | ||
84 | <xs:enumeration value="C#" /> | ||
85 | <xs:enumeration value="VB.NET" /> | ||
86 | </xs:restriction> | ||
87 | </xs:simpleType> | ||
88 | </xs:attribute> | ||
89 | |||
90 | <xs:attribute name="type" default="Exe"> | ||
91 | <xs:simpleType> | ||
92 | <xs:restriction base="xs:string"> | ||
93 | <xs:enumeration value="Exe" /> | ||
94 | <xs:enumeration value="WinExe" /> | ||
95 | <xs:enumeration value="Library" /> | ||
96 | </xs:restriction> | ||
97 | </xs:simpleType> | ||
98 | </xs:attribute> | ||
99 | |||
100 | <xs:attribute name="runtime" default="Microsoft"> | ||
101 | <xs:simpleType> | ||
102 | <xs:restriction base="xs:string"> | ||
103 | <xs:enumeration value="Microsoft" /> | ||
104 | <xs:enumeration value="Mono" /> | ||
105 | </xs:restriction> | ||
106 | </xs:simpleType> | ||
107 | </xs:attribute> | ||
108 | |||
109 | <xs:attribute name="startupObject" type="xs:string" default="" /> | ||
110 | <xs:attribute name="rootNamespace" type="xs:string" /> | ||
111 | <xs:attribute name="assemblyName" type="xs:string" /> | ||
112 | </xs:complexType> | ||
113 | </xs:element> | ||
114 | |||
115 | <xs:element name="Configuration"> | ||
116 | <xs:complexType> | ||
117 | <xs:all> | ||
118 | <xs:element ref="Options" minOccurs="0" /> | ||
119 | </xs:all> | ||
120 | |||
121 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
122 | </xs:complexType> | ||
123 | </xs:element> | ||
124 | |||
125 | <xs:element name="Options"> | ||
126 | <xs:complexType> | ||
127 | <xs:all> | ||
128 | <xs:element name="CompilerDefines" type="xs:string" minOccurs="0" /> | ||
129 | <xs:element name="OptimizeCode" type="xs:boolean" minOccurs="0" /> | ||
130 | <xs:element name="CheckUnderflowOverflow" type="xs:boolean" minOccurs="0" /> | ||
131 | <xs:element name="AllowUnsafe" type="xs:boolean" minOccurs="0" /> | ||
132 | <xs:element name="WarningLevel" minOccurs="0"> | ||
133 | <xs:simpleType> | ||
134 | <xs:restriction base="xs:integer"> | ||
135 | <xs:minInclusive value="0" /> | ||
136 | <xs:maxInclusive value="4"/> | ||
137 | </xs:restriction> | ||
138 | </xs:simpleType> | ||
139 | </xs:element> | ||
140 | <xs:element name="WarningsAsErrors" type="xs:boolean" minOccurs="0" /> | ||
141 | <xs:element name="SupressWarnings" type="xs:string" minOccurs="0" /> | ||
142 | <xs:element name="OutputPath" type="xs:string" minOccurs="0" /> | ||
143 | <xs:element name="XmlDocFile" type="xs:string" minOccurs="0" /> | ||
144 | <xs:element name="DebugInformation" type="xs:boolean" minOccurs="0" /> | ||
145 | <xs:element name="RegisterCOMInterop" type="xs:boolean" minOccurs="0" /> | ||
146 | <xs:element name="IncrementalBuild" type="xs:boolean" minOccurs="0" /> | ||
147 | <xs:element name="BaseAddress" type="xs:string" minOccurs="0" /> | ||
148 | <xs:element name="FileAlignment" type="xs:integer" minOccurs="0" /> | ||
149 | <xs:element name="NoStdLib" type="xs:boolean" minOccurs="0" /> | ||
150 | </xs:all> | ||
151 | </xs:complexType> | ||
152 | </xs:element> | ||
153 | |||
154 | <xs:element name="Files"> | ||
155 | <xs:complexType> | ||
156 | <xs:sequence> | ||
157 | <xs:element ref="File" minOccurs="0" maxOccurs="unbounded" /> | ||
158 | <xs:element ref="Match" minOccurs="0" maxOccurs="unbounded" /> | ||
159 | </xs:sequence> | ||
160 | </xs:complexType> | ||
161 | </xs:element> | ||
162 | |||
163 | <xs:element name="File"> | ||
164 | <xs:complexType> | ||
165 | <xs:simpleContent> | ||
166 | <xs:extension base="xs:string"> | ||
167 | <xs:attribute name="buildAction" default="Compile"> | ||
168 | <xs:simpleType> | ||
169 | <xs:restriction base="xs:string"> | ||
170 | <xs:enumeration value="Compile" /> | ||
171 | <xs:enumeration value="Content" /> | ||
172 | <xs:enumeration value="EmbeddedResource" /> | ||
173 | </xs:restriction> | ||
174 | </xs:simpleType> | ||
175 | </xs:attribute> | ||
176 | </xs:extension> | ||
177 | </xs:simpleContent> | ||
178 | </xs:complexType> | ||
179 | </xs:element> | ||
180 | |||
181 | <xs:element name="Match"> | ||
182 | <xs:complexType> | ||
183 | <xs:attribute name="path" type="xs:string" use="required" /> | ||
184 | <xs:attribute name="pattern" type="xs:string" use="required" /> | ||
185 | <xs:attribute name="recurse" type="xs:boolean" default="false" /> | ||
186 | <xs:attribute name="useRegex" type="xs:boolean" default="false" /> | ||
187 | <xs:attribute name="buildAction" default="Compile"> | ||
188 | <xs:simpleType> | ||
189 | <xs:restriction base="xs:string"> | ||
190 | <xs:enumeration value="Compile" /> | ||
191 | <xs:enumeration value="Content" /> | ||
192 | <xs:enumeration value="EmbeddedResource" /> | ||
193 | </xs:restriction> | ||
194 | </xs:simpleType> | ||
195 | </xs:attribute> | ||
196 | </xs:complexType> | ||
197 | </xs:element> | ||
198 | </xs:schema> \ No newline at end of file | ||
diff --git a/Prebuild/src/data/dnpb-1.3.xsd b/Prebuild/src/data/dnpb-1.3.xsd new file mode 100644 index 0000000..8f31a54 --- /dev/null +++ b/Prebuild/src/data/dnpb-1.3.xsd | |||
@@ -0,0 +1,206 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" ?> | ||
2 | <xs:schema elementFormDefault="qualified" | ||
3 | xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
4 | targetNamespace="http://dnpb.sourceforge.net/schemas/dnpb-1.3.xsd" | ||
5 | xmlns="http://dnpb.sourceforge.net/schemas/dnpb-1.3.xsd" | ||
6 | > | ||
7 | <xs:annotation> | ||
8 | <xs:documentation> | ||
9 | Copyright (c) 2004-2005 Matthew Holmes (calefaction at houston . rr . com), Dan Moorehead (dan05a at gmail . com) | ||
10 | |||
11 | .NET Pre-Build is an XML-driven pre-build tool allowing developers to | ||
12 | easily generate project or make files for major IDE's and .NET | ||
13 | development tools including: Visual Studio 2003, Visual Studio 2002, | ||
14 | SharpDevelop, MonoDevelop, and NAnt. | ||
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="DNPreBuild"> | ||
40 | <xs:complexType> | ||
41 | <xs:sequence> | ||
42 | <xs:element ref="Process" minOccurs="0" maxOccurs="unbounded" /> | ||
43 | <xs:element ref="Solution" minOccurs="0" maxOccurs="unbounded" /> | ||
44 | </xs:sequence> | ||
45 | |||
46 | <xs:attribute name="version" use="required" /> | ||
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="Options" minOccurs="0" /> | ||
56 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> | ||
57 | <xs:element ref="Files" minOccurs="0" /> | ||
58 | <xs:element ref="Project" minOccurs="1" maxOccurs="unbounded" /> | ||
59 | </xs:sequence> | ||
60 | |||
61 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
62 | <xs:attribute name="path" type="xs:string" default="" /> | ||
63 | </xs:complexType> | ||
64 | </xs:element> | ||
65 | |||
66 | <xs:element name="Project"> | ||
67 | <xs:complexType> | ||
68 | <xs:sequence> | ||
69 | <xs:element ref="Configuration" minOccurs="0" maxOccurs="unbounded" /> | ||
70 | |||
71 | <xs:element name="ReferencePath" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
72 | |||
73 | <xs:element name="Reference" minOccurs="0" maxOccurs="unbounded"> | ||
74 | <xs:complexType> | ||
75 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
76 | <xs:attribute name="path" type="xs:string" /> | ||
77 | <xs:attribute name="localCopy" type="xs:boolean" /> | ||
78 | <xs:attribute name="version" type="xs:string" /> | ||
79 | </xs:complexType> | ||
80 | </xs:element> | ||
81 | |||
82 | <xs:element ref="Files" /> | ||
83 | </xs:sequence> | ||
84 | |||
85 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
86 | <xs:attribute name="path" type="xs:string" default="" /> | ||
87 | <xs:attribute name="icon" type="xs:string" default="" /> | ||
88 | |||
89 | <xs:attribute name="language" default="C#"> | ||
90 | <xs:simpleType> | ||
91 | <xs:restriction base="xs:string"> | ||
92 | <xs:enumeration value="C#" /> | ||
93 | <xs:enumeration value="VB.NET" /> | ||
94 | </xs:restriction> | ||
95 | </xs:simpleType> | ||
96 | </xs:attribute> | ||
97 | |||
98 | <xs:attribute name="type" default="Exe"> | ||
99 | <xs:simpleType> | ||
100 | <xs:restriction base="xs:string"> | ||
101 | <xs:enumeration value="Exe" /> | ||
102 | <xs:enumeration value="WinExe" /> | ||
103 | <xs:enumeration value="Library" /> | ||
104 | </xs:restriction> | ||
105 | </xs:simpleType> | ||
106 | </xs:attribute> | ||
107 | |||
108 | <xs:attribute name="runtime" default="Microsoft"> | ||
109 | <xs:simpleType> | ||
110 | <xs:restriction base="xs:string"> | ||
111 | <xs:enumeration value="Microsoft" /> | ||
112 | <xs:enumeration value="Mono" /> | ||
113 | </xs:restriction> | ||
114 | </xs:simpleType> | ||
115 | </xs:attribute> | ||
116 | |||
117 | <xs:attribute name="startupObject" type="xs:string" default="" /> | ||
118 | <xs:attribute name="rootNamespace" type="xs:string" /> | ||
119 | <xs:attribute name="assemblyName" type="xs:string" /> | ||
120 | </xs:complexType> | ||
121 | </xs:element> | ||
122 | |||
123 | <xs:element name="Configuration"> | ||
124 | <xs:complexType> | ||
125 | <xs:all> | ||
126 | <xs:element ref="Options" minOccurs="0" /> | ||
127 | </xs:all> | ||
128 | |||
129 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
130 | </xs:complexType> | ||
131 | </xs:element> | ||
132 | |||
133 | <xs:element name="Options"> | ||
134 | <xs:complexType> | ||
135 | <xs:all> | ||
136 | <xs:element name="CompilerDefines" type="xs:string" minOccurs="0" /> | ||
137 | <xs:element name="OptimizeCode" type="xs:boolean" minOccurs="0" /> | ||
138 | <xs:element name="CheckUnderflowOverflow" type="xs:boolean" minOccurs="0" /> | ||
139 | <xs:element name="AllowUnsafe" type="xs:boolean" minOccurs="0" /> | ||
140 | <xs:element name="WarningLevel" minOccurs="0"> | ||
141 | <xs:simpleType> | ||
142 | <xs:restriction base="xs:integer"> | ||
143 | <xs:minInclusive value="0" /> | ||
144 | <xs:maxInclusive value="4"/> | ||
145 | </xs:restriction> | ||
146 | </xs:simpleType> | ||
147 | </xs:element> | ||
148 | <xs:element name="WarningsAsErrors" type="xs:boolean" minOccurs="0" /> | ||
149 | <xs:element name="SupressWarnings" type="xs:string" minOccurs="0" /> | ||
150 | <xs:element name="OutputPath" type="xs:string" minOccurs="0" /> | ||
151 | <xs:element name="XmlDocFile" type="xs:string" minOccurs="0" /> | ||
152 | <xs:element name="DebugInformation" type="xs:boolean" minOccurs="0" /> | ||
153 | <xs:element name="RegisterCOMInterop" type="xs:boolean" minOccurs="0" /> | ||
154 | <xs:element name="IncrementalBuild" type="xs:boolean" minOccurs="0" /> | ||
155 | <xs:element name="BaseAddress" type="xs:string" minOccurs="0" /> | ||
156 | <xs:element name="FileAlignment" type="xs:integer" minOccurs="0" /> | ||
157 | <xs:element name="NoStdLib" type="xs:boolean" minOccurs="0" /> | ||
158 | </xs:all> | ||
159 | </xs:complexType> | ||
160 | </xs:element> | ||
161 | |||
162 | <xs:element name="Files"> | ||
163 | <xs:complexType> | ||
164 | <xs:sequence> | ||
165 | <xs:element ref="File" minOccurs="0" maxOccurs="unbounded" /> | ||
166 | <xs:element ref="Match" minOccurs="0" maxOccurs="unbounded" /> | ||
167 | </xs:sequence> | ||
168 | </xs:complexType> | ||
169 | </xs:element> | ||
170 | |||
171 | <xs:element name="File"> | ||
172 | <xs:complexType> | ||
173 | <xs:simpleContent> | ||
174 | <xs:extension base="xs:string"> | ||
175 | <xs:attribute name="buildAction" default="Compile"> | ||
176 | <xs:simpleType> | ||
177 | <xs:restriction base="xs:string"> | ||
178 | <xs:enumeration value="Compile" /> | ||
179 | <xs:enumeration value="Content" /> | ||
180 | <xs:enumeration value="EmbeddedResource" /> | ||
181 | </xs:restriction> | ||
182 | </xs:simpleType> | ||
183 | </xs:attribute> | ||
184 | </xs:extension> | ||
185 | </xs:simpleContent> | ||
186 | </xs:complexType> | ||
187 | </xs:element> | ||
188 | |||
189 | <xs:element name="Match"> | ||
190 | <xs:complexType> | ||
191 | <xs:attribute name="path" type="xs:string" /> | ||
192 | <xs:attribute name="pattern" type="xs:string" use="required" /> | ||
193 | <xs:attribute name="recurse" type="xs:boolean" default="false" /> | ||
194 | <xs:attribute name="useRegex" type="xs:boolean" default="false" /> | ||
195 | <xs:attribute name="buildAction" default="Compile"> | ||
196 | <xs:simpleType> | ||
197 | <xs:restriction base="xs:string"> | ||
198 | <xs:enumeration value="Compile" /> | ||
199 | <xs:enumeration value="Content" /> | ||
200 | <xs:enumeration value="EmbeddedResource" /> | ||
201 | </xs:restriction> | ||
202 | </xs:simpleType> | ||
203 | </xs:attribute> | ||
204 | </xs:complexType> | ||
205 | </xs:element> | ||
206 | </xs:schema> \ No newline at end of file | ||
diff --git a/Prebuild/src/data/dnpb-1.4.xsd b/Prebuild/src/data/dnpb-1.4.xsd new file mode 100644 index 0000000..1da50fc --- /dev/null +++ b/Prebuild/src/data/dnpb-1.4.xsd | |||
@@ -0,0 +1,212 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" ?> | ||
2 | <xs:schema elementFormDefault="qualified" | ||
3 | xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
4 | targetNamespace="http://dnpb.sourceforge.net/schemas/dnpb-1.4.xsd" | ||
5 | xmlns="http://dnpb.sourceforge.net/schemas/dnpb-1.4.xsd" | ||
6 | > | ||
7 | <xs:annotation> | ||
8 | <xs:documentation> | ||
9 | Copyright (c) 2004-2005 Matthew Holmes (calefaction at houston . rr . com), Dan Moorehead (dan05a at gmail . 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 and | ||
14 | 2003, SharpDevelop, MonoDevelop, and NAnt. | ||
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="DNPreBuild"> | ||
40 | <xs:complexType> | ||
41 | <xs:sequence> | ||
42 | <xs:element ref="Process" minOccurs="0" maxOccurs="unbounded" /> | ||
43 | <xs:element ref="Solution" minOccurs="0" maxOccurs="unbounded" /> | ||
44 | </xs:sequence> | ||
45 | |||
46 | <xs:attribute name="version" /> | ||
47 | <xs:attribute name="checkOsVars" /> | ||
48 | </xs:complexType> | ||
49 | </xs:element> | ||
50 | |||
51 | <xs:element name="Process" type="xs:string" /> | ||
52 | |||
53 | <xs:element name="Solution"> | ||
54 | <xs:complexType> | ||
55 | <xs:sequence> | ||
56 | <xs:element ref="Options" minOccurs="0" /> | ||
57 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> | ||
58 | <xs:element ref="Files" minOccurs="0" /> | ||
59 | <xs:element ref="Project" minOccurs="1" maxOccurs="unbounded" /> | ||
60 | </xs:sequence> | ||
61 | |||
62 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
63 | <xs:attribute name="activeConfig" type="xs:string" default="Debug" /> | ||
64 | <xs:attribute name="path" type="xs:string" default="" /> | ||
65 | </xs:complexType> | ||
66 | </xs:element> | ||
67 | |||
68 | <xs:element name="Project"> | ||
69 | <xs:complexType> | ||
70 | <xs:sequence> | ||
71 | <xs:element ref="Configuration" minOccurs="0" maxOccurs="unbounded" /> | ||
72 | |||
73 | <xs:element name="ReferencePath" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
74 | |||
75 | <xs:element name="Reference" minOccurs="0" maxOccurs="unbounded"> | ||
76 | <xs:complexType> | ||
77 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
78 | <xs:attribute name="path" type="xs:string" /> | ||
79 | <xs:attribute name="localCopy" type="xs:boolean" /> | ||
80 | <xs:attribute name="version" type="xs:string" /> | ||
81 | </xs:complexType> | ||
82 | </xs:element> | ||
83 | |||
84 | <xs:element ref="Files" /> | ||
85 | </xs:sequence> | ||
86 | |||
87 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
88 | <xs:attribute name="path" type="xs:string" default="" /> | ||
89 | <xs:attribute name="icon" type="xs:string" default="" /> | ||
90 | |||
91 | <xs:attribute name="language" default="C#"> | ||
92 | <xs:simpleType> | ||
93 | <xs:restriction base="xs:string"> | ||
94 | <xs:enumeration value="C#" /> | ||
95 | <xs:enumeration value="VB.NET" /> | ||
96 | </xs:restriction> | ||
97 | </xs:simpleType> | ||
98 | </xs:attribute> | ||
99 | |||
100 | <xs:attribute name="type" default="Exe"> | ||
101 | <xs:simpleType> | ||
102 | <xs:restriction base="xs:string"> | ||
103 | <xs:enumeration value="Exe" /> | ||
104 | <xs:enumeration value="WinExe" /> | ||
105 | <xs:enumeration value="Library" /> | ||
106 | </xs:restriction> | ||
107 | </xs:simpleType> | ||
108 | </xs:attribute> | ||
109 | |||
110 | <xs:attribute name="runtime" default="Microsoft"> | ||
111 | <xs:simpleType> | ||
112 | <xs:restriction base="xs:string"> | ||
113 | <xs:enumeration value="Microsoft" /> | ||
114 | <xs:enumeration value="Mono" /> | ||
115 | </xs:restriction> | ||
116 | </xs:simpleType> | ||
117 | </xs:attribute> | ||
118 | |||
119 | <xs:attribute name="startupObject" type="xs:string" default="" /> | ||
120 | <xs:attribute name="rootNamespace" type="xs:string" /> | ||
121 | <xs:attribute name="assemblyName" type="xs:string" /> | ||
122 | </xs:complexType> | ||
123 | </xs:element> | ||
124 | |||
125 | <xs:element name="Configuration"> | ||
126 | <xs:complexType> | ||
127 | <xs:sequence> | ||
128 | <xs:element ref="Options" minOccurs="0" /> | ||
129 | </xs:sequence> | ||
130 | |||
131 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
132 | </xs:complexType> | ||
133 | </xs:element> | ||
134 | |||
135 | <xs:element name="Options"> | ||
136 | <xs:complexType> | ||
137 | <xs:all> | ||
138 | <xs:element name="CompilerDefines" type="xs:string" minOccurs="0" /> | ||
139 | <xs:element name="OptimizeCode" 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" /> | ||
142 | <xs:element name="WarningLevel" minOccurs="0"> | ||
143 | <xs:simpleType> | ||
144 | <xs:restriction base="xs:integer"> | ||
145 | <xs:minInclusive value="0" /> | ||
146 | <xs:maxInclusive value="4"/> | ||
147 | </xs:restriction> | ||
148 | </xs:simpleType> | ||
149 | </xs:element> | ||
150 | <xs:element name="WarningsAsErrors" type="xs:boolean" minOccurs="0" /> | ||
151 | <xs:element name="SupressWarnings" 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" /> | ||
154 | <xs:element name="DebugInformation" 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" /> | ||
157 | <xs:element name="BaseAddress" type="xs:string" minOccurs="0" /> | ||
158 | <xs:element name="FileAlignment" type="xs:integer" minOccurs="0" /> | ||
159 | <xs:element name="NoStdLib" type="xs:boolean" minOccurs="0" /> | ||
160 | </xs:all> | ||
161 | </xs:complexType> | ||
162 | </xs:element> | ||
163 | |||
164 | <xs:element name="Files"> | ||
165 | <xs:complexType> | ||
166 | <xs:sequence> | ||
167 | <xs:element ref="File" minOccurs="0" maxOccurs="unbounded" /> | ||
168 | <xs:element ref="Match" minOccurs="0" maxOccurs="unbounded" /> | ||
169 | </xs:sequence> | ||
170 | </xs:complexType> | ||
171 | </xs:element> | ||
172 | |||
173 | <xs:element name="File"> | ||
174 | <xs:complexType> | ||
175 | <xs:simpleContent> | ||
176 | <xs:extension base="xs:string"> | ||
177 | <xs:attribute name="buildAction" default="Compile"> | ||
178 | <xs:simpleType> | ||
179 | <xs:restriction base="xs:string"> | ||
180 | <xs:enumeration value="None" /> | ||
181 | <xs:enumeration value="Compile" /> | ||
182 | <xs:enumeration value="Content" /> | ||
183 | <xs:enumeration value="EmbeddedResource" /> | ||
184 | </xs:restriction> | ||
185 | </xs:simpleType> | ||
186 | </xs:attribute> | ||
187 | </xs:extension> | ||
188 | </xs:simpleContent> | ||
189 | </xs:complexType> | ||
190 | </xs:element> | ||
191 | |||
192 | <xs:element name="Match"> | ||
193 | <xs:complexType> | ||
194 | <xs:attribute name="path" type="xs:string" /> | ||
195 | <xs:attribute name="pattern" type="xs:string" use="required" /> | ||
196 | <xs:attribute name="recurse" type="xs:boolean" default="false" /> | ||
197 | <xs:attribute name="useRegex" type="xs:boolean" default="false" /> | ||
198 | <xs:attribute name="buildAction" default="Compile"> | ||
199 | <xs:simpleType> | ||
200 | <xs:restriction base="xs:string"> | ||
201 | <xs:enumeration value="None" /> | ||
202 | <xs:enumeration value="Compile" /> | ||
203 | <xs:enumeration value="Content" /> | ||
204 | <xs:enumeration value="EmbeddedResource" /> | ||
205 | </xs:restriction> | ||
206 | </xs:simpleType> | ||
207 | </xs:attribute> | ||
208 | </xs:complexType> | ||
209 | </xs:element> | ||
210 | </xs:schema> | ||
211 | |||
212 | |||
diff --git a/Prebuild/src/data/dnpb-1.5.xsd b/Prebuild/src/data/dnpb-1.5.xsd new file mode 100644 index 0000000..e2b21f0 --- /dev/null +++ b/Prebuild/src/data/dnpb-1.5.xsd | |||
@@ -0,0 +1,215 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" ?> | ||
2 | <xs:schema elementFormDefault="qualified" | ||
3 | xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
4 | targetNamespace="http://dnpb.sourceforge.net/schemas/dnpb-1.5.xsd" | ||
5 | xmlns="http://dnpb.sourceforge.net/schemas/dnpb-1.5.xsd" | ||
6 | > | ||
7 | <xs:annotation> | ||
8 | <xs:documentation> | ||
9 | Copyright (c) 2004-2005 Matthew Holmes (calefaction at houston . rr . com), Dan Moorehead (dan05a at gmail . 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 and | ||
14 | 2003, SharpDevelop, MonoDevelop, and NAnt. | ||
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="DNPreBuild"> | ||
40 | <xs:complexType> | ||
41 | <xs:sequence> | ||
42 | <xs:element ref="Process" minOccurs="0" maxOccurs="unbounded" /> | ||
43 | <xs:element ref="Solution" minOccurs="0" maxOccurs="unbounded" /> | ||
44 | </xs:sequence> | ||
45 | |||
46 | <xs:attribute name="version" /> | ||
47 | <xs:attribute name="checkOsVars" /> | ||
48 | </xs:complexType> | ||
49 | </xs:element> | ||
50 | |||
51 | <xs:element name="Process" type="xs:string" /> | ||
52 | |||
53 | <xs:element name="Solution"> | ||
54 | <xs:complexType> | ||
55 | <xs:sequence> | ||
56 | <xs:element ref="Options" minOccurs="0" /> | ||
57 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> | ||
58 | <xs:element ref="Files" minOccurs="0" /> | ||
59 | <xs:element ref="Project" minOccurs="1" maxOccurs="unbounded" /> | ||
60 | </xs:sequence> | ||
61 | |||
62 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
63 | <xs:attribute name="activeConfig" type="xs:string" default="Debug" /> | ||
64 | <xs:attribute name="path" type="xs:string" default="" /> | ||
65 | </xs:complexType> | ||
66 | </xs:element> | ||
67 | |||
68 | <xs:element name="Project"> | ||
69 | <xs:complexType> | ||
70 | <xs:sequence> | ||
71 | <xs:element ref="Configuration" minOccurs="0" maxOccurs="unbounded" /> | ||
72 | |||
73 | <xs:element name="ReferencePath" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
74 | |||
75 | <xs:element name="Reference" minOccurs="0" maxOccurs="unbounded"> | ||
76 | <xs:complexType> | ||
77 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
78 | <xs:attribute name="path" type="xs:string" /> | ||
79 | <xs:attribute name="localCopy" type="xs:boolean" /> | ||
80 | <xs:attribute name="version" type="xs:string" /> | ||
81 | </xs:complexType> | ||
82 | </xs:element> | ||
83 | |||
84 | <xs:element ref="Files" /> | ||
85 | </xs:sequence> | ||
86 | |||
87 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
88 | <xs:attribute name="filterGroups" type="xs:string" default="" /> | ||
89 | <xs:attribute name="path" type="xs:string" default="" /> | ||
90 | <xs:attribute name="icon" type="xs:string" default="" /> | ||
91 | |||
92 | <xs:attribute name="language" default="C#"> | ||
93 | <xs:simpleType> | ||
94 | <xs:restriction base="xs:string"> | ||
95 | <xs:enumeration value="C#" /> | ||
96 | <xs:enumeration value="VB.NET" /> | ||
97 | </xs:restriction> | ||
98 | </xs:simpleType> | ||
99 | </xs:attribute> | ||
100 | |||
101 | <xs:attribute name="type" default="Exe"> | ||
102 | <xs:simpleType> | ||
103 | <xs:restriction base="xs:string"> | ||
104 | <xs:enumeration value="Exe" /> | ||
105 | <xs:enumeration value="WinExe" /> | ||
106 | <xs:enumeration value="Library" /> | ||
107 | </xs:restriction> | ||
108 | </xs:simpleType> | ||
109 | </xs:attribute> | ||
110 | |||
111 | <xs:attribute name="runtime" default="Microsoft"> | ||
112 | <xs:simpleType> | ||
113 | <xs:restriction base="xs:string"> | ||
114 | <xs:enumeration value="Microsoft" /> | ||
115 | <xs:enumeration value="Mono" /> | ||
116 | </xs:restriction> | ||
117 | </xs:simpleType> | ||
118 | </xs:attribute> | ||
119 | |||
120 | <xs:attribute name="startupObject" type="xs:string" default="" /> | ||
121 | <xs:attribute name="rootNamespace" type="xs:string" /> | ||
122 | <xs:attribute name="assemblyName" type="xs:string" /> | ||
123 | </xs:complexType> | ||
124 | </xs:element> | ||
125 | |||
126 | <xs:element name="Configuration"> | ||
127 | <xs:complexType> | ||
128 | <xs:sequence> | ||
129 | <xs:element ref="Options" minOccurs="0" /> | ||
130 | </xs:sequence> | ||
131 | |||
132 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
133 | </xs:complexType> | ||
134 | </xs:element> | ||
135 | |||
136 | <xs:element name="Options"> | ||
137 | <xs:complexType> | ||
138 | <xs:all> | ||
139 | <xs:element name="CompilerDefines" type="xs:string" minOccurs="0" /> | ||
140 | <xs:element name="OptimizeCode" type="xs:boolean" minOccurs="0" /> | ||
141 | <xs:element name="CheckUnderflowOverflow" type="xs:boolean" minOccurs="0" /> | ||
142 | <xs:element name="AllowUnsafe" type="xs:boolean" minOccurs="0" /> | ||
143 | <xs:element name="WarningLevel" minOccurs="0"> | ||
144 | <xs:simpleType> | ||
145 | <xs:restriction base="xs:integer"> | ||
146 | <xs:minInclusive value="0" /> | ||
147 | <xs:maxInclusive value="4"/> | ||
148 | </xs:restriction> | ||
149 | </xs:simpleType> | ||
150 | </xs:element> | ||
151 | <xs:element name="WarningsAsErrors" type="xs:boolean" minOccurs="0" /> | ||
152 | <xs:element name="SupressWarnings" type="xs:string" minOccurs="0" /> | ||
153 | <xs:element name="OutputPath" type="xs:string" minOccurs="0" /> | ||
154 | <xs:element name="GenerateXmlDocFile" type="xs:boolean" minOccurs="0" /> | ||
155 | <xs:element name="XmlDocFile" type="xs:string" minOccurs="0" /> | ||
156 | <xs:element name="DebugInformation" type="xs:boolean" minOccurs="0" /> | ||
157 | <xs:element name="RegisterCOMInterop" type="xs:boolean" minOccurs="0" /> | ||
158 | <xs:element name="RemoveIntegerChecks" type="xs:boolean" minOccurs="0" /> | ||
159 | <xs:element name="IncrementalBuild" type="xs:boolean" minOccurs="0" /> | ||
160 | <xs:element name="BaseAddress" type="xs:string" minOccurs="0" /> | ||
161 | <xs:element name="FileAlignment" type="xs:integer" minOccurs="0" /> | ||
162 | <xs:element name="NoStdLib" type="xs:boolean" minOccurs="0" /> | ||
163 | </xs:all> | ||
164 | </xs:complexType> | ||
165 | </xs:element> | ||
166 | |||
167 | <xs:element name="Files"> | ||
168 | <xs:complexType> | ||
169 | <xs:sequence> | ||
170 | <xs:element ref="File" minOccurs="0" maxOccurs="unbounded" /> | ||
171 | <xs:element ref="Match" minOccurs="0" maxOccurs="unbounded" /> | ||
172 | </xs:sequence> | ||
173 | </xs:complexType> | ||
174 | </xs:element> | ||
175 | |||
176 | <xs:element name="File"> | ||
177 | <xs:complexType> | ||
178 | <xs:simpleContent> | ||
179 | <xs:extension base="xs:string"> | ||
180 | <xs:attribute name="buildAction" default="Compile"> | ||
181 | <xs:simpleType> | ||
182 | <xs:restriction base="xs:string"> | ||
183 | <xs:enumeration value="None" /> | ||
184 | <xs:enumeration value="Compile" /> | ||
185 | <xs:enumeration value="Content" /> | ||
186 | <xs:enumeration value="EmbeddedResource" /> | ||
187 | </xs:restriction> | ||
188 | </xs:simpleType> | ||
189 | </xs:attribute> | ||
190 | </xs:extension> | ||
191 | </xs:simpleContent> | ||
192 | </xs:complexType> | ||
193 | </xs:element> | ||
194 | |||
195 | <xs:element name="Match"> | ||
196 | <xs:complexType> | ||
197 | <xs:attribute name="path" type="xs:string" /> | ||
198 | <xs:attribute name="pattern" type="xs:string" use="required" /> | ||
199 | <xs:attribute name="recurse" type="xs:boolean" default="false" /> | ||
200 | <xs:attribute name="useRegex" type="xs:boolean" default="false" /> | ||
201 | <xs:attribute name="buildAction" default="Compile"> | ||
202 | <xs:simpleType> | ||
203 | <xs:restriction base="xs:string"> | ||
204 | <xs:enumeration value="None" /> | ||
205 | <xs:enumeration value="Compile" /> | ||
206 | <xs:enumeration value="Content" /> | ||
207 | <xs:enumeration value="EmbeddedResource" /> | ||
208 | </xs:restriction> | ||
209 | </xs:simpleType> | ||
210 | </xs:attribute> | ||
211 | </xs:complexType> | ||
212 | </xs:element> | ||
213 | </xs:schema> | ||
214 | |||
215 | |||
diff --git a/Prebuild/src/data/prebuild-1.6.xsd b/Prebuild/src/data/prebuild-1.6.xsd new file mode 100644 index 0000000..57ebd2e --- /dev/null +++ b/Prebuild/src/data/prebuild-1.6.xsd | |||
@@ -0,0 +1,231 @@ | |||
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.6.xsd" | ||
3 | xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.6.xsd"> | ||
4 | <xs:annotation> | ||
5 | <xs:documentation> | ||
6 | Copyright (c) 2004-2005 Matthew Holmes (calefaction at houston . rr . com), Dan Moorehead (dan05a at gmail . com) | ||
7 | |||
8 | .NET Prebuild is a cross-platform XML-driven pre-build tool which | ||
9 | allows developers to easily generate project or make files for major | ||
10 | IDE's and .NET development tools including: Visual Studio .NET 2002 and | ||
11 | 2003, SharpDevelop, MonoDevelop, and NAnt. | ||
12 | |||
13 | BSD License: | ||
14 | |||
15 | Redistribution and use in source and binary forms, with or without modification, are permitted | ||
16 | provided that the following conditions are met: | ||
17 | |||
18 | * Redistributions of source code must retain the above copyright notice, this list of conditions | ||
19 | and the following disclaimer. | ||
20 | * Redistributions in binary form must reproduce the above copyright notice, this list of conditions | ||
21 | and the following disclaimer in the documentation and/or other materials provided with the | ||
22 | distribution. | ||
23 | * The name of the author may not be used to endorse or promote products derived from this software | ||
24 | without specific prior written permission. | ||
25 | |||
26 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, | ||
27 | BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
28 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
29 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
30 | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | ||
31 | OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING | ||
32 | IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
33 | </xs:documentation> | ||
34 | </xs:annotation> | ||
35 | <xs:element name="Prebuild"> | ||
36 | <xs:complexType> | ||
37 | <xs:sequence> | ||
38 | <xs:element ref="Process" minOccurs="0" maxOccurs="unbounded" /> | ||
39 | <xs:element ref="Solution" minOccurs="0" maxOccurs="unbounded" /> | ||
40 | </xs:sequence> | ||
41 | <xs:attribute name="version" /> | ||
42 | <xs:attribute name="checkOsVars" /> | ||
43 | </xs:complexType> | ||
44 | </xs:element> | ||
45 | <xs:element name="Process" type="xs:string" /> | ||
46 | <xs:element name="Solution"> | ||
47 | <xs:complexType> | ||
48 | <xs:sequence> | ||
49 | <xs:element ref="Options" minOccurs="0" /> | ||
50 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> | ||
51 | <xs:element ref="Files" minOccurs="0" /> | ||
52 | <xs:element ref="Project" minOccurs="1" maxOccurs="unbounded" /> | ||
53 | </xs:sequence> | ||
54 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
55 | <xs:attribute name="activeConfig" type="xs:string" default="Debug" /> | ||
56 | <xs:attribute name="path" type="xs:string" default="" /> | ||
57 | </xs:complexType> | ||
58 | </xs:element> | ||
59 | <xs:element name="Project"> | ||
60 | <xs:complexType> | ||
61 | <xs:sequence> | ||
62 | <xs:element ref="Configuration" minOccurs="0" maxOccurs="unbounded" /> | ||
63 | <xs:element name="ReferencePath" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
64 | <xs:element name="Reference" minOccurs="0" maxOccurs="unbounded"> | ||
65 | <xs:complexType> | ||
66 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
67 | <xs:attribute name="path" type="xs:string" /> | ||
68 | <xs:attribute name="localCopy" type="xs:boolean" /> | ||
69 | <xs:attribute name="version" type="xs:string" /> | ||
70 | </xs:complexType> | ||
71 | </xs:element> | ||
72 | <xs:element ref="Files" /> | ||
73 | </xs:sequence> | ||
74 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
75 | <xs:attribute name="filterGroups" type="xs:string" default="" /> | ||
76 | <xs:attribute name="path" type="xs:string" default="" /> | ||
77 | <xs:attribute name="icon" type="xs:string" default="" /> | ||
78 | <xs:attribute name="language" default="C#"> | ||
79 | <xs:simpleType> | ||
80 | <xs:restriction base="xs:string"> | ||
81 | <xs:enumeration value="C#" /> | ||
82 | <xs:enumeration value="VB.NET" /> | ||
83 | </xs:restriction> | ||
84 | </xs:simpleType> | ||
85 | </xs:attribute> | ||
86 | <xs:attribute name="type" default="Exe"> | ||
87 | <xs:simpleType> | ||
88 | <xs:restriction base="xs:string"> | ||
89 | <xs:enumeration value="Exe" /> | ||
90 | <xs:enumeration value="WinExe" /> | ||
91 | <xs:enumeration value="Library" /> | ||
92 | </xs:restriction> | ||
93 | </xs:simpleType> | ||
94 | </xs:attribute> | ||
95 | <xs:attribute name="runtime" default="Microsoft"> | ||
96 | <xs:simpleType> | ||
97 | <xs:restriction base="xs:string"> | ||
98 | <xs:enumeration value="Microsoft" /> | ||
99 | <xs:enumeration value="Mono" /> | ||
100 | </xs:restriction> | ||
101 | </xs:simpleType> | ||
102 | </xs:attribute> | ||
103 | <xs:attribute name="startupObject" type="xs:string" default="" /> | ||
104 | <xs:attribute name="rootNamespace" type="xs:string" /> | ||
105 | <xs:attribute name="assemblyName" type="xs:string" /> | ||
106 | </xs:complexType> | ||
107 | </xs:element> | ||
108 | <xs:element name="Configuration"> | ||
109 | <xs:complexType> | ||
110 | <xs:sequence> | ||
111 | <xs:element ref="Options" minOccurs="0" /> | ||
112 | </xs:sequence> | ||
113 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
114 | </xs:complexType> | ||
115 | </xs:element> | ||
116 | <xs:element name="Options"> | ||
117 | <xs:complexType> | ||
118 | <xs:all> | ||
119 | <xs:element name="CompilerDefines" type="xs:string" minOccurs="0" /> | ||
120 | <xs:element name="OptimizeCode" type="xs:boolean" minOccurs="0" /> | ||
121 | <xs:element name="CheckUnderflowOverflow" type="xs:boolean" minOccurs="0" /> | ||
122 | <xs:element name="AllowUnsafe" type="xs:boolean" minOccurs="0" /> | ||
123 | <xs:element name="PreBuildEvent" type="xs:string" minOccurs="0" /> | ||
124 | <xs:element name="PostBuildEvent" type="xs:string" minOccurs="0" /> | ||
125 | <xs:element name="RunPostBuildEvent" minOccurs="0" default="OnBuildSuccess"> | ||
126 | <xs:simpleType> | ||
127 | <xs:restriction base="xs:string"> | ||
128 | <xs:enumeration value="OnBuildSuccess" /> | ||
129 | <xs:enumeration value="Always" /> | ||
130 | <xs:enumeration value="OnOutputUpdated" /> | ||
131 | </xs:restriction> | ||
132 | </xs:simpleType> | ||
133 | </xs:element> | ||
134 | <xs:element name="RunScript" type="xs:string" minOccurs="0" /> | ||
135 | <xs:element name="PreBuildEventArgs" type="xs:string" minOccurs="0" /> | ||
136 | <xs:element name="PostBuildEventArgs" type="xs:string" minOccurs="0" /> | ||
137 | <xs:element name="WarningLevel" minOccurs="0"> | ||
138 | <xs:simpleType> | ||
139 | <xs:restriction base="xs:integer"> | ||
140 | <xs:minInclusive value="0" /> | ||
141 | <xs:maxInclusive value="4" /> | ||
142 | </xs:restriction> | ||
143 | </xs:simpleType> | ||
144 | </xs:element> | ||
145 | <xs:element name="WarningsAsErrors" type="xs:boolean" minOccurs="0" /> | ||
146 | <xs:element name="SuppressWarnings" type="xs:string" minOccurs="0" /> | ||
147 | <xs:element name="OutputPath" type="xs:string" minOccurs="0" /> | ||
148 | <xs:element name="XmlDocFile" type="xs:string" minOccurs="0" /> | ||
149 | <xs:element name="DebugInformation" type="xs:boolean" minOccurs="0" /> | ||
150 | <xs:element name="RegisterComInterop" type="xs:boolean" minOccurs="0" /> | ||
151 | <xs:element name="RemoveIntegerChecks" type="xs:boolean" minOccurs="0" /> | ||
152 | <xs:element name="IncrementalBuild" type="xs:boolean" minOccurs="0" /> | ||
153 | <xs:element name="BaseAddress" type="xs:string" minOccurs="0" /> | ||
154 | <xs:element name="FileAlignment" type="xs:integer" minOccurs="0" /> | ||
155 | <xs:element name="NoStdLib" type="xs:boolean" minOccurs="0" /> | ||
156 | </xs:all> | ||
157 | </xs:complexType> | ||
158 | </xs:element> | ||
159 | <xs:element name="Files"> | ||
160 | <xs:complexType> | ||
161 | <xs:sequence> | ||
162 | <xs:element ref="File" minOccurs="0" maxOccurs="unbounded" /> | ||
163 | <xs:element ref="Match" minOccurs="0" maxOccurs="unbounded" /> | ||
164 | </xs:sequence> | ||
165 | </xs:complexType> | ||
166 | </xs:element> | ||
167 | <xs:element name="File"> | ||
168 | <xs:complexType> | ||
169 | <xs:simpleContent> | ||
170 | <xs:extension base="xs:string"> | ||
171 | <xs:attribute name="buildAction" default="Compile"> | ||
172 | <xs:simpleType> | ||
173 | <xs:restriction base="xs:string"> | ||
174 | <xs:enumeration value="None" /> | ||
175 | <xs:enumeration value="Compile" /> | ||
176 | <xs:enumeration value="Content" /> | ||
177 | <xs:enumeration value="EmbeddedResource" /> | ||
178 | </xs:restriction> | ||
179 | </xs:simpleType> | ||
180 | </xs:attribute> | ||
181 | <xs:attribute name="subType" default="Code"> | ||
182 | <xs:simpleType> | ||
183 | <xs:restriction base="xs:string"> | ||
184 | <xs:enumeration value="Code" /> | ||
185 | <xs:enumeration value="Component" /> | ||
186 | <xs:enumeration value="Form" /> | ||
187 | <xs:enumeration value="UserControl" /> | ||
188 | </xs:restriction> | ||
189 | </xs:simpleType> | ||
190 | </xs:attribute> | ||
191 | </xs:extension> | ||
192 | </xs:simpleContent> | ||
193 | </xs:complexType> | ||
194 | </xs:element> | ||
195 | <xs:element name="Match"> | ||
196 | <xs:complexType> | ||
197 | <xs:sequence> | ||
198 | <xs:element ref="Exclude" minOccurs="0" /> | ||
199 | </xs:sequence> | ||
200 | <xs:attribute name="path" type="xs:string" /> | ||
201 | <xs:attribute name="pattern" type="xs:string" use="required" /> | ||
202 | <xs:attribute name="recurse" type="xs:boolean" default="false" /> | ||
203 | <xs:attribute name="useRegex" type="xs:boolean" default="false" /> | ||
204 | <xs:attribute name="buildAction" default="Compile"> | ||
205 | <xs:simpleType> | ||
206 | <xs:restriction base="xs:string"> | ||
207 | <xs:enumeration value="None" /> | ||
208 | <xs:enumeration value="Compile" /> | ||
209 | <xs:enumeration value="Content" /> | ||
210 | <xs:enumeration value="EmbeddedResource" /> | ||
211 | </xs:restriction> | ||
212 | </xs:simpleType> | ||
213 | </xs:attribute> | ||
214 | <xs:attribute name="subType" default="Code"> | ||
215 | <xs:simpleType> | ||
216 | <xs:restriction base="xs:string"> | ||
217 | <xs:enumeration value="Code" /> | ||
218 | <xs:enumeration value="Component" /> | ||
219 | <xs:enumeration value="Form" /> | ||
220 | <xs:enumeration value="UserControl" /> | ||
221 | </xs:restriction> | ||
222 | </xs:simpleType> | ||
223 | </xs:attribute> | ||
224 | </xs:complexType> | ||
225 | </xs:element> | ||
226 | <xs:element name="Exclude"> | ||
227 | <xs:complexType> | ||
228 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
229 | </xs:complexType> | ||
230 | </xs:element> | ||
231 | </xs:schema> | ||
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> | ||
diff --git a/Prebuild/src/data/prebuild-1.8.xsd b/Prebuild/src/data/prebuild-1.8.xsd new file mode 100644 index 0000000..8f5c1a4 --- /dev/null +++ b/Prebuild/src/data/prebuild-1.8.xsd | |||
@@ -0,0 +1,331 @@ | |||
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.8.xsd" xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.8.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="1" /> | ||
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="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" /> | ||
74 | <xs:element ref="Files" minOccurs="0" /> | ||
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" /> | ||
78 | </xs:sequence> | ||
79 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
80 | <xs:attribute name="activeConfig" type="xs:string" default="Debug" /> | ||
81 | <xs:attribute name="path" type="xs:string" default="" /> | ||
82 | <xs:attribute name="version" type="xs:string" default="1.0.0" /> | ||
83 | </xs:complexType> | ||
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 | |||
106 | <xs:element name="Project"> | ||
107 | <xs:complexType> | ||
108 | <xs:sequence> | ||
109 | <xs:element name="Author" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
110 | <xs:element name="Description" type="xs:string" minOccurs="0" maxOccurs="1" /> | ||
111 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> | ||
112 | <xs:element name="ReferencePath" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
113 | <xs:element name="Reference" minOccurs="0" maxOccurs="unbounded"> | ||
114 | <xs:complexType> | ||
115 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
116 | <xs:attribute name="path" type="xs:string" /> | ||
117 | <xs:attribute name="localCopy" type="xs:boolean" /> | ||
118 | <xs:attribute name="version" type="xs:string" /> | ||
119 | </xs:complexType> | ||
120 | </xs:element> | ||
121 | <xs:element ref="Files" /> | ||
122 | </xs:sequence> | ||
123 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
124 | <xs:attribute name="designerFolder" type="xs:string" default="" /> | ||
125 | <xs:attribute name="filterGroups" type="xs:string" default="" /> | ||
126 | <xs:attribute name="path" type="xs:string" default="" /> | ||
127 | <xs:attribute name="icon" type="xs:string" default="" /> | ||
128 | <xs:attribute name="configFile" type="xs:string" default="" /> | ||
129 | <xs:attribute name="version" type="xs:string" default="1.0.0" /> | ||
130 | <xs:attribute name="guid" type="xs:string"/> | ||
131 | <xs:attribute name="language" default="C#"> | ||
132 | <xs:simpleType> | ||
133 | <xs:restriction base="xs:string"> | ||
134 | <xs:enumeration value="C#" /> | ||
135 | <xs:enumeration value="VB.NET" /> | ||
136 | </xs:restriction> | ||
137 | </xs:simpleType> | ||
138 | </xs:attribute> | ||
139 | <xs:attribute name="type" default="Exe"> | ||
140 | <xs:simpleType> | ||
141 | <xs:restriction base="xs:string"> | ||
142 | <xs:enumeration value="Exe" /> | ||
143 | <xs:enumeration value="WinExe" /> | ||
144 | <xs:enumeration value="Library" /> | ||
145 | <xs:enumeration value="Web" /> | ||
146 | </xs:restriction> | ||
147 | </xs:simpleType> | ||
148 | </xs:attribute> | ||
149 | <xs:attribute name="runtime" default="Microsoft"> | ||
150 | <xs:simpleType> | ||
151 | <xs:restriction base="xs:string"> | ||
152 | <xs:enumeration value="Microsoft" /> | ||
153 | <xs:enumeration value="Mono" /> | ||
154 | </xs:restriction> | ||
155 | </xs:simpleType> | ||
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> | ||
166 | <xs:attribute name="startupObject" type="xs:string" default="" /> | ||
167 | <xs:attribute name="rootNamespace" type="xs:string" /> | ||
168 | <xs:attribute name="assemblyName" type="xs:string" /> | ||
169 | <xs:attribute name="generateAssemblyInfoFile" type="xs:boolean" default="false" /> | ||
170 | </xs:complexType> | ||
171 | </xs:element> | ||
172 | |||
173 | <xs:element name="Configuration"> | ||
174 | <xs:complexType> | ||
175 | <xs:sequence> | ||
176 | <xs:element ref="Options" minOccurs="0" /> | ||
177 | </xs:sequence> | ||
178 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
179 | <xs:attribute name="platform" type="xs:string" use="required" /> | ||
180 | </xs:complexType> | ||
181 | </xs:element> | ||
182 | <xs:element name="Options"> | ||
183 | <xs:complexType> | ||
184 | <xs:all> | ||
185 | <xs:element name="CompilerDefines" type="xs:string" minOccurs="0" /> | ||
186 | <xs:element name="OptimizeCode" type="xs:boolean" minOccurs="0" /> | ||
187 | <xs:element name="CheckUnderflowOverflow" type="xs:boolean" minOccurs="0" /> | ||
188 | <xs:element name="AllowUnsafe" type="xs:boolean" minOccurs="0" /> | ||
189 | <xs:element name="PreBuildEvent" type="xs:string" minOccurs="0" /> | ||
190 | <xs:element name="PostBuildEvent" type="xs:string" minOccurs="0" /> | ||
191 | <xs:element name="RunPostBuildEvent" minOccurs="0" default="OnBuildSuccess"> | ||
192 | <xs:simpleType> | ||
193 | <xs:restriction base="xs:string"> | ||
194 | <xs:enumeration value="OnBuildSuccess" /> | ||
195 | <xs:enumeration value="Always" /> | ||
196 | <xs:enumeration value="OnOutputUpdated" /> | ||
197 | </xs:restriction> | ||
198 | </xs:simpleType> | ||
199 | </xs:element> | ||
200 | <xs:element name="RunScript" type="xs:string" minOccurs="0" /> | ||
201 | <xs:element name="PreBuildEventArgs" type="xs:string" minOccurs="0" /> | ||
202 | <xs:element name="PostBuildEventArgs" type="xs:string" minOccurs="0" /> | ||
203 | <xs:element name="WarningLevel" minOccurs="0"> | ||
204 | <xs:simpleType> | ||
205 | <xs:restriction base="xs:integer"> | ||
206 | <xs:minInclusive value="0" /> | ||
207 | <xs:maxInclusive value="4" /> | ||
208 | </xs:restriction> | ||
209 | </xs:simpleType> | ||
210 | </xs:element> | ||
211 | <xs:element name="WarningsAsErrors" type="xs:boolean" minOccurs="0" /> | ||
212 | <xs:element name="SuppressWarnings" type="xs:string" minOccurs="0" /> | ||
213 | <xs:element name="OutputPath" type="xs:string" minOccurs="0" /> | ||
214 | <xs:element name="GenerateDocumentation" type="xs:boolean" minOccurs="0" /> | ||
215 | <xs:element name="XmlDocFile" type="xs:string" minOccurs="0" /> | ||
216 | <xs:element name="DebugInformation" type="xs:boolean" minOccurs="0" /> | ||
217 | <xs:element name="RegisterComInterop" type="xs:boolean" minOccurs="0" /> | ||
218 | <xs:element name="RemoveIntegerChecks" type="xs:boolean" minOccurs="0" /> | ||
219 | <xs:element name="IncrementalBuild" type="xs:boolean" minOccurs="0" /> | ||
220 | <xs:element name="BaseAddress" type="xs:string" minOccurs="0" /> | ||
221 | <xs:element name="FileAlignment" type="xs:integer" minOccurs="0" /> | ||
222 | <xs:element name="NoStdLib" type="xs:boolean" minOccurs="0" /> | ||
223 | <xs:element name="KeyFile" type="xs:string" minOccurs="0" /> | ||
224 | </xs:all> | ||
225 | </xs:complexType> | ||
226 | </xs:element> | ||
227 | <xs:element name="Files"> | ||
228 | <xs:complexType> | ||
229 | <xs:sequence> | ||
230 | <xs:element ref="File" minOccurs="0" maxOccurs="unbounded" /> | ||
231 | <xs:element ref="Match" minOccurs="0" maxOccurs="unbounded" /> | ||
232 | </xs:sequence> | ||
233 | </xs:complexType> | ||
234 | </xs:element> | ||
235 | <xs:element name="File"> | ||
236 | <xs:complexType> | ||
237 | <xs:simpleContent> | ||
238 | <xs:extension base="xs:string"> | ||
239 | <xs:attribute name="resourceName" type="xs:string" default="" /> | ||
240 | <xs:attribute name="buildAction" default="Compile"> | ||
241 | <xs:simpleType> | ||
242 | <xs:restriction base="xs:string"> | ||
243 | <xs:enumeration value="None" /> | ||
244 | <xs:enumeration value="Compile" /> | ||
245 | <xs:enumeration value="Content" /> | ||
246 | <xs:enumeration value="EmbeddedResource" /> | ||
247 | </xs:restriction> | ||
248 | </xs:simpleType> | ||
249 | </xs:attribute> | ||
250 | <xs:attribute name="subType" default="Code"> | ||
251 | <xs:simpleType> | ||
252 | <xs:restriction base="xs:string"> | ||
253 | <xs:enumeration value="Code" /> | ||
254 | <xs:enumeration value="CodeBehind" /> | ||
255 | <xs:enumeration value="Component" /> | ||
256 | <xs:enumeration value="Form" /> | ||
257 | <xs:enumeration value="Settings" /> | ||
258 | <xs:enumeration value="UserControl" /> | ||
259 | </xs:restriction> | ||
260 | </xs:simpleType> | ||
261 | </xs:attribute> | ||
262 | <xs:attribute name="link" type="xs:boolean" /> | ||
263 | <xs:attribute name="copyToOutput" default="Never"> | ||
264 | <xs:simpleType> | ||
265 | <xs:restriction base="xs:string"> | ||
266 | <xs:enumeration value="Never" /> | ||
267 | <xs:enumeration value="Always" /> | ||
268 | <xs:enumeration value="PreserveNewest" /> | ||
269 | </xs:restriction> | ||
270 | </xs:simpleType> | ||
271 | </xs:attribute> | ||
272 | <xs:attribute name="preservePath" type="xs:boolean" /> | ||
273 | <xs:attribute name="linkPath" type="xs:string" /> | ||
274 | </xs:extension> | ||
275 | </xs:simpleContent> | ||
276 | </xs:complexType> | ||
277 | </xs:element> | ||
278 | <xs:element name="Match"> | ||
279 | <xs:complexType> | ||
280 | <xs:sequence> | ||
281 | <xs:element ref="Exclude" minOccurs="0" maxOccurs="unbounded" /> | ||
282 | </xs:sequence> | ||
283 | <xs:attribute name="path" type="xs:string" /> | ||
284 | <xs:attribute name="pattern" type="xs:string" use="required" /> | ||
285 | <xs:attribute name="recurse" type="xs:boolean" default="false" /> | ||
286 | <xs:attribute name="useRegex" type="xs:boolean" default="false" /> | ||
287 | <xs:attribute name="buildAction" default="Compile"> | ||
288 | <xs:simpleType> | ||
289 | <xs:restriction base="xs:string"> | ||
290 | <xs:enumeration value="None" /> | ||
291 | <xs:enumeration value="Compile" /> | ||
292 | <xs:enumeration value="Content" /> | ||
293 | <xs:enumeration value="EmbeddedResource" /> | ||
294 | </xs:restriction> | ||
295 | </xs:simpleType> | ||
296 | </xs:attribute> | ||
297 | <xs:attribute name="resourceName" type="xs:string" default="" /> | ||
298 | <xs:attribute name="subType" default="Code"> | ||
299 | <xs:simpleType> | ||
300 | <xs:restriction base="xs:string"> | ||
301 | <xs:enumeration value="Code" /> | ||
302 | <xs:enumeration value="CodeBehind" /> | ||
303 | <xs:enumeration value="Component" /> | ||
304 | <xs:enumeration value="Designer" /> | ||
305 | <xs:enumeration value="Form" /> | ||
306 | <xs:enumeration value="Settings" /> | ||
307 | <xs:enumeration value="UserControl" /> | ||
308 | </xs:restriction> | ||
309 | </xs:simpleType> | ||
310 | </xs:attribute> | ||
311 | <xs:attribute name="link" type="xs:boolean" /> | ||
312 | <xs:attribute name="copyToOutput" default="Never"> | ||
313 | <xs:simpleType> | ||
314 | <xs:restriction base="xs:string"> | ||
315 | <xs:enumeration value="Never" /> | ||
316 | <xs:enumeration value="Always" /> | ||
317 | <xs:enumeration value="PreserveNewest" /> | ||
318 | </xs:restriction> | ||
319 | </xs:simpleType> | ||
320 | </xs:attribute> | ||
321 | <xs:attribute name="preservePath" type="xs:boolean" /> | ||
322 | <xs:attribute name="linkPath" type="xs:string" /> | ||
323 | </xs:complexType> | ||
324 | </xs:element> | ||
325 | <xs:element name="Exclude"> | ||
326 | <xs:complexType> | ||
327 | <xs:attribute name="name" type="xs:string" /> | ||
328 | <xs:attribute name="pattern" type="xs:string" /> | ||
329 | </xs:complexType> | ||
330 | </xs:element> | ||
331 | </xs:schema> | ||
diff --git a/Prebuild/src/data/prebuild-1.9.xsd b/Prebuild/src/data/prebuild-1.9.xsd new file mode 100644 index 0000000..d647e08 --- /dev/null +++ b/Prebuild/src/data/prebuild-1.9.xsd | |||
@@ -0,0 +1,336 @@ | |||
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.9.xsd" xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.9.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="1" /> | ||
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="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" /> | ||
74 | <xs:element ref="Files" minOccurs="0" /> | ||
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" /> | ||
78 | </xs:sequence> | ||
79 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
80 | <xs:attribute name="activeConfig" type="xs:string" default="Debug" /> | ||
81 | <xs:attribute name="path" type="xs:string" default="" /> | ||
82 | <xs:attribute name="version" type="xs:string" default="1.0.0" /> | ||
83 | </xs:complexType> | ||
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 | |||
106 | <xs:element name="Project"> | ||
107 | <xs:complexType> | ||
108 | <xs:sequence> | ||
109 | <xs:element name="Author" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
110 | <xs:element name="Description" type="xs:string" minOccurs="0" maxOccurs="1" /> | ||
111 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> | ||
112 | <xs:element name="ReferencePath" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
113 | <xs:element name="Reference" minOccurs="0" maxOccurs="unbounded"> | ||
114 | <xs:complexType> | ||
115 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
116 | <xs:attribute name="path" type="xs:string" /> | ||
117 | <xs:attribute name="localCopy" type="xs:boolean" /> | ||
118 | <xs:attribute name="version" type="xs:string" /> | ||
119 | </xs:complexType> | ||
120 | </xs:element> | ||
121 | <xs:element ref="Files" /> | ||
122 | </xs:sequence> | ||
123 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
124 | <xs:attribute name="designerFolder" type="xs:string" default="" /> | ||
125 | <xs:attribute name="filterGroups" type="xs:string" default="" /> | ||
126 | <xs:attribute name="path" type="xs:string" default="" /> | ||
127 | <xs:attribute name="icon" type="xs:string" default="" /> | ||
128 | <xs:attribute name="configFile" type="xs:string" default="" /> | ||
129 | <xs:attribute name="version" type="xs:string" default="1.0.0" /> | ||
130 | <xs:attribute name="guid" type="xs:string"/> | ||
131 | <xs:attribute name="language" default="C#"> | ||
132 | <xs:simpleType> | ||
133 | <xs:restriction base="xs:string"> | ||
134 | <xs:enumeration value="C#" /> | ||
135 | <xs:enumeration value="VB.NET" /> | ||
136 | </xs:restriction> | ||
137 | </xs:simpleType> | ||
138 | </xs:attribute> | ||
139 | <xs:attribute name="type" default="Exe"> | ||
140 | <xs:simpleType> | ||
141 | <xs:restriction base="xs:string"> | ||
142 | <xs:enumeration value="Exe" /> | ||
143 | <xs:enumeration value="WinExe" /> | ||
144 | <xs:enumeration value="Library" /> | ||
145 | <xs:enumeration value="Web" /> | ||
146 | </xs:restriction> | ||
147 | </xs:simpleType> | ||
148 | </xs:attribute> | ||
149 | <xs:attribute name="runtime" default="Microsoft"> | ||
150 | <xs:simpleType> | ||
151 | <xs:restriction base="xs:string"> | ||
152 | <xs:enumeration value="Microsoft" /> | ||
153 | <xs:enumeration value="Mono" /> | ||
154 | </xs:restriction> | ||
155 | </xs:simpleType> | ||
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:enumeration value="v4_0" /> | ||
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="assemblyName" type="xs:string" /> | ||
170 | <xs:attribute name="generateAssemblyInfoFile" type="xs:boolean" default="false" /> | ||
171 | </xs:complexType> | ||
172 | </xs:element> | ||
173 | |||
174 | <xs:element name="Configuration"> | ||
175 | <xs:complexType> | ||
176 | <xs:sequence> | ||
177 | <xs:element ref="Options" minOccurs="0" /> | ||
178 | </xs:sequence> | ||
179 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
180 | <xs:attribute name="platform" 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 | <xs:element name="Files"> | ||
229 | <xs:complexType> | ||
230 | <xs:sequence> | ||
231 | <xs:element ref="File" minOccurs="0" maxOccurs="unbounded" /> | ||
232 | <xs:element ref="Match" minOccurs="0" maxOccurs="unbounded" /> | ||
233 | </xs:sequence> | ||
234 | </xs:complexType> | ||
235 | </xs:element> | ||
236 | <xs:element name="File"> | ||
237 | <xs:complexType> | ||
238 | <xs:simpleContent> | ||
239 | <xs:extension base="xs:string"> | ||
240 | <xs:attribute name="resourceName" type="xs:string" default="" /> | ||
241 | <xs:attribute name="buildAction" default="Compile"> | ||
242 | <xs:simpleType> | ||
243 | <xs:restriction base="xs:string"> | ||
244 | <xs:enumeration value="None" /> | ||
245 | <xs:enumeration value="Compile" /> | ||
246 | <xs:enumeration value="Content" /> | ||
247 | <xs:enumeration value="EmbeddedResource" /> | ||
248 | <xs:enumeration value="ApplicationDefinition" /> | ||
249 | <xs:enumeration value="Page" /> | ||
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 | <xs:element name="Match"> | ||
282 | <xs:complexType> | ||
283 | <xs:sequence> | ||
284 | <xs:element ref="Exclude" minOccurs="0" maxOccurs="unbounded" /> | ||
285 | </xs:sequence> | ||
286 | <xs:attribute name="path" type="xs:string" /> | ||
287 | <xs:attribute name="pattern" type="xs:string" use="required" /> | ||
288 | <xs:attribute name="recurse" type="xs:boolean" default="false" /> | ||
289 | <xs:attribute name="useRegex" type="xs:boolean" default="false" /> | ||
290 | <xs:attribute name="buildAction" default="Compile"> | ||
291 | <xs:simpleType> | ||
292 | <xs:restriction base="xs:string"> | ||
293 | <xs:enumeration value="None" /> | ||
294 | <xs:enumeration value="Compile" /> | ||
295 | <xs:enumeration value="Content" /> | ||
296 | <xs:enumeration value="EmbeddedResource" /> | ||
297 | <xs:enumeration value="ApplicationDefinition" /> | ||
298 | <xs:enumeration value="Page" /> | ||
299 | </xs:restriction> | ||
300 | </xs:simpleType> | ||
301 | </xs:attribute> | ||
302 | <xs:attribute name="resourceName" type="xs:string" default="" /> | ||
303 | <xs:attribute name="subType" default="Code"> | ||
304 | <xs:simpleType> | ||
305 | <xs:restriction base="xs:string"> | ||
306 | <xs:enumeration value="Code" /> | ||
307 | <xs:enumeration value="CodeBehind" /> | ||
308 | <xs:enumeration value="Component" /> | ||
309 | <xs:enumeration value="Designer" /> | ||
310 | <xs:enumeration value="Form" /> | ||
311 | <xs:enumeration value="Settings" /> | ||
312 | <xs:enumeration value="UserControl" /> | ||
313 | </xs:restriction> | ||
314 | </xs:simpleType> | ||
315 | </xs:attribute> | ||
316 | <xs:attribute name="link" type="xs:boolean" /> | ||
317 | <xs:attribute name="copyToOutput" default="Never"> | ||
318 | <xs:simpleType> | ||
319 | <xs:restriction base="xs:string"> | ||
320 | <xs:enumeration value="Never" /> | ||
321 | <xs:enumeration value="Always" /> | ||
322 | <xs:enumeration value="PreserveNewest" /> | ||
323 | </xs:restriction> | ||
324 | </xs:simpleType> | ||
325 | </xs:attribute> | ||
326 | <xs:attribute name="preservePath" type="xs:boolean" /> | ||
327 | <xs:attribute name="linkPath" type="xs:string" /> | ||
328 | </xs:complexType> | ||
329 | </xs:element> | ||
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 | </xs:schema> | ||