Toggle navigation
Toggle navigation
This project
Loading...
Sign in
tao.mo
/
installIClear
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
tao.mo
2023-07-26 17:27:33 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5469ca52fc94a1dc773556ca8d1b15ebf39443c4
5469ca52
1 parent
04672483
打包小程序
mt 2023年7月26日17:27:28
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
0 deletions
src/Main.java → src/com/erry/Main.java
src/com/erry/utils/ConfigUtils.java
sys_config.properties
src/Main.java
→
src/
com/erry/
Main.java
View file @
5469ca5
package
com
.
erry
;
public
class
Main
{
public
static
void
main
(
String
[]
args
){
}
}
...
...
src/com/erry/utils/ConfigUtils.java
0 → 100644
View file @
5469ca5
package
com
.
erry
.
utils
;
import
java.io.BufferedReader
;
import
java.io.InputStream
;
import
java.io.InputStreamReader
;
import
java.util.Properties
;
public
class
ConfigUtils
{
public
static
String
readSysProperty
(
String
key
)
{
Properties
properties
=
new
Properties
();
String
value
=
""
;
try
{
InputStream
inputStream
=
Object
.
class
.
getResourceAsStream
(
"/sys_config.properties"
);
InputStreamReader
isr
=
new
InputStreamReader
(
inputStream
,
"GBK"
);
BufferedReader
br
=
new
BufferedReader
(
isr
);
properties
.
load
(
br
);
value
=
properties
.
getProperty
(
key
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
return
value
;
}
}
sys_config.properties
0 → 100644
View file @
5469ca5
#需要打包项目地址
project_address
=
D:/workspace/prjIClear
#需要保留目录
reserve_folder
=
\ No newline at end of file
Please
register
or
login
to post a comment