Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo
Commits
e7da5f08
Commit
e7da5f08
authored
Jun 25, 2013
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#268
Latke 启动方式修改配合改造
https://github.com/b3log/b3log-latke/issues/28#issuecomment-19956320
parent
92b769ae
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
147 additions
and
139 deletions
+147
-139
core/src/main/java/org/b3log/solo/SoloServletListener.java
core/src/main/java/org/b3log/solo/SoloServletListener.java
+2
-2
war/bae/src/main/resources/latke.properties
war/bae/src/main/resources/latke.properties
+5
-1
war/gae/src/main/resources/latke.properties
war/gae/src/main/resources/latke.properties
+5
-1
war/h2/src/main/resources/latke.properties
war/h2/src/main/resources/latke.properties
+5
-1
war/mysql/src/main/resources/latke.properties
war/mysql/src/main/resources/latke.properties
+5
-1
war/src/main/resources/log4j.properties
war/src/main/resources/log4j.properties
+2
-2
war/src/main/webapp/WEB-INF/web.xml
war/src/main/webapp/WEB-INF/web.xml
+123
-131
No files found.
core/src/main/java/org/b3log/solo/SoloServletListener.java
View file @
e7da5f08
...
...
@@ -105,10 +105,10 @@ public final class SoloServletListener extends AbstractServletListener {
@Override
public
void
contextInitialized
(
final
ServletContextEvent
servletContextEvent
)
{
Stopwatchs
.
start
(
"Context Initialized"
);
super
.
contextInitialized
(
servletContextEvent
);
Stopwatchs
.
start
(
"Context Initialized"
);
// Default to skin "ease", loads from preference later
Skins
.
setDirectoryForTemplateLoading
(
"ease"
);
...
...
war/bae/src/main/resources/latke.properties
View file @
e7da5f08
...
...
@@ -16,7 +16,7 @@
#
# 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
#
...
...
@@ -33,6 +33,10 @@ staticServerPort=8080
contextPath
=
staticPath
=
#### IoC ####
# See https://github.com/b3log/b3log-latke/issues/17 for more details
scanPath
=
org.b3log.solo
#### Runtime Environment ####
runtimeEnv
=
BAE
...
...
war/gae/src/main/resources/latke.properties
View file @
e7da5f08
...
...
@@ -16,7 +16,7 @@
#
# 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
#
...
...
@@ -33,6 +33,10 @@ staticServerPort=8080
contextPath
=
staticPath
=
#### IoC ####
# See https://github.com/b3log/b3log-latke/issues/17 for more details
scanPath
=
org.b3log.solo
#### Runtime Environment ####
runtimeEnv
=
GAE
...
...
war/h2/src/main/resources/latke.properties
View file @
e7da5f08
...
...
@@ -16,7 +16,7 @@
#
# 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
#
...
...
@@ -33,6 +33,10 @@ staticServerPort=8080
contextPath
=
staticPath
=
#### IoC ####
# See https://github.com/b3log/b3log-latke/issues/17 for more details
scanPath
=
org.b3log.solo
#### Runtime Environment ####
runtimeEnv
=
LOCAL
...
...
war/mysql/src/main/resources/latke.properties
View file @
e7da5f08
...
...
@@ -16,7 +16,7 @@
#
# 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
#
...
...
@@ -33,6 +33,10 @@ staticServerPort=8080
contextPath
=
staticPath
=
#### IoC ####
# See https://github.com/b3log/b3log-latke/issues/17 for more details
scanPath
=
org.b3log.solo
#### Runtime Environment ####
runtimeEnv
=
LOCAL
...
...
war/src/main/resources/log4j.properties
View file @
e7da5f08
...
...
@@ -27,7 +27,7 @@ log4j.appender.stdout.Target=System.out
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.logger.org.b3log.solo
=
INFO
log4j.logger.org.b3log.solo
=
DEBUG
log4j.logger.org.b3log.latke
=
TRACE
log4j.logger.org.b3log.latke
=
DEBUG
war/src/main/webapp/WEB-INF/web.xml
View file @
e7da5f08
...
...
@@ -18,7 +18,7 @@
-->
<!--
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
-->
<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 @@
<servlet>
<servlet-name>
HTTPRequestDispatcher
</servlet-name>
<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>
</servlet>
<servlet-mapping>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment