DBE: use DB product code

This commit is contained in:
Gregory.Shrago
2014-06-23 21:34:54 +04:00
parent 8a11dc5b23
commit c6220ff4d1
2 changed files with 4 additions and 0 deletions
@@ -34,6 +34,7 @@ public class PlatformUtils {
public static final String RUBY_PREFIX = PlatformUtilsCore.RUBY_PREFIX;
public static final String PHP_PREFIX = PlatformUtilsCore.PHP_PREFIX;
public static final String WEB_PREFIX = PlatformUtilsCore.WEB_PREFIX;
public static final String DBE_PREFIX = PlatformUtilsCore.DBE_PREFIX;
private PlatformUtils() { }
@@ -168,6 +168,9 @@ public class PluginRunConfiguration extends RunConfigurationBase implements Modu
else if (buildNumber.startsWith("CP")) {
prefix = PlatformUtils.CPP_PREFIX;
}
else if (buildNumber.startsWith("DB")) {
prefix = PlatformUtils.DBE_PREFIX;
}
if (prefix != null) {
vm.defineProperty(PlatformUtils.PLATFORM_PREFIX_KEY, prefix);