Commits

Roman Dawydkin committed 279950d Merge

Merge Release 1.3.1

  • Participants
  • Parent commits 13bdf64, 1e5a005
  • Tags v1.3.1

Comments (0)

Files changed (94)

+/EclipseRunner/bin

EclipseRunner/META-INF/MANIFEST.MF

 Bundle-ManifestVersion: 2
 Bundle-Name: EclipseRunner
 Bundle-SymbolicName: EclipseRunner;singleton:=true
-Bundle-Version: 1.3.0
+Bundle-Version: 1.3.1.qualifier
 Bundle-Activator: com.eclipserunner.RunnerPlugin
 Require-Bundle: org.eclipse.ui,
  org.eclipse.ui.ide;bundle-version="3.6.2",

EclipseRunner/bin/com/eclipserunner/Messages.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/PreferenceConstants.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/RunnerPlugin$RunnerSaveParticipant.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/RunnerPlugin.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/RunnerStateExternalizer.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/SuiteAllRunnerTests.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/matchers/RunnerMatchers$IsILaunchConfiguration.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/matchers/RunnerMatchers$IsILaunchConfigurationCategory.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/matchers/RunnerMatchers$IsILaunchConfigurationNode.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/matchers/RunnerMatchers.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/messages.properties

-Message_runConfiguration=Run
-Message_runConfigurationTooltip=Run selected configuration
-Message_openRunConfigurationsDialog=Open run configurations ...
-Message_openRunConfigurationsDialogTooltip=Open run configurations dialog ...
-
-Message_debugConfiguration=Debug
-Message_debugConfigurationTooltip=Debug selected configuration
-Message_openDebugConfigurationsDialog=Open debug configurations ...
-Message_openDebugConfigurationsDialogTooltip=Open debug configurations dialog ...
-
-Message_addNewCategory=Add new category ...
-Message_addNewCategoryTooltip=Add new empty category ...
-
-Message_uncategorized=Uncategorized
-
-Message_categoryDialogTitle=New category
-Message_categoryDialogMessage=Enter name for new category
-
-Message_collapseAll=Collapse all
-Message_collapseAllTooltip=Collapse all tree nodes
-
-Message_expandAll=Expand all
-Message_expandAllTooltip=Expand all tree nodes
-
-Message_rename=Rename
-Message_renameTooltip=Rename category or launch configuration
-Message_renameLaunchConfiguration=Rename launch configuration
-Message_renameCategory=Rename category
-
-Message_remove=Remove
-Message_removeTooltip=Remove item
-Message_removeConfirmTitle=Confirm removal
-Message_removeConfirmPrompt=Remove all selected items?
-
-Message_bookmark=Bookmark
-Message_bookmarkTooltip=Bookmark selected item
-
-Message_unbookmark=Unbookmark
-Message_unbookmarkTooltip=Unbookmark selected item
-
-Message_toggleBookmarkMode=Show bookmarked
-Message_toggleBookmarkModeTooltip=Show only bookmarked launch configurations
-
-Message_treeModeFlat=Flat tree
-Message_treeModeFlatTooltip=Show tree in flat structure
-Message_treeModeWithTypes=Tree with types
-Message_treeModeWithTypesTooltip=Show tree in hierarchical structure with config types
-
-Message_createToggleDefaultCategory=Toggle default category
-Message_createToggleDefaultCategoryTooltip=Toggle default category
-
-Message_createToggleDefaultRunMode=Toggle default run mode
-Message_createToggleDefaultRunModeTooltip=Toggle default run mode
-
-Message_error=Error
-Message_errorCatogoryEmptyName=Category name cannot be empty
-Message_errorCategoryAlreadyExists=Category with given name already exists
-Message_errorLaunchConfigurationEmptyName=Launch configuration name cannot be empty
-Message_errorLaunchConfigurationAlreadyExists=Launch configuration with given name already exists
-

