From 8fa9a6cae732d096b4246f1f79820db2212ffc49 Mon Sep 17 00:00:00 2001 From: hieplq Date: Wed, 30 Aug 2017 13:34:39 +0700 Subject: [PATCH] IDEMPIERE-3136:all stuff relate library of idempiere correct debug setting. separate zk configuration on development environemnt and product environment https://www.zkoss.org/wiki/ZK_Configuration_Reference/zk.xml/The_Library_Properties/org.zkoss.zk.config.path --- org.adempiere.server-feature/server.product | 6 +----- .../server.product.launch | 6 +++--- org.adempiere.ui.zk/WEB-INF/zk.xml | 3 +-- zk.xml | 20 +++++++++++++++++++ 4 files changed, 25 insertions(+), 10 deletions(-) create mode 100644 zk.xml diff --git a/org.adempiere.server-feature/server.product b/org.adempiere.server-feature/server.product index df7d6a27a5..9537f6dd6f 100644 --- a/org.adempiere.server-feature/server.product +++ b/org.adempiere.server-feature/server.product @@ -3,14 +3,13 @@ - -console - -Xbootclasspath/p:alpn-boot.jar -Declipse.product=org.adempiere.server.product -Dosgi.noShutdown=true -Dosgi.framework.activeThreadType=normal -Dorg.osgi.framework.bootdelegation=sun.security.ssl,org.eclipse.jetty.alpn -Dosgi.compatibility.bootdelegation=true -Djetty.home=jettyhome -Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-ssl-context.xml,etc/jetty-http.xml,etc/jetty-alpn.xml,etc/jetty-http2.xml,etc/jetty-https.xml -Dmail.mime.encodefilename=true -Dmail.mime.decodefilename=true -Dmail.mime.encodeparameters=true -Dmail.mime.decodeparameters=true -Dhazelcast.config=hazelcast.xml + -Xbootclasspath/p:alpn-boot.jar -Declipse.product=org.adempiere.server.product -Dosgi.noShutdown=true -Dosgi.framework.activeThreadType=normal -Dorg.osgi.framework.bootdelegation=sun.security.ssl,org.eclipse.jetty.alpn -Dosgi.compatibility.bootdelegation=true -Djetty.home=jettyhome -Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-ssl-context.xml,etc/jetty-http.xml,etc/jetty-alpn.xml,etc/jetty-http2.xml,etc/jetty-https.xml -Dmail.mime.encodefilename=true -Dmail.mime.decodefilename=true -Dmail.mime.encodeparameters=true -Dmail.mime.decodeparameters=true -Dhazelcast.config=hazelcast.xml -Dorg.zkoss.zk.config.path=file://${workspace_loc}/zk.xml -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts @@ -18,15 +17,12 @@ - - - org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8 diff --git a/org.adempiere.server-feature/server.product.launch b/org.adempiere.server-feature/server.product.launch index 88883053ff..756ab8a8bd 100644 --- a/org.adempiere.server-feature/server.product.launch +++ b/org.adempiere.server-feature/server.product.launch @@ -22,13 +22,13 @@ - + - - + + diff --git a/org.adempiere.ui.zk/WEB-INF/zk.xml b/org.adempiere.ui.zk/WEB-INF/zk.xml index 99b769d197..2d2fb558d7 100644 --- a/org.adempiere.ui.zk/WEB-INF/zk.xml +++ b/org.adempiere.ui.zk/WEB-INF/zk.xml @@ -24,8 +24,7 @@ - - true + 500 diff --git a/zk.xml b/zk.xml new file mode 100644 index 0000000000..bb7495b189 --- /dev/null +++ b/zk.xml @@ -0,0 +1,20 @@ + + + + + org.zkoss.web.classWebResource.cache + false + + + org.zkoss.zk.WPD.cache + false + + + org.zkoss.zk.WCS.cache + false + + + + true + +