no message

main
HUOJIN\92525 2024-11-13 16:34:27 +08:00
parent 7f1a8da83f
commit 2b75a1c425
585 changed files with 121 additions and 13 deletions

4
.gitignore vendored
View File

@ -1 +1,3 @@
/target
target/
.idea/
.settings/

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
lib/asm-2.2.jar 100644

Binary file not shown.

Binary file not shown.

BIN
lib/catalina-ha.jar 100644

Binary file not shown.

Binary file not shown.

BIN
lib/catalina.jar 100644

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
lib/dbunit-2.1.jar 100644

Binary file not shown.

BIN
lib/dom4j-1.6.1.jar 100644

Binary file not shown.

BIN
lib/ehcache-1.2.jar 100644

Binary file not shown.

BIN
lib/el-api.jar 100644

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
lib/jasper-el.jar 100644

Binary file not shown.

BIN
lib/jasper-jdt.jar 100644

Binary file not shown.

BIN
lib/jasper.jar 100644

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
lib/json-1.1.1.jar 100644

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
lib/jsp-api.jar 100644

Binary file not shown.

BIN
lib/jta-1.0.1.jar 100644

Binary file not shown.

BIN
lib/junit-4.12.jar 100644

Binary file not shown.

BIN
lib/jxl-2.6.jar 100644

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
lib/mail-1.3.2.jar 100644

Binary file not shown.

BIN
lib/msbase-2000.jar 100644

Binary file not shown.

Binary file not shown.

BIN
lib/msutil-2000.jar 100644

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
lib/odmg-3.0.jar 100644

Binary file not shown.

BIN
lib/ognl-2.6.5.jar 100644

Binary file not shown.

BIN
lib/ojdbc-14.jar 100644

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
lib/servlet-api.jar 100644

Binary file not shown.

BIN
lib/spring-2m.jar 100644

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
lib/telnetd-2.0.jar 100644

Binary file not shown.

Binary file not shown.

BIN
lib/tomcat-dbcp.jar 100644

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
lib/xalan-2.4.0.jar 100644

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,15 +1,14 @@
import com.dev.energy.client.utils.StringUtils;
import org.mortbay.http.SocketListener;
import org.mortbay.jetty.Server;
public class AjaxJettyLauncher {
protected int port = 8088;
protected String contextName = "thwms";
protected String deployPath = "";
protected String deployPath = null;
public static void main(String[] args) throws Exception {
AjaxJettyLauncher jl = new AjaxJettyLauncher();
jl.init();
jl.run();
}
@ -19,7 +18,8 @@ public class AjaxJettyLauncher {
protected void run() throws Exception {
Server server = new Server();
SocketListener listener = new SocketListener();
listener.setPort(getPort()); server.addListener(listener);
listener.setPort(getPort());
server.addListener(listener);
server.addWebApplication("/" + getContextName() , getDeployPath());
server.start();
}
@ -30,11 +30,10 @@ public class AjaxJettyLauncher {
protected String getContextName() {
return contextName;
}
protected String getDeployPath() {
if (deployPath.length() == 0) {
if (StringUtils.isEmpty(deployPath)) {
deployPath = "./target/" + contextName + "/";
}
return deployPath;

Some files were not shown because too many files have changed in this diff Show More