You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ibatis.apache.org by gb...@apache.org on 2005/06/20 19:55:22 UTC
svn commit: r191523 - in /ibatis/trunk/cs/npetshop2: NPetshop.Domain/
NPetshop.Test/bin/ NPetshop.Test/bin/Debug/ NPetshop.Web/
Author: gbayon
Date: Mon Jun 20 10:55:21 2005
New Revision: 191523
URL: http://svn.apache.org/viewcvs?rev=191523&view=rev
Log:
- Added test config files
Added:
ibatis/trunk/cs/npetshop2/NPetshop.Test/bin/
ibatis/trunk/cs/npetshop2/NPetshop.Test/bin/Debug/
ibatis/trunk/cs/npetshop2/NPetshop.Test/bin/Debug/NPetshop.Test.dll.config
ibatis/trunk/cs/npetshop2/NPetshop.Test/bin/Debug/properties.config
Modified:
ibatis/trunk/cs/npetshop2/NPetshop.Domain/NPetshop.Domain.csproj
ibatis/trunk/cs/npetshop2/NPetshop.Web/properties.config
Modified: ibatis/trunk/cs/npetshop2/NPetshop.Domain/NPetshop.Domain.csproj
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Domain/NPetshop.Domain.csproj?rev=191523&r1=191522&r2=191523&view=diff
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Domain/NPetshop.Domain.csproj (original)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Domain/NPetshop.Domain.csproj Mon Jun 20 10:55:21 2005
@@ -94,10 +94,6 @@
BuildAction = "Compile"
/>
<File
- RelPath = "ToDo.txt"
- BuildAction = "Content"
- />
- <File
RelPath = "Accounts\Account.cs"
SubType = "Code"
BuildAction = "Compile"
Added: ibatis/trunk/cs/npetshop2/NPetshop.Test/bin/Debug/NPetshop.Test.dll.config
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Test/bin/Debug/NPetshop.Test.dll.config?rev=191523&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Test/bin/Debug/NPetshop.Test.dll.config (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Test/bin/Debug/NPetshop.Test.dll.config Mon Jun 20 10:55:21 2005
@@ -0,0 +1,142 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+ <!-- Register a section handler for the log4net section -->
+ <configSections>
+ <sectionGroup name="castle">
+ <section name="mvc" type="Castle.MVC.Configuration.ConfigurationSectionHandler, castle.mvc"/>
+ </sectionGroup>
+ <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
+ </configSections>
+
+ <castle>
+ <mvc>
+ <webViews>
+ <view id="Default" path="/NPetshop.Web/Views/default.aspx" />
+
+ <view id="Category" path="/NPetshop.Web/Views/Catalog/Category.aspx" />
+ <view id="Product" path="/NPetshop.Web/Views/Catalog/Product.aspx" />
+ <view id="SearchProduct" path="/NPetshop.Web/Views/Catalog/SearchProduct.aspx" />
+ <view id="Item" path="/NPetshop.Web/Views/Catalog/Item.aspx" />
+
+ <view id="SignIn" path="/NPetshop.Web/Views/Account/SignIn.aspx" />
+ <view id="SignOut" path="/NPetshop.Web/Views/Account/SignOut.aspx" />
+ <view id="Register" path="/NPetshop.Web/Views/Account/Register.aspx" />
+ <view id="AccountEdition" path="/NPetshop.Web/Views/Account/AccountEdition.aspx" />
+
+ <view id="Cart" path="/NPetshop.Web/Views/Shopping/Cart.aspx" />
+ <view id="Checkout" path="/NPetshop.Web/Views/Shopping/Checkout.aspx" />
+
+ <view id="Payment" path="/NPetshop.Web/Views/Billing/Payment.aspx" />
+ <view id="Confirmation" path="/NPetshop.Web/Views/Billing/Confirmation.aspx" />
+ <view id="Billing" path="/NPetshop.Web/Views/Billing/Billing.aspx" />
+ <view id="Shipping" path="/NPetshop.Web/Views/Billing/Shipping.aspx" />
+
+ </webViews>
+
+ <global-commands>
+ <command id="goHome" view="Default" />
+ <command id="showCategory" view="Category" />
+ <command id="showCart" view="Cart" />
+ <command id="signIn" view="SignIn" />
+ <command id="signOut" view="SignOut" />
+ <command id="editAccount" view="AccountEdition" />
+ <command id="showResult" view="SearchProduct" />
+ <command id="register" view="Register" />
+ </global-commands>
+
+ <command-mappings>
+ <!-- Catalog Actions -->
+ <commands view="Category">
+ <command id="showProduct" view="Product" />
+ </commands>
+ <commands view="Product">
+ <command id="showItem" view="Item" />
+ <command id="addToCart" view="Cart" />
+ </commands>
+ <commands view="Item">
+ <command id="addToCart" view="Cart" />
+ </commands>
+
+ <commands view="SignIn">
+ </commands>
+
+ <!-- Cart Actions -->
+ <commands view="Cart">
+ <command id="showItem" view="Item" />
+ <command id="checkout" view="Checkout" />
+ </commands>
+
+ <!-- Order Actions -->
+ <commands view="Checkout">
+ <command id="pay" view="Payment" />
+ </commands>
+ <commands view="Payment">
+ <command id="confirm" view="Confirmation" />
+ <command id="ship" view="Shipping" />
+ </commands>
+ <commands view="Shipping">
+ <command id="cancelShippingAddress" view="Payment" />
+ <command id="bill" view="Confirmation" />
+ </commands>
+ <commands view="Confirmation">
+ <command id="bill" view="Billing" />
+ </commands>
+
+ </command-mappings>
+ </mvc>
+ </castle>
+
+ <!-- This section contains the log4net configuration settings -->
+ <log4net>
+ <!-- Define some output appenders -->
+ <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
+ <param name="File" value="log.txt" />
+ <param name="AppendToFile" value="true" />
+ <param name="MaxSizeRollBackups" value="2" />
+ <param name="MaximumFileSize" value="100KB" />
+ <param name="RollingStyle" value="Size" />
+ <param name="StaticLogFileName" value="true" />
+ <layout type="log4net.Layout.PatternLayout">
+ <param name="Header" value="[Header]\r\n" />
+ <param name="Footer" value="[Footer]\r\n" />
+ <param name="ConversionPattern" value="%d [%t] %-5p %c [%x] - %m%n" />
+ </layout>
+ </appender>
+ <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
+ <layout type="log4net.Layout.PatternLayout">
+ <param name="ConversionPattern" value="%d [%t] %-5p %c [%x] <%X{auth}> - %m%n" />
+ </layout>
+ </appender>
+
+ <!-- Set root logger level to ERROR and its appenders -->
+ <root>
+ <level value="DEBUG" />
+ <appender-ref ref="RollingLogFileAppender" />
+ <appender-ref ref="ConsoleAppender" />
+ </root>
+
+ <!-- Print only messages of level DEBUG or above in the packages -->
+ <logger name="IBatisNet.DataMapper.Configuration.Cache.CacheModel">
+ <level value="DEBUG" />
+ </logger>
+ <logger name="IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory">
+ <level value="DEBUG" />
+ </logger>
+ <logger name="IBatisNet.DataMapper.LazyLoadList">
+ <level value="DEBUG" />
+ </logger>
+ <logger name="IBatisNet.DataAccess.DaoSession">
+ <level value="DEBUG" />
+ </logger>
+ <logger name="IBatisNet.DataMapper.SqlMapSession">
+ <level value="DEBUG" />
+ </logger>
+ <logger name="IBatisNet.Common.Transaction.TransactionScope">
+ <level value="DEBUG" />
+ </logger>
+ <logger name="IBatisNet.DataAccess.Configuration.DaoProxy">
+ <level value="DEBUG" />
+ </logger>
+ </log4net>
+
+</configuration>
Added: ibatis/trunk/cs/npetshop2/NPetshop.Test/bin/Debug/properties.config
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Test/bin/Debug/properties.config?rev=191523&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Test/bin/Debug/properties.config (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Test/bin/Debug/properties.config Mon Jun 20 10:55:21 2005
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<settings>
+ <!-- User application and configured property settings go here.-->
+ <!-- Example: <add key="settingName" value="settingValue"/> -->
+ <add key="path" value="../../../NPetshop.Persistence" />
+ <add key="userid" value="NPetshop" />
+ <add key="password" value="ibatisnet" />
+ <add key="database" value="NPetshop" />
+ <add key="datasource" value="TOMATE" />
+</settings>
\ No newline at end of file
Modified: ibatis/trunk/cs/npetshop2/NPetshop.Web/properties.config
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/properties.config?rev=191523&r1=191522&r2=191523&view=diff
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/properties.config (original)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/properties.config Mon Jun 20 10:55:21 2005
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8" ?>
+<?xml version="1.0" encoding="utf-8" ?>
<settings>
<!-- User application and configured property settings go here.-->
<!-- Example: <add key="settingName" value="settingValue"/> -->
@@ -6,5 +6,5 @@
<add key="userid" value="NPetshop" />
<add key="password" value="ibatisnet" />
<add key="database" value="NPetshop" />
- <add key="datasource" value="(local)\NetSDK" />
+ <add key="datasource" value="TOMATE" />
</settings>