Skip to content

Commit

Permalink
Updating Castle.DynamicProxy2.dll to take advantage of the new SP1 re…
Browse files Browse the repository at this point in the history
…flection features.

Applying Adam Tybor patch to add more control on what we are building using NAnt.

SVN: trunk@3238
  • Loading branch information
ayende committed Jan 16, 2008
1 parent 7d9c1d0 commit a3a7ed8
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 27 deletions.
69 changes: 43 additions & 26 deletions default.build
Original file line number Diff line number Diff line change
Expand Up @@ -22,38 +22,55 @@
-->
<property name="supported.frameworks" value="net-2.0" />

<property name="with.core.only" value="false" overwrite="false" />
<property name="with.caches" value="${not with.core.only}" overwrite="false" />
<property name="with.syscache" value="${not with.core.only and with.caches}" overwrite="false" />
<property name="with.syscache2" value="${not with.core.only and with.caches}" overwrite="false" />
<property name="with.memcache" value="${not with.core.only and with.caches}" overwrite="false" />
<property name="with.prevalence" value="${not with.core.only and with.caches}" overwrite="false" />
<property name="with.tasks" value="${not with.core.only}" overwrite="false" />
<property name="with.mapping" value="${not with.core.only}" overwrite="false" />
<property name="with.search" value="${not with.core.only}" overwrite="false" />
<property name="with.ora.types" value="${not with.core.only}" overwrite="false" />
<property name="with.sql.types" value="${not with.core.only}" overwrite="false" />
<property name="with.tasks" value="${not with.core.only}" overwrite="false" />
<property name="with.tools" value="${not with.core.only}" overwrite="false" />
<property name="with.jet" value="${not with.core.only}" overwrite="false" />
<property name="with.examples" value="${not with.core.only}" overwrite="false" />
<property name="with.validator" value="${not with.core.only}" overwrite="false" />

<fileset id="buildfiles.all" basedir="src">
<!-- Files have to be in dependency order -->
<include name="HashCodeProvider/HashCodeProvider.build" />
<include name="Iesi.Collections/Iesi.Collections.build" />
<include name="Iesi.Collections.Test/Iesi.Collections.Test.build" />
<include name="NHibernate/NHibernate.build" />
<include name="NHibernate.DomainModel/NHibernate.DomainModel.build" />
<include name="NHibernate.Test/NHibernate.Test.build" />
<include name="NHibernate.Search/NHibernate.Search.build" />
<include name="NHibernate.Search.Tests/NHibernate.Search.Tests.build" />
<include name="NHibernate.Test.Performance/NHibernate.Test.Performance.build" />
<include name="NHibernate.Examples/NHibernate.Examples.build" />
<include name="NHibernate.Caches.SysCache/NHibernate.Caches.SysCache.build" />
<include name="NHibernate.Caches.SysCache2/NHibernate.Caches.SysCache2.build" />
<include name="NHibernate.Caches.SysCache.Tests/NHibernate.Caches.SysCache.Tests.build" />
<include name="NHibernate.Caches.MemCache/NHibernate.Caches.MemCache.build" />
<include name="NHibernate.Caches.MemCache.Tests/NHibernate.Caches.MemCache.Tests.build" />
<include name="NHibernate.Caches.Prevalence/NHibernate.Caches.Prevalence.build" />
<include name="NHibernate.Caches.Prevalence.Tests/NHibernate.Caches.Prevalence.Tests.build" />
<include name="NHibernate.JetDriver/NHibernate.JetDriver.build" />
<include name="NHibernate.Mapping.Attributes/NHibernate.Mapping.Attributes.build" />
<include name="NHibernate.Mapping.Attributes.Test/NHibernate.Mapping.Attributes.Test.build" />
<include name="NHibernate.Tasks/NHibernate.Tasks.build" />
<include name="NHibernate.Tool.hbm2net/NHibernate.Tool.hbm2net.build" />
<include name="NHibernate.Tool.hbm2net.Console/NHibernate.Tool.hbm2net.Console.build" />
<include name="NHibernate.Tool.hbm2net.Tests/NHibernate.Tool.hbm2net.Tests.build" />
<include name="NHibernate.Tool.HbmXsd/NHibernate.Tool.HbmXsd.build" />
<include name="NHibernate.UserTypes.Oracle/NHibernate.UserTypes.Oracle.build" />
<include name="NHibernate.UserTypes.SqlTypes/NHibernate.UserTypes.SqlTypes.build" />
<include name="NHibernate.UserTypes.Tests/NHibernate.UserTypes.Tests.build" />
<include name="NHibernate.Validator/src/NHibernate.Validator/NHibernate.Validator.build" />
<include name="NHibernate.Validator/src/NHibernate.Validator.Tests/NHibernate.Validator.Tests.build" />
<include name="NHibernate.DomainModel/NHibernate.DomainModel.build" if="${not skip.tests or run.performance.tests}"/>
<include name="NHibernate.Test/NHibernate.Test.build" if="${not skip.tests or run.performance.tests}"/>
<include name="NHibernate.Search/NHibernate.Search.build" if="${with.search}"/>
<include name="NHibernate.Search.Tests/NHibernate.Search.Tests.build" if="${with.search and not skip.tests}"/>
<include name="NHibernate.Test.Performance/NHibernate.Test.Performance.build" if="${not skip.tests or run.performance.tests}"/>
<include name="NHibernate.Examples/NHibernate.Examples.build" if="${with.examples and not skip.tests}"/>
<include name="NHibernate.Caches.SysCache/NHibernate.Caches.SysCache.build" if="${with.syscache}" />
<include name="NHibernate.Caches.SysCache2/NHibernate.Caches.SysCache2.build" if="${with.syscache2}" />
<include name="NHibernate.Caches.SysCache.Tests/NHibernate.Caches.SysCache.Tests.build" if="${with.syscache and not skip.tests}" />
<include name="NHibernate.Caches.MemCache/NHibernate.Caches.MemCache.build" if="${with.memcache}" />
<include name="NHibernate.Caches.MemCache.Tests/NHibernate.Caches.MemCache.Tests.build" if="${with.memcache and not skip.tests}" />
<include name="NHibernate.Caches.Prevalence/NHibernate.Caches.Prevalence.build" if="${with.prevalence}" />
<include name="NHibernate.Caches.Prevalence.Tests/NHibernate.Caches.Prevalence.Tests.build" if="${with.prevalence and not skip.tests}"/>
<include name="NHibernate.JetDriver/NHibernate.JetDriver.build" if="${with.jet}" />
<include name="NHibernate.Mapping.Attributes/NHibernate.Mapping.Attributes.build" if="${with.mapping}" />
<include name="NHibernate.Mapping.Attributes.Test/NHibernate.Mapping.Attributes.Test.build" if="${with.mapping and not skip.tests}"/>
<include name="NHibernate.Tasks/NHibernate.Tasks.build" if="${with.tasks}"/>
<include name="NHibernate.Tool.hbm2net/NHibernate.Tool.hbm2net.build" if="${with.tools}" />
<include name="NHibernate.Tool.hbm2net.Console/NHibernate.Tool.hbm2net.Console.build" if="${with.tools}" />
<include name="NHibernate.Tool.hbm2net.Tests/NHibernate.Tool.hbm2net.Tests.build" if="${with.tools and not skip.tests}"/>
<include name="NHibernate.Tool.HbmXsd/NHibernate.Tool.HbmXsd.build" if="${with.tools}" />
<include name="NHibernate.UserTypes.Oracle/NHibernate.UserTypes.Oracle.build" if="${with.ora.types}" />
<include name="NHibernate.UserTypes.SqlTypes/NHibernate.UserTypes.SqlTypes.build" if="${with.sql.types}" />
<include name="NHibernate.UserTypes.Tests/NHibernate.UserTypes.Tests.build" if="${with.sql.types and not skip.tests}"/>
<include name="NHibernate.Validator/src/NHibernate.Validator/NHibernate.Validator.build" if="${with.validator}" />
<include name="NHibernate.Validator/src/NHibernate.Validator.Tests/NHibernate.Validator.Tests.build" if="${with.validator and not skip.tests}"/>
</fileset>

