Permalink
Browse files

Starting to restructure the project to move from dependencies on a lo…

…t of separate projects
  • Loading branch information...
ayende committed Sep 1, 2009
1 parent c502df0 commit cd3e2ccef6700886241ac5fc2901870681334d98
Showing with 110,769 additions and 469 deletions.
  1. +0 −22 Default.build
  2. +0 −30 Rhino.Security.ActiveRecord/RegisterRhinoSecurityMappingAttribute.cs
  3. +0 −34 Rhino.Security.ActiveRecord/RegisterRhinoSecurityModels.cs
  4. +0 −83 Rhino.Security.ActiveRecord/Rhino.Security.ActiveRecord.csproj
  5. +0 −18 Rhino.Security.ActiveRecord/RhinoSecurity.cs
  6. +0 −49 Rhino.Security.ActiveRecord/default.build
  7. +0 −60 Rhino.Security.Tests/default.build
  8. +0 −125 Rhino.Security.sln
  9. +0 −48 Rhino.Security/default.build
  10. BIN SharedLibs/Antlr3.Runtime.dll
  11. BIN SharedLibs/Castle.Core.dll
  12. +3,197 −0 SharedLibs/Castle.Core.xml
  13. +13 −0 SharedLibs/Castle.DynamicProxy.license.txt
  14. BIN SharedLibs/Castle.DynamicProxy2.dll
  15. +1,249 −0 SharedLibs/Castle.DynamicProxy2.xml
  16. BIN SharedLibs/Iesi.Collections.dll
  17. +1,903 −0 SharedLibs/Iesi.Collections.xml
  18. +280 −0 SharedLibs/Microsoft.Practices.ServiceLocation.XML
  19. BIN SharedLibs/Microsoft.Practices.ServiceLocation.dll
  20. BIN SharedLibs/Microsoft.Practices.ServiceLocation.pdb
  21. BIN SharedLibs/NHibernate.ByteCode.Castle.dll
  22. +40 −0 SharedLibs/NHibernate.ByteCode.Castle.xml
  23. BIN SharedLibs/NHibernate.Validator.Tests.dll
  24. BIN SharedLibs/NHibernate.Validator.dll
  25. +1,435 −0 SharedLibs/NHibernate.Validator.xml
  26. BIN SharedLibs/NHibernate.dll
  27. +40,436 −0 SharedLibs/NHibernate.xml
  28. BIN SharedLibs/log4net.dll
  29. +201 −0 SharedLibs/log4net.license.txt
  30. +28,655 −0 SharedLibs/log4net.xml
  31. +215 −0 SharedLibs/nhibernate-configuration.xsd
  32. +1,690 −0 SharedLibs/nhibernate-mapping.xsd
  33. BIN Tools/ILMerge.exe
  34. BIN Tools/MbUnit/Aggregate.dll
  35. BIN Tools/MbUnit/Aggregate.pdb
  36. BIN Tools/MbUnit/MbUnit.AddIn.dll
  37. BIN Tools/MbUnit/MbUnit.Cons.exe
  38. +12 −0 Tools/MbUnit/MbUnit.Cons.exe.config
  39. BIN Tools/MbUnit/MbUnit.Demo.1.1.dll
  40. +20 −0 Tools/MbUnit/MbUnit.Framework.1.1.XML
  41. BIN Tools/MbUnit/MbUnit.Framework.1.1.dll
  42. BIN Tools/MbUnit/MbUnit.Framework.2.0.dll
  43. +10,995 −0 Tools/MbUnit/MbUnit.Framework.XML
  44. BIN Tools/MbUnit/MbUnit.Framework.dll
  45. BIN Tools/MbUnit/MbUnit.GUI.exe
  46. +14 −0 Tools/MbUnit/MbUnit.GUI.exe.config
  47. BIN Tools/MbUnit/MbUnit.MSBuild.Tasks.dll
  48. BIN Tools/MbUnit/MbUnit.Tasks.dll
  49. BIN Tools/MbUnit/MbUnit.Tests.1.1.dll
  50. BIN Tools/MbUnit/NAnt.Core.dll
  51. +14,462 −0 Tools/MbUnit/NAnt.Core.xml
  52. BIN Tools/MbUnit/NGraphviz.Helpers.dll
  53. BIN Tools/MbUnit/NGraphviz.Layout.dll
  54. BIN Tools/MbUnit/NGraphviz.dll
  55. BIN Tools/MbUnit/QuickGraph.Algorithms.Graphviz.dll
  56. BIN Tools/MbUnit/QuickGraph.Algorithms.dll
  57. BIN Tools/MbUnit/QuickGraph.dll
  58. BIN Tools/MbUnit/Refly.dll
  59. BIN Tools/MbUnit/TestDriven.Framework.dll
  60. +5,483 −0 Tools/MbUnit/TestFu.XML
  61. BIN Tools/MbUnit/TestFu.dll
  62. BIN Tools/MbUnit/XsdTidy.exe
  63. BIN Tools/MbUnit/log4net.dll
  64. BIN Tools/MbUnit/uninst.exe
  65. +6 −0 Tools/MbUnit/users.txt
  66. BIN Tools/zip.exe
  67. +1 −0 acknowledgements.txt
  68. BIN ayende-open-source.snk
  69. +86 −0 default.ps1
  70. +25 −0 license.txt
  71. +311 −0 psake.ps1
  72. +40 −0 psake_ext.ps1
