1 <?xml version=
"1.0" encoding='iso-
8859-
1'
?>
5 xmlns=
"http://nant.sf.net/release/0.85/nant.xsd"
8 <property name=
"root.dir" value=
"." />
9 <include buildfile=
"${root.dir}/common.xml" />
11 <fileset id=
"buildfiles.all">
12 <!-- Files have to be in dependency order -->
13 <include name=
"Core/core.build" />
14 <include name=
"Services/services.build" />
15 <include name=
"Tools/Tools.build" />
16 <include name=
"InversionOfControl/InversionOfControl.build" />
17 <include name=
"Components/components.build" />
18 <include name=
"ActiveRecord/activerecord.build" />
19 <include name=
"MonoRail/monorail.build" />
21 <include name="AspectSharp/aspectsharp.build" />
23 <include name=
"Facilities/facilities.build" />
26 <target name=
"debug" description=
"Selects the debug build configuration">
27 <property name=
"project.config" value=
"debug" />
30 <target name=
"release" description=
"Selects the release build configuration">
31 <property name=
"project.config" value=
"release" />
34 <target name=
"quick" description=
"Speed up the build by skipping tests">
35 <property name=
"common.testrunner.enabled" value=
"false" />
39 depends=
"init copy-referenced-assemblies"
40 description=
"Builds Castle in the current configuration">
43 <buildfiles refid=
"buildfiles.all" />
48 <target name=
"rebuild"
49 depends=
"init recreate-build-directory build"
50 description=
"Rebuilds Castle in the current configuration" />
52 <target name=
"installer" depends=
"init releaseDocs createreleasenotes zip-source zip-samples">
53 <nant buildfile=
"Setup/Setup.build" />
56 <target name=
"init" depends=
"common.init">
57 <mkdir dir=
"${build.dir}" />
58 <mkdir dir=
"${testresults.dir}" />
60 <call target=
"common.find-svninfo" />
61 <call target=
"common.find-nunit" if=
"${common.testrunner.enabled}" />
64 <target name=
"clean" description=
"Deletes current build artifacts" depends=
"common.init">
65 <delete dir=
"${build.dir}" failonerror=
"false" />
67 <fileset basedir=
"${build.base.dir}">
68 <include name=
"*.*" />
73 <target name=
"clean-vs" description=
"Delete Visual Studio artifacts" depends=
"common.init">
74 <!-- NB - this target will fail if you have a solution open in Visual Studio -->
75 <echo message=
"Gathering files for removal..." />
76 <foreach item=
"File" property=
"filename">
79 <include name=
"**/*.suo" />
80 <include name=
"*/*.csproj.user" />
84 <delete file=
"${filename}" />
87 <echo message=
"Gathering folders for removal..." />
88 <foreach item=
"Folder" property=
"foldername">
91 <include name=
"**/obj" />
92 <include name=
"**/_ReSharper*" />
96 <delete dir=
"${foldername}" failonerror=
"false" />
101 <target name=
"cleanall" description=
"Deletes all build artifacts" depends=
"common.init">
102 <echo message=
"Deleting all builds from all configurations" />
103 <delete dir=
"${build.base.dir}" failonerror=
"false" />
104 <call target=
"clean-vs" />
107 <target name=
"recreate-build-directory">
108 <echo message=
"Current Directory is ${project::get-base-directory()}" />
109 <echo message=
"Build Directory is ${build.dir}" />
111 <!-- Prepare build directory -->
112 <delete dir=
"${build.dir}" failonerror=
"false" />
113 <mkdir dir=
"${build.dir}" />
114 <mkdir dir=
"${testresults.dir}" />
115 <call target=
"copy-referenced-assemblies" />
116 <property name=
"build.rebuild" value=
"true" />
119 <target name=
"copy-referenced-assemblies">
120 <!-- Copy framework-neutral libraries -->
121 <copy todir=
"${build.dir}" >
122 <fileset basedir=
"${lib.dir}">
123 <include name=
"*.dll" />
124 <include name=
"*.xml" />
125 <include name=
"*.license.txt" />
129 <!-- Copy family-specific libraries installed on the system-->
130 <copy file=
"${path::combine(nant::get-base-directory(), 'NAnt.Core.dll')}" todir=
"${lib.family.dir}" />
132 <!-- Copy family-specific libraries -->
134 The build of log4net works just fine for all versions of .NET.
135 When they do get framework specific extensions then we
136 can just move them to the framework specific section
138 <copy todir=
"${build.dir}">
139 <fileset basedir=
"${lib.family.dir}">
140 <include name=
"*.dll" />
141 <include name=
"*.xml" />
142 <include name=
"*.license.txt" />
146 <!-- Copy framework-specific libraries -->
147 <copy todir=
"${build.dir}">
148 <fileset basedir=
"${lib.framework.dir}">
149 <include name=
"*.dll" />
150 <include name=
"*.xml" />
151 <include name=
"*.license.txt" />
156 <target name=
"generate-assemblyinfo"
158 description=
"Generate AssemblyInfo files">
160 <property name=
"visual-studio" value=
"true" />
161 <nant target=
"generate-assemblyinfo">
162 <buildfiles refid=
"buildfiles.all" />
167 <target name=
"build-all-frameworks" depends=
"init">
168 <!-- Save the current framework -->
169 <property name=
"current.framework.saved" value=
"${nant.settings.currentframework}" />
171 <!-- Execute build for each framework -->
172 <foreach item=
"String" delim=
" " property=
"framework" in=
"net-1.1 net-2.0">
173 <call target=
"set-${framework}-framework-configuration" />
174 <call target=
"build" />
177 <!-- Reset the current framework to the saved value -->
178 <call target=
"set-${current.framework.saved}-framework-configuration" />
181 <!-- Packaging related tasks -->
183 <target name=
"package" depends=
"zip-build"
184 description=
"Creates Zip files for Release">
186 <echo message=
"Created a '${project.config}' package in file://${build.zip.fullpath}" />
188 <delete file=
"${build.base.dir}/castle-sourcecode.zip" failonerror=
"false" />
189 <delete file=
"${build.dir}/test-results.zip" failonerror=
"false" />
190 <delete file=
"${build.dir}/external-dependencies.zip" failonerror=
"false" />
194 <target name=
"createreleasenotes" depends=
"init">
195 <mkdir dir=
"${releasenotes.dir}" />
196 <delete dir=
"${releasenotes.dir}" />
198 <echo message=
"Top level projects Release notes" />
200 <copy file=
"ActiveRecord/Changes.txt" tofile=
"${releasenotes.dir}/ActiveRecord Release Notes.txt" />
201 <copy file=
"ActiveRecord/License.txt" tofile=
"${releasenotes.dir}/License.txt" />
202 <copy file=
"MonoRail/Changes.txt" tofile=
"${releasenotes.dir}/MonoRail Release Notes.txt" />
203 <copy file=
"InversionOfControl/Changes.txt" tofile=
"${releasenotes.dir}/InversionOfControl Release Notes.txt" />
205 <copy file="AspectSharp/Changes.txt" tofile="${releasenotes.dir}/AspectSharp Release Notes.txt" />
207 <copy file=
"Tools/DynamicProxy/Changes.txt" tofile=
"${releasenotes.dir}/DynamicProxy Release Notes.txt" />
208 <copy file=
"Core/Changes.txt" tofile=
"${releasenotes.dir}/Core Release Notes.txt" />
210 <echo message=
"Components Release notes" />
212 <mkdir dir=
"${releasenotes.dir}/Components" />
213 <property name=
"target.folder" value=
"Components" />
214 <call target=
"copy-scope-releasednotes" />
216 <echo message=
"Facilities Release notes" />
218 <mkdir dir=
"${releasenotes.dir}/Facilities" />
219 <property name=
"target.folder" value=
"Facilities" />
220 <call target=
"copy-scope-releasednotes" />
222 <echo message=
"Services Release notes" />
224 <mkdir dir=
"${releasenotes.dir}/Services" />
225 <property name=
"target.folder" value=
"Services" />
226 <call target=
"copy-scope-releasednotes" />
230 <target name=
"copy-scope-releasednotes">
231 <foreach item=
"File" property=
"changeLogFile">
234 <include name=
"${target.folder}/**/Changes.txt"/>
238 <echo message=
"changeLogFile ${changeLogFile}" />
240 <property name=
"folder" value=
"${directory::get-parent-directory(changeLogFile)}" />
242 <if test=
"${platform::is-win32()}">
243 <property name=
"lastsepindex" value=
"${string::last-index-of(folder, '\') + 1}" />
246 <if test=
"${platform::is-unix()}">
247 <property name=
"lastsepindex" value=
"${string::last-index-of(folder, '/') + 1}" />
250 <property name=
"length" value=
"${string::get-length(folder) - int::parse(lastsepindex)}" />
252 <property name=
"project.name" value=
"${string::substring(folder, lastsepindex, length)}" />
254 <copy file=
"${changeLogFile}" tofile=
"${releasenotes.dir}/${target.folder}/${project.name} Release Notes.txt" />
259 <!-- depends="build" -->
260 <target name=
"zip-build" depends=
"build">
261 <property name=
"build.zip.dir" value=
"${build.dir}" overwrite=
"false" />
262 <property name=
"build.zip.file" value=
"Castle-${framework::get-target-framework()}-${project.config}-${datetime::get-year(datetime::now())}-${datetime::get-month(datetime::now())}-${datetime::get-day(datetime::now())} (r${svn.revision}).zip" overwrite=
"false" dynamic=
"true" />
263 <property name=
"build.zip.fullpath" value=
"${build.zip.dir}/${build.zip.file}" readonly=
"true" />
266 <fileset basedir=
"${root.dir}">
267 <include name=
"*.zip" />
268 <include name=
"${build.dir}/external-dependencies.zip" />
272 <!-- Prepare release note files -->
273 <call target=
"createreleasenotes" />
275 <!-- Include a zip file with all source code -->
276 <call target=
"zip-source" if=
"${build.debug}" />
278 <!-- Include a zip file with all dependencies -->
279 <call target=
"zip-dependencies" />
281 <!-- Create the master zip file with all files included -->
282 <zip zipfile=
"${build.zip.fullpath}">
283 <fileset basedir=
"${build.dir}" prefix=
"bin" >
284 <include name=
"**/Castle*.*" />
286 <include name="AspectSharp*.*" />
288 <include name=
"external-dependencies.zip" />
289 <exclude name=
"*Tests.*" />
290 <exclude name=
"test-results/**" />
292 <fileset basedir=
"${root.dir}">
293 <include name=
"ASL - Apache Software Foundation License.txt" />
294 <include name=
"Committers.txt" />
295 <include name=
"Castle main limitations.txt" />
297 <fileset basedir=
"${build.base.dir}" >
298 <include name=
"castle-sourcecode.zip" />
300 <fileset basedir=
"${releasenotes.dir}" prefix=
"ReleaseNotes" >
301 <include name=
"**/*.txt" />
306 <target name=
"zip-dependencies" >
307 <zip zipfile=
"${build.dir}/external-dependencies.zip">
308 <fileset basedir=
"${build.dir}">
309 <include name=
"*.*" />
310 <exclude name=
"**/Castle*" />
311 <exclude name=
"**/AspectSharp*" />
312 <exclude name=
"**/db4o.dll" />
313 <exclude name=
"**/EULA.rtf" />
314 <exclude name=
"**/*.zip" />
319 <target name=
"zip-doc">
320 <zip zipfile=
"${root.dir}/Castle-api-doc.zip">
321 <fileset basedir=
"${root.dir}/docs">
322 <include name=
"Castle.chm" />
327 <target name=
"zip-samples-for-website" depends=
"init">
328 <delete dir=
"${root.dir}/samplesforwebsite/" failonerror=
"false" />
329 <mkdir dir=
"${root.dir}/samplesforwebsite/" />
331 <zip zipfile=
"${root.dir}/samplesforwebsite/InitializingAndConfiguring.zip">
332 <fileset basedir=
"${root.dir}/Samples/ActiveRecord/BlogSample">
333 <include name=
"**/*.build" />
334 <include name=
"**/*.sln" />
335 <include name=
"**/*.cs" />
336 <include name=
"**/*.ico" />
337 <include name=
"**/*.csproj" />
338 <include name=
"**/*.xml" />
339 <include name=
"**/*.config" />
340 <include name=
"**/*.lang" />
341 <include name=
"**/*.txt" />
342 <include name=
"**/*.inc" />
343 <include name=
"**/*.vm" />
344 <include name=
"*.snk" />
345 <exclude name=
"**/bin/*" />
346 <exclude name=
"**/bin/Debug/*" />
347 <exclude name=
"**/bin/Release/*" />
348 <exclude name=
"**/obj/*" />
349 <exclude name=
"**.user" />
350 <exclude name=
"**/_Resharper.*/*" />
353 <zip zipfile=
"${root.dir}/samplesforwebsite/TableHierarchy.zip">
354 <fileset basedir=
"${root.dir}/Samples/ActiveRecord/TableHierarchySample">
355 <include name=
"**/*.build" />
356 <include name=
"**/*.sln" />
357 <include name=
"**/*.cs" />
358 <include name=
"**/*.ico" />
359 <include name=
"**/*.csproj" />
360 <include name=
"**/*.xml" />
361 <include name=
"**/*.config" />
362 <include name=
"**/*.lang" />
363 <include name=
"**/*.txt" />
364 <include name=
"**/*.inc" />
365 <include name=
"**/*.vm" />
366 <include name=
"*.snk" />
367 <exclude name=
"**/bin/*" />
368 <exclude name=
"**/bin/Debug/*" />
369 <exclude name=
"**/bin/Release/*" />
370 <exclude name=
"**/obj/*" />
371 <exclude name=
"**.user" />
372 <exclude name=
"**/_Resharper.*/*" />
375 <zip zipfile=
"${root.dir}/samplesforwebsite/MonoRail.WizardSample.zip">
376 <fileset basedir=
"${root.dir}/Samples/MonoRail/WizardSample">
377 <include name=
"**/*.build" />
378 <include name=
"**/*.sln" />
379 <include name=
"**/*.cs" />
380 <include name=
"**/*.ico" />
381 <include name=
"**/*.csproj" />
382 <include name=
"**/*.xml" />
383 <include name=
"**/*.config" />
384 <include name=
"**/*.lang" />
385 <include name=
"**/*.txt" />
386 <include name=
"**/*.inc" />
387 <include name=
"**/*.vm" />
388 <include name=
"**/*.resx" />
389 <include name=
"**/*.aspx" />
390 <include name=
"**/*.asax" />
391 <include name=
"*.snk" />
392 <exclude name=
"**/bin/*" />
393 <exclude name=
"**/bin/Debug/*" />
394 <exclude name=
"**/bin/Release/*" />
395 <exclude name=
"**/obj/*" />
396 <exclude name=
"**.user" />
397 <exclude name=
"**/_Resharper.*/*" />
400 <zip zipfile=
"${root.dir}/samplesforwebsite/MonoRail.SimpleBindingSample.zip">
401 <fileset basedir=
"${root.dir}/Samples/MonoRail/SimpleBindingSample">
402 <include name=
"**/*.build" />
403 <include name=
"**/*.sln" />
404 <include name=
"**/*.cs" />
405 <include name=
"**/*.ico" />
406 <include name=
"**/*.csproj" />
407 <include name=
"**/*.xml" />
408 <include name=
"**/*.config" />
409 <include name=
"**/*.lang" />
410 <include name=
"**/*.txt" />
411 <include name=
"**/*.inc" />
412 <include name=
"**/*.vm" />
413 <include name=
"**/*.resx" />
414 <include name=
"**/*.aspx" />
415 <include name=
"**/*.asax" />
416 <include name=
"*.snk" />
417 <exclude name=
"**/bin/*" />
418 <exclude name=
"**/bin/Debug/*" />
419 <exclude name=
"**/bin/Release/*" />
420 <exclude name=
"**/obj/*" />
421 <exclude name=
"**.user" />
422 <exclude name=
"**/_Resharper.*/*" />
425 <zip zipfile=
"${root.dir}/samplesforwebsite/MonoRail.DataBindSample.zip">
426 <fileset basedir=
"${root.dir}/Samples/MonoRail/DataBindSample">
427 <include name=
"**/*.build" />
428 <include name=
"**/*.sln" />
429 <include name=
"**/*.cs" />
430 <include name=
"**/*.ico" />
431 <include name=
"**/*.csproj" />
432 <include name=
"**/*.xml" />
433 <include name=
"**/*.config" />
434 <include name=
"**/*.lang" />
435 <include name=
"**/*.txt" />
436 <include name=
"**/*.inc" />
437 <include name=
"**/*.vm" />
438 <include name=
"**/*.resx" />
439 <include name=
"**/*.aspx" />
440 <include name=
"**/*.asax" />
441 <include name=
"*.snk" />
442 <exclude name=
"**/bin/*" />
443 <exclude name=
"**/bin/Debug/*" />
444 <exclude name=
"**/bin/Release/*" />
445 <exclude name=
"**/obj/*" />
446 <exclude name=
"**.user" />
447 <exclude name=
"**/_Resharper.*/*" />
450 <zip zipfile=
"${root.dir}/samplesforwebsite/MonoRail.SendingEmailSample.zip">
451 <fileset basedir=
"${root.dir}/Samples/MonoRail/SendingEmailSample">
452 <include name=
"**/*.build" />
453 <include name=
"**/*.sln" />
454 <include name=
"**/*.cs" />
455 <include name=
"**/*.ico" />
456 <include name=
"**/*.csproj" />
457 <include name=
"**/*.xml" />
458 <include name=
"**/*.config" />
459 <include name=
"**/*.lang" />
460 <include name=
"**/*.txt" />
461 <include name=
"**/*.inc" />
462 <include name=
"**/*.vm" />
463 <include name=
"**/*.resx" />
464 <include name=
"**/*.aspx" />
465 <include name=
"**/*.asax" />
466 <include name=
"*.snk" />
467 <exclude name=
"**/bin/*" />
468 <exclude name=
"**/bin/Debug/*" />
469 <exclude name=
"**/bin/Release/*" />
470 <exclude name=
"**/obj/*" />
471 <exclude name=
"**.user" />
472 <exclude name=
"**/_Resharper.*/*" />
475 <zip zipfile=
"${root.dir}/samplesforwebsite/MonoRail.ViewComponentSample.zip">
476 <fileset basedir=
"${root.dir}/Samples/MonoRail/ViewComponentSample">
477 <include name=
"**/*.build" />
478 <include name=
"**/*.sln" />
479 <include name=
"**/*.cs" />
480 <include name=
"**/*.ico" />
481 <include name=
"**/*.csproj" />
482 <include name=
"**/*.xml" />
483 <include name=
"**/*.config" />
484 <include name=
"**/*.lang" />
485 <include name=
"**/*.txt" />
486 <include name=
"**/*.inc" />
487 <include name=
"**/*.vm" />
488 <include name=
"**/*.resx" />
489 <include name=
"**/*.aspx" />
490 <include name=
"**/*.asax" />
491 <include name=
"*.snk" />
492 <exclude name=
"**/bin/*" />
493 <exclude name=
"**/bin/Debug/*" />
494 <exclude name=
"**/bin/Release/*" />
495 <exclude name=
"**/obj/*" />
496 <exclude name=
"**.user" />
497 <exclude name=
"**/_Resharper.*/*" />
500 <zip zipfile=
"${root.dir}/samplesforwebsite/MonoRail.AuthenticationUsingFilters.zip">
501 <fileset basedir=
"${root.dir}/Samples/MonoRail/AuthenticationUsingFilters">
502 <include name=
"**/*.build" />
503 <include name=
"**/*.sln" />
504 <include name=
"**/*.cs" />
505 <include name=
"**/*.ico" />
506 <include name=
"**/*.csproj" />
507 <include name=
"**/*.xml" />
508 <include name=
"**/*.config" />
509 <include name=
"**/*.lang" />
510 <include name=
"**/*.txt" />
511 <include name=
"**/*.inc" />
512 <include name=
"**/*.vm" />
513 <include name=
"**/*.resx" />
514 <include name=
"**/*.aspx" />
515 <include name=
"**/*.asax" />
516 <include name=
"*.snk" />
517 <exclude name=
"**/bin/*" />
518 <exclude name=
"**/bin/Debug/*" />
519 <exclude name=
"**/bin/Release/*" />
520 <exclude name=
"**/obj/*" />
521 <exclude name=
"**.user" />
522 <exclude name=
"**/_Resharper.*/*" />
525 <zip zipfile=
"${root.dir}/samplesforwebsite/MonoRail.AuthenticationUsingForms.zip">
526 <fileset basedir=
"${root.dir}/Samples/MonoRail/AuthenticationUsingForms">
527 <include name=
"**/*.build" />
528 <include name=
"**/*.sln" />
529 <include name=
"**/*.cs" />
530 <include name=
"**/*.ico" />
531 <include name=
"**/*.csproj" />
532 <include name=
"**/*.xml" />
533 <include name=
"**/*.config" />
534 <include name=
"**/*.lang" />
535 <include name=
"**/*.txt" />
536 <include name=
"**/*.inc" />
537 <include name=
"**/*.vm" />
538 <include name=
"**/*.resx" />
539 <include name=
"**/*.aspx" />
540 <include name=
"**/*.asax" />
541 <include name=
"*.snk" />
542 <exclude name=
"**/bin/*" />
543 <exclude name=
"**/bin/Debug/*" />
544 <exclude name=
"**/bin/Release/*" />
545 <exclude name=
"**/obj/*" />
546 <exclude name=
"**.user" />
547 <exclude name=
"**/_Resharper.*/*" />
550 <zip zipfile=
"${root.dir}/samplesforwebsite/MonoRail.LocalizationSample.zip">
551 <fileset basedir=
"${root.dir}/Samples/MonoRail/LocalizationSample">
552 <include name=
"**/*.build" />
553 <include name=
"**/*.sln" />
554 <include name=
"**/*.cs" />
555 <include name=
"**/*.ico" />
556 <include name=
"**/*.csproj" />
557 <include name=
"**/*.xml" />
558 <include name=
"**/*.config" />
559 <include name=
"**/*.lang" />
560 <include name=
"**/*.txt" />
561 <include name=
"**/*.inc" />
562 <include name=
"**/*.vm" />
563 <include name=
"**/*.resx" />
564 <include name=
"**/*.aspx" />
565 <include name=
"**/*.asax" />
566 <include name=
"*.snk" />
567 <exclude name=
"**/bin/*" />
568 <exclude name=
"**/bin/Debug/*" />
569 <exclude name=
"**/bin/Release/*" />
570 <exclude name=
"**/obj/*" />
571 <exclude name=
"**.user" />
572 <exclude name=
"**/_Resharper.*/*" />
575 <zip zipfile=
"${root.dir}/samplesforwebsite/MonoRail.FormHelperSample.zip">
576 <fileset basedir=
"${root.dir}/Samples/MonoRail/FormHelperSample">
577 <include name=
"**/*.build" />
578 <include name=
"**/*.sln" />
579 <include name=
"**/*.cs" />
580 <include name=
"**/*.ico" />
581 <include name=
"**/*.csproj" />
582 <include name=
"**/*.xml" />
583 <include name=
"**/*.config" />
584 <include name=
"**/*.lang" />
585 <include name=
"**/*.txt" />
586 <include name=
"**/*.inc" />
587 <include name=
"**/*.vm" />
588 <include name=
"**/*.resx" />
589 <include name=
"**/*.aspx" />
590 <include name=
"**/*.asax" />
591 <include name=
"*.snk" />
592 <exclude name=
"**/bin/*" />
593 <exclude name=
"**/bin/Debug/*" />
594 <exclude name=
"**/bin/Release/*" />
595 <exclude name=
"**/obj/*" />
596 <exclude name=
"**.user" />
597 <exclude name=
"**/_Resharper.*/*" />
600 <zip zipfile=
"${root.dir}/samplesforwebsite/MonoRail.GettingStartedSampleVS2005.zip">
601 <fileset basedir=
"${root.dir}/Samples/MonoRail/GettingStartedSampleVS2005">
602 <include name=
"**/*.build" />
603 <include name=
"**/*.sln" />
604 <include name=
"**/*.cs" />
605 <include name=
"**/*.ico" />
606 <include name=
"**/*.csproj" />
607 <include name=
"**/*.xml" />
608 <include name=
"**/*.config" />
609 <include name=
"**/*.lang" />
610 <include name=
"**/*.txt" />
611 <include name=
"**/*.inc" />
612 <include name=
"**/*.vm" />
613 <include name=
"**/*.resx" />
614 <include name=
"**/*.aspx" />
615 <include name=
"**/*.asax" />
616 <include name=
"*.snk" />
617 <exclude name=
"**/bin/*" />
618 <exclude name=
"**/bin/Debug/*" />
619 <exclude name=
"**/bin/Release/*" />
620 <exclude name=
"**/obj/*" />
621 <exclude name=
"**.user" />
622 <exclude name=
"**/_Resharper.*/*" />
626 <zip zipfile=
"${root.dir}/samplesforwebsite/MonoRail.DynActProvSample.zip">
627 <fileset basedir=
"${root.dir}/Samples/MonoRail/DynActProvSample">
628 <include name=
"**/*.build" />
629 <include name=
"**/*.sln" />
630 <include name=
"**/*.cs" />
631 <include name=
"**/*.ico" />
632 <include name=
"**/*.csproj" />
633 <include name=
"**/*.xml" />
634 <include name=
"**/*.config" />
635 <include name=
"**/*.lang" />
636 <include name=
"**/*.txt" />
637 <include name=
"**/*.inc" />
638 <include name=
"**/*.vm" />
639 <include name=
"**/*.resx" />
640 <include name=
"**/*.aspx" />
641 <include name=
"**/*.asax" />
642 <include name=
"*.snk" />
643 <exclude name=
"**/bin/*" />
644 <exclude name=
"**/bin/Debug/*" />
645 <exclude name=
"**/bin/Release/*" />
646 <exclude name=
"**/obj/*" />
647 <exclude name=
"**.user" />
648 <exclude name=
"**/_Resharper.*/*" />
651 <zip zipfile=
"${root.dir}/samplesforwebsite/MonoRail.DiggStylePagination.zip">
652 <fileset basedir=
"${root.dir}/Samples/MonoRail/DiggPaginationSample">
653 <include name=
"**/*.build" />
654 <include name=
"**/*.sln" />
655 <include name=
"**/*.cs" />
656 <include name=
"**/*.ico" />
657 <include name=
"**/*.csproj" />
658 <include name=
"**/*.xml" />
659 <include name=
"**/*.config" />
660 <include name=
"**/*.lang" />
661 <include name=
"**/*.txt" />
662 <include name=
"**/*.inc" />
663 <include name=
"**/*.vm" />
664 <include name=
"*.snk" />
665 <exclude name=
"**/bin/*" />
666 <exclude name=
"**/bin/Debug/*" />
667 <exclude name=
"**/bin/Release/*" />
668 <exclude name=
"**/obj/*" />
669 <exclude name=
"**.user" />
670 <exclude name=
"**/_Resharper.*/*" />
673 <zip zipfile=
"${root.dir}/samplesforwebsite/MonoRail.JSGenExample.zip">
674 <fileset basedir=
"${root.dir}/Samples/MonoRail/JSGenExample">
675 <include name=
"**/*.build" />
676 <include name=
"**/*.sln" />
677 <include name=
"**/*.cs" />
678 <include name=
"**/*.ico" />
679 <include name=
"**/*.csproj" />
680 <include name=
"**/*.xml" />
681 <include name=
"**/*.config" />
682 <include name=
"**/*.lang" />
683 <include name=
"**/*.txt" />
684 <include name=
"**/*.inc" />
685 <include name=
"**/*.vm" />
686 <include name=
"*.snk" />
687 <exclude name=
"**/bin/*" />
688 <exclude name=
"**/bin/Debug/*" />
689 <exclude name=
"**/bin/Release/*" />
690 <exclude name=
"**/obj/*" />
691 <exclude name=
"**.user" />
692 <exclude name=
"**/_Resharper.*/*" />
697 <zip zipfile=
"${root.dir}/samplesforwebsite/Windsor.TimeTracking.zip">
698 <fileset basedir=
"${root.dir}/Samples/InversionOfControl/TimeTracking">
699 <include name=
"**/*.build" />
700 <include name=
"**/*.sln" />
701 <include name=
"**/*.cs" />
702 <include name=
"**/*.ico" />
703 <include name=
"**/*.csproj" />
704 <include name=
"**/*.xml" />
705 <include name=
"**/*.config" />
706 <include name=
"**/*.lang" />
707 <include name=
"**/*.txt" />
708 <include name=
"**/*.inc" />
709 <include name=
"**/*.vm" />
710 <include name=
"**/*.resx" />
711 <include name=
"**/*.aspx" />
712 <include name=
"**/*.asax" />
713 <include name=
"*.snk" />
714 <exclude name=
"**/bin/*" />
715 <exclude name=
"**/bin/Debug/*" />
716 <exclude name=
"**/bin/Release/*" />
717 <exclude name=
"**/obj/*" />
718 <exclude name=
"**.user" />
719 <exclude name=
"**/_Resharper.*/*" />
722 <zip zipfile=
"${root.dir}/samplesforwebsite/CustomTypeConverterSample.zip">
723 <fileset basedir=
"${root.dir}/Samples/InversionOfControl/CustomTypeConverterSample">
724 <include name=
"**/*.build" />
725 <include name=
"**/*.sln" />
726 <include name=
"**/*.cs" />
727 <include name=
"**/*.ico" />
728 <include name=
"**/*.csproj" />
729 <include name=
"**/*.xml" />
730 <include name=
"**/*.config" />
731 <include name=
"**/*.lang" />
732 <include name=
"**/*.txt" />
733 <include name=
"**/*.inc" />
734 <include name=
"**/*.vm" />
735 <include name=
"**/*.resx" />
736 <include name=
"**/*.aspx" />
737 <include name=
"**/*.asax" />
738 <include name=
"*.snk" />
739 <exclude name=
"**/bin/*" />
740 <exclude name=
"**/bin/Debug/*" />
741 <exclude name=
"**/bin/Release/*" />
742 <exclude name=
"**/obj/*" />
743 <exclude name=
"**.user" />
744 <exclude name=
"**/_Resharper.*/*" />
747 <zip zipfile=
"${root.dir}/samplesforwebsite/FacilitySample2.zip">
748 <fileset basedir=
"${root.dir}/Samples/InversionOfControl/ExtendingSample2">
749 <include name=
"**/*.build" />
750 <include name=
"**/*.sln" />
751 <include name=
"**/*.cs" />
752 <include name=
"**/*.ico" />
753 <include name=
"**/*.csproj" />
754 <include name=
"**/*.xml" />
755 <include name=
"**/*.config" />
756 <include name=
"**/*.lang" />
757 <include name=
"**/*.txt" />
758 <include name=
"**/*.inc" />
759 <include name=
"**/*.vm" />
760 <include name=
"**/*.resx" />
761 <include name=
"**/*.aspx" />
762 <include name=
"**/*.asax" />
763 <include name=
"*.snk" />
764 <exclude name=
"**/bin/*" />
765 <exclude name=
"**/bin/Debug/*" />
766 <exclude name=
"**/bin/Release/*" />
767 <exclude name=
"**/obj/*" />
768 <exclude name=
"**.user" />
769 <exclude name=
"**/_Resharper.*/*" />
772 <zip zipfile=
"${root.dir}/samplesforwebsite/GettingStartedPart1.zip">
773 <fileset basedir=
"${root.dir}/Samples/InversionOfControl/GettingStarted/GettingStartedPart1">
774 <include name=
"**/*.build" />
775 <include name=
"**/*.sln" />
776 <include name=
"**/*.cs" />
777 <include name=
"**/*.ico" />
778 <include name=
"**/*.csproj" />
779 <include name=
"**/*.xml" />
780 <include name=
"**/*.config" />
781 <include name=
"**/*.lang" />
782 <include name=
"**/*.txt" />
783 <include name=
"**/*.inc" />
784 <include name=
"**/*.resx" />
785 <include name=
"*.snk" />
786 <exclude name=
"**/bin/*" />
787 <exclude name=
"**/bin/Debug/*" />
788 <exclude name=
"**/bin/Release/*" />
789 <exclude name=
"**/obj/*" />
790 <exclude name=
"**.user" />
791 <exclude name=
"**/_Resharper.*/*" />
795 <zip zipfile=
"${root.dir}/samplesforwebsite/KernelInOneEndPoint.Sample.zip">
796 <fileset basedir=
"${root.dir}/Samples/Facilities/Remoting/KernelInOneEndPoint">
797 <include name=
"**/*.build" />
798 <include name=
"**/*.sln" />
799 <include name=
"**/*.cs" />
800 <include name=
"**/*.ico" />
801 <include name=
"**/*.csproj" />
802 <include name=
"**/*.xml" />
803 <include name=
"**/*.config" />
804 <include name=
"**/*.txt" />
805 <include name=
"**/*.vm" />
806 <include name=
"**/*.resx" />
807 <include name=
"*.snk" />
808 <exclude name=
"**/bin/*" />
809 <exclude name=
"**/bin/Debug/*" />
810 <exclude name=
"**/bin/Release/*" />
811 <exclude name=
"**/obj/*" />
812 <exclude name=
"**.user" />
813 <exclude name=
"**/_Resharper.*/*" />
816 <zip zipfile=
"${root.dir}/samplesforwebsite/KernelOnBothEndPoints.Sample.zip">
817 <fileset basedir=
"${root.dir}/Samples/Facilities/Remoting/KernelOnBothEndPoints">
818 <include name=
"**/*.build" />
819 <include name=
"**/*.sln" />
820 <include name=
"**/*.cs" />
821 <include name=
"**/*.ico" />
822 <include name=
"**/*.csproj" />
823 <include name=
"**/*.xml" />
824 <include name=
"**/*.config" />
825 <include name=
"**/*.txt" />
826 <include name=
"**/*.vm" />
827 <include name=
"**/*.resx" />
828 <include name=
"*.snk" />
829 <exclude name=
"**/bin/*" />
830 <exclude name=
"**/bin/Debug/*" />
831 <exclude name=
"**/bin/Release/*" />
832 <exclude name=
"**/obj/*" />
833 <exclude name=
"**.user" />
834 <exclude name=
"**/_Resharper.*/*" />
837 <zip zipfile=
"${root.dir}/samplesforwebsite/ContainersConnected.Sample.zip">
838 <fileset basedir=
"${root.dir}/Samples/Facilities/Remoting/ContainersConnected">
839 <include name=
"**/*.build" />
840 <include name=
"**/*.sln" />
841 <include name=
"**/*.cs" />
842 <include name=
"**/*.ico" />
843 <include name=
"**/*.csproj" />
844 <include name=
"**/*.xml" />
845 <include name=
"**/*.config" />
846 <include name=
"**/*.txt" />
847 <include name=
"**/*.vm" />
848 <include name=
"**/*.resx" />
849 <include name=
"*.snk" />
850 <exclude name=
"**/bin/*" />
851 <exclude name=
"**/bin/Debug/*" />
852 <exclude name=
"**/bin/Release/*" />
853 <exclude name=
"**/obj/*" />
854 <exclude name=
"**.user" />
855 <exclude name=
"**/_Resharper.*/*" />
858 <zip zipfile=
"${root.dir}/samplesforwebsite/FacilityEventwiring.zip">
859 <fileset basedir=
"${root.dir}/Samples/Facilities/EventWiring">
860 <include name=
"**/*.build" />
861 <include name=
"**/*.sln" />
862 <include name=
"**/*.cs" />
863 <include name=
"**/*.ico" />
864 <include name=
"**/*.csproj" />
865 <include name=
"**/*.xml" />
866 <include name=
"**/*.config" />
867 <include name=
"**/*.txt" />
868 <include name=
"**/*.vm" />
869 <include name=
"**/*.resx" />
870 <include name=
"*.snk" />
871 <exclude name=
"**/bin/*" />
872 <exclude name=
"**/bin/Debug/*" />
873 <exclude name=
"**/bin/Release/*" />
874 <exclude name=
"**/obj/*" />
875 <exclude name=
"**.user" />
876 <exclude name=
"**/_Resharper.*/*" />
881 <target name=
"zip-samples">
882 <zip zipfile=
"${build.base.dir}/ActiveRecord-Samples.zip">
883 <fileset basedir=
"${root.dir}/Samples/ActiveRecord">
884 <include name=
"**/*.build" />
885 <include name=
"**/*.sln" />
886 <include name=
"**/*.cs" />
887 <include name=
"**/*.ico" />
888 <include name=
"**/*.csproj" />
889 <include name=
"**/*.xml" />
890 <include name=
"**/*.config" />
891 <include name=
"**/*.lang" />
892 <include name=
"**/*.txt" />
893 <include name=
"**/*.inc" />
894 <include name=
"**/*.vm" />
895 <include name=
"**/*.resx" />
896 <include name=
"**/*.aspx" />
897 <include name=
"**/*.asax" />
898 <include name=
"**/*.sql" />
899 <include name=
"*.snk" />
900 <exclude name=
"**/bin/*" />
901 <exclude name=
"**/bin/Debug/*" />
902 <exclude name=
"**/bin/Release/*" />
903 <exclude name=
"**/obj/*" />
904 <exclude name=
"**.user" />
905 <exclude name=
"**/_Resharper.*/*" />
908 <zip zipfile=
"${build.base.dir}/Facilities-Samples.zip">
909 <fileset basedir=
"${root.dir}/Samples/Facilities">
910 <include name=
"**/*.build" />
911 <include name=
"**/*.sln" />
912 <include name=
"**/*.cs" />
913 <include name=
"**/*.ico" />
914 <include name=
"**/*.csproj" />
915 <include name=
"**/*.xml" />
916 <include name=
"**/*.config" />
917 <include name=
"**/*.lang" />
918 <include name=
"**/*.txt" />
919 <include name=
"**/*.inc" />
920 <include name=
"**/*.vm" />
921 <include name=
"*.snk" />
922 <exclude name=
"**/bin/*" />
923 <exclude name=
"**/bin/Debug/*" />
924 <exclude name=
"**/bin/Release/*" />
925 <exclude name=
"**/obj/*" />
926 <exclude name=
"**.user" />
927 <exclude name=
"**/_Resharper.*/*" />
930 <zip zipfile=
"${build.base.dir}/InversionOfControl-Samples.zip">
931 <fileset basedir=
"${root.dir}/Samples/InversionOfControl">
932 <include name=
"**/*.build" />
933 <include name=
"**/*.sln" />
934 <include name=
"**/*.cs" />
935 <include name=
"**/*.ico" />
936 <include name=
"**/*.csproj" />
937 <include name=
"**/*.xml" />
938 <include name=
"**/*.config" />
939 <include name=
"**/*.lang" />
940 <include name=
"**/*.txt" />
941 <include name=
"**/*.inc" />
942 <include name=
"**/*.vm" />
943 <include name=
"*.snk" />
944 <exclude name=
"**/bin/*" />
945 <exclude name=
"**/bin/Debug/*" />
946 <exclude name=
"**/bin/Release/*" />
947 <exclude name=
"**/obj/*" />
948 <exclude name=
"**.user" />
949 <exclude name=
"**/_Resharper.*/*" />
952 <zip zipfile=
"${build.base.dir}/MonoRail-Samples.zip">
953 <fileset basedir=
"${root.dir}/Samples/MonoRail">
954 <include name=
"**/*.build" />
955 <include name=
"**/*.sln" />
956 <include name=
"**/*.cs" />
957 <include name=
"**/*.css" />
958 <include name=
"**/*.gif" />
959 <include name=
"**/*.png" />
960 <include name=
"**/*.jpg" />
961 <include name=
"**/*.js" />
962 <include name=
"**/*.ico" />
963 <include name=
"**/*.csproj" />
964 <include name=
"**/*.xml" />
965 <include name=
"**/*.config" />
966 <include name=
"**/*.lang" />
967 <include name=
"**/*.txt" />
968 <include name=
"**/*.inc" />
969 <include name=
"**/*.vm" />
970 <include name=
"**/*.aspx" />
971 <include name=
"**/*.asax" />
972 <include name=
"*.snk" />
973 <exclude name=
"**/bin/*" />
974 <exclude name=
"**/bin/Debug/*" />
975 <exclude name=
"**/bin/Release/*" />
976 <exclude name=
"**/obj/*" />
977 <exclude name=
"**.user" />
978 <exclude name=
"**/_Resharper.*/*" />
981 <zip zipfile=
"${build.base.dir}/Castle-Samples.zip">
982 <fileset basedir=
"${root.dir}/Samples/Castle">
983 <include name=
"**/*.build" />
984 <include name=
"**/*.sln" />
985 <include name=
"**/*.cs" />
986 <include name=
"**/*.ico" />
987 <include name=
"**/*.csproj" />
988 <include name=
"**/*.xml" />
989 <include name=
"**/*.config" />
990 <include name=
"**/*.lang" />
991 <include name=
"**/*.txt" />
992 <include name=
"**/*.inc" />
993 <include name=
"**/*.vm" />
994 <include name=
"**/*.aspx" />
995 <include name=
"**/*.asax" />
996 <include name=
"*.snk" />
997 <exclude name=
"**/bin/*" />
998 <exclude name=
"**/bin/Debug/*" />
999 <exclude name=
"**/bin/Release/*" />
1000 <exclude name=
"**/obj/*" />
1001 <exclude name=
"**.user" />
1002 <exclude name=
"**/_Resharper.*/*" />
1007 <target name=
"zip-source">
1008 <zip zipfile=
"${build.base.dir}/castle-sourcecode.zip">
1009 <fileset basedir=
"${root.dir}">
1010 <include name=
"**/*.build" />
1011 <include name=
"**/*.sln" />
1012 <include name=
"**/*.cs" />
1013 <include name=
"**/*.cd" />
1014 <include name=
"**/*.snk" />
1015 <include name=
"**/*.ico" />
1016 <include name=
"**/*.csproj" />
1017 <include name=
"**/*.xml" />
1018 <include name=
"**/*.config" />
1019 <include name=
"**/*.lang" />
1020 <include name=
"**/*.txt" />
1021 <include name=
"**/*.inc" />
1022 <include name=
"**/*.vm" />
1023 <include name=
"**/*.njs" />
1024 <include name=
"**/*.gif" />
1025 <include name=
"**/*.resx" />
1026 <include name=
"**/*.boo" />
1027 <include name=
"**/*.booproj" />
1028 <include name=
"**/*.brail" />
1029 <include name=
"**/*.brailjs" />
1030 <include name=
"**/*.prjx" />
1031 <include name=
"**/*.cmbx" />
1032 <include name=
"**/*.aspx" />
1033 <include name=
"**/*.asax" />
1034 <include name=
"**/*.svc" />
1035 <include name=
"**/*.htm" />
1036 <include name=
"**/*.html" />
1037 <include name=
"**/*.rb" />
1038 <include name=
"**/*.g" />
1039 <include name=
"**/*.resharper" />
1040 <include name=
"**/*.shfb" />
1041 <exclude name=
"**/obj/" />
1042 <exclude name=
"**/obj/**/*.*" />
1043 <exclude name=
"**/bin/**/*.*" />
1044 <exclude name=
"**/temp/**/*.*" />
1045 <exclude name=
"**/*.user" />
1046 <exclude name=
"**/_ReSharper.*" />
1047 <exclude name=
"**/_ReSharper.*/**/*.*" />
1048 <exclude name=
"**/*.suo" />
1049 <exclude name=
"SharedLibs/**/*.*" />
1050 <exclude name=
"Samples/**/*.*" />
1051 <exclude name=
"Experiments/**/*.*" />
1052 <exclude name=
"build/**/*.*" />
1053 <exclude name=
"Rook/**/*.*" />
1054 <exclude name=
"docs/**/*.*" />
1055 <exclude name=
"setup/*.*" />
1056 <exclude name=
"Tools/VSNetWizards/**/*.*" />
1057 <exclude name=
"MonoRail2/**/*.*" />
1058 <exclude name=
"Tools/SubversionHooks/**/*.*" />
1059 <exclude name=
"Tools/ManagedExtensions/**/*.*" />
1064 <description>Documentation generation.
</description>
1065 <property name=
"outputDocs.file" value=
"Castle"/>
1067 <description>Generates documentation with default properties.
</description>
1068 <target name=
"releaseDocs" depends=
"init,cleanup">
1069 <property name=
"sanddoc.visibleitems" value=
"Attributes, InheritedMembers, InheritedFrameworkMembers, Protected, SealedProtected" />
1070 <property name=
"sanddoc.missingtags" value=
"Summary, Parameter, AutoDocumentCtors, Namespace" />
1071 <call target=
"generateReleaseDocs"/>
1074 <description>Generates documentation for developers, with all missing information indicated and private members visible.
</description>
1075 <target name=
"devDocs" depends=
"init,cleanup">
1076 <property name=
"sanddoc.visibleitems" value=
"Attributes, InheritedMembers, InheritedFrameworkMembers, Privates, Protected, SealedProtected" />
1077 <property name=
"sanddoc.missingtags" value=
"Summary, Parameter, Returns, Value, AutoDocumentCtors, Namespace" />
1078 <property name=
"outputDocs.file" value=
"CastleDev"/>
1079 <call target=
"generateReleaseDocs"/>
1082 <description>Generates documentation for release.
</description>
1083 <target name=
"generateReleaseDocs">
1084 <property name=
"root.dir" value=
"." />
1085 <exec program=
"SandcastleBuilderConsole" basedir=
"${shfb.dir}" commandline='sandcastle_docs.shfb'
>
1086 <arg value=
"-FrameworkVersion=${framework::get-clr-version(framework::get-target-framework())}" />
1087 <arg value=
"-SandcastlePath=${sandcastle.dir}" />
1088 <arg value=
"-HtmlHelp1xCompilerPath=${htmlhelp1x.dir}" />
1089 <arg value=
"-OutputPath=${docs.dir}" />
1090 <arg value=
"-HtmlHelpName=${outputDocs.file}" />
1091 <arg value=
"-HelpFileFormat=HtmlHelp1x" />
1092 <arg value=
"-VisibleItems=${sanddoc.visibleitems}" />
1093 <arg value=
"-MissingTags=${sanddoc.missingtags}" />
1097 <description>Cleans up prior to documentation generation.
</description>
1098 <target name=
"cleanup">
1101 <include name=
"${docs.dir}/**"/>
1102 <exclude name=
"**/*.chm"/>