<fileset id="buildfiles.tests" basedir="src">
Expand Down
Binary file modified lib/net/2.0/Castle.Core.dll
Binary file not shown.
Binary file modified lib/net/2.0/Castle.DynamicProxy2.dll
Binary file not shown.
35 changes: 34 additions & 1 deletion sample build commands.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,37 @@ NAnt -D:project.config=release clean build >output-release-build.log

NAnt clean build >output-debug-build.log

NAnt -D:project.config=release -D:nhibernate.dialect="NHibernate.Dialect.MsSql2000Dialect" -D:nhibernate.connection.driver_class="NHibernate.Driver.SqlClientDriver" -D:nhibernate.connection.connection_string="Server=localhost;initial catalog=nhibernate;User ID=blah;Password=blah;Min Pool Size=2" clean package >output-release-package.log
NAnt -D:project.config=release -D:nhibernate.dialect="NHibernate.Dialect.MsSql2000Dialect" -D:nhibernate.connection.driver_class="NHibernate.Driver.SqlClientDriver" -D:nhibernate.connection.connection_string="Server=localhost;initial catalog=nhibernate;User ID=blah;Password=blah;Min Pool Size=2" clean package >output-release-package.log

## You can exclude certain modules from being built by setting following properties to false
##
## with.caches (Will disable building all caches)
## with.syscache
## with.syscache2
## with.memcache
## with.prevalence
## with.tasks
## with.mapping
## with.search
## with.ora.types
## with.sql.types
## with.tools
## with.jet
## with.examples
## with.validator
##
## - or -
##
## You can set with.core.only=true and then add the modules you want by
## specifiy true instead of false.
##

## Build Everything But Jet
NAnt -D:with.jet=false

## Build Only The Core
NAnt -D:with.core.only=true

## Build SysCache2, and Search
NAnt -D:with.core.only=true -D:with.syscache2=true -D:with.search=true

0 comments on commit a3a7ed8

Please sign in to comment.