no message

main
HUOJIN\92525 2024-11-13 13:16:06 +08:00
parent 62df2ed6f7
commit ed74794dea
762 changed files with 6 additions and 20 deletions

4
.gitignore vendored
View File

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

View File

@ -1,30 +1,14 @@
import com.dev.energy.client.utils.StringUtils;
import java.text.SimpleDateFormat;
import java.util.Date;
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;
import com.dev.stms.server.utils.DateUtil;
public class AjaxJettyLauncher { public class AjaxJettyLauncher {
protected int port = 8088; protected int port = 8088;
protected String contextName = "cqtms"; protected String contextName = "cqtms";
protected String deployPath = ""; protected String deployPath = null;
public static void main(String[] args) throws Exception { public static void main(String[] args) throws Exception {
// SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
// Date d =new Date();
// String dd =format.format(d);
// Date ddd;
// ddd = format.parse(dd);
// System.out.println("dd>>>> "+dd);
// System.out.println("ddd>>> "+ddd);
// System.out.println(DateUtil.getFirstHourOFDay());
AjaxJettyLauncher jl = new AjaxJettyLauncher(); AjaxJettyLauncher jl = new AjaxJettyLauncher();
jl.init();
jl.run(); jl.run();
} }
@ -49,7 +33,7 @@ public class AjaxJettyLauncher {
} }
protected String getDeployPath() { protected String getDeployPath() {
if (deployPath.length() == 0) { if (StringUtils.isEmpty(deployPath)) {
deployPath = "./target/" + contextName + "/"; deployPath = "./target/" + contextName + "/";
} }
return deployPath; return deployPath;

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