Commit 864730e0 authored by Romain Bioteau's avatar Romain Bioteau

deactive custom page cache by default

parent bc5e7176
......@@ -3,7 +3,6 @@
<product name="Bonita Studio" uid="org.bonitasoft.studio.product" id="org.bonitasoft.studio.product" application="org.bonitasoft.studio.application.application" version="7.8.0.qualifier" useFeatures="true" includeLaunchers="true">
<configIni use="default">
</configIni>
......@@ -13,7 +12,7 @@
<programArgsLin>--launcher.GTK_version
2
</programArgsLin>
<vmArgs>-Xmx512m -Xms512m -Dosgi.requiredJavaVersion=1.8 -Dfile.encoding=UTF8 -Dtomcat.extra.params=&quot;-DnoCacheCustomPage=true&quot;
<vmArgs>-Xmx512m -Xms512m -Dosgi.requiredJavaVersion=1.8 -Dfile.encoding=UTF8
</vmArgs>
<vmArgsLin>-Djava.endorsed.dirs=endorsed
</vmArgsLin>
......@@ -38,7 +37,6 @@
</win>
</launcher>
<vm>
<linux include="false">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</linux>
<macos include="false">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</macos>
......
......@@ -22,15 +22,10 @@ import org.eclipse.debug.ui.DebugUITools;
import org.eclipse.jface.dialogs.MessageDialogWithToggle;
import org.eclipse.jface.preference.IPreferenceStore;
/**
* @author Romain Bioteau
*/
public class EnginePreferencesInitializer extends AbstractPreferenceInitializer {
/*
* (non-Javadoc)
* @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences()
*/
@Override
public void initializeDefaultPreferences() {
final IPreferenceStore store = EnginePlugin.getDefault().getPreferenceStore();
......@@ -43,6 +38,7 @@ public class EnginePreferencesInitializer extends AbstractPreferenceInitializer
store.setDefault(DesignerPreferenceConstants.FORCE_INTERNAL_FORM_MAPPING, true);
store.setDefault(EnginePreferenceConstants.LAZYLOAD_ENGINE, false);
store.setDefault(EnginePreferenceConstants.TOMCAT_XMX_OPTION, 512);
store.setDefault(EnginePreferenceConstants.TOMCAT_EXTRA_PARAMS, "-DnoCacheCustomPage=true");
DebugUITools.getPreferenceStore().setValue(
org.eclipse.debug.internal.ui.IInternalDebugUIConstants.PREF_SAVE_DIRTY_EDITORS_BEFORE_LAUNCH,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment