no message
							parent
							
								
									a57dfe4e32
								
							
						
					
					
						commit
						0ae0141a25
					
				| 
						 | 
					@ -0,0 +1,3 @@
 | 
				
			||||||
 | 
					target/
 | 
				
			||||||
 | 
					.idea/
 | 
				
			||||||
 | 
					.settings/
 | 
				
			||||||
										
											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.
										
									
								
							
										
											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.
										
									
								
							
										
											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.
										
									
								
							
										
											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.
										
									
								
							| 
						 | 
					@ -1,43 +1,39 @@
 | 
				
			||||||
 | 
					import com.dev.energy.client.utils.StringUtils;
 | 
				
			||||||
import org.mortbay.http.SocketListener;
 | 
					import org.mortbay.http.SocketListener;
 | 
				
			||||||
import org.mortbay.jetty.Server;
 | 
					import org.mortbay.jetty.Server;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import com.dev.stms.server.service.vehicle.AppManager;
 | 
					 | 
				
			||||||
import com.dev.stms.server.service.vehicle.pojo.DefaultAppManager;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
public class AjaxJettyLauncher {
 | 
					public class AjaxJettyLauncher {
 | 
				
			||||||
	protected int port = 8088;
 | 
						protected int port = 8088;
 | 
				
			||||||
	protected String contextName = "thtms";
 | 
						protected String contextName = "thtms";
 | 
				
			||||||
	protected String deployPath = "";
 | 
						protected String deployPath = null;
 | 
				
			||||||
	
 | 
					
 | 
				
			||||||
	public static void main(String[] args) throws Exception {
 | 
						public static void main(String[] args) throws Exception {
 | 
				
			||||||
		AjaxJettyLauncher jl = new AjaxJettyLauncher();
 | 
							AjaxJettyLauncher jl = new AjaxJettyLauncher();
 | 
				
			||||||
		jl.init();
 | 
					 | 
				
			||||||
		jl.run();
 | 
							jl.run();
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	
 | 
					
 | 
				
			||||||
	protected void init() {
 | 
						protected void init() {
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	
 | 
					
 | 
				
			||||||
	protected void run() throws Exception {
 | 
						protected void run() throws Exception {
 | 
				
			||||||
		Server server = new Server();
 | 
							Server server = new Server();
 | 
				
			||||||
		SocketListener listener = new SocketListener();
 | 
							SocketListener listener = new SocketListener();
 | 
				
			||||||
		listener.setPort(getPort()); 
 | 
							listener.setPort(getPort());
 | 
				
			||||||
		server.addListener(listener);
 | 
							server.addListener(listener);
 | 
				
			||||||
		server.addWebApplication("/" + getContextName() , getDeployPath());
 | 
							server.addWebApplication("/" + getContextName() , getDeployPath());
 | 
				
			||||||
		server.start();
 | 
							server.start();
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	
 | 
					
 | 
				
			||||||
	protected int getPort() {
 | 
						protected int getPort() {
 | 
				
			||||||
		return port;
 | 
							return port;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	
 | 
					
 | 
				
			||||||
	protected String getContextName() {
 | 
						protected String getContextName() {
 | 
				
			||||||
		return contextName;
 | 
							return contextName;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	
 | 
					
 | 
				
			||||||
	protected String getDeployPath() {
 | 
						protected String getDeployPath() {
 | 
				
			||||||
		if (deployPath.length() == 0) {
 | 
							if (StringUtils.isEmpty(deployPath)) {
 | 
				
			||||||
			deployPath = "./target/" + contextName + "/";
 | 
								deployPath = "./target/" + contextName + "/";
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		return deployPath;
 | 
							return deployPath;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,33 +0,0 @@
 | 
				
			||||||
/0A28F8F478484F023BE40A2C81BDB213.cache.html
 | 
					 | 
				
			||||||
/548CDF11D6FE9011F3447CA200D7FB7F.cache.png
 | 
					 | 
				
			||||||
/5FD9B3A562360A2F37F2BFEC788DF8CE.gwt.rpc
 | 
					 | 
				
			||||||
/6A78DAF7318804B41125967BB0F3E42F.cache.html
 | 
					 | 
				
			||||||
/6DD3558FBD8478C9D2F453FA4EC17188.gwt.rpc
 | 
					 | 
				
			||||||
/6FE682106BFF7C3B2AB310C462A073DC.cache.html
 | 
					 | 
				
			||||||
/907DFFE9188944362B4742BAEC2F7B81.cache.html
 | 
					 | 
				
			||||||
/9DA92932034707C17CFF15F95086D53F.cache.png
 | 
					 | 
				
			||||||
/A7CD51F9E5A7DED5F85AD1D82BA67A8A.cache.png
 | 
					 | 
				
			||||||
/ApplicationWindow.css
 | 
					 | 
				
			||||||
/ApplicationWindow.html
 | 
					 | 
				
			||||||
/F02AAC2312918BD524C42F2F3ABD31E1.cache.html
 | 
					 | 
				
			||||||
/GwtExt.css
 | 
					 | 
				
			||||||
/ReportCenter.css
 | 
					 | 
				
			||||||
/ReportCenter.html
 | 
					 | 
				
			||||||
/STMS.css
 | 
					 | 
				
			||||||
/STMS.html
 | 
					 | 
				
			||||||
/WEB-INF/
 | 
					 | 
				
			||||||
/clear.cache.gif
 | 
					 | 
				
			||||||
/com.dev.stms.STMS.nocache.js
 | 
					 | 
				
			||||||
/css/
 | 
					 | 
				
			||||||
/gwt-hosted.html
 | 
					 | 
				
			||||||
/history.html
 | 
					 | 
				
			||||||
/hosted.html
 | 
					 | 
				
			||||||
/images/
 | 
					 | 
				
			||||||
/loadReport.html
 | 
					 | 
				
			||||||
/reportError.html
 | 
					 | 
				
			||||||
/richtext/
 | 
					 | 
				
			||||||
/runqianReport4Applet.jar
 | 
					 | 
				
			||||||
/scripts/
 | 
					 | 
				
			||||||
/setupLicense.html
 | 
					 | 
				
			||||||
/setupLicenseError.html
 | 
					 | 
				
			||||||
/setupLicenseExpired.html
 | 
					 | 
				
			||||||
										
											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.
										
									
								
							
										
											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.
										
									
								
							
										
											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.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							Some files were not shown because too many files have changed in this diff Show More
		Loading…
	
		Reference in New Issue