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