13 lines
774 B
Bash
Executable File
13 lines
774 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# 设置项目根目录
|
|
PROJECT_ROOT=$(pwd)
|
|
|
|
# 设置classpath
|
|
CLASSPATH="$PROJECT_ROOT/healthlink-his-application/target/classes:$PROJECT_ROOT/healthlink-his-domain/target/classes:$PROJECT_ROOT/healthlink-his-common/target/classes:$PROJECT_ROOT/core-admin/target/classes:$PROJECT_ROOT/core-framework/target/classes:$PROJECT_ROOT/core-system/target/classes:$PROJECT_ROOT/core-quartz/target/classes:$PROJECT_ROOT/core-generator/target/classes:$PROJECT_ROOT/core-flowable/target/classes:$PROJECT_ROOT/core-common/target/classes"
|
|
|
|
# 添加所有依赖jar包
|
|
export CLASSPATH="$CLASSPATH:$(find $PROJECT_ROOT/healthlink-his-application/target/dependency -name '*.jar' | tr '\n' ':')"
|
|
|
|
# 启动应用
|
|
java -cp "$CLASSPATH" com.healthlink.his.HealthLinkHisApplication |