Commit e7da5f08 authored by Liang Ding's avatar Liang Ding
parent 92b769ae
...@@ -105,10 +105,10 @@ public final class SoloServletListener extends AbstractServletListener { ...@@ -105,10 +105,10 @@ public final class SoloServletListener extends AbstractServletListener {
@Override @Override
public void contextInitialized(final ServletContextEvent servletContextEvent) { public void contextInitialized(final ServletContextEvent servletContextEvent) {
Stopwatchs.start("Context Initialized");
super.contextInitialized(servletContextEvent); super.contextInitialized(servletContextEvent);
Stopwatchs.start("Context Initialized");
// Default to skin "ease", loads from preference later // Default to skin "ease", loads from preference later
Skins.setDirectoryForTemplateLoading("ease"); Skins.setDirectoryForTemplateLoading("ease");
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
# #
# Description: B3log Latke configurations. Configures the section "Server" carefully. # Description: B3log Latke configurations. Configures the section "Server" carefully.
# Version: 1.0.0.9, May 27, 2013 # Version: 1.0.1.0, Jun 25, 2013
# Author: Liang Ding # Author: Liang Ding
# #
...@@ -33,6 +33,10 @@ staticServerPort=8080 ...@@ -33,6 +33,10 @@ staticServerPort=8080
contextPath= contextPath=
staticPath= staticPath=
#### IoC ####
# See https://github.com/b3log/b3log-latke/issues/17 for more details
scanPath=org.b3log.solo
#### Runtime Environment #### #### Runtime Environment ####
runtimeEnv=BAE runtimeEnv=BAE
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
# #
# Description: B3log Latke configurations. Configures the section "Server" carefully. # Description: B3log Latke configurations. Configures the section "Server" carefully.
# Version: 1.0.0.7, Apr 1, 2013 # Version: 1.0.0.8, Jun 25, 2013
# Author: Liang Ding # Author: Liang Ding
# #
...@@ -33,6 +33,10 @@ staticServerPort=8080 ...@@ -33,6 +33,10 @@ staticServerPort=8080
contextPath= contextPath=
staticPath= staticPath=
#### IoC ####
# See https://github.com/b3log/b3log-latke/issues/17 for more details
scanPath=org.b3log.solo
#### Runtime Environment #### #### Runtime Environment ####
runtimeEnv=GAE runtimeEnv=GAE
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
# #
# Description: B3log Latke configurations. Configures the section "Server" carefully. # Description: B3log Latke configurations. Configures the section "Server" carefully.
# Version: 1.0.0.7, Apr 1, 2013 # Version: 1.0.0.8, Jun 25, 2013
# Author: Liang Ding # Author: Liang Ding
# #
...@@ -33,6 +33,10 @@ staticServerPort=8080 ...@@ -33,6 +33,10 @@ staticServerPort=8080
contextPath= contextPath=
staticPath= staticPath=
#### IoC ####
# See https://github.com/b3log/b3log-latke/issues/17 for more details
scanPath=org.b3log.solo
#### Runtime Environment #### #### Runtime Environment ####
runtimeEnv=LOCAL runtimeEnv=LOCAL
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
# #
# Description: B3log Latke configurations. Configures the section "Server" carefully. # Description: B3log Latke configurations. Configures the section "Server" carefully.
# Version: 1.0.0.7, Apr 1, 2013 # Version: 1.0.0.8, Jun 25, 2013
# Author: Liang Ding # Author: Liang Ding
# #
...@@ -33,6 +33,10 @@ staticServerPort=8080 ...@@ -33,6 +33,10 @@ staticServerPort=8080
contextPath= contextPath=
staticPath= staticPath=
#### IoC ####
# See https://github.com/b3log/b3log-latke/issues/17 for more details
scanPath=org.b3log.solo
#### Runtime Environment #### #### Runtime Environment ####
runtimeEnv=LOCAL runtimeEnv=LOCAL
......
...@@ -27,7 +27,7 @@ log4j.appender.stdout.Target=System.out ...@@ -27,7 +27,7 @@ log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=[%-5p]-[%d{yyyy-MM-dd HH:mm:ss}]-[%c:%L]: %m%n log4j.appender.stdout.layout.ConversionPattern=[%-5p]-[%d{yyyy-MM-dd HH:mm:ss}]-[%c:%L]: %m%n
log4j.logger.org.b3log.solo=INFO log4j.logger.org.b3log.solo=DEBUG
log4j.logger.org.b3log.latke=TRACE log4j.logger.org.b3log.latke=DEBUG
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
--> -->
<!-- <!--
Description: B3log Solo web deployment descriptor. Description: B3log Solo web deployment descriptor.
Version: 1.0.4.10, Jan 15, 2013 Version: 1.0.5.0, Jan 25, 2013
Author: Liang Ding Author: Liang Ding
--> -->
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
...@@ -99,14 +99,6 @@ ...@@ -99,14 +99,6 @@
<servlet> <servlet>
<servlet-name>HTTPRequestDispatcher</servlet-name> <servlet-name>HTTPRequestDispatcher</servlet-name>
<servlet-class>org.b3log.latke.servlet.HTTPRequestDispatcher</servlet-class> <servlet-class>org.b3log.latke.servlet.HTTPRequestDispatcher</servlet-class>
<!-- Latke Request Processors Scan -->
<!-- See https://github.com/b3log/b3log-latke/issues/17 for more details -->
<init-param>
<param-name>scanPath</param-name>
<param-value>org.b3log.solo</param-value>
</init-param>
<load-on-startup>2</load-on-startup> <load-on-startup>2</load-on-startup>
</servlet> </servlet>
<servlet-mapping> <servlet-mapping>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment