JBoss Tools SVN: r2089 - trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/packages.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2007-06-01 12:26:04 -0400 (Fri, 01 Jun 2007)
New Revision: 2089
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/packages/PackageModuleFactory.java
Log:
preferences were not being persisted
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/packages/PackageModuleFactory.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/packages/PackageModuleFactory.java 2007-06-01 00:00:28 UTC (rev 2088)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/packages/PackageModuleFactory.java 2007-06-01 16:26:04 UTC (rev 2089)
@@ -36,6 +36,7 @@
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.Status;
+import org.eclipse.core.runtime.preferences.IEclipsePreferences;
import org.eclipse.core.runtime.preferences.InstanceScope;
import org.eclipse.wst.server.core.IModule;
import org.eclipse.wst.server.core.internal.ModuleFactory;
@@ -50,6 +51,7 @@
import org.jboss.ide.eclipse.archives.core.model.IArchive;
import org.jboss.ide.eclipse.archives.core.model.IArchiveNode;
import org.jboss.ide.eclipse.as.core.JBossServerCorePlugin;
+import org.osgi.service.prefs.BackingStoreException;
/**
*
@@ -143,7 +145,12 @@
new InstanceScope().getNode(JBossServerCorePlugin.PLUGIN_ID).getInt(NEXT_ARCHIVE_KEY, 0);
}
nextArchiveId++;
- new InstanceScope().getNode(JBossServerCorePlugin.PLUGIN_ID).putInt(NEXT_ARCHIVE_KEY, nextArchiveId);
+ IEclipsePreferences prefs = new InstanceScope().getNode(JBossServerCorePlugin.PLUGIN_ID);
+ prefs.putInt(NEXT_ARCHIVE_KEY, nextArchiveId);
+ try {
+ prefs.flush();
+ } catch( BackingStoreException bse ) {
+ }
return MODULE_ID_PROPERTY_KEY + "." + nextArchiveId;
} else if( propVal == null ) {
return null;
17 years, 6 months
JBoss Tools SVN: r2088 - trunk/as/plugins/org.jboss.ide.eclipse.as.ui/icons.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2007-05-31 20:00:28 -0400 (Thu, 31 May 2007)
New Revision: 2088
Added:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/icons/logo42.gif
Log:
EXIN-172 (4.2 icon)
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/icons/logo42.gif
===================================================================
(Binary files differ)
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/icons/logo42.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 6 months