Author: snjeza
Date: 2009-01-26 02:52:40 -0500 (Mon, 26 Jan 2009)
New Revision: 13265
Modified:
branches/jbosstools-3.0.0.CR2/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java
Log:
JBIDE-3627 Exception while creating second war archive for Seam war project
Modified:
branches/jbosstools-3.0.0.CR2/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java
===================================================================
---
branches/jbosstools-3.0.0.CR2/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java 2009-01-25
22:38:47 UTC (rev 13264)
+++
branches/jbosstools-3.0.0.CR2/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java 2009-01-26
07:52:40 UTC (rev 13265)
@@ -192,8 +192,7 @@
*/
private void addNewPackageActions (IMenuManager manager) {
//workaround for JBIDE-3016
- if( manager.getItems().length > 0)
- return;
+ manager.removeAll();
for( int i = 0; i < newPackageActions.length; i++ ) {
NewArchiveAction action = newPackageActions[i];
Show replies by date