EclipseRunner/bin/com/eclipserunner/model/IActionEnablement.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/IBookmarkable.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/ICategoryNode.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/ICategoryNodeChangeListener.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/IFilteredRunnerModel.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/ILaunchNode.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/ILaunchNodeChangeListener.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/ILaunchTypeNode.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/IModelChangeListener.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/INodeFilter.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/INodeSelection.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/IRunnerModel.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/RunnerModelProvider.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/adapters/BaseAdapterTest.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/adapters/RunnerModelJdtSelectionListenerAdapter.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/adapters/RunnerModelLaunchConfigurationListenerAdapter.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/adapters/RunnerModelTreeAdapter.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/adapters/RunnerModelTreeAdapterTest.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/adapters/RunnerModelTreeWithTypesAdapter.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/adapters/TreeWithTypesAdapterTest.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/common/AbstractFilter.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/common/CategoryDelegatingDecorator.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/common/RunnerModelDelegatingDecorator.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/filters/BookmarkFilter.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/filters/BookmarkFilterTest.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/filters/CategoryFilteringDecorator.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/filters/ClosedProjectsFilter.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/filters/DefaultCategoryFilter.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/filters/DefaultCategoryFilterTest.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/filters/DeletedProjectsFilter.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/filters/ProjectFilter.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/filters/RunnerModelFilteringDecorator.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/filters/WorkingSetFilter.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/impl/CategoryNode$LaunchNodeComparator.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/impl/CategoryNode.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/impl/LaunchNode.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/impl/LaunchTypeNode.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/impl/RunnerModel$ICategoryNodeComparator.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/impl/RunnerModel.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/model/impl/RunnerModelTest.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/ui/dnd/RunnerViewDragListener.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/ui/dnd/RunnerViewDropListener.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/utils/SelectionUtils.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/utils/SelectionUtilsTest$Dummy.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/utils/SelectionUtilsTest$ExtDummy.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/utils/SelectionUtilsTest$IDummy.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/utils/SelectionUtilsTest.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/IRunnerView.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/TreeMode.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/actions/AbstractLaunchAction.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/actions/AddNewCategoryAction.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/actions/BookmarkAction.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/actions/BookmarkActionTest.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/actions/CollapseAllAction.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/actions/ExpandAllAction.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/actions/LaunchActionBuilder.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/actions/LaunchConfigurationAction.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/actions/RemoveConfigOrCategoryAction.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/actions/RenameConfigOrCategoryAction.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/actions/ShowLaunchConfigurationsDialogAction.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/actions/ToggleFilterAction.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/actions/ToggleRunModeAction.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/actions/ToggleTreeModeAction.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/impl/LaunchTreeLabelProvider.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/impl/RunnerView$1.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/impl/RunnerView$2.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/impl/RunnerView$3.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/impl/RunnerView.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/impl/RunnerViewTest.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/validators/CategoryNameValidator.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/validators/CategoryNameValidatorTest.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/validators/LaunchConfigurationNameValidator.class

Binary file removed.

EclipseRunner/bin/com/eclipserunner/views/validators/LaunchConfigurationNameValidatorTest.class

Binary file removed.

EclipseRunner/bin/eclipserunner/Activator.class

Binary file removed.

EclipseRunner/src/com/eclipserunner/views/impl/RunnerViewSelection.java

 package com.eclipserunner.views.impl;
 
+import com.eclipserunner.RunnerPlugin;
+import com.eclipserunner.model.IActionEnablement;
+import com.eclipserunner.model.ILaunchNode;
+import com.eclipserunner.model.INodeSelection;
+import com.eclipserunner.utils.SelectionUtils;
 import java.util.Collections;
 import java.util.List;
-
 import org.eclipse.core.resources.IFile;
 import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.ILog;
+import org.eclipse.core.runtime.Status;
 import org.eclipse.debug.core.ILaunchConfiguration;
 import org.eclipse.jface.viewers.IStructuredSelection;
 import org.eclipse.jface.viewers.TreeViewer;
 
