Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
yujianwangzivayy
MaxKey
提交
889cc23e
MaxKey
项目概览
yujianwangzivayy
/
MaxKey
与 Fork 源项目一致
Fork自
MaxKey单点登录官方(MaxKeyTop) / MaxKey
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
MaxKey
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
889cc23e
编写于
2月 20, 2021
作者:
M
MaxKey
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update jars
上级
bc2fcb7a
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
13 addition
and
11 deletion
+13
-11
build.gradle
build.gradle
+2
-2
gradle.properties
gradle.properties
+5
-3
maxkey-common/src/main/java/org/maxkey/util/PathUtils.java
maxkey-common/src/main/java/org/maxkey/util/PathUtils.java
+6
-6
未找到文件。
build.gradle
浏览文件 @
889cc23e
...
...
@@ -157,7 +157,7 @@ subprojects {
compile
group:
'org.apache.httpcomponents'
,
name:
'httpcore'
,
version:
'4.4.13'
compile
group:
'org.apache.velocity'
,
name:
'velocity'
,
version:
'1.7'
compile
group:
'velocity'
,
name:
'velocity-dep'
,
version:
'1.4'
compile
group:
'org.freemarker'
,
name:
'freemarker'
,
version:
'2.3.3
0
'
compile
group:
'org.freemarker'
,
name:
'freemarker'
,
version:
'2.3.3
1
'
compile
group:
'org.apache.xmlbeans'
,
name:
'xmlbeans'
,
version:
'3.0.1'
compile
group:
'org.apache.commons'
,
name:
'commons-compress'
,
version:
'1.20'
compile
group:
'org.apache.poi'
,
name:
'poi'
,
version:
"${poiVersion}"
...
...
@@ -360,7 +360,7 @@ subprojects {
compile
group:
'com.tencentcloudapi'
,
name:
'tencentcloud-sdk-java'
,
version:
'3.1.33'
//tomcat embed Core Tomcat implementation
compile
group:
'org.apache.tomcat.embed'
,
name:
'tomcat-embed-core'
,
version:
'9.0.4
1
'
compile
group:
'org.apache.tomcat.embed'
,
name:
'tomcat-embed-core'
,
version:
'9.0.4
3
'
//JULI logging implementation for embedded Tomcat
compile
group:
'org.apache.tomcat.embed'
,
name:
'tomcat-embed-logging-juli'
,
version:
'8.5.2'
}
...
...
gradle.properties
浏览文件 @
889cc23e
#maxkey properties
group
=
maxkey.top
version
=
2.6.0
vendor
=
https://www.maxkey.top
author
=
maxkeyTop
#Version For use jar
log4jVersion
=
2.14.0
springVersion
=
5.3.
3
springBootVersion
=
2.4.
2
springSecurityVersion
=
5.4.
2
springVersion
=
5.3.
4
springBootVersion
=
2.4.
3
springSecurityVersion
=
5.4.
5
springDataVersion
=
2.4.1
springSessionVersion
=
2.4.1
hibernateVersion
=
6.2.0.Final
...
...
maxkey-common/src/main/java/org/maxkey/util/PathUtils.java
浏览文件 @
889cc23e
...
...
@@ -36,7 +36,7 @@ public class PathUtils {
public
static
synchronized
PathUtils
getInstance
()
{
if
(
instance
==
null
)
{
instance
=
new
PathUtils
();
PathUtils
.
_logger
.
debug
(
"getInstance()"
+
" new PathUtils instance"
);
PathUtils
.
_logger
.
trace
(
"getInstance()"
+
" new PathUtils instance"
);
}
return
instance
;
}
...
...
@@ -50,13 +50,13 @@ public class PathUtils {
PathUtils
.
class
.
getResource
(
PATH_FILE_NAME
).
getFile
(),
"UTF-8"
);
_logger
.
debug
(
"PathUtils() PathUtils "
+
classPath
);
_logger
.
trace
(
"PathUtils() PathUtils "
+
classPath
);
}
catch
(
UnsupportedEncodingException
e
)
{
e
.
printStackTrace
();
}
String
fileProtocol
=
PathUtils
.
class
.
getResource
(
PATH_FILE_NAME
).
getProtocol
();
_logger
.
info
(
"Properties Protocol:"
_logger
.
trace
(
"Properties Protocol:"
+
PathUtils
.
class
.
getResource
(
"PathUtils.properties"
).
getProtocol
());
if
(
fileProtocol
.
equalsIgnoreCase
(
"file"
)
&&
classPath
.
indexOf
(
"file:"
)
==
0
)
{
...
...
@@ -70,7 +70,7 @@ public class PathUtils {
classPath
=
classPath
.
substring
(
5
,
classPath
.
length
());
}
_logger
.
info
(
"PathUtils Class Path : "
+
classPath
);
_logger
.
trace
(
"PathUtils Class Path : "
+
classPath
);
classPath
=
classPath
.
substring
(
0
,
classPath
.
indexOf
(
"/org/maxkey/util/"
+
PATH_FILE_NAME
));
if
(
classPath
.
indexOf
(
WEB_INFO
)
==
-
1
)
{
...
...
@@ -82,8 +82,8 @@ public class PathUtils {
System
.
setProperty
(
"APP_PATH"
,
appPath
);
System
.
setProperty
(
"CLASSES_PATH"
,
classPath
);
_logger
.
info
(
"PathUtils App Path : "
+
appPath
);
_logger
.
info
(
"PathUtils Class Path : "
+
classPath
);
_logger
.
trace
(
"PathUtils App Path : "
+
appPath
);
_logger
.
debug
(
"PathUtils Class Path : "
+
classPath
);
}
public
String
getAppPath
()
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录