View
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding='iso-8859-1' ?>
-<project
- name="rhino-security"
- default="build"
- xmlns="http://nant.sf.net/release/0.85/nant.xsd"
- >
-
- <property name="root.dir" value=".." />
- <include buildfile="${root.dir}/common-project.xml" />
-
- <fileset id="buildfiles.all">
- <!-- Files have to be in dependency order -->
- <include name="Rhino.Security/default.build" />
- <include name="Rhino.Security.ActiveRecord/default.build" />
- <include name="Rhino.Security.Tests/default.build" if="${common.testrunner.enabled}"/>
- </fileset>
-
- <target name="build" depends="common.build" />
-
- <target name="generate-assemblyinfo" depends="common.assemblyinfo" />
-
-</project>
@@ -1,30 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using Castle.ActiveRecord;
-using Castle.ActiveRecord.Framework.Internal;
-using Rhino.Security.ActiveRecord;
-
-[assembly: RegisterRhinoSecurityMapping]
-
-namespace Rhino.Security.ActiveRecord
-{
- public class RegisterRhinoSecurityMappingAttribute : RawXmlMappingAttribute
- {
- public override string[] GetMappings()
- {
- List<string> mapping = new List<string>();
- ActiveRecordModelBuilder builder = new ActiveRecordModelBuilder();
- foreach (Type type in RhinoSecurity.Entities)
- {
- builder.CreateDummyModelFor(type);
- Stream stream = type.Assembly.GetManifestResourceStream(type.FullName+".hbm.xml");
- if (stream == null)
- continue;
- using (StreamReader reader = new StreamReader(stream))
- mapping.Add(reader.ReadToEnd());
- }
- return mapping.ToArray();
- }
- }
-}
@@ -1,34 +0,0 @@
-using System;
-using Castle.ActiveRecord;
-using Castle.ActiveRecord.Framework;
-using Castle.ActiveRecord.Framework.Internal;
-using NHibernate;
-using NHibernate.Cfg;
-using Rhino.Commons;
-
-namespace Rhino.Security.ActiveRecord
-{
- public class RegisterRhinoSecurityModels : INHibernateInitializationAware
- {
- private readonly ActiveRecordModelBuilder modelBuilder = new ActiveRecordModelBuilder();
-
- public void BeforeInitialization()
- {
- ActiveRecordStarter.ModelsValidated+=delegate
- {
- foreach (Type type in RhinoSecurity.Entities)
- {
- modelBuilder.CreateDummyModelFor(type);
- }
- };
- }
-
- public void Configured(Configuration cfg)
- {
- }
-
- public void Initialized(Configuration cfg, ISessionFactory sessionFactory)
- {
- }
- }
-}
@@ -1,83 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.21022</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{5FCDDA8A-B305-474E-AD27-4DEF6CB042B6}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>Rhino.Security.ActiveRecord</RootNamespace>
- <AssemblyName>Rhino.Security.ActiveRecord</AssemblyName>
- <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
- <FileAlignment>512</FileAlignment>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="Castle.ActiveRecord, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\SharedLibs\Castle\Castle.ActiveRecord.dll</HintPath>
- </Reference>
- <Reference Include="Castle.MicroKernel, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\SharedLibs\Castle\Castle.MicroKernel.dll</HintPath>
- </Reference>
- <Reference Include="NHibernate, Version=2.0.0.1002, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\SharedLibs\NHibernate\NHibernate.dll</HintPath>
- </Reference>
- <Reference Include="System" />
- <Reference Include="System.Core">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Xml.Linq">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data.DataSetExtensions">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data" />
- <Reference Include="System.Xml" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="Properties\AssemblyInfo.cs" />
- <Compile Include="RegisterRhinoSecurityMappingAttribute.cs" />
- <Compile Include="RegisterRhinoSecurityModels.cs" />
- <Compile Include="RhinoSecurity.cs" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\..\rhino-commons\Rhino.Commons.NHibernate\Rhino.Commons.NHibernate-v2008.csproj">
- <Project>{BF4E220E-5AF8-4448-ABA9-981D69AB8775}</Project>
- <Name>Rhino.Commons.NHibernate-v2008</Name>
- </ProjectReference>
- <ProjectReference Include="..\Rhino.Security\Rhino.Security-vs2008.csproj">
- <Project>{DBA372FE-3D52-45B3-AF82-B37696328764}</Project>
- <Name>Rhino.Security-vs2008</Name>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
-</Project>
@@ -1,18 +0,0 @@
-using System;
-using Rhino.Security.Model;
-
-namespace Rhino.Security.ActiveRecord
-{
- internal class RhinoSecurity
- {
- internal static Type[] Entities = new Type[]
- {
- typeof (EntitiesGroup),
- typeof (EntityReference),
- typeof (EntityType),
- typeof (Operation),
- typeof (Permission),
- typeof (UsersGroup)
- };
- }
-}
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding='iso-8859-1' ?>
-<project
- name="Rhino.Security.ActiveRecord"
- default="build"
- xmlns="http://nant.sf.net/release/0.85/nant.xsd"
->
- <property name="root.dir" value="../.." />
- <include buildfile="${root.dir}/common-project.xml" />
-
- <target name="init" depends="common.init">
- <property name="assembly.version" value="1.0.0.0" />
- <property name="assembly.description" value="Rhino Security - Security Services for the Model" />
-
- <assemblyfileset id="project.references" basedir="${build.dir}">
- <include name="Boo.Lang.dll"/>
- <include name="Boo.Lang.Extensions.dll"/>
- <include name="Boo.Lang.Compiler.dll"/>
- <include name="Boo.Lang.Parser.dll"/>
- <include name="Castle.Windsor.dll"/>
- <include name="Castle.MicroKernel.dll"/>
- <include name="Castle.Core.dll"/>
- <include name="Castle.Components.Validator.dll"/>
- <include name="Iesi.Collections.dll"/>
- <include name="Castle.ActiveRecord.dll"/>
- <include name="log4net.dll"/>
- <include name="NHibernate.dll"/>
- <include name="Rhino.Dsl.dll"/>
- <include name="Rhino.Commons.Clr.dll"/>
- <include name="Rhino.Commons.dll"/>
- <include name="Rhino.Commons.NHibernate.dll"/>
- <include name="Rhino.Commons.ActiveRecord.dll"/>
- <include name="Rhino.Security.dll"/>
- <include name="System"/>
- </assemblyfileset>
-
-
- <resourcefileset id="project.resources" prefix="Rhino.Security" dynamicprefix="true" basedir="${src.dir}">
- <include name="**/*.txt" />
- <include name="**/*.resx" />
- <exclude name="obj/**" />
- </resourcefileset>
-
- </target>
-
- <target name="generate-assemblyinfo" depends="init common.generate-assemblyinfo" />
-
- <target name="build" description="Build ${project::get-name()}" depends="generate-assemblyinfo common.compile-dll" />
-
-</project>
@@ -1,60 +0,0 @@
-<?xml version="1.0" ?>
-
-<project
- name="Rhino.Security.Tests"
- default="test"
- xmlns="http://nant.sf.net/release/0.85/nant.xsd"
->
- <property overwrite="false" name="assembly.is-cls-compliant" value="false" />
- <property name="root.dir" value="../.." />
- <include buildfile="${root.dir}/common-project.xml" />
-
- <target name="init" depends="common.init">
- <assemblyfileset id="project.references" basedir="${build.dir}">
- <include name="MbUnit.Framework.dll"/>
- <include name="Rhino.Commons.dll" />
- <include name="Rhino.Commons.Clr.dll" />
- <include name="Rhino.Commons.ActiveRecord.dll" />
- <include name="Rhino.Commons.NHibernate.dll" />
- <include name="Castle.ActiveRecord.dll" />
- <include name="Castle.Facilities.ActiveRecordIntegration.dll" />
- <include name="Castle.Facilities.Logging.dll" />
- <include name="Castle.Facilities.AutomaticTransactionManagement.dll" />
- <include name="Castle.Windsor.dll" />
- <include name="Castle.Core.dll" />
- <include name="System.Data.SqlServerCe.dll" />
- <include name="System.Data.SQLite.dll" />
- <include name="Castle.MicroKernel.dll" />
- <include name="NHibernate.dll" />
- <include name="Castle.Components.Validator.dll" />
- <include name="Iesi.Collections.dll" />
- <include name="log4net.dll" />
- <include name="Rhino.Mocks.dll" />
- <include name="Rhino.Security.dll" />
- <include name="Rhino.Security.ActiveRecord.dll" />
- </assemblyfileset>
-
- <resourcefileset id="project.resources" prefix="Rhino.Security.Tests" dynamicprefix="true" basedir="${src.dir}">
- <include name="**/*.txt" />
- <include name="**/*.hbm.xml" />
- <include name="**/*.resx" />
- <exclude name="obj/**" />
- </resourcefileset>
-
- <!-- copy the config files -->
- <copy todir="${build.dir}" overwrite="true">
- <fileset basedir="${src.dir}">
- <exclude name="bin/**/*.*"/>
- <include name="**/*.boo"/>
- <include name="**/*.xml"/>
- <include name="**/*.config"/>
- <exclude name="app.config"/>
- </fileset>
- </copy>
- </target>
-
- <target name="generate-assemblyinfo" depends="init common.generate-assemblyinfo" />
-
- <target name="test" depends="init generate-assemblyinfo common.compile-tests common.run-tests" description="Runs the tests" />
-
-</project>
Oops, something went wrong.

0 comments on commit cd3e2cc

Please sign in to comment.