-import com.eclipserunner.model.IActionEnablement;
-import com.eclipserunner.model.ILaunchNode;
-import com.eclipserunner.model.INodeSelection;
-import com.eclipserunner.utils.SelectionUtils;
-
 // TODO [LW] remove selection utils
 public class RunnerViewSelection implements INodeSelection {
 
 		}
 		return false;
 	}
-	
+
 	public <T> List<T> getSelectedNodesByType(Class<T> clazz) {
 		if (allNodesHaveSameType() && firstNodeHasType(clazz)) {
 			return findSelectedNodesByType(clazz);
 	public boolean canBeBookmarked() {
 		return allNodesHaveSameType();
 	}
-	
+
 	public boolean canBeOpened() {
 		if (hasExactlyOneNode() && firstNodeHasType(ILaunchNode.class)) {
 			ILaunchNode launchNode = getFirstNodeAs(ILaunchNode.class);
 			ILaunchConfiguration configuration = launchNode.getLaunchConfiguration();
 			try {
-				for (IResource res : configuration.getMappedResources()) {
+				final IResource[] resources = configuration.getMappedResources();
+				if (resources == null) {
+                    return false;
+                }
+                for (IResource res : resources) {
 					if (res instanceof IFile) {
 						return true;
 					}
 				}
-			} catch (CoreException e) {
+			} catch (Exception e) {
+			    final ILog log = RunnerPlugin.getDefault().getLog();
+			    log.log(new Status(Status.ERROR, RunnerPlugin.PLUGIN_ID,
+			            "Error getting mapped resources from configuration", e));
 				return false;
 			}
 		}
 	<T> List<T> findSelectedNodesByType(Class<T> type) {
 		return SelectionUtils.getAllSelectedItemsByType(getSelection(), type);
 	}
-	
+
 	private IStructuredSelection getSelection() {
 		return (IStructuredSelection) treeViewer.getSelection();
 	}

EclipseRunnerFeature/feature.xml

-<?xml version="1.0" encoding="UTF-8"?>
-<feature
-      id="EclipseRunnerFeature"
-      label="EclipseRunnerFeature"
-      version="1.3.0"
-      provider-name="EclipseRunner">
-
-   <plugin
-         id="EclipseRunner"
-         download-size="0"
-         install-size="0"
-         version="1.3.0"
-         unpack="false"/>
-
-</feature>
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+      id="EclipseRunnerFeature"
+      label="EclipseRunnerFeature"
+      version="1.3.1.qualifier"
+      provider-name="EclipseRunner">
+
+   <plugin
+         id="EclipseRunner"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"
+         unpack="false"/>
+
+</feature>

EclipseRunnerSite/artifacts.jar

Binary file modified.

EclipseRunnerSite/content.jar

Binary file modified.

EclipseRunnerSite/features/EclipseRunnerFeature_1.3.1.201307152336.jar

Binary file added.

EclipseRunnerSite/plugins/EclipseRunner_1.3.1.201307152336.jar

Binary file added.

EclipseRunnerSite/site.xml

-<?xml version="1.0" encoding="UTF-8"?>
-<site>
-   <feature url="features/EclipseRunnerFeature_1.3.0.jar" id="EclipseRunnerFeature" version="1.3.0">
-      <category name="EclipseRunner"/>
-   </feature>
-   <category-def name="EclipseRunner" label="EclipseRunner"/>
-</site>
+<?xml version="1.0" encoding="UTF-8"?>
+<site>
+   <feature url="features/EclipseRunnerFeature_1.3.1.201307152336.jar" id="EclipseRunnerFeature" version="1.3.1.201307152336">
+      <category name="EclipseRunner"/>
+   </feature>
+   <category-def name="EclipseRunner" label="EclipseRunner"/>
+</site>