标签:osc ESS 编译 mod note turn 产品 pre error
public static boolean isDevelopVersion() { boolean isDevVer = false; try { Class cls = Class.forName("com.kingdee.bos.license.BOSLicenseUtils"); Object obj = cls.newInstance(); Method method = cls.getMethod("isDevelopVersion", null); Object val = method.invoke(obj, null); if ((val != null) && (val instanceof Boolean)) isDevVer = ((Boolean)val).booleanValue(); else isDevVer = true; } catch (ClassNotFoundException e) { LogTool.logError("error", e); isDevVer = true; } catch (InstantiationException e) { LogTool.logError("error", e); isDevVer = false; } catch (IllegalAccessException e) { LogTool.logError("error", e); isDevVer = false; } catch (SecurityException e) { LogTool.logError("error", e); isDevVer = false; } catch (NoSuchMethodException e) { LogTool.logError("error", e); isDevVer = true; } catch (IllegalArgumentException e) { LogTool.logError("error", e); isDevVer = false; } catch (InvocationTargetException e) { LogTool.logError("error", e); isDevVer = false; } return isDevVer; }
BOS studio二开模式改为产品模式,数据表命名CT, 字段命名CF, 主键名CFK等相关命名,都将使用产品模式
D:\kingdee\bos\BOSModular\boscommon\eclipse\plugins\com.kingdee.bos.boslicense_6.1.0\boslicense.jar
package com.kingdee.bos.license; public class BOSLicenseUtils { public static boolean isDevelopVersion() { return true; } }
标签:osc ESS 编译 mod note turn 产品 pre error
原文地址:https://www.cnblogs.com/duomi/p/13168237.html