Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.mylyn.oslc.core/.classpath7
-rw-r--r--org.eclipse.mylyn.oslc.core/.project45
-rw-r--r--org.eclipse.mylyn.oslc.core/.settings/org.eclipse.core.runtime.prefs2
-rw-r--r--org.eclipse.mylyn.oslc.core/.settings/org.eclipse.jdt.core.prefs364
-rw-r--r--org.eclipse.mylyn.oslc.core/.settings/org.eclipse.jdt.ui.prefs63
-rw-r--r--org.eclipse.mylyn.oslc.core/.settings/org.eclipse.ltk.core.refactoring.prefs3
-rw-r--r--org.eclipse.mylyn.oslc.core/.settings/org.eclipse.mylyn.tasks.ui.prefs4
-rw-r--r--org.eclipse.mylyn.oslc.core/.settings/org.eclipse.mylyn.team.ui.prefs2
-rw-r--r--org.eclipse.mylyn.oslc.core/.settings/org.eclipse.pde.prefs18
-rw-r--r--org.eclipse.mylyn.oslc.core/META-INF/MANIFEST.MF17
-rw-r--r--org.eclipse.mylyn.oslc.core/about.html27
-rw-r--r--org.eclipse.mylyn.oslc.core/build.properties18
-rw-r--r--org.eclipse.mylyn.oslc.core/plugin.properties12
-rw-r--r--org.eclipse.mylyn.oslc.core/pom.xml30
-rw-r--r--org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/IOslcConnector.java31
-rw-r--r--org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/IOslcCoreConstants.java102
-rw-r--r--org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/OslcCreationDialogDescriptor.java57
-rw-r--r--org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/OslcSelectionDialogDescriptor.java111
-rw-r--r--org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/OslcServiceDescriptor.java213
-rw-r--r--org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/OslcServiceFactory.java91
-rw-r--r--org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/OslcServiceProvider.java37
-rw-r--r--org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/OslcServiceProviderCatalog.java24
-rw-r--r--org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/ServiceContributor.java54
-rw-r--r--org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/ServiceHome.java40
-rw-r--r--org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/client/AbstractOslcClient.java639
-rw-r--r--org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/cm/AbstractChangeRequest.java102
-rw-r--r--org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/cm/Messages.java27
-rw-r--r--org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/cm/messages.properties11
-rw-r--r--org.eclipse.mylyn.oslc.tests/.classpath11
-rw-r--r--org.eclipse.mylyn.oslc.tests/.project45
-rw-r--r--org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.core.runtime.prefs2
-rw-r--r--org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.jdt.core.prefs371
-rw-r--r--org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.jdt.ui.prefs63
-rw-r--r--org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.ltk.core.refactoring.prefs3
-rw-r--r--org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.mylyn.tasks.ui.prefs4
-rw-r--r--org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.mylyn.team.ui.prefs2
-rw-r--r--org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.pde.prefs18
-rw-r--r--org.eclipse.mylyn.oslc.tests/META-INF/MANIFEST.MF19
-rw-r--r--org.eclipse.mylyn.oslc.tests/about.html27
-rw-r--r--org.eclipse.mylyn.oslc.tests/build.properties18
-rw-r--r--org.eclipse.mylyn.oslc.tests/plugin.properties12
-rw-r--r--org.eclipse.mylyn.oslc.tests/pom.xml22
-rw-r--r--org.eclipse.mylyn.oslc.tests/src/org/eclipse/mylyn/oslc/cm/tests/RtcOlscTest.java135
-rw-r--r--org.eclipse.mylyn.oslc.tests/src/org/eclipse/mylyn/oslc/cm/tests/ServiceDiscoveryTest.java148
-rw-r--r--org.eclipse.mylyn.oslc.tests/src/org/eclipse/mylyn/oslc/cm/tests/SimpleQueryTest.java108
-rw-r--r--org.eclipse.mylyn.oslc.tests/xml/change-request.xml98
-rw-r--r--org.eclipse.mylyn.oslc.tests/xml/query-response.xml2
-rw-r--r--org.eclipse.mylyn.oslc.tests/xml/service-descriptor.xml150
-rw-r--r--org.eclipse.mylyn.oslc.tests/xml/service-provider-catalog.xml17
-rw-r--r--org.eclipse.mylyn.oslc.ui/.classpath7
-rw-r--r--org.eclipse.mylyn.oslc.ui/.project45
-rw-r--r--org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.core.runtime.prefs2
-rw-r--r--org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.jdt.core.prefs364
-rw-r--r--org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.jdt.ui.prefs63
-rw-r--r--org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.ltk.core.refactoring.prefs3
-rw-r--r--org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.mylyn.tasks.ui.prefs4
-rw-r--r--org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.mylyn.team.ui.prefs2
-rw-r--r--org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.pde.prefs18
-rw-r--r--org.eclipse.mylyn.oslc.ui/META-INF/MANIFEST.MF17
-rw-r--r--org.eclipse.mylyn.oslc.ui/about.html27
-rw-r--r--org.eclipse.mylyn.oslc.ui/build.properties17
-rw-r--r--org.eclipse.mylyn.oslc.ui/plugin.properties13
-rw-r--r--org.eclipse.mylyn.oslc.ui/pom.xml30
-rw-r--r--org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/Messages.java31
-rw-r--r--org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcRepositorySettingsPage.java195
-rw-r--r--org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcServiceDiscoveryProvider.java170
-rw-r--r--org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcServiceDiscoveryWizard.java64
-rw-r--r--org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcServiceDiscoveryWizardDialog.java27
-rw-r--r--org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcServiceDiscoveryWizardPage.java108
-rw-r--r--org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcServiceLabelProvider.java55
-rw-r--r--org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/messages.properties14
-rw-r--r--org.eclipse.mylyn.sdk-feature/feature.xml28
-rw-r--r--org.eclipse.mylyn.test-feature/feature.xml14
-rw-r--r--pom.xml3
74 files changed, 0 insertions, 4747 deletions
diff --git a/org.eclipse.mylyn.oslc.core/.classpath b/org.eclipse.mylyn.oslc.core/.classpath
deleted file mode 100644
index ad32c83a7..000000000
--- a/org.eclipse.mylyn.oslc.core/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/org.eclipse.mylyn.oslc.core/.project b/org.eclipse.mylyn.oslc.core/.project
deleted file mode 100644
index 2c69a4685..000000000
--- a/org.eclipse.mylyn.oslc.core/.project
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.mylyn.oslc.core</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
- </natures>
- <filteredResources>
- <filter>
- <id>1367109048408</id>
- <name></name>
- <type>10</type>
- <matcher>
- <id>org.eclipse.ui.ide.multiFilter</id>
- <arguments>1.0-projectRelativePath-matches-false-false-target</arguments>
- </matcher>
- </filter>
- </filteredResources>
-</projectDescription>
diff --git a/org.eclipse.mylyn.oslc.core/.settings/org.eclipse.core.runtime.prefs b/org.eclipse.mylyn.oslc.core/.settings/org.eclipse.core.runtime.prefs
deleted file mode 100644
index 5a0ad22d2..000000000
--- a/org.eclipse.mylyn.oslc.core/.settings/org.eclipse.core.runtime.prefs
+++ /dev/null
@@ -1,2 +0,0 @@
-eclipse.preferences.version=1
-line.separator=\n
diff --git a/org.eclipse.mylyn.oslc.core/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.mylyn.oslc.core/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 6b83a21de..000000000
--- a/org.eclipse.mylyn.oslc.core/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,364 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.codeComplete.argumentPrefixes=
-org.eclipse.jdt.core.codeComplete.argumentSuffixes=
-org.eclipse.jdt.core.codeComplete.fieldPrefixes=
-org.eclipse.jdt.core.codeComplete.fieldSuffixes=
-org.eclipse.jdt.core.codeComplete.localPrefixes=
-org.eclipse.jdt.core.codeComplete.localSuffixes=
-org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
-org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.6
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=warning
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
-org.eclipse.jdt.core.compiler.problem.fatalOptionalError=enabled
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=warning
-org.eclipse.jdt.core.compiler.problem.nullReference=error
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning
-org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
-org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
-org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.6
-org.eclipse.jdt.core.compiler.taskCaseSensitive=enabled
-org.eclipse.jdt.core.compiler.taskPriorities=NORMAL,HIGH,NORMAL
-org.eclipse.jdt.core.compiler.taskTags=TODO,FIXME,XXX
-org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_assignment=0
-org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
-org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=48
-org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
-org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
-org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
-org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
-org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80
-org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=80
-org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16
-org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
-org.eclipse.jdt.core.formatter.blank_lines_after_package=1
-org.eclipse.jdt.core.formatter.blank_lines_before_field=1
-org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
-org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
-org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
-org.eclipse.jdt.core.formatter.blank_lines_before_method=1
-org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
-org.eclipse.jdt.core.formatter.blank_lines_before_package=0
-org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
-org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
-org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines=false
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=true
-org.eclipse.jdt.core.formatter.comment.format_block_comments=false
-org.eclipse.jdt.core.formatter.comment.format_comments=true
-org.eclipse.jdt.core.formatter.comment.format_header=false
-org.eclipse.jdt.core.formatter.comment.format_html=true
-org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
-org.eclipse.jdt.core.formatter.comment.format_line_comments=false
-org.eclipse.jdt.core.formatter.comment.format_source_code=true
-org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
-org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
-org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
-org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
-org.eclipse.jdt.core.formatter.comment.line_length=120
-org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
-org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
-org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
-org.eclipse.jdt.core.formatter.compact_else_if=true
-org.eclipse.jdt.core.formatter.continuation_indentation=2
-org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
-org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
-org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
-org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
-org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
-org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
-org.eclipse.jdt.core.formatter.indent_empty_lines=false
-org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
-org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
-org.eclipse.jdt.core.formatter.indentation.size=4
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert
-org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
-org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
-org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
-org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.join_lines_in_comments=true
-org.eclipse.jdt.core.formatter.join_wrapped_lines=true
-org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
-org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
-org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
-org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
-org.eclipse.jdt.core.formatter.lineSplit=120
-org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=true
-org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=true
-org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
-org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
-org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
-org.eclipse.jdt.core.formatter.tabulation.char=tab
-org.eclipse.jdt.core.formatter.tabulation.size=4
-org.eclipse.jdt.core.formatter.use_on_off_tags=false
-org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
-org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
-org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
-org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
diff --git a/org.eclipse.mylyn.oslc.core/.settings/org.eclipse.jdt.ui.prefs b/org.eclipse.mylyn.oslc.core/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index e2834b278..000000000
--- a/org.eclipse.mylyn.oslc.core/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,63 +0,0 @@
-#Wed Mar 02 16:00:04 PST 2011
-cleanup_settings_version=2
-eclipse.preferences.version=1
-editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
-formatter_profile=_Mylyn based on Eclipse
-formatter_settings_version=12
-internal.default.compliance=default
-org.eclipse.jdt.ui.exception.name=e
-org.eclipse.jdt.ui.gettersetter.use.is=true
-org.eclipse.jdt.ui.javadoc=false
-org.eclipse.jdt.ui.keywordthis=false
-org.eclipse.jdt.ui.overrideannotation=true
-org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\r\n * @return the ${bare_field_name}\r\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\r\n * @param ${param} the ${bare_field_name} to set\r\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/**\r\n * \r\n */</template><template autoinsert\="false" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\r\n * @author ${user}\r\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\r\n * \r\n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment"/><template autoinsert\="false" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">/*******************************************************************************\r\n * Copyright (c) ${year} Tasktop Technologies and others.\r\n * All rights reserved. This program and the accompanying materials\r\n * are made available under the terms of the Eclipse Public License v1.0\r\n * which accompanies this distribution, and is available at\r\n * http\://www.eclipse.org/legal/epl-v10.html\r\n *\r\n * Contributors\:\r\n * Tasktop Technologies - initial API and implementation\r\n *******************************************************************************/\r\n\r\n${package_declaration}\r\n\r\n${typecomment}\r\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\r\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\r\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\r\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\r\n</template><template autoinsert\="false" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\r\n${exception_var}.printStackTrace();</template><template autoinsert\="false" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">// ignore\r\n${body_statement}</template><template autoinsert\="false" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\r\n// ignore</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\r\n * ${tags}\r\n * ${see_to_target}\r\n */</template><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\r\n * @return the ${bare_field_name}\r\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\r\n * @param ${param} the ${bare_field_name} to set\r\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="filecomment_context" deleted\="false" description\="Comment for created JavaScript files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.filecomment" name\="filecomment">/**\r\n * \r\n */</template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\r\n * @author ${user}\r\n *\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for vars" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\r\n * \r\n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="overridecomment_context" deleted\="false" description\="Comment for overriding functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/* (non-Jsdoc)\r\n * ${see_to_overridden}\r\n */</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\r\n * ${tags}\r\n * ${see_to_target}\r\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\r\n${package_declaration}\r\n\r\n${typecomment}\r\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.classbody" name\="classbody">\r\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\r\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.enumbody" name\="enumbody">\r\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\r\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\r\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created function stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated function stub\r\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\r\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates>
-sp_cleanup.add_default_serial_version_id=true
-sp_cleanup.add_generated_serial_version_id=false
-sp_cleanup.add_missing_annotations=true
-sp_cleanup.add_missing_deprecated_annotations=true
-sp_cleanup.add_missing_methods=false
-sp_cleanup.add_missing_nls_tags=false
-sp_cleanup.add_missing_override_annotations=true
-sp_cleanup.add_serial_version_id=false
-sp_cleanup.always_use_blocks=true
-sp_cleanup.always_use_parentheses_in_expressions=false
-sp_cleanup.always_use_this_for_non_static_field_access=false
-sp_cleanup.always_use_this_for_non_static_method_access=false
-sp_cleanup.convert_to_enhanced_for_loop=true
-sp_cleanup.correct_indentation=true
-sp_cleanup.format_source_code=true
-sp_cleanup.format_source_code_changes_only=false
-sp_cleanup.make_local_variable_final=false
-sp_cleanup.make_parameters_final=false
-sp_cleanup.make_private_fields_final=true
-sp_cleanup.make_variable_declarations_final=true
-sp_cleanup.never_use_blocks=false
-sp_cleanup.never_use_parentheses_in_expressions=true
-sp_cleanup.on_save_use_additional_actions=true
-sp_cleanup.organize_imports=true
-sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
-sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
-sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
-sp_cleanup.qualify_static_member_accesses_with_declaring_class=true
-sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
-sp_cleanup.remove_private_constructors=true
-sp_cleanup.remove_trailing_whitespaces=true
-sp_cleanup.remove_trailing_whitespaces_all=true
-sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
-sp_cleanup.remove_unnecessary_casts=true
-sp_cleanup.remove_unnecessary_nls_tags=true
-sp_cleanup.remove_unused_imports=false
-sp_cleanup.remove_unused_local_variables=false
-sp_cleanup.remove_unused_private_fields=true
-sp_cleanup.remove_unused_private_members=false
-sp_cleanup.remove_unused_private_methods=true
-sp_cleanup.remove_unused_private_types=true
-sp_cleanup.sort_members=false
-sp_cleanup.sort_members_all=false
-sp_cleanup.use_blocks=true
-sp_cleanup.use_blocks_only_for_return_and_throw=false
-sp_cleanup.use_parentheses_in_expressions=false
-sp_cleanup.use_this_for_non_static_field_access=false
-sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
-sp_cleanup.use_this_for_non_static_method_access=false
-sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
diff --git a/org.eclipse.mylyn.oslc.core/.settings/org.eclipse.ltk.core.refactoring.prefs b/org.eclipse.mylyn.oslc.core/.settings/org.eclipse.ltk.core.refactoring.prefs
deleted file mode 100644
index 5e7f2bd47..000000000
--- a/org.eclipse.mylyn.oslc.core/.settings/org.eclipse.ltk.core.refactoring.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Tue Aug 18 22:42:26 PDT 2009
-eclipse.preferences.version=1
-org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false
diff --git a/org.eclipse.mylyn.oslc.core/.settings/org.eclipse.mylyn.tasks.ui.prefs b/org.eclipse.mylyn.oslc.core/.settings/org.eclipse.mylyn.tasks.ui.prefs
deleted file mode 100644
index d8c6d26af..000000000
--- a/org.eclipse.mylyn.oslc.core/.settings/org.eclipse.mylyn.tasks.ui.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-#Mon Jun 25 03:02:37 GMT 2007
-eclipse.preferences.version=1
-project.repository.kind=bugzilla
-project.repository.url=https\://bugs.eclipse.org/bugs
diff --git a/org.eclipse.mylyn.oslc.core/.settings/org.eclipse.mylyn.team.ui.prefs b/org.eclipse.mylyn.oslc.core/.settings/org.eclipse.mylyn.team.ui.prefs
deleted file mode 100644
index 10d0afb92..000000000
--- a/org.eclipse.mylyn.oslc.core/.settings/org.eclipse.mylyn.team.ui.prefs
+++ /dev/null
@@ -1,2 +0,0 @@
-commit.comment.template=${task.key}\: ${task.description}\n\nTask-Url\: ${task.url}
-eclipse.preferences.version=1
diff --git a/org.eclipse.mylyn.oslc.core/.settings/org.eclipse.pde.prefs b/org.eclipse.mylyn.oslc.core/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index e8f2d5620..000000000
--- a/org.eclipse.mylyn.oslc.core/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,18 +0,0 @@
-#Tue Apr 15 11:07:59 PDT 2008
-compilers.incompatible-environment=1
-compilers.p.build=1
-compilers.p.deprecated=1
-compilers.p.discouraged-class=2
-compilers.p.missing-bundle-classpath-entries=1
-compilers.p.missing-packages=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=2
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=0
-compilers.p.unknown-identifier=1
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/org.eclipse.mylyn.oslc.core/META-INF/MANIFEST.MF b/org.eclipse.mylyn.oslc.core/META-INF/MANIFEST.MF
deleted file mode 100644
index 0ccee7671..000000000
--- a/org.eclipse.mylyn.oslc.core/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,17 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %Bundle-Name
-Bundle-SymbolicName: org.eclipse.mylyn.oslc.core;singleton:=true
-Bundle-Version: 3.11.0.qualifier
-Bundle-Vendor: %Bundle-Vendor
-Require-Bundle: org.eclipse.core.runtime,
- org.eclipse.mylyn.tasks.core;bundle-version="[3.8.0,4.0.0)",
- org.eclipse.mylyn.commons.core;bundle-version="[3.8.0,4.0.0)",
- org.eclipse.mylyn.commons.net;bundle-version="[3.8.0,4.0.0)",
- org.jdom;bundle-version="1.0.0"
-Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Export-Package: org.eclipse.mylyn.internal.oslc.core;x-friends:="org.eclipse.mylyn.oslc.ui",
- org.eclipse.mylyn.internal.oslc.core.client;x-friends:="org.eclipse.mylyn.oslc.ui",
- org.eclipse.mylyn.internal.oslc.core.cm;x-friends:="org.eclipse.mylyn.oslc.ui"
-Bundle-ClassPath: .
-Bundle-Localization: plugin
diff --git a/org.eclipse.mylyn.oslc.core/about.html b/org.eclipse.mylyn.oslc.core/about.html
deleted file mode 100644
index d774b07c7..000000000
--- a/org.eclipse.mylyn.oslc.core/about.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>June 25, 2008</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was
-provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at <a href="/">http://www.eclipse.org</a>.</p>
-
-</body>
-</html> \ No newline at end of file
diff --git a/org.eclipse.mylyn.oslc.core/build.properties b/org.eclipse.mylyn.oslc.core/build.properties
deleted file mode 100644
index bdb461af2..000000000
--- a/org.eclipse.mylyn.oslc.core/build.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-###############################################################################
-# Copyright (c) 2009 Tasktop Technologies and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# Tasktop Technologies - initial API and implementation
-###############################################################################
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .,\
- about.html,\
- plugin.properties
-src.includes = about.html
-
diff --git a/org.eclipse.mylyn.oslc.core/plugin.properties b/org.eclipse.mylyn.oslc.core/plugin.properties
deleted file mode 100644
index 8d18c53a6..000000000
--- a/org.eclipse.mylyn.oslc.core/plugin.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-###############################################################################
-# Copyright (c) 2009, 2010 Tasktop Technologies and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# Tasktop Technologies - initial API and implementation
-###############################################################################
-Bundle-Vendor = Eclipse Mylyn
-Bundle-Name = Mylyn OSLC Core
diff --git a/org.eclipse.mylyn.oslc.core/pom.xml b/org.eclipse.mylyn.oslc.core/pom.xml
deleted file mode 100644
index 638d6895a..000000000
--- a/org.eclipse.mylyn.oslc.core/pom.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <artifactId>org.eclipse.mylyn.tasks-parent</artifactId>
- <groupId>org.eclipse.mylyn.tasks</groupId>
- <version>3.11.0-SNAPSHOT</version>
- </parent>
- <groupId>org.eclipse.mylyn.tasks</groupId>
- <artifactId>org.eclipse.mylyn.oslc.core</artifactId>
- <version>3.11.0-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-source-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-pmd-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/IOslcConnector.java b/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/IOslcConnector.java
deleted file mode 100644
index dbcae6a36..000000000
--- a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/IOslcConnector.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009 Tasktop Technologies and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.mylyn.internal.oslc.core;
-
-import java.util.List;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.mylyn.tasks.core.TaskRepository;
-
-/**
- * @author Robert Elves
- */
-public interface IOslcConnector {
-
- public List<OslcServiceProvider> getAvailableServices(TaskRepository repository, String url,
- IProgressMonitor monitor) throws CoreException;
-
- public OslcServiceDescriptor getServiceDescriptor(TaskRepository repository, OslcServiceProvider selectedPovider,
- IProgressMonitor monitor) throws CoreException;
-
-}
diff --git a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/IOslcCoreConstants.java b/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/IOslcCoreConstants.java
deleted file mode 100644
index 749c037c6..000000000
--- a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/IOslcCoreConstants.java
+++ /dev/null
@@ -1,102 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009, 2010 Tasktop Technologies and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.mylyn.internal.oslc.core;
-
-import org.jdom.Namespace;
-
-/**
- * @author Robert Elves
- */
-public interface IOslcCoreConstants {
-
- public static final String ID_PLUGIN = "org.eclipse.mylyn.oslc.core"; //$NON-NLS-1$
-
- // Task Repository property keys
-
- public static final String OSLC_BASEURL = "oslc.baseurl"; //$NON-NLS-1$
-
- //Namespaces
-
- public static final Namespace NAMESPACE_OSLC_CM_1_0 = Namespace.getNamespace(
- "oslc_cm", "http://open-services.net/xmlns/cm/1.0/"); //$NON-NLS-1$ //$NON-NLS-2$
-
- public static final Namespace NAMESPACE_OSLC_DISCOVERY_1_0 = Namespace.getNamespace(
- "oslc_disc", "http://open-services.net/xmlns/discovery/1.0/"); //$NON-NLS-1$ //$NON-NLS-2$
-
- public static final Namespace NAMESPACE_DC = Namespace.getNamespace("dc", "http://purl.org/dc/terms/"); //$NON-NLS-1$ //$NON-NLS-2$
-
- public static final Namespace NAMESPACE_RDF = Namespace.getNamespace(
- "rdf", "http://www.w3.org/1999/02/22-rdf-syntax-ns#"); //$NON-NLS-1$ //$NON-NLS-2$
-
- public static final Namespace NAMESPACE_ATOM = Namespace.getNamespace("atom", "http://www.w3.org/2005/Atom"); //$NON-NLS-1$ //$NON-NLS-2$
-
- public static final Namespace NAMESPACE_RTC_CM_1_0 = Namespace.getNamespace(
- "rtc_cm", "http://jazz.net/xmlns/prod/jazz/rtc/cm/1.0/"); //$NON-NLS-1$ //$NON-NLS-2$
-
- // Content types
-
- public static final String CONTENT_TYPE_CHANGE_REQUEST = "application/x-oslc-cm-change-request+xml"; //$NON-NLS-1$
-
- // XML element ids
- public static final String ELEMENT_SERVICE_PROVIDER_CATALOG = "ServiceProviderCatalog"; //$NON-NLS-1$
-
- public static final String ELEMENT_SERVICE_PROVIDER = "ServiceProvider"; //$NON-NLS-1$
-
- public static final String ELEMENT_CHANGEREQUEST = "ChangeRequest"; //$NON-NLS-1$
-
- public static final String ELEMENT_SERVICES = "services"; //$NON-NLS-1$
-
- public static final String ELEMENT_CREATIONDIALOG = "creationDialog"; //$NON-NLS-1$
-
- public static final String ELEMENT_SELECTIONDIALOG = "selectionDialog"; //$NON-NLS-1$
-
- public static final String ELEMENT_FACTORY = "factory"; //$NON-NLS-1$
-
- public static final String ELEMENT_HOME = "home"; //$NON-NLS-1$
-
- public static final String ELEMENT_TITLE = "title"; //$NON-NLS-1$
-
- public static final String ELEMENT_TYPE = "type"; //$NON-NLS-1$
-
- public static final String ELEMENT_IDENTIFIER = "identifier"; //$NON-NLS-1$
-
- public static final String ELEMENT_DESCRIPTION = "description"; //$NON-NLS-1$
-
- public static final String ELEMENT_CREATOR = "creator"; //$NON-NLS-1$
-
- public static final String ELEMENT_MODIFIED = "modified"; //$NON-NLS-1$
-
- public static final String ELEMENT_SUBJECT = "subject"; //$NON-NLS-1$
-
- public static final String ELEMENT_URL = "url"; //$NON-NLS-1$
-
- public static final String ELEMENT_SIMPLEQUERY = "simpleQuery"; //$NON-NLS-1$
-
- public static final String ELEMENT_LABEL = "label"; //$NON-NLS-1$
-
- // XML attribute ids
- public static final String ATTRIBUTE_RESOURCE = "resource"; //$NON-NLS-1$
-
- public static final String ATTRIBUTE_DEFAULT = "default"; //$NON-NLS-1$
-
- public static final String ATTRIBUTE_HINTWIDTH = "hintWidth"; //$NON-NLS-1$
-
- public static final String ATTRIBUTE_HINTHEIGHT = "hintHeight"; //$NON-NLS-1$
-
- public static final String ATTRIBUTE_ABOUT = "about"; //$NON-NLS-1$
-
- // Http header keys
- public static final String HEADER_ETAG = "ETag"; //$NON-NLS-1$
-
- public static final String HEADER_IF_MATCH = "If-Match"; //$NON-NLS-1$
-
-}
diff --git a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/OslcCreationDialogDescriptor.java b/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/OslcCreationDialogDescriptor.java
deleted file mode 100644
index fe9558ef8..000000000
--- a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/OslcCreationDialogDescriptor.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009 Tasktop Technologies and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.mylyn.internal.oslc.core;
-
-import java.io.Serializable;
-
-/**
- * @author Robert Elves
- */
-public class OslcCreationDialogDescriptor implements Serializable {
-
- private static final long serialVersionUID = 5159045583444273413L;
-
- private String title;
-
- private String relativeUrl;
-
- private boolean isDefault;
-
- public OslcCreationDialogDescriptor(String title, String relativeurl) {
- this.title = title;
- this.relativeUrl = relativeurl;
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-
- public String getTitle() {
- return title;
- }
-
- public String getUrl() {
- return relativeUrl;
- }
-
- public void setUrl(String url) {
- this.relativeUrl = url;
- }
-
- public boolean isDefault() {
- return isDefault;
- }
-
- public void setDefault(boolean isDefault) {
- this.isDefault = isDefault;
- }
-}
diff --git a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/OslcSelectionDialogDescriptor.java b/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/OslcSelectionDialogDescriptor.java
deleted file mode 100644
index 425325b7e..000000000
--- a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/OslcSelectionDialogDescriptor.java
+++ /dev/null
@@ -1,111 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009 Tasktop Technologies and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.mylyn.internal.oslc.core;
-
-import java.io.Serializable;
-
-/**
- * @see http://open-services.net/bin/view/Main/CmServiceDescriptionV1
- * @author Robert Elves
- */
-public class OslcSelectionDialogDescriptor implements Serializable {
-
- private static final long serialVersionUID = -7728392262241197918L;
-
- private boolean isDefault = false;
-
- private String hintWidth;
-
- private String hintHeight;
-
- private final String title;
-
- private final String url;
-
- private String label;
-
- public OslcSelectionDialogDescriptor(String title, String url) {
- this.title = title;
- this.url = url;
- }
-
- public void setDefault(boolean b) {
- this.isDefault = b;
- }
-
- public boolean isDefault() {
- return isDefault;
- }
-
- public String getHintWidth() {
- return hintWidth;
- }
-
- public void setHintWidth(String hintWidth) {
- this.hintWidth = hintWidth;
- }
-
- public String getHintHeight() {
- return hintHeight;
- }
-
- public void setHintHeight(String hintHeight) {
- this.hintHeight = hintHeight;
- }
-
- public String getLabel() {
- return label;
- }
-
- public void setLabel(String label) {
- this.label = label;
- }
-
- public String getTitle() {
- return title;
- }
-
- public String getUrl() {
- return url;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((url == null) ? 0 : url.hashCode());
- return result;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (!(obj instanceof OslcSelectionDialogDescriptor)) {
- return false;
- }
- OslcSelectionDialogDescriptor other = (OslcSelectionDialogDescriptor) obj;
- if (url == null) {
- if (other.url != null) {
- return false;
- }
- } else if (!url.equals(other.url)) {
- return false;
- }
- return true;
- }
-
-}
diff --git a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/OslcServiceDescriptor.java b/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/OslcServiceDescriptor.java
deleted file mode 100644
index decbcf6b8..000000000
--- a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/OslcServiceDescriptor.java
+++ /dev/null
@@ -1,213 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009, 2010 Tasktop Technologies and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.mylyn.internal.oslc.core;
-
-import java.io.Serializable;
-import java.util.Collections;
-import java.util.Set;
-import java.util.concurrent.CopyOnWriteArraySet;
-
-import org.eclipse.mylyn.internal.oslc.core.cm.Messages;
-
-/**
- * Could be considered equivalent to a repository configuration in Mylyn terminology. Model object for the OSLC Service
- * Descriptor document.
- *
- * @see http://open-services.net/bin/view/Main/CmServiceDescriptionV1
- * @author Robert Elves
- */
-public class OslcServiceDescriptor implements Serializable {
-
- private static final long serialVersionUID = -5981264972265788764L;
-
- private final Set<OslcCreationDialogDescriptor> creationDialogs;
-
- private final Set<OslcServiceFactory> serviceFactories;
-
- private final Set<OslcSelectionDialogDescriptor> selectionDialogs;
-
- private ServiceContributor contributor;
-
- private ServiceHome home;
-
- private String aboutUrl;
-
- private String simpleQueryUrl;
-
- private OslcServiceFactory defaultFactory;
-
- private OslcCreationDialogDescriptor defaultDialog;
-
- private String title;
-
- private String description;
-
- public OslcServiceDescriptor(String aboutUrl) {
- this.aboutUrl = aboutUrl;
- this.creationDialogs = new CopyOnWriteArraySet<OslcCreationDialogDescriptor>();
- this.serviceFactories = new CopyOnWriteArraySet<OslcServiceFactory>();
- this.selectionDialogs = new CopyOnWriteArraySet<OslcSelectionDialogDescriptor>();
- }
-
- public void clear() {
- this.creationDialogs.clear();
- this.serviceFactories.clear();
- this.selectionDialogs.clear();
- this.contributor = null;
- this.title = null;
- this.description = null;
- this.defaultFactory = null;
- this.simpleQueryUrl = null;
- }
-
- public Set<OslcCreationDialogDescriptor> getCreationDialogs() {
- return Collections.unmodifiableSet(creationDialogs);
- }
-
- public void addCreationDialog(OslcCreationDialogDescriptor descriptor) {
- creationDialogs.add(descriptor);
- if (descriptor.isDefault()) {
- defaultDialog = descriptor;
- }
- }
-
- public String getAboutUrl() {
- return aboutUrl;
- }
-
- public void setAboutUrl(String url) {
- this.aboutUrl = url;
- }
-
- public void setDefaultCreationDialog(OslcCreationDialogDescriptor defaultDialog) {
- this.defaultDialog = defaultDialog;
- }
-
- public OslcCreationDialogDescriptor getDefaultCreationDialog() {
- return defaultDialog;
- }
-
- public void setDefaultFactory(OslcServiceFactory factory) {
- this.defaultFactory = factory;
- }
-
- public OslcServiceFactory getDefaultFactory() {
- if (defaultFactory == null && !serviceFactories.isEmpty()) {
- return serviceFactories.iterator().next();
- }
- return defaultFactory;
- }
-
- public String getTitle() {
- if (title != null) {
- return title;
- } else {
- return Messages.OslcServiceDescriptor_Service_Available;
- }
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public String getDescription() {
- if (description != null) {
- return description;
- } else {
- return Messages.OslcServiceDescriptor_Service_Available;
- }
- }
-
- public String getSimpleQueryUrl() {
- return simpleQueryUrl;
- }
-
- public void setSimpleQueryUrl(String simpleQueryUrl) {
- this.simpleQueryUrl = simpleQueryUrl;
- }
-
- public Set<OslcSelectionDialogDescriptor> getSelectionDialogs() {
- return Collections.unmodifiableSet(selectionDialogs);
- }
-
- public void addSelectionDialog(OslcSelectionDialogDescriptor dialog) {
- selectionDialogs.add(dialog);
- }
-
- public OslcSelectionDialogDescriptor getDefaultSelectionDialog() {
- for (OslcSelectionDialogDescriptor dialog : selectionDialogs) {
- if (dialog.isDefault()) {
- return dialog;
- }
- }
- return null;
- }
-
- public Set<OslcServiceFactory> getFactories() {
- return Collections.unmodifiableSet(serviceFactories);
- }
-
- public void addServiceFactory(OslcServiceFactory factory) {
- serviceFactories.add(factory);
- }
-
- public void setContributor(ServiceContributor contributor) {
- this.contributor = contributor;
- }
-
- public ServiceContributor getContributor() {
- return this.contributor;
- }
-
- public void setHome(ServiceHome home) {
- this.home = home;
- }
-
- public ServiceHome getHome() {
- return home;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((aboutUrl == null) ? 0 : aboutUrl.hashCode());
- return result;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (!(obj instanceof OslcServiceDescriptor)) {
- return false;
- }
- OslcServiceDescriptor other = (OslcServiceDescriptor) obj;
- if (aboutUrl == null) {
- if (other.aboutUrl != null) {
- return false;
- }
- } else if (!aboutUrl.equals(other.aboutUrl)) {
- return false;
- }
- return true;
- }
-
-}
diff --git a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/OslcServiceFactory.java b/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/OslcServiceFactory.java
deleted file mode 100644
index 5a5b4dcaa..000000000
--- a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/OslcServiceFactory.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009 Tasktop Technologies and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.mylyn.internal.oslc.core;
-
-import java.io.Serializable;
-
-/**
- * @see http://open-services.net/bin/view/Main/CmServiceDescriptionV1
- * @author Robert Elves
- */
-public class OslcServiceFactory implements Serializable {
-
- private static final long serialVersionUID = -8495019838789015468L;
-
- private final String url;
-
- private final String title;
-
- private String label;
-
- private boolean isDefault;
-
- public OslcServiceFactory(String title, String url) {
- this.title = title;
- this.url = url;
- }
-
- public void setDefault(boolean isDefault) {
- this.isDefault = isDefault;
- }
-
- public boolean isDefault() {
- return this.isDefault;
- }
-
- public String getUrl() {
- return url;
- }
-
- public String getLabel() {
- return label;
- }
-
- public void setLabel(String l) {
- this.label = l;
- }
-
- public String getTitle() {
- return title;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((url == null) ? 0 : url.hashCode());
- return result;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (!(obj instanceof OslcServiceFactory)) {
- return false;
- }
- OslcServiceFactory other = (OslcServiceFactory) obj;
- if (url == null) {
- if (other.url != null) {
- return false;
- }
- } else if (!url.equals(other.url)) {
- return false;
- }
- return true;
- }
-
-}
diff --git a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/OslcServiceProvider.java b/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/OslcServiceProvider.java
deleted file mode 100644
index 73836430c..000000000
--- a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/OslcServiceProvider.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009 Tasktop Technologies and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.mylyn.internal.oslc.core;
-
-/**
- * @see http://open-services.net/bin/view/Main/OslcServiceProviderCatalogV1
- * @author Robert Elves
- */
-public class OslcServiceProvider {
-
- private final String name;
-
- private final String url;
-
- public OslcServiceProvider(String name, String url) {
- this.name = name;
- this.url = url;
- }
-
- public String getName() {
- return name;
- }
-
- public String getUrl() {
- return url;
- }
-
-}
diff --git a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/OslcServiceProviderCatalog.java b/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/OslcServiceProviderCatalog.java
deleted file mode 100644
index 22033f2e1..000000000
--- a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/OslcServiceProviderCatalog.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009 Tasktop Technologies and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.mylyn.internal.oslc.core;
-
-/**
- * @see http://open-services.net/bin/view/Main/OslcServiceProviderCatalogV1
- * @author Robert Elves
- */
-public class OslcServiceProviderCatalog extends OslcServiceProvider {
-
- public OslcServiceProviderCatalog(String name, String url) {
- super(name, url);
- }
-
-}
diff --git a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/ServiceContributor.java b/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/ServiceContributor.java
deleted file mode 100644
index cf1509f44..000000000
--- a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/ServiceContributor.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009 Tasktop Technologies and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.mylyn.internal.oslc.core;
-
-import java.io.Serializable;
-
-/**
- * @see http://open-services.net/bin/view/Main/CmServiceDescriptionV1
- * @author Robert Elves
- */
-public class ServiceContributor implements Serializable {
-
- private static final long serialVersionUID = -3975425402750114209L;
-
- private String title;
-
- private final String identifier;
-
- private String icon;
-
- public ServiceContributor(String identifier) {
- this.identifier = identifier;
- }
-
- public String getTitle() {
- return title;
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-
- public String getIdentifier() {
- return identifier;
- }
-
- public String getIcon() {
- return icon;
- }
-
- public void setIcon(String icon) {
- this.icon = icon;
- }
-
-}
diff --git a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/ServiceHome.java b/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/ServiceHome.java
deleted file mode 100644
index 045f645c6..000000000
--- a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/ServiceHome.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009 Tasktop Technologies and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.mylyn.internal.oslc.core;
-
-import java.io.Serializable;
-
-/**
- * @see http://open-services.net/bin/view/Main/CmServiceDescriptionV1
- * @author Robert Elves
- */
-public class ServiceHome implements Serializable {
-
- private static final long serialVersionUID = -723213938552650293L;
-
- private final String title;
-
- private final String url;
-
- public ServiceHome(String title, String url) {
- this.title = title;
- this.url = url;
- }
-
- public String getTitle() {
- return title;
- }
-
- public String getUrl() {
- return url;
- }
-}
diff --git a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/client/AbstractOslcClient.java b/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/client/AbstractOslcClient.java
deleted file mode 100644
index b34394a8d..000000000
--- a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/client/AbstractOslcClient.java
+++ /dev/null
@@ -1,639 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009, 2010 Tasktop Technologies and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.mylyn.internal.oslc.core.client;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.UnsupportedEncodingException;
-import java.net.URLEncoder;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Set;
-
-import org.apache.commons.httpclient.Credentials;
-import org.apache.commons.httpclient.Header;
-import org.apache.commons.httpclient.HostConfiguration;
-import org.apache.commons.httpclient.HttpClient;
-import org.apache.commons.httpclient.HttpMethodBase;
-import org.apache.commons.httpclient.URIException;
-import org.apache.commons.httpclient.auth.AuthScope;
-import org.apache.commons.httpclient.cookie.CookiePolicy;
-import org.apache.commons.httpclient.methods.GetMethod;
-import org.apache.commons.httpclient.methods.PostMethod;
-import org.apache.commons.httpclient.methods.PutMethod;
-import org.apache.commons.httpclient.methods.StringRequestEntity;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.core.runtime.SubProgressMonitor;
-import org.eclipse.mylyn.commons.net.AbstractWebLocation;
-import org.eclipse.mylyn.commons.net.AuthenticationCredentials;
-import org.eclipse.mylyn.commons.net.AuthenticationType;
-import org.eclipse.mylyn.commons.net.Policy;
-import org.eclipse.mylyn.commons.net.WebUtil;
-import org.eclipse.mylyn.internal.oslc.core.IOslcCoreConstants;
-import org.eclipse.mylyn.internal.oslc.core.OslcCreationDialogDescriptor;
-import org.eclipse.mylyn.internal.oslc.core.OslcSelectionDialogDescriptor;
-import org.eclipse.mylyn.internal.oslc.core.OslcServiceDescriptor;
-import org.eclipse.mylyn.internal.oslc.core.OslcServiceFactory;
-import org.eclipse.mylyn.internal.oslc.core.OslcServiceProvider;
-import org.eclipse.mylyn.internal.oslc.core.OslcServiceProviderCatalog;
-import org.eclipse.mylyn.internal.oslc.core.ServiceHome;
-import org.eclipse.mylyn.internal.oslc.core.cm.AbstractChangeRequest;
-import org.eclipse.mylyn.tasks.core.RepositoryResponse;
-import org.eclipse.mylyn.tasks.core.RepositoryResponse.ResponseKind;
-import org.eclipse.mylyn.tasks.core.data.TaskAttribute;
-import org.eclipse.mylyn.tasks.core.data.TaskAttributeMapper;
-import org.eclipse.mylyn.tasks.core.data.TaskData;
-import org.jdom.Attribute;
-import org.jdom.Document;
-import org.jdom.Element;
-import org.jdom.JDOMException;
-import org.jdom.filter.ElementFilter;
-import org.jdom.input.SAXBuilder;
-import org.jdom.output.Format;
-import org.jdom.output.XMLOutputter;
-
-/**
- * Base class from which to implement an OSLC client
- *
- * @author Robert Elves
- */
-public abstract class AbstractOslcClient {
-
- private static final String UTF_8 = "UTF-8"; //$NON-NLS-1$
-
- protected final AbstractWebLocation location;
-
- protected final HttpClient httpClient;
-
- protected final OslcServiceDescriptor configuration;
-
- public AbstractOslcClient(AbstractWebLocation location, OslcServiceDescriptor data) {
- this.location = location;
- this.httpClient = createHttpClient();
- this.configuration = data;
- configureHttpCredentials(location);
- }
-
- protected void configureHttpCredentials(AbstractWebLocation location) {
- AuthScope authScope = new AuthScope(WebUtil.getHost(location.getUrl()), WebUtil.getPort(location.getUrl()),
- null, AuthScope.ANY_SCHEME);
-
- AuthenticationCredentials credentials = location.getCredentials(AuthenticationType.REPOSITORY);
-
- if (credentialsValid(credentials)) {
- Credentials creds = WebUtil.getHttpClientCredentials(credentials, WebUtil.getHost(location.getUrl()));
- httpClient.getState().setCredentials(authScope, creds);
- this.httpClient.getParams().setAuthenticationPreemptive(true);
- } else {
- httpClient.getState().clearCredentials();
- }
- }
-
- protected boolean credentialsValid(AuthenticationCredentials credentials) {
- return credentials != null && credentials.getUserName().length() > 0;
- }
-
- protected HttpClient createHttpClient() {
- HttpClient httpClient = new HttpClient();
- httpClient.setHttpConnectionManager(WebUtil.getConnectionManager());
- httpClient.getParams().setCookiePolicy(CookiePolicy.RFC_2109);
-
- // See: https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=85127\
- // Added to support fix session cookie issue when talking to tomcat
- httpClient.getParams().setParameter("http.protocol.single-cookie-header", true); //$NON-NLS-1$
-
- WebUtil.configureHttpClient(httpClient, getUserAgent());
- return httpClient;
- }
-
- /**
- * Return your unique connector identifier i.e. com.mycompany.myconnector
- */
- public abstract String getUserAgent();
-
- /**
- * Exposed at connector level via IOslcCoreConnector.getAvailableServices()
- */
- public List<OslcServiceProvider> getAvailableServices(String url, IProgressMonitor monitor) throws CoreException {
-
- RequestHandler<List<OslcServiceProvider>> handler = new RequestHandler<List<OslcServiceProvider>>(
- "Requesting Available Services") { //$NON-NLS-1$
-
- @Override
- public List<OslcServiceProvider> run(HttpMethodBase method, IProgressMonitor monitor) throws CoreException {
- try {
- final List<OslcServiceProvider> result = new ArrayList<OslcServiceProvider>();
- parseServices(method.getResponseBodyAsStream(), result, monitor);
- return result;
- } catch (IOException e) {
- throw new CoreException(new Status(IStatus.ERROR, IOslcCoreConstants.ID_PLUGIN,
- "Network error occurred retrieving available services: " + e.getMessage(), e)); //$NON-NLS-1$
- }
- }
- };
-
- return executeMethod(createGetMethod(url), handler, monitor);
- }
-
- protected Document getDocumentFromMethod(HttpMethodBase method) throws CoreException {
- try {
- return getDocumentFromStream(method.getResponseBodyAsStream());
- } catch (IOException e) {
- throw new CoreException(new Status(IStatus.ERROR, IOslcCoreConstants.ID_PLUGIN,
- "Network error obtaining response from server: " + e.getMessage(), e)); //$NON-NLS-1$
- }
- }
-
- protected Document getDocumentFromStream(InputStream inStream) throws CoreException {
- SAXBuilder builder = new SAXBuilder();
- builder.setExpandEntities(false);
- try {
- return builder.build(inStream);
- } catch (JDOMException e) {
- throw new CoreException(new Status(IStatus.ERROR, IOslcCoreConstants.ID_PLUGIN,
- "Error parsing response: " + e.getMessage(), e)); //$NON-NLS-1$
- } catch (IOException e) {
- throw new CoreException(new Status(IStatus.ERROR, IOslcCoreConstants.ID_PLUGIN,
- "Network error parsing response: " + e.getMessage(), e)); //$NON-NLS-1$
- }
- }
-
- /**
- * public for testing
- */
- public void parseServices(InputStream inStream, Collection<OslcServiceProvider> providers, IProgressMonitor monitor)
- throws CoreException {
-
- Document doc = getDocumentFromStream(inStream);
-
- Iterator<?> itr = doc.getDescendants(new ElementFilter(IOslcCoreConstants.ELEMENT_SERVICE_PROVIDER_CATALOG));
- while (itr.hasNext()) {
- Element element = (Element) itr.next();
- if (element != doc.getRootElement()) {
- Attribute attrAbout = element.getAttribute(IOslcCoreConstants.ATTRIBUTE_ABOUT,
- IOslcCoreConstants.NAMESPACE_RDF);
- String title = element.getChild(IOslcCoreConstants.ELEMENT_TITLE, IOslcCoreConstants.NAMESPACE_DC)
- .getText();
- if (attrAbout != null && attrAbout.getValue().length() > 0) {
- providers.add(new OslcServiceProviderCatalog(title, attrAbout.getValue()));
- }
- }
- }
- itr = doc.getDescendants(new ElementFilter(IOslcCoreConstants.ELEMENT_SERVICE_PROVIDER));
- while (itr.hasNext()) {
- Element element = (Element) itr.next();
- String title = element.getChild(IOslcCoreConstants.ELEMENT_TITLE, IOslcCoreConstants.NAMESPACE_DC)
- .getText();
- Element service = element.getChild(IOslcCoreConstants.ELEMENT_SERVICES,
- IOslcCoreConstants.NAMESPACE_OSLC_DISCOVERY_1_0);
- if (service != null) {
- String resource = service.getAttributeValue(IOslcCoreConstants.ATTRIBUTE_RESOURCE,
- IOslcCoreConstants.NAMESPACE_RDF);
- providers.add(new OslcServiceProvider(title, resource));
- }
- }
- }
-
- /**
- * Retrieve a service descriptor for the given service provider. Exposed at connector level by
- * IOslcConnector.getServiceDescriptor()
- *
- * @throws CoreException
- */
- public OslcServiceDescriptor getServiceDescriptor(OslcServiceProvider provider, IProgressMonitor monitor)
- throws CoreException {
- OslcServiceDescriptor configuration = new OslcServiceDescriptor(provider.getUrl());
- downloadServiceDescriptor(configuration, monitor);
- return configuration;
- }
-
- /**
- * Populate the provided configuration with new data from the remote repository.
- */
- protected void downloadServiceDescriptor(final OslcServiceDescriptor config, IProgressMonitor monitor)
- throws CoreException {
-
- RequestHandler<OslcServiceDescriptor> handler = new RequestHandler<OslcServiceDescriptor>(
- "Retrieving Service Descriptor") { //$NON-NLS-1$
-
- @Override
- public OslcServiceDescriptor run(HttpMethodBase method, IProgressMonitor monitor) throws CoreException,
- IOException {
- config.clear();
- parseServiceDescriptor(method.getResponseBodyAsStream(), config, monitor);
- return config;
- }
- };
-
- executeMethod(createGetMethod(config.getAboutUrl()), handler, monitor);
-
- }
-
- /**
- * public for testing
- */
- public void parseServiceDescriptor(InputStream inStream, OslcServiceDescriptor config, IProgressMonitor monitor)
- throws CoreException {
- Document doc = getDocumentFromStream(inStream);
-
- Iterator<?> itr = doc.getDescendants(new ElementFilter(IOslcCoreConstants.ELEMENT_TITLE,
- IOslcCoreConstants.NAMESPACE_DC));
- if (itr.hasNext()) {
- Element element = (Element) itr.next();
- config.setTitle(element.getText());
- }
-
- itr = doc.getDescendants(new ElementFilter(IOslcCoreConstants.ELEMENT_DESCRIPTION,
- IOslcCoreConstants.NAMESPACE_DC));
- if (itr.hasNext()) {
- Element element = (Element) itr.next();
- config.setDescription(element.getText());
- }
-
- itr = doc.getDescendants(new ElementFilter(IOslcCoreConstants.ELEMENT_CREATIONDIALOG,
- IOslcCoreConstants.NAMESPACE_OSLC_CM_1_0));
- while (itr.hasNext()) {
- boolean isDefault = false;
- Element element = (Element) itr.next();
- String label = element.getChild(IOslcCoreConstants.ELEMENT_TITLE, IOslcCoreConstants.NAMESPACE_DC)
- .getText();
- String url = element.getChild(IOslcCoreConstants.ELEMENT_URL, IOslcCoreConstants.NAMESPACE_OSLC_CM_1_0)
- .getText();
- Attribute attrDefault = element.getAttribute(IOslcCoreConstants.ATTRIBUTE_DEFAULT,
- IOslcCoreConstants.NAMESPACE_OSLC_CM_1_0);
- if (attrDefault != null && attrDefault.getValue().equals("true")) { //$NON-NLS-1$
- isDefault = true;
- }
- OslcCreationDialogDescriptor recordType = new OslcCreationDialogDescriptor(label, url);
- config.addCreationDialog(recordType);
- if (isDefault) {
- config.setDefaultCreationDialog(recordType);
- }
- }
-
- itr = doc.getDescendants(new ElementFilter(IOslcCoreConstants.ELEMENT_SIMPLEQUERY));
- if (itr.hasNext()) {
- Element element = (Element) itr.next();
- String url = element.getChild(IOslcCoreConstants.ELEMENT_URL, IOslcCoreConstants.NAMESPACE_OSLC_CM_1_0)
- .getText();
- if (url != null) {
- config.setSimpleQueryUrl(url);
- }
- }
-
- itr = doc.getDescendants(new ElementFilter(IOslcCoreConstants.ELEMENT_FACTORY));
- while (itr.hasNext()) {
- boolean isDefault = false;
- Element element = (Element) itr.next();
- String title = element.getChild(IOslcCoreConstants.ELEMENT_TITLE, IOslcCoreConstants.NAMESPACE_DC)
- .getText();
- String url = element.getChild(IOslcCoreConstants.ELEMENT_URL, IOslcCoreConstants.NAMESPACE_OSLC_CM_1_0)
- .getText();
- Attribute attrDefault = element.getAttribute(IOslcCoreConstants.ATTRIBUTE_DEFAULT,
- IOslcCoreConstants.NAMESPACE_OSLC_CM_1_0);
- if (attrDefault != null && attrDefault.getValue().equals("true")) { //$NON-NLS-1$
- isDefault = true;
- }
- OslcServiceFactory factory = new OslcServiceFactory(title, url);
- if (isDefault) {
- config.setDefaultFactory(factory);
- }
- config.addServiceFactory(factory);
- }
-
- itr = doc.getDescendants(new ElementFilter(IOslcCoreConstants.ELEMENT_HOME));
- if (itr.hasNext()) {
- Element element = (Element) itr.next();
- Element childTitle = element.getChild(IOslcCoreConstants.ELEMENT_TITLE, IOslcCoreConstants.NAMESPACE_DC);
- Element childUrl = element.getChild(IOslcCoreConstants.ELEMENT_URL,
- IOslcCoreConstants.NAMESPACE_OSLC_CM_1_0);
- if (childTitle != null && childTitle.getText().length() > 0 && childUrl != null
- && childUrl.getText().length() > 0) {
- ServiceHome home = new ServiceHome(childTitle.getText(), childUrl.getText());
- config.setHome(home);
- }
- }
-
- itr = doc.getDescendants(new ElementFilter(IOslcCoreConstants.ELEMENT_SELECTIONDIALOG));
- if (itr.hasNext()) {
- Element element = (Element) itr.next();
- Element childTitle = element.getChild(IOslcCoreConstants.ELEMENT_TITLE, IOslcCoreConstants.NAMESPACE_DC);
- Element childUrl = element.getChild(IOslcCoreConstants.ELEMENT_URL,
- IOslcCoreConstants.NAMESPACE_OSLC_CM_1_0);
- if (childTitle != null && childTitle.getText().length() > 0 && childUrl != null
- && childUrl.getText().length() > 0) {
-
- OslcSelectionDialogDescriptor selection = new OslcSelectionDialogDescriptor(childTitle.getText(),
- childUrl.getText());
-
- String isDefault = element.getAttributeValue(IOslcCoreConstants.ATTRIBUTE_DEFAULT,
- IOslcCoreConstants.NAMESPACE_OSLC_CM_1_0);
- if (isDefault != null) {
- selection.setDefault(isDefault.equals("true")); //$NON-NLS-1$
- }
-
- String hintHeight = element.getAttributeValue(IOslcCoreConstants.ATTRIBUTE_HINTHEIGHT,
- IOslcCoreConstants.NAMESPACE_OSLC_CM_1_0);
- if (hintHeight != null) {
- selection.setHintHeight(hintHeight);
- }
-
- String hintWidth = element.getAttributeValue(IOslcCoreConstants.ATTRIBUTE_HINTWIDTH,
- IOslcCoreConstants.NAMESPACE_OSLC_CM_1_0);
- if (hintWidth != null) {
- selection.setHintWidth(hintWidth);
- }
-
- String label = element.getChildText(IOslcCoreConstants.ELEMENT_LABEL,
- IOslcCoreConstants.NAMESPACE_OSLC_CM_1_0);
- if (label != null) {
- selection.setLabel(label);
- }
-
- config.addSelectionDialog(selection);
- }
- }
-
- }
-
- protected OslcServiceDescriptor getConfiguration(IProgressMonitor monitor) throws CoreException {
- monitor = Policy.monitorFor(monitor);
- if (configuration.getFactories().isEmpty()) {
- updateRepositoryConfiguration(new SubProgressMonitor(monitor, 1));
- }
-
- return configuration;
- }
-
- public Collection<AbstractChangeRequest> performQuery(String query, IProgressMonitor monitor) throws CoreException {
- try {
- query = URLEncoder.encode(query, "UTF-8"); //$NON-NLS-1$
- } catch (UnsupportedEncodingException e) {
- query = URLEncoder.encode(query);
- }
- final String requestUrl = getConfiguration(monitor).getSimpleQueryUrl() + "?oslc_cm.query=" + query; //$NON-NLS-1$
-
- RequestHandler<Collection<AbstractChangeRequest>> handler = new RequestHandler<Collection<AbstractChangeRequest>>(
- "Performing Query") { //$NON-NLS-1$
-
- @Override
- public Collection<AbstractChangeRequest> run(HttpMethodBase method, IProgressMonitor monitor)
- throws CoreException, IOException {
- Collection<AbstractChangeRequest> result = new ArrayList<AbstractChangeRequest>();
- parseQueryResponse(method.getResponseBodyAsStream(), result, monitor);
- return result;
- }
- };
-
- return executeMethod(createGetMethod(requestUrl), handler, monitor);
-
- }
-
- // TODO: Handle pagination
- public void parseQueryResponse(InputStream inStream, Collection<AbstractChangeRequest> requests,
- IProgressMonitor monitor) throws CoreException {
- Document doc = getDocumentFromStream(inStream);
-
- Iterator<?> itr = doc.getDescendants(new ElementFilter(IOslcCoreConstants.ELEMENT_CHANGEREQUEST,
- IOslcCoreConstants.NAMESPACE_OSLC_CM_1_0));
- while (itr.hasNext()) {
- Element element = (Element) itr.next();
- String title = element.getChildText(IOslcCoreConstants.ELEMENT_TITLE, IOslcCoreConstants.NAMESPACE_DC);
- String id = element.getChildText(IOslcCoreConstants.ELEMENT_IDENTIFIER, IOslcCoreConstants.NAMESPACE_DC);
-
- if (title != null && id != null) {
- AbstractChangeRequest request = createChangeRequest(id, title);
- request.setType(element.getChildText(IOslcCoreConstants.ELEMENT_TYPE, IOslcCoreConstants.NAMESPACE_DC));
- request.setDescription(element.getChildText(IOslcCoreConstants.ELEMENT_DESCRIPTION,
- IOslcCoreConstants.NAMESPACE_DC));
- request.setSubject(element.getChildText(IOslcCoreConstants.ELEMENT_SUBJECT,
- IOslcCoreConstants.NAMESPACE_DC));
- request.setCreator(element.getChildText(IOslcCoreConstants.ELEMENT_CREATOR,
- IOslcCoreConstants.NAMESPACE_DC));
- request.setModified(element.getChildText(IOslcCoreConstants.ELEMENT_MODIFIED,
- IOslcCoreConstants.NAMESPACE_DC));
- requests.add(request);
- }
-
- }
- }
-
- protected abstract AbstractChangeRequest createChangeRequest(String id, String title);
-
- /**
- * Updates this clients 'repository configuration'. If old types were in use (locally cached) and still exist they
- * are re-read from repository.
- */
- public void updateRepositoryConfiguration(IProgressMonitor monitor) throws CoreException {
- configuration.clear();
- downloadServiceDescriptor(configuration, monitor);
- }
-
- public abstract TaskData getTaskData(final String encodedTaskId, TaskAttributeMapper mapper,
- IProgressMonitor monitor) throws CoreException;
-
- public abstract RepositoryResponse putTaskData(TaskData taskData, Set<TaskAttribute> oldValues,
- IProgressMonitor monitor) throws CoreException;
-
- public RepositoryResponse postTaskData(TaskData taskData, IProgressMonitor monitor) throws CoreException {
-
- Element root = new Element(IOslcCoreConstants.ELEMENT_CHANGEREQUEST, IOslcCoreConstants.NAMESPACE_OSLC_CM_1_0);
- final Document doc = new Document(root);
-
- TaskAttribute attribute = taskData.getRoot().getMappedAttribute(IOslcCoreConstants.ELEMENT_TITLE);
- if (attribute != null) {
- // TODO: Store namespace on attribute
- Element e = new Element(attribute.getId(), IOslcCoreConstants.NAMESPACE_DC);
- e.setText(attribute.getValue());
- root.addContent(e);
- }
-
- attribute = taskData.getRoot().getMappedAttribute(IOslcCoreConstants.ELEMENT_DESCRIPTION);
- if (attribute != null) {
- Element e = new Element(attribute.getId(), IOslcCoreConstants.NAMESPACE_DC);
- e.setText(attribute.getValue());
- root.addContent(e);
- }
-
- attribute = taskData.getRoot().getMappedAttribute(IOslcCoreConstants.ELEMENT_TYPE);
- if (attribute != null) {
- Element e = new Element(attribute.getId(), IOslcCoreConstants.NAMESPACE_DC);
- e.setText(attribute.getValue());
- root.addContent(e);
- }
-
- attribute = taskData.getRoot().getMappedAttribute(IOslcCoreConstants.ELEMENT_SUBJECT);
- if (attribute != null) {
- Element e = new Element(attribute.getId(), IOslcCoreConstants.NAMESPACE_DC);
- e.setText(attribute.getValue());
- root.addContent(e);
- }
-
- // For RTC Tests
- attribute = taskData.getRoot().getMappedAttribute("filedAgainst"); //$NON-NLS-1$
- if (attribute != null) {
- Element e = new Element(attribute.getId(), IOslcCoreConstants.NAMESPACE_RTC_CM_1_0);
- e.setText(attribute.getValue());
- root.addContent(e);
- }
-
- PostMethod method = createPostMethod(getConfiguration(monitor).getDefaultFactory().getUrl());
- method.setRequestHeader("Accept", "application/x-oslc-cm-change-request+xml"); //$NON-NLS-1$ //$NON-NLS-2$
- method.setRequestHeader("Content-Type", "application/x-oslc-cm-change-request+xml"); //$NON-NLS-1$ //$NON-NLS-2$
-
- XMLOutputter out = new XMLOutputter(Format.getCompactFormat());
- try {
- method.setRequestEntity(new StringRequestEntity(out.outputString(doc),
- IOslcCoreConstants.CONTENT_TYPE_CHANGE_REQUEST, UTF_8));
- } catch (UnsupportedEncodingException e1) {
- throw new CoreException(new Status(IStatus.ERROR, IOslcCoreConstants.ID_PLUGIN,
- "Error creating new change request: " + e1.getMessage(), e1)); //$NON-NLS-1$
- }
-
- RequestHandler<RepositoryResponse> handler = new RequestHandler<RepositoryResponse>("Creating") { //$NON-NLS-1$
-
- @Override
- public RepositoryResponse run(HttpMethodBase method, IProgressMonitor monitor) throws CoreException {
- Header header = method.getResponseHeader("Location"); //$NON-NLS-1$
-
- if (header != null && header.getValue() != null) {
-
- String location = header.getValue();
- // TODO: delegate extraction of 'task id' to protected method and add to repository response
- return new RepositoryResponse(ResponseKind.TASK_CREATED, location);
- }
- return null;
- }
- };
-
- return executeMethod(method, handler, monitor);
-
- }
-
- protected GetMethod createGetMethod(String requestPath) {
- GetMethod method = new GetMethod(getRequestPath(requestPath));
- method.setFollowRedirects(true);
- method.setDoAuthentication(true);
- // application/xml is returned by oslc servers by default (but some may not play nice)
- method.setRequestHeader("Accept", "application/xml"); //$NON-NLS-1$ //$NON-NLS-2$
- return method;
- }
-
- protected PostMethod createPostMethod(String requestPath) {
- PostMethod method = new PostMethod(getRequestPath(requestPath));
- method.setFollowRedirects(false);
- method.setDoAuthentication(true);
-// this.entity = getRequestEntity(method);
-// if (pairs != null) {
-// method.setRequestBody(pairs);
-// } else if (entity != null) {
-// method.setRequestEntity(entity);
-// } else {
-// StatusHandler.log(new Status(IStatus.WARNING, IOslcCoreConstants.ID_PLUGIN,
-// "Request body or entity missing upon post."));
-// }
- return method;
- }
-
- protected PutMethod createPutMethod(String requestPath) {
- PutMethod method = new PutMethod(getRequestPath(requestPath));
- method.setFollowRedirects(false);
- method.setDoAuthentication(true);
- return method;
- }
-
- protected <T> T executeMethod(HttpMethodBase method, RequestHandler<T> handler, IProgressMonitor monitor)
- throws CoreException {
- monitor = Policy.monitorFor(monitor);
- try {
- monitor.beginTask(handler.getRequestName(), IProgressMonitor.UNKNOWN);
-
- HostConfiguration hostConfiguration = WebUtil.createHostConfiguration(httpClient, location, monitor);
- int code = WebUtil.execute(httpClient, hostConfiguration, method, monitor);
-
- handleReturnCode(code, method);
-
- return handler.run(method, monitor);
- } catch (IOException e) {
- throw new CoreException(new Status(IStatus.WARNING, IOslcCoreConstants.ID_PLUGIN,
- "An unexpected network error has occurred: " + e.getMessage(), e)); //$NON-NLS-1$
- } finally {
- if (method != null) {
- WebUtil.releaseConnection(method, monitor);
- }
- monitor.done();
- }
-
- }
-
- public String getRequestPath(String repositoryUrl) {
- if (repositoryUrl.startsWith("./")) { //$NON-NLS-1$
- return WebUtil.getRequestPath(location.getUrl()) + repositoryUrl.substring(1);
- } else if (repositoryUrl.startsWith("/")) { //$NON-NLS-1$
- return WebUtil.getRequestPath(location.getUrl()) + repositoryUrl;
- }
- return WebUtil.getRequestPath(repositoryUrl);
- }
-
- protected void handleReturnCode(int code, HttpMethodBase method) throws CoreException {
- try {
- if (code == java.net.HttpURLConnection.HTTP_OK) {
- return;// Status.OK_STATUS;
- } else if (code == java.net.HttpURLConnection.HTTP_MOVED_TEMP
- || code == java.net.HttpURLConnection.HTTP_CREATED) {
- // A new resource created...
- return;// Status.OK_STATUS;
- } else if (code == java.net.HttpURLConnection.HTTP_UNAUTHORIZED
- || code == java.net.HttpURLConnection.HTTP_FORBIDDEN) {
- throw new CoreException(new Status(IStatus.ERROR, IOslcCoreConstants.ID_PLUGIN,
- "Unable to log into server, ensure repository credentials are correct.")); //$NON-NLS-1$
- } else if (code == java.net.HttpURLConnection.HTTP_PRECON_FAILED) {
- // Mid-air collision
- throw new CoreException(new Status(IStatus.ERROR, IOslcCoreConstants.ID_PLUGIN,
- "Mid-air collision occurred.")); //$NON-NLS-1$
- } else if (code == java.net.HttpURLConnection.HTTP_CONFLICT) {
- throw new CoreException(new Status(IStatus.ERROR, IOslcCoreConstants.ID_PLUGIN, "A conflict occurred.")); //$NON-NLS-1$
- } else {
- throw new CoreException(new Status(IStatus.ERROR, IOslcCoreConstants.ID_PLUGIN,
- "Unknown error occurred. Http Code: " + code + " Request: " + method.getURI() + " Response: " //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- + method.getResponseBodyAsString()));
- }
- } catch (URIException e) {
- throw new CoreException(new Status(IStatus.ERROR, IOslcCoreConstants.ID_PLUGIN, "Network Error: " //$NON-NLS-1$
- + e.getMessage()));
- } catch (IOException e) {
- throw new CoreException(new Status(IStatus.ERROR, IOslcCoreConstants.ID_PLUGIN, "Network Error: " //$NON-NLS-1$
- + e.getMessage()));
- }
- }
-
- public abstract class RequestHandler<T> {
-
- private final String requestName;
-
- public RequestHandler(String requestName) {
- this.requestName = requestName;
- }
-
- public abstract T run(HttpMethodBase method, IProgressMonitor monitor) throws CoreException, IOException;
-
- public String getRequestName() {
- return requestName;
- }
-
- }
-} \ No newline at end of file
diff --git a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/cm/AbstractChangeRequest.java b/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/cm/AbstractChangeRequest.java
deleted file mode 100644
index ed0991ae2..000000000
--- a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/cm/AbstractChangeRequest.java
+++ /dev/null
@@ -1,102 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2009 Tasktop Technologies.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Tasktop EULA
- * which accompanies this distribution, and is available at
- * http://tasktop.com/legal
- *******************************************************************************/
-
-package org.eclipse.mylyn.internal.oslc.core.cm;
-
-/**
- * @see http://open-services.net/bin/view/Main/CmResourceDefinitionsV1
- * @author Robert Elves
- */
-public abstract class AbstractChangeRequest {
-
- protected final String identifier;
-
- protected String title;
-
- private String type;
-
- private String description;
-
- private String subject;
-
- private String creator;
-
- private String modified;
-
- private String url;
-
- public AbstractChangeRequest(String identifier, String title) {
- this.identifier = identifier;
- this.title = title;
- }
-
- public String getUrl() {
- return url;
- }
-
- public void setUrl(String url) {
- this.url = url;
- }
-
- public String getTitle() {
- return title;
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-
- public String getIdentifier() {
- return identifier;
- }
-
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public String getSubject() {
- return subject;
- }
-
- public void setSubject(String subject) {
- this.subject = subject;
- }
-
- public String getCreator() {
- return creator;
- }
-
- public void setCreator(String creator) {
- this.creator = creator;
- }
-
- public String getModified() {
- return modified;
- }
-
- /**
- * @param modified
- * - must conform to RFC3339
- */
- public void setModified(String modified) {
- this.modified = modified;
- }
-
-} \ No newline at end of file
diff --git a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/cm/Messages.java b/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/cm/Messages.java
deleted file mode 100644
index ebc1678eb..000000000
--- a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/cm/Messages.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009 Tasktop Technologies and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.mylyn.internal.oslc.core.cm;
-
-import org.eclipse.osgi.util.NLS;
-
-public class Messages extends NLS {
- private static final String BUNDLE_NAME = "org.eclipse.mylyn.oslc.cm.internal.core.model.messages"; //$NON-NLS-1$
-
- public static String OslcServiceDescriptor_Service_Available;
- static {
- // initialize resource bundle
- NLS.initializeMessages(BUNDLE_NAME, Messages.class);
- }
-
- private Messages() {
- }
-}
diff --git a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/cm/messages.properties b/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/cm/messages.properties
deleted file mode 100644
index c78abf4ed..000000000
--- a/org.eclipse.mylyn.oslc.core/src/org/eclipse/mylyn/internal/oslc/core/cm/messages.properties
+++ /dev/null
@@ -1,11 +0,0 @@
-###############################################################################
-# Copyright (c) 2009 Tasktop Technologies and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# Tasktop Technologies - initial API and implementation
-###############################################################################
-OslcServiceDescriptor_Service_Available=Service Available
diff --git a/org.eclipse.mylyn.oslc.tests/.classpath b/org.eclipse.mylyn.oslc.tests/.classpath
deleted file mode 100644
index 581180ae0..000000000
--- a/org.eclipse.mylyn.oslc.tests/.classpath
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins">
- <accessrules>
- <accessrule kind="accessible" pattern="org/eclipse/mylyn/internal/oslc/**"/>
- </accessrules>
- </classpathentry>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/org.eclipse.mylyn.oslc.tests/.project b/org.eclipse.mylyn.oslc.tests/.project
deleted file mode 100644
index 7988e3795..000000000
--- a/org.eclipse.mylyn.oslc.tests/.project
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.mylyn.oslc.tests</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
- </natures>
- <filteredResources>
- <filter>
- <id>1367109048408</id>
- <name></name>
- <type>10</type>
- <matcher>
- <id>org.eclipse.ui.ide.multiFilter</id>
- <arguments>1.0-projectRelativePath-matches-false-false-target</arguments>
- </matcher>
- </filter>
- </filteredResources>
-</projectDescription>
diff --git a/org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.core.runtime.prefs b/org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.core.runtime.prefs
deleted file mode 100644
index 5a0ad22d2..000000000
--- a/org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.core.runtime.prefs
+++ /dev/null
@@ -1,2 +0,0 @@
-eclipse.preferences.version=1
-line.separator=\n
diff --git a/org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index c5b7b2b42..000000000
--- a/org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,371 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.codeComplete.argumentPrefixes=
-org.eclipse.jdt.core.codeComplete.argumentSuffixes=
-org.eclipse.jdt.core.codeComplete.fieldPrefixes=
-org.eclipse.jdt.core.codeComplete.fieldSuffixes=
-org.eclipse.jdt.core.codeComplete.localPrefixes=
-org.eclipse.jdt.core.codeComplete.localSuffixes=
-org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
-org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
-org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes=
-org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes=
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.6
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
-org.eclipse.jdt.core.compiler.problem.deadCode=warning
-org.eclipse.jdt.core.compiler.problem.deprecation=warning
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
-org.eclipse.jdt.core.compiler.problem.fatalOptionalError=enabled
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.nullReference=error
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning
-org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
-org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
-org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.6
-org.eclipse.jdt.core.compiler.taskCaseSensitive=enabled
-org.eclipse.jdt.core.compiler.taskPriorities=NORMAL,HIGH,NORMAL
-org.eclipse.jdt.core.compiler.taskTags=TODO,FIXME,XXX
-org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_assignment=0
-org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
-org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=48
-org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
-org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
-org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
-org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
-org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80
-org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=80
-org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16
-org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
-org.eclipse.jdt.core.formatter.blank_lines_after_package=1
-org.eclipse.jdt.core.formatter.blank_lines_before_field=1
-org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
-org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
-org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
-org.eclipse.jdt.core.formatter.blank_lines_before_method=1
-org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
-org.eclipse.jdt.core.formatter.blank_lines_before_package=0
-org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
-org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
-org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines=false
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=true
-org.eclipse.jdt.core.formatter.comment.format_block_comments=false
-org.eclipse.jdt.core.formatter.comment.format_comments=true
-org.eclipse.jdt.core.formatter.comment.format_header=false
-org.eclipse.jdt.core.formatter.comment.format_html=true
-org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
-org.eclipse.jdt.core.formatter.comment.format_line_comments=false
-org.eclipse.jdt.core.formatter.comment.format_source_code=true
-org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
-org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
-org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
-org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
-org.eclipse.jdt.core.formatter.comment.line_length=120
-org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
-org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
-org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
-org.eclipse.jdt.core.formatter.compact_else_if=true
-org.eclipse.jdt.core.formatter.continuation_indentation=2
-org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
-org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
-org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
-org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
-org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
-org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
-org.eclipse.jdt.core.formatter.indent_empty_lines=false
-org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
-org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
-org.eclipse.jdt.core.formatter.indentation.size=4
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert
-org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
-org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
-org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
-org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.join_lines_in_comments=true
-org.eclipse.jdt.core.formatter.join_wrapped_lines=true
-org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
-org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
-org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
-org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
-org.eclipse.jdt.core.formatter.lineSplit=120
-org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=true
-org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=true
-org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
-org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
-org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
-org.eclipse.jdt.core.formatter.tabulation.char=tab
-org.eclipse.jdt.core.formatter.tabulation.size=4
-org.eclipse.jdt.core.formatter.use_on_off_tags=false
-org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
-org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
-org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
-org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
diff --git a/org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.jdt.ui.prefs b/org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index d92dfc1c1..000000000
--- a/org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,63 +0,0 @@
-#Wed Mar 02 16:00:08 PST 2011
-cleanup_settings_version=2
-eclipse.preferences.version=1
-editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
-formatter_profile=_Mylyn based on Eclipse
-formatter_settings_version=12
-internal.default.compliance=default
-org.eclipse.jdt.ui.exception.name=e
-org.eclipse.jdt.ui.gettersetter.use.is=true
-org.eclipse.jdt.ui.javadoc=false
-org.eclipse.jdt.ui.keywordthis=false
-org.eclipse.jdt.ui.overrideannotation=true
-org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\r\n * @return the ${bare_field_name}\r\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\r\n * @param ${param} the ${bare_field_name} to set\r\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/**\r\n * \r\n */</template><template autoinsert\="false" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\r\n * @author ${user}\r\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\r\n * \r\n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment"/><template autoinsert\="false" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">/*******************************************************************************\r\n * Copyright (c) ${year} Tasktop Technologies and others.\r\n * All rights reserved. This program and the accompanying materials\r\n * are made available under the terms of the Eclipse Public License v1.0\r\n * which accompanies this distribution, and is available at\r\n * http\://www.eclipse.org/legal/epl-v10.html\r\n *\r\n * Contributors\:\r\n * Tasktop Technologies - initial API and implementation\r\n *******************************************************************************/\r\n\r\n${package_declaration}\r\n\r\n${typecomment}\r\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\r\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\r\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\r\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\r\n</template><template autoinsert\="false" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\r\n${exception_var}.printStackTrace();</template><template autoinsert\="false" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">// ignore\r\n${body_statement}</template><template autoinsert\="false" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\r\n// ignore</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\r\n * ${tags}\r\n * ${see_to_target}\r\n */</template><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\r\n * @return the ${bare_field_name}\r\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\r\n * @param ${param} the ${bare_field_name} to set\r\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="filecomment_context" deleted\="false" description\="Comment for created JavaScript files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.filecomment" name\="filecomment">/**\r\n * \r\n */</template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\r\n * @author ${user}\r\n *\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for vars" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\r\n * \r\n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="overridecomment_context" deleted\="false" description\="Comment for overriding functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/* (non-Jsdoc)\r\n * ${see_to_overridden}\r\n */</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\r\n * ${tags}\r\n * ${see_to_target}\r\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\r\n${package_declaration}\r\n\r\n${typecomment}\r\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.classbody" name\="classbody">\r\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\r\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.enumbody" name\="enumbody">\r\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\r\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\r\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created function stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated function stub\r\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\r\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates>
-sp_cleanup.add_default_serial_version_id=true
-sp_cleanup.add_generated_serial_version_id=false
-sp_cleanup.add_missing_annotations=true
-sp_cleanup.add_missing_deprecated_annotations=true
-sp_cleanup.add_missing_methods=false
-sp_cleanup.add_missing_nls_tags=false
-sp_cleanup.add_missing_override_annotations=true
-sp_cleanup.add_serial_version_id=false
-sp_cleanup.always_use_blocks=true
-sp_cleanup.always_use_parentheses_in_expressions=false
-sp_cleanup.always_use_this_for_non_static_field_access=false
-sp_cleanup.always_use_this_for_non_static_method_access=false
-sp_cleanup.convert_to_enhanced_for_loop=true
-sp_cleanup.correct_indentation=true
-sp_cleanup.format_source_code=true
-sp_cleanup.format_source_code_changes_only=false
-sp_cleanup.make_local_variable_final=false
-sp_cleanup.make_parameters_final=false
-sp_cleanup.make_private_fields_final=true
-sp_cleanup.make_variable_declarations_final=true
-sp_cleanup.never_use_blocks=false
-sp_cleanup.never_use_parentheses_in_expressions=true
-sp_cleanup.on_save_use_additional_actions=true
-sp_cleanup.organize_imports=true
-sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
-sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
-sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
-sp_cleanup.qualify_static_member_accesses_with_declaring_class=true
-sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
-sp_cleanup.remove_private_constructors=true
-sp_cleanup.remove_trailing_whitespaces=true
-sp_cleanup.remove_trailing_whitespaces_all=true
-sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
-sp_cleanup.remove_unnecessary_casts=true
-sp_cleanup.remove_unnecessary_nls_tags=true
-sp_cleanup.remove_unused_imports=false
-sp_cleanup.remove_unused_local_variables=false
-sp_cleanup.remove_unused_private_fields=true
-sp_cleanup.remove_unused_private_members=false
-sp_cleanup.remove_unused_private_methods=true
-sp_cleanup.remove_unused_private_types=true
-sp_cleanup.sort_members=false
-sp_cleanup.sort_members_all=false
-sp_cleanup.use_blocks=true
-sp_cleanup.use_blocks_only_for_return_and_throw=false
-sp_cleanup.use_parentheses_in_expressions=false
-sp_cleanup.use_this_for_non_static_field_access=false
-sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
-sp_cleanup.use_this_for_non_static_method_access=false
-sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
diff --git a/org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.ltk.core.refactoring.prefs b/org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.ltk.core.refactoring.prefs
deleted file mode 100644
index 5e7f2bd47..000000000
--- a/org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.ltk.core.refactoring.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Tue Aug 18 22:42:26 PDT 2009
-eclipse.preferences.version=1
-org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false
diff --git a/org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.mylyn.tasks.ui.prefs b/org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.mylyn.tasks.ui.prefs
deleted file mode 100644
index d8c6d26af..000000000
--- a/org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.mylyn.tasks.ui.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-#Mon Jun 25 03:02:37 GMT 2007
-eclipse.preferences.version=1
-project.repository.kind=bugzilla
-project.repository.url=https\://bugs.eclipse.org/bugs
diff --git a/org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.mylyn.team.ui.prefs b/org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.mylyn.team.ui.prefs
deleted file mode 100644
index 10d0afb92..000000000
--- a/org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.mylyn.team.ui.prefs
+++ /dev/null
@@ -1,2 +0,0 @@
-commit.comment.template=${task.key}\: ${task.description}\n\nTask-Url\: ${task.url}
-eclipse.preferences.version=1
diff --git a/org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.pde.prefs b/org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index e8f2d5620..000000000
--- a/org.eclipse.mylyn.oslc.tests/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,18 +0,0 @@
-#Tue Apr 15 11:07:59 PDT 2008
-compilers.incompatible-environment=1
-compilers.p.build=1
-compilers.p.deprecated=1
-compilers.p.discouraged-class=2
-compilers.p.missing-bundle-classpath-entries=1
-compilers.p.missing-packages=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=2
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=0
-compilers.p.unknown-identifier=1
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/org.eclipse.mylyn.oslc.tests/META-INF/MANIFEST.MF b/org.eclipse.mylyn.oslc.tests/META-INF/MANIFEST.MF
deleted file mode 100644
index cbb31fab2..000000000
--- a/org.eclipse.mylyn.oslc.tests/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,19 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %Bundle-Name
-Bundle-SymbolicName: org.eclipse.mylyn.oslc.tests;singleton:=true
-Bundle-Version: 3.11.0.qualifier
-Require-Bundle: org.junit;bundle-version="4.8.2",
- org.eclipse.core.runtime,
- org.eclipse.mylyn.commons.core,
- org.eclipse.mylyn.commons.net,
- org.eclipse.mylyn.commons.sdk.util,
- org.eclipse.mylyn.oslc.core,
- org.eclipse.mylyn.oslc.ui,
- org.eclipse.mylyn.tasks.core,
- org.eclipse.mylyn.tests.util,
- org.jdom
-Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Export-Package: org.eclipse.mylyn.oslc.cm.tests;x-internal:=true
-Bundle-Localization: plugin
-Bundle-Vendor: %Bundle-Vendor
diff --git a/org.eclipse.mylyn.oslc.tests/about.html b/org.eclipse.mylyn.oslc.tests/about.html
deleted file mode 100644
index d774b07c7..000000000
--- a/org.eclipse.mylyn.oslc.tests/about.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>June 25, 2008</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was
-provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at <a href="/">http://www.eclipse.org</a>.</p>
-
-</body>
-</html> \ No newline at end of file
diff --git a/org.eclipse.mylyn.oslc.tests/build.properties b/org.eclipse.mylyn.oslc.tests/build.properties
deleted file mode 100644
index a246b29a8..000000000
--- a/org.eclipse.mylyn.oslc.tests/build.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-###############################################################################
-# Copyright (c) 2009 Tasktop Technologies and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# Tasktop Technologies - initial API and implementation
-###############################################################################
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .,\
- about.html,\
- xml/,\
- plugin.properties
-src.includes = about.html
diff --git a/org.eclipse.mylyn.oslc.tests/plugin.properties b/org.eclipse.mylyn.oslc.tests/plugin.properties
deleted file mode 100644
index 83e177457..000000000
--- a/org.eclipse.mylyn.oslc.tests/plugin.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-###############################################################################
-# Copyright (c) 2009, 2010 Tasktop Technologies and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# Tasktop Technologies - initial API and implementation
-###############################################################################
-Bundle-Vendor = Eclipse Mylyn
-Bundle-Name = Mylyn OSLC Tests
diff --git a/org.eclipse.mylyn.oslc.tests/pom.xml b/org.eclipse.mylyn.oslc.tests/pom.xml
deleted file mode 100644
index 979401bbe..000000000
--- a/org.eclipse.mylyn.oslc.tests/pom.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <artifactId>org.eclipse.mylyn.tasks-parent</artifactId>
- <groupId>org.eclipse.mylyn.tasks</groupId>
- <version>3.11.0-SNAPSHOT</version>
- </parent>
- <groupId>org.eclipse.mylyn.tasks</groupId>
- <artifactId>org.eclipse.mylyn.oslc.tests</artifactId>
- <version>3.11.0-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-source-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/org.eclipse.mylyn.oslc.tests/src/org/eclipse/mylyn/oslc/cm/tests/RtcOlscTest.java b/org.eclipse.mylyn.oslc.tests/src/org/eclipse/mylyn/oslc/cm/tests/RtcOlscTest.java
deleted file mode 100644
index f80bd5e7d..000000000
--- a/org.eclipse.mylyn.oslc.tests/src/org/eclipse/mylyn/oslc/cm/tests/RtcOlscTest.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010 Tasktop Technologies and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.mylyn.oslc.cm.tests;
-
-import java.util.Collection;
-import java.util.List;
-import java.util.Set;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.mylyn.commons.net.AbstractWebLocation;
-import org.eclipse.mylyn.commons.net.AuthenticationCredentials;
-import org.eclipse.mylyn.commons.net.AuthenticationType;
-import org.eclipse.mylyn.internal.oslc.core.OslcServiceDescriptor;
-import org.eclipse.mylyn.internal.oslc.core.OslcServiceProvider;
-import org.eclipse.mylyn.internal.oslc.core.client.AbstractOslcClient;
-import org.eclipse.mylyn.internal.oslc.core.cm.AbstractChangeRequest;
-import org.eclipse.mylyn.tasks.core.RepositoryResponse;
-import org.eclipse.mylyn.tasks.core.TaskRepository;
-import org.eclipse.mylyn.tasks.core.TaskRepositoryLocationFactory;
-import org.eclipse.mylyn.tasks.core.data.TaskAttribute;
-import org.eclipse.mylyn.tasks.core.data.TaskAttributeMapper;
-import org.eclipse.mylyn.tasks.core.data.TaskData;
-
-/**
- * Holds tests that exercise the Mylyn OSLC library against Rational Team Concert (RTC) OSLC api
- * <ul>
- * <li>To be run against a new RTC instance with BASIC auth enabled. BASE_URL need to be update.</li>
- * <li>A workitem exists with title "my first work item"</li>
- * </ul>
- *
- * @author Robert Elves
- */
-public class RtcOlscTest extends TestCase {
- private TaskRepository repository;
-
- private AbstractWebLocation location;
-
- private AbstractOslcClient client;
-
- private static final String BASE_URL = "https://192.168.0.3:9443/jazz/oslc/workitems/catalog";
-
- private static final String SERVICE_URL = "https://192.168.0.3:9443/jazz/oslc/contexts/_9Dyg4DLzEd-G-8cuiS4gvg/workitems/services.xml";
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- this.repository = new TaskRepository("rtc", SERVICE_URL);
- this.repository.setCredentials(AuthenticationType.REPOSITORY, new AuthenticationCredentials("ADMIN", "ADMIN"),
- false);
- this.location = new TaskRepositoryLocationFactory().createWebLocation(repository);
- this.client = new AbstractOslcClient(location, new OslcServiceDescriptor(SERVICE_URL)) {
-
- @Override
- public RepositoryResponse putTaskData(TaskData taskData, Set<TaskAttribute> oldValues,
- IProgressMonitor monitor) throws CoreException {
- // ignore
- return null;
- }
-
- @Override
- public String getUserAgent() {
- // ignore
- return null;
- }
-
- @Override
- public TaskData getTaskData(String encodedTaskId, TaskAttributeMapper mapper, IProgressMonitor monitor)
- throws CoreException {
- // ignore
- return null;
- }
-
- @Override
- protected AbstractChangeRequest createChangeRequest(String id, String title) {
- return new AbstractChangeRequest(id, title) {
- };
- }
- };
- }
-
- // Test Passing when resource urls below match up with your particular RTC instance
- // and when BASE_URL set to service url.
- /*public void testChangeRequestCreation() throws Exception {
- TaskData data = new TaskData(new TaskAttributeMapper(repository), "oslc", BASE_URL, "");
- data.getRoot().createAttribute(IOslcCoreConstants.ELEMENT_TITLE).setValue("New Title");
- data.getRoot().createAttribute(IOslcCoreConstants.ELEMENT_TYPE).setValue(
- "https://192.168.0.3:9443/jazz/oslc/types/_9Dyg4DLzEd-G-8cuiS4gvg/defect");
- data.getRoot().createAttribute(IOslcCoreConstants.ELEMENT_DESCRIPTION).setValue("New Description");
- data.getRoot().createAttribute(IOslcCoreConstants.ELEMENT_SUBJECT).setValue("New Subject");
- data.getRoot()
- .createAttribute("filedAgainst")
- .setValue(
- "https://192.168.0.3:9443/jazz/resource/itemOid/com.ibm.team.workitem.Category/_9cYnETLzEd-G-8cuiS4gvg");
-
- RepositoryResponse response = client.postTaskData(data, null);
- assertNotNull(response);
- }*/
-
- /**
- * Service Discovery
- */
- public void testServiceCatalogParsing() throws Exception {
- List<OslcServiceProvider> services = client.getAvailableServices(BASE_URL, null);
- assertEquals(1, services.size());
- OslcServiceProvider desc = services.get(0);
- OslcServiceDescriptor serviceDescriptor = client.getServiceDescriptor(desc, null);
- assertTrue(serviceDescriptor.getSimpleQueryUrl().endsWith("/workitems"));
- }
-
- /**
- * Simple Query for ChangeRequests
- */
- public void testSimpleQuery() throws Exception {
- List<OslcServiceProvider> services = client.getAvailableServices(BASE_URL, null);
- @SuppressWarnings("unused")
- OslcServiceProvider desc = services.get(0);
- Collection<AbstractChangeRequest> result = client.performQuery("dc:title=\"my first work item\"", null);
- assertEquals(1, result.size());
- AbstractChangeRequest request = result.iterator().next();
- request.getTitle().equals("my first work item");
-
- }
-}
diff --git a/org.eclipse.mylyn.oslc.tests/src/org/eclipse/mylyn/oslc/cm/tests/ServiceDiscoveryTest.java b/org.eclipse.mylyn.oslc.tests/src/org/eclipse/mylyn/oslc/cm/tests/ServiceDiscoveryTest.java
deleted file mode 100644
index b0f3c1b4e..000000000
--- a/org.eclipse.mylyn.oslc.tests/src/org/eclipse/mylyn/oslc/cm/tests/ServiceDiscoveryTest.java
+++ /dev/null
@@ -1,148 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009, 2010 Tasktop Technologies and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-package org.eclipse.mylyn.oslc.cm.tests;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Set;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.mylyn.commons.net.AbstractWebLocation;
-import org.eclipse.mylyn.commons.net.AuthenticationCredentials;
-import org.eclipse.mylyn.commons.net.AuthenticationType;
-import org.eclipse.mylyn.commons.sdk.util.CommonTestUtil;
-import org.eclipse.mylyn.internal.oslc.core.OslcCreationDialogDescriptor;
-import org.eclipse.mylyn.internal.oslc.core.OslcSelectionDialogDescriptor;
-import org.eclipse.mylyn.internal.oslc.core.OslcServiceDescriptor;
-import org.eclipse.mylyn.internal.oslc.core.OslcServiceProvider;
-import org.eclipse.mylyn.internal.oslc.core.client.AbstractOslcClient;
-import org.eclipse.mylyn.internal.oslc.core.cm.AbstractChangeRequest;
-import org.eclipse.mylyn.tasks.core.RepositoryResponse;
-import org.eclipse.mylyn.tasks.core.TaskRepository;
-import org.eclipse.mylyn.tasks.core.TaskRepositoryLocationFactory;
-import org.eclipse.mylyn.tasks.core.data.TaskAttribute;
-import org.eclipse.mylyn.tasks.core.data.TaskAttributeMapper;
-import org.eclipse.mylyn.tasks.core.data.TaskData;
-
-/**
- * @author Robert Elves
- */
-@SuppressWarnings("restriction")
-public class ServiceDiscoveryTest extends TestCase {
- private TaskRepository repository;
-
- private AbstractWebLocation location;
-
- private AbstractOslcClient client;
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- this.repository = new TaskRepository("myoslcconnetorkind", "http://mylyn.eclipse.org/oslc/cqrest");
- this.repository.setCredentials(AuthenticationType.REPOSITORY, new AuthenticationCredentials("xxx", "xxx"),
- false);
- this.location = new TaskRepositoryLocationFactory().createWebLocation(repository);
- this.client = new AbstractOslcClient(location,
- new OslcServiceDescriptor("http://mylyn.eclipse.org/oslc/cqrest")) {
-
- @Override
- public RepositoryResponse putTaskData(TaskData taskData, Set<TaskAttribute> oldValues,
- IProgressMonitor monitor) throws CoreException {
- // ignore
- return null;
- }
-
- @Override
- public String getUserAgent() {
- // ignore
- return null;
- }
-
- @Override
- public TaskData getTaskData(String encodedTaskId, TaskAttributeMapper mapper, IProgressMonitor monitor)
- throws CoreException {
- // ignore
- return null;
- }
-
- @Override
- protected AbstractChangeRequest createChangeRequest(String id, String title) {
- return new AbstractChangeRequest(id, title) {
- };
- }
- };
- }
-
- @Override
- protected void tearDown() throws Exception {
- super.tearDown();
- }
-
- public void testServiceCatalogParsing() throws IOException, CoreException {
- File file = CommonTestUtil.getFile(ServiceDiscoveryTest.class, "xml/service-provider-catalog.xml");
- FileInputStream inStream = new FileInputStream(file);
- ArrayList<OslcServiceProvider> list = new ArrayList<OslcServiceProvider>();
- client.parseServices(inStream, list, new NullProgressMonitor());
- assertEquals(2, list.size());
- OslcServiceProvider desc = list.get(0);
- assertEquals("http://somewhere/catalog", desc.getUrl());
- desc = list.get(1);
- assertEquals("http://mylyn.eclipse.org/oslc/cqrest/repo/7.0.0/db/SAMPL", desc.getUrl());
- }
-
- public void testServiceDescriptorParsing() throws IOException, CoreException {
- File file = CommonTestUtil.getFile(ServiceDiscoveryTest.class, "xml/service-descriptor.xml");
- FileInputStream inStream = new FileInputStream(file);
- OslcServiceDescriptor desc = new OslcServiceDescriptor(
- "http://mylyn.eclipse.org/oslc/cqrest/repo/7.0.0/db/SAMPL");
- client.parseServiceDescriptor(inStream, desc, new NullProgressMonitor());
-
- assertEquals("RCM/CQ OSLC CM Service Description Document", desc.getTitle());
- assertEquals("Rational Change Management/ClearQuest OSLC CM Services available for 7.0.0/SAMPL.",
- desc.getDescription());
-
- // ServiceHome
- assertEquals("Change Requests", desc.getHome().getTitle());
- assertEquals("http://mylyn.eclipse.org/cqweb/restapi/7.0.0/SAMPL?format=html", desc.getHome().getUrl());
-
- // Creation Dialogs
- OslcCreationDialogDescriptor creationDialog = desc.getDefaultCreationDialog();
- assertEquals("New Defect - IBM Rational ClearQuest", creationDialog.getTitle());
- assertEquals(
- "http://mylyn.eclipse.org/oslc/cqrest/repo/7.0.0/db/SAMPL/record-type/16777224/creationDialog?dc%3Atype=Defect",
- creationDialog.getUrl());
-
- // Factory
- assertEquals("Unattended location for the creation of ClearQuest Records", desc.getDefaultFactory().getTitle());
- assertEquals("http://mylyn.eclipse.org/oslc/cqrest/repo/7.0.0/db/SAMPL/record", desc.getDefaultFactory()
- .getUrl());
-
- // Selection Dialogs
-
- assertTrue(desc.getSelectionDialogs().size() > 0);
- OslcSelectionDialogDescriptor selectionDialog = desc.getDefaultSelectionDialog();
- assertNotNull(selectionDialog);
- assertEquals("640px", selectionDialog.getHintWidth());
- assertEquals("540px", selectionDialog.getHintHeight());
- assertEquals("Choose ClearQuest Record - IBM Rational ClearQuest", selectionDialog.getTitle());
- assertEquals("ClearQuest Record", selectionDialog.getLabel());
- assertEquals(
- "http://mylyn.eclipse.org/cqweb/chooseRecord.cq?type=cq.repo.cq-rectype%3A16777224%407.0.0%2FSAMPL&restrictType=false",
- selectionDialog.getUrl());
- }
-
-}
diff --git a/org.eclipse.mylyn.oslc.tests/src/org/eclipse/mylyn/oslc/cm/tests/SimpleQueryTest.java b/org.eclipse.mylyn.oslc.tests/src/org/eclipse/mylyn/oslc/cm/tests/SimpleQueryTest.java
deleted file mode 100644
index f271ca79f..000000000
--- a/org.eclipse.mylyn.oslc.tests/src/org/eclipse/mylyn/oslc/cm/tests/SimpleQueryTest.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009, 2010 Tasktop Technologies and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-package org.eclipse.mylyn.oslc.cm.tests;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.util.ArrayList;
-import java.util.Set;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.mylyn.commons.net.AbstractWebLocation;
-import org.eclipse.mylyn.commons.net.AuthenticationCredentials;
-import org.eclipse.mylyn.commons.net.AuthenticationType;
-import org.eclipse.mylyn.commons.sdk.util.CommonTestUtil;
-import org.eclipse.mylyn.internal.oslc.core.IOslcCoreConstants;
-import org.eclipse.mylyn.internal.oslc.core.OslcServiceDescriptor;
-import org.eclipse.mylyn.internal.oslc.core.client.AbstractOslcClient;
-import org.eclipse.mylyn.internal.oslc.core.cm.AbstractChangeRequest;
-import org.eclipse.mylyn.tasks.core.RepositoryResponse;
-import org.eclipse.mylyn.tasks.core.TaskRepository;
-import org.eclipse.mylyn.tasks.core.TaskRepositoryLocationFactory;
-import org.eclipse.mylyn.tasks.core.data.TaskAttribute;
-import org.eclipse.mylyn.tasks.core.data.TaskAttributeMapper;
-import org.eclipse.mylyn.tasks.core.data.TaskData;
-
-/**
- * @author Robert Elves
- */
-@SuppressWarnings("restriction")
-public class SimpleQueryTest extends TestCase {
- private TaskRepository repository;
-
- private AbstractWebLocation location;
-
- private AbstractOslcClient client;
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- this.repository = new TaskRepository(IOslcCoreConstants.ID_PLUGIN, "http://mylyn.eclipse.org/oslc/cqrest");
- this.repository.setCredentials(AuthenticationType.REPOSITORY, new AuthenticationCredentials("xxx", "xxx"),
- false);
- this.location = new TaskRepositoryLocationFactory().createWebLocation(repository);
- this.client = new AbstractOslcClient(location,
- new OslcServiceDescriptor("http://mylyn.eclipse.org/oslc/cqrest")) {
-
- @Override
- public RepositoryResponse putTaskData(TaskData taskData, Set<TaskAttribute> oldValues,
- IProgressMonitor monitor) throws CoreException {
- // ignore
- return null;
- }
-
- @Override
- public String getUserAgent() {
- // ignore
- return null;
- }
-
- @Override
- public TaskData getTaskData(String encodedTaskId, TaskAttributeMapper mapper, IProgressMonitor monitor)
- throws CoreException {
- // ignore
- return null;
- }
-
- @Override
- protected AbstractChangeRequest createChangeRequest(String id, String title) {
- return new AbstractChangeRequest(id, title) {
- };
- }
- };
- }
-
- @Override
- protected void tearDown() throws Exception {
- super.tearDown();
- }
-
- public void testParseQueryResponse() throws Exception {
- File file = CommonTestUtil.getFile(SimpleQueryTest.class, "xml/query-response.xml");
- FileInputStream inStream = new FileInputStream(file);
- ArrayList<AbstractChangeRequest> list = new ArrayList<AbstractChangeRequest>();
- client.parseQueryResponse(inStream, list, new NullProgressMonitor());
- assertEquals(1, list.size());
- AbstractChangeRequest desc = list.get(0);
- assertEquals("test bug", desc.getTitle());
- assertEquals("10", desc.getIdentifier());
- assertEquals("", desc.getType()); // rdf:resource
- assertEquals("test description", desc.getDescription());
- assertEquals("", desc.getSubject());
- assertEquals("", desc.getCreator()); // rdf:resource
- assertEquals("2009-10-12T08:58:20.588Z", desc.getModified());
- }
-
-}
diff --git a/org.eclipse.mylyn.oslc.tests/xml/change-request.xml b/org.eclipse.mylyn.oslc.tests/xml/change-request.xml
deleted file mode 100644
index 358e2800d..000000000
--- a/org.eclipse.mylyn.oslc.tests/xml/change-request.xml
+++ /dev/null
@@ -1,98 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<oslc_cm:Collection xmlns:rtc_cm="http://jazz.net/xmlns/prod/jazz/rtc/cm/1.0/"
- xmlns:oslc_disc="http://open-services.net/xmlns/discovery/1.0/"
- xmlns:dc="http://purl.org/dc/terms/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"
- xmlns:jp="http://jazz.net/xmlns/prod/jazz/presentation/1.0/" xmlns:jd="http://jazz.net/xmlns/prod/jazz/discovery/1.0/"
- xmlns:oslc_cm="http://open-services.net/xmlns/cm/1.0/" xmlns:atom="http://www.w3.org/2005/Atom"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:calm="http://jazz.net/xmlns/prod/jazz/calm/1.0/"
- oslc_cm:totalCount="1">
- <oslc_cm:ChangeRequest
- rdf:resource="https://mylyn.eclipse.org:9443/jazz/resource/itemOid/com.ibm.team.workitem.WorkItem/_PL7SELcNEd67as-op4LhuA">
- <rtc_cm:filedAgainst
- rdf:resource="https://mylyn.eclipse.org:9443/jazz/resource/itemOid/com.ibm.team.workitem.Category/_S3KqMbcMEd67as-op4LhuA" />
- <rtc_cm:correctedEstimate />
- <dc:created>2009-10-12T08:58:20.496Z</dc:created>
- <dc:creator
- rdf:resource="https://mylyn.eclipse.org:9443/jazz/oslc/users/_KGRY4CFWEdq-WY5y7lROQw" />
- <dc:description>test description</dc:description>
- <rtc_cm:due />
- <rtc_cm:estimate />
- <rtc_cm:foundIn />
- <dc:identifier>10</dc:identifier>
- <rtc_cm:comments
- oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:comments" />
- <oslc_cm:priority
- rdf:resource="https://mylyn.eclipse.org:9443/jazz/oslc/enumerations/_RysVcLcMEd67as-op4LhuA/priority/priority.literal.l02" />
- <rtc_cm:resolution />
- <oslc_cm:severity
- rdf:resource="https://mylyn.eclipse.org:9443/jazz/oslc/enumerations/_RysVcLcMEd67as-op4LhuA/severity/severity.literal.l3" />
- <rtc_cm:state
- rdf:resource="https://mylyn.eclipse.org:9443/jazz/oslc/workflows/_RysVcLcMEd67as-op4LhuA/states/com.ibm.team.workitem.defectWorkflow/1" />
- <rtc_cm:subscribers
- oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:subscribers" />
- <dc:subject />
- <dc:modified>2009-10-12T08:58:20.588Z</dc:modified>
- <rtc_cm:modifiedBy
- rdf:resource="https://mylyn.eclipse.org:9443/jazz/oslc/users/_KGRY4CFWEdq-WY5y7lROQw" />
- <rtc_cm:ownedBy
- rdf:resource="https://mylyn.eclipse.org:9443/jazz/oslc/users/_KGRY4CFWEdq-WY5y7lROQw" />
- <rtc_cm:projectArea
- rdf:resource="https://mylyn.eclipse.org:9443/jazz/oslc/projectareas/_RysVcLcMEd67as-op4LhuA" />
- <rtc_cm:resolved />
- <rtc_cm:resolvedBy
- rdf:resource="https://mylyn.eclipse.org:9443/jazz/oslc/users/_YNh4MOlsEdq4xpiOKg5hvA" />
- <rtc_cm:startDate />
- <dc:title>test bug</dc:title>
- <rtc_cm:plannedFor
- rdf:resource="https://mylyn.eclipse.org:9443/jazz/oslc/iterations/_R4c_MrcMEd67as-op4LhuA" />
- <rtc_cm:timeSpent />
- <dc:type
- rdf:resource="https://mylyn.eclipse.org:9443/jazz/oslc/types/_RysVcLcMEd67as-op4LhuA/defect" />
- <rtc_cm:teamArea
- rdf:resource="https://mylyn.eclipse.org:9443/jazz/oslc/teamareas/_S0voULcMEd67as-op4LhuA" />
- <rtc_cm:com.ibm.team.connector.ccbridge.common.act2wi.s
- oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.connector.ccbridge.common.act2wi.s" />
- <rtc_cm:com.ibm.team.build.linktype.includedWorkItems.com.ibm.team.build.common.link.includedInBuilds
- oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.build.linktype.includedWorkItems.com.ibm.team.build.common.link.includedInBuilds" />
- <calm:blocksTestExecutionRecord
- oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/calm:blocksTestExecutionRecord" />
- <rtc_cm:com.ibm.team.workitem.linktype.textualReference.textuallyReferenced
- oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.workitem.linktype.textualReference.textuallyReferenced" />
- <calm:implementsRequirement
- oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/calm:implementsRequirement" />
- <calm:testedByTestCase
- oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/calm:testedByTestCase" />
- <rtc_cm:com.ibm.team.workitem.linktype.attachment.attachment
- oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.workitem.linktype.attachment.attachment" />
- <rtc_cm:com.ibm.team.workitem.linktype.relatedartifact.relatedArtifact
- oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.workitem.linktype.relatedartifact.relatedArtifact" />
- <rtc_cm:com.ibm.team.build.linktype.reportedWorkItems.com.ibm.team.build.common.link.reportedAgainstBuilds
- oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.build.linktype.reportedWorkItems.com.ibm.team.build.common.link.reportedAgainstBuilds" />
- <rtc_cm:com.ibm.team.workitem.linktype.relatedworkitem.related
- oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.workitem.linktype.relatedworkitem.related" />
- <rtc_cm:com.ibm.team.scm.svn.linkType.workItem.s
- oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.scm.svn.linkType.workItem.s" />
- <oslc_cm:relatedChangeManagement
- oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/oslc_cm:relatedChangeManagement" />
- <rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies
- oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies" />
- <rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copiedFrom
- oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copiedFrom" />
- <rtc_cm:com.ibm.team.workitem.linktype.blocksworkitem.blocks
- oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.workitem.linktype.blocksworkitem.blocks" />
- <rtc_cm:com.ibm.team.workitem.linktype.blocksworkitem.dependsOn
- oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.workitem.linktype.blocksworkitem.dependsOn" />
- <rtc_cm:com.ibm.team.workitem.linktype.duplicateworkitem.duplicates
- oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.workitem.linktype.duplicateworkitem.duplicates" />
- <rtc_cm:com.ibm.team.workitem.linktype.duplicateworkitem.duplicateOf
- oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.workitem.linktype.duplicateworkitem.duplicateOf" />
- <rtc_cm:com.ibm.team.filesystem.workitems.change_set.com.ibm.team.scm.ChangeSet
- oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.filesystem.workitems.change_set.com.ibm.team.scm.ChangeSet" />
- <calm:affectsExecutionResult
- oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/calm:affectsExecutionResult" />
- <rtc_cm:com.ibm.team.workitem.linktype.parentworkitem.parent
- oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.workitem.linktype.parentworkitem.parent" />
- <rtc_cm:com.ibm.team.workitem.linktype.parentworkitem.children
- oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.workitem.linktype.parentworkitem.children" />
- </oslc_cm:ChangeRequest>
-</oslc_cm:Collection> \ No newline at end of file
diff --git a/org.eclipse.mylyn.oslc.tests/xml/query-response.xml b/org.eclipse.mylyn.oslc.tests/xml/query-response.xml
deleted file mode 100644
index be224ec9f..000000000
--- a/org.eclipse.mylyn.oslc.tests/xml/query-response.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?><oslc_cm:Collection xmlns:rtc_cm="http://jazz.net/xmlns/prod/jazz/rtc/cm/1.0/" xmlns:oslc_disc="http://open-services.net/xmlns/discovery/1.0/" xmlns:dc="http://purl.org/dc/terms/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:jp="http://jazz.net/xmlns/prod/jazz/presentation/1.0/" xmlns:jd="http://jazz.net/xmlns/prod/jazz/discovery/1.0/" xmlns:oslc_cm="http://open-services.net/xmlns/cm/1.0/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:calm="http://jazz.net/xmlns/prod/jazz/calm/1.0/" oslc_cm:totalCount="1">
-<oslc_cm:ChangeRequest rdf:resource="https://mylyn.eclipse.org:9443/jazz/resource/itemOid/com.ibm.team.workitem.WorkItem/_PL7SELcNEd67as-op4LhuA"><rtc_cm:filedAgainst rdf:resource="https://mylyn.eclipse.org:9443/jazz/resource/itemOid/com.ibm.team.workitem.Category/_S3KqMbcMEd67as-op4LhuA"/><rtc_cm:correctedEstimate/><dc:created>2009-10-12T08:58:20.496Z</dc:created><dc:creator rdf:resource="https://mylyn.eclipse.org:9443/jazz/oslc/users/_KGRY4CFWEdq-WY5y7lROQw"/><dc:description>test description</dc:description><rtc_cm:due/><rtc_cm:estimate/><rtc_cm:foundIn/><dc:identifier>10</dc:identifier><rtc_cm:comments oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:comments"/><oslc_cm:priority rdf:resource="https://mylyn.eclipse.org:9443/jazz/oslc/enumerations/_RysVcLcMEd67as-op4LhuA/priority/priority.literal.l02"/><rtc_cm:resolution/><oslc_cm:severity rdf:resource="https://mylyn.eclipse.org:9443/jazz/oslc/enumerations/_RysVcLcMEd67as-op4LhuA/severity/severity.literal.l3"/><rtc_cm:state rdf:resource="https://mylyn.eclipse.org:9443/jazz/oslc/workflows/_RysVcLcMEd67as-op4LhuA/states/com.ibm.team.workitem.defectWorkflow/1"/><rtc_cm:subscribers oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:subscribers"/><dc:subject/><dc:modified>2009-10-12T08:58:20.588Z</dc:modified><rtc_cm:modifiedBy rdf:resource="https://mylyn.eclipse.org:9443/jazz/oslc/users/_KGRY4CFWEdq-WY5y7lROQw"/><rtc_cm:ownedBy rdf:resource="https://mylyn.eclipse.org:9443/jazz/oslc/users/_KGRY4CFWEdq-WY5y7lROQw"/><rtc_cm:projectArea rdf:resource="https://mylyn.eclipse.org:9443/jazz/oslc/projectareas/_RysVcLcMEd67as-op4LhuA"/><rtc_cm:resolved/><rtc_cm:resolvedBy rdf:resource="https://mylyn.eclipse.org:9443/jazz/oslc/users/_YNh4MOlsEdq4xpiOKg5hvA"/><rtc_cm:startDate/><dc:title>test bug</dc:title><rtc_cm:plannedFor rdf:resource="https://mylyn.eclipse.org:9443/jazz/oslc/iterations/_R4c_MrcMEd67as-op4LhuA"/><rtc_cm:timeSpent/><dc:type rdf:resource="https://mylyn.eclipse.org:9443/jazz/oslc/types/_RysVcLcMEd67as-op4LhuA/defect"/><rtc_cm:teamArea rdf:resource="https://mylyn.eclipse.org:9443/jazz/oslc/teamareas/_S0voULcMEd67as-op4LhuA"/><rtc_cm:com.ibm.team.connector.ccbridge.common.act2wi.s oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.connector.ccbridge.common.act2wi.s"/><rtc_cm:com.ibm.team.build.linktype.includedWorkItems.com.ibm.team.build.common.link.includedInBuilds oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.build.linktype.includedWorkItems.com.ibm.team.build.common.link.includedInBuilds"/><calm:blocksTestExecutionRecord oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/calm:blocksTestExecutionRecord"/><rtc_cm:com.ibm.team.workitem.linktype.textualReference.textuallyReferenced oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.workitem.linktype.textualReference.textuallyReferenced"/><calm:implementsRequirement oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/calm:implementsRequirement"/><calm:testedByTestCase oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/calm:testedByTestCase"/><rtc_cm:com.ibm.team.workitem.linktype.attachment.attachment oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.workitem.linktype.attachment.attachment"/><rtc_cm:com.ibm.team.workitem.linktype.relatedartifact.relatedArtifact oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.workitem.linktype.relatedartifact.relatedArtifact"/><rtc_cm:com.ibm.team.build.linktype.reportedWorkItems.com.ibm.team.build.common.link.reportedAgainstBuilds oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.build.linktype.reportedWorkItems.com.ibm.team.build.common.link.reportedAgainstBuilds"/><rtc_cm:com.ibm.team.workitem.linktype.relatedworkitem.related oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.workitem.linktype.relatedworkitem.related"/><rtc_cm:com.ibm.team.scm.svn.linkType.workItem.s oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.scm.svn.linkType.workItem.s"/><oslc_cm:relatedChangeManagement oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/oslc_cm:relatedChangeManagement"/><rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies"/><rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copiedFrom oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copiedFrom"/><rtc_cm:com.ibm.team.workitem.linktype.blocksworkitem.blocks oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.workitem.linktype.blocksworkitem.blocks"/><rtc_cm:com.ibm.team.workitem.linktype.blocksworkitem.dependsOn oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.workitem.linktype.blocksworkitem.dependsOn"/><rtc_cm:com.ibm.team.workitem.linktype.duplicateworkitem.duplicates oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.workitem.linktype.duplicateworkitem.duplicates"/><rtc_cm:com.ibm.team.workitem.linktype.duplicateworkitem.duplicateOf oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.workitem.linktype.duplicateworkitem.duplicateOf"/><rtc_cm:com.ibm.team.filesystem.workitems.change_set.com.ibm.team.scm.ChangeSet oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.filesystem.workitems.change_set.com.ibm.team.scm.ChangeSet"/><calm:affectsExecutionResult oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/calm:affectsExecutionResult"/><rtc_cm:com.ibm.team.workitem.linktype.parentworkitem.parent oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.workitem.linktype.parentworkitem.parent"/><rtc_cm:com.ibm.team.workitem.linktype.parentworkitem.children oslc_cm:collref="https://mylyn.eclipse.org:9443/jazz/oslc/workitems/_PL7SELcNEd67as-op4LhuA/rtc_cm:com.ibm.team.workitem.linktype.parentworkitem.children"/></oslc_cm:ChangeRequest></oslc_cm:Collection> \ No newline at end of file
diff --git a/org.eclipse.mylyn.oslc.tests/xml/service-descriptor.xml b/org.eclipse.mylyn.oslc.tests/xml/service-descriptor.xml
deleted file mode 100644
index d212bf87e..000000000
--- a/org.eclipse.mylyn.oslc.tests/xml/service-descriptor.xml
+++ /dev/null
@@ -1,150 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<oslc_cm:ServiceDescriptor xmlns:oslc_cm="http://open-services.net/xmlns/cm/1.0/" xmlns:dc="http://purl.org/dc/terms/" xmlns:cq="http://www.ibm.com/xmlns/prod/rational/clearquest/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" rdf:about="http://mylyn.eclipse.org/oslc/cqrest/repo/7.0.0/db/SAMPL/">
-<dc:title>RCM/CQ OSLC CM Service Description Document</dc:title>
-<dc:description>Rational Change Management/ClearQuest OSLC CM Services available for 7.0.0/SAMPL.</dc:description>
-<dc:contributor rdf:resource="http://www.ibm.com/software/awdtools/clearquest/" oslc_cm:version="1.0">
-<dc:title>IBM Rational ClearQuest</dc:title>
-<dc:identifier>com.ibm.rational.cm.clearquest</dc:identifier>
-<oslc_cm:icon>http://mylyn.eclipse.org/oslc/_rcm-resources/clearquest.ico</oslc_cm:icon>
-</dc:contributor>
-<oslc_cm:changeRequests oslc_cm:domain="CM" oslc_cm:version="1.0">
-<oslc_cm:home>
-<dc:title>Change Requests</dc:title>
-<oslc_cm:url>http://mylyn.eclipse.org/cqweb/restapi/7.0.0/SAMPL?format=html</oslc_cm:url>
-</oslc_cm:home>
-<oslc_cm:factory>
-<dc:title>Unattended location for the creation of ClearQuest Records</dc:title>
-<oslc_cm:url>http://mylyn.eclipse.org/oslc/cqrest/repo/7.0.0/db/SAMPL/record</oslc_cm:url>
-</oslc_cm:factory>
-<oslc_cm:creationDialog oslc_cm:default="true" oslc_cm:hintWidth="703px" oslc_cm:hintHeight="510px">
-<dc:title>New Defect - IBM Rational ClearQuest</dc:title>
-<dc:description>Web dialog for creating new Defect records</dc:description>
-<oslc_cm:label>Defect</oslc_cm:label>
-<oslc_cm:url>http://mylyn.eclipse.org/oslc/cqrest/repo/7.0.0/db/SAMPL/record-type/16777224/creationDialog?dc%3Atype=Defect</oslc_cm:url>
-</oslc_cm:creationDialog>
-<oslc_cm:creationDialog oslc_cm:hintWidth="727px" oslc_cm:hintHeight="471px">
-<dc:title>New Email_Rule - IBM Rational ClearQuest</dc:title>
-<dc:description>Web dialog for creating new Email_Rule records</dc:description>
-<oslc_cm:label>Email_Rule</oslc_cm:label>
-<oslc_cm:url>http://mylyn.eclipse.org/oslc/cqrest/repo/7.0.0/db/SAMPL/record-type/16777753/creationDialog?dc%3Atype=Email_Rule</oslc_cm:url>
-</oslc_cm:creationDialog>
-<oslc_cm:creationDialog oslc_cm:hintWidth="777px" oslc_cm:hintHeight="471px">
-<dc:title>New New1 - IBM Rational ClearQuest</dc:title>
-<dc:description>Web dialog for creating new New1 records</dc:description>
-<oslc_cm:label>New1</oslc_cm:label>
-<oslc_cm:url>http://mylyn.eclipse.org/oslc/cqrest/repo/7.0.0/db/SAMPL/record-type/16778055/creationDialog?dc%3Atype=New1</oslc_cm:url>
-</oslc_cm:creationDialog>
-<oslc_cm:creationDialog oslc_cm:hintWidth="674px" oslc_cm:hintHeight="342px">
-<dc:title>New ratl_replicas - IBM Rational ClearQuest</dc:title>
-<dc:description>Web dialog for creating new ratl_replicas records</dc:description>
-<oslc_cm:label>ratl_replicas</oslc_cm:label>
-<oslc_cm:url>http://mylyn.eclipse.org/oslc/cqrest/repo/7.0.0/db/SAMPL/record-type/16777220/creationDialog?dc%3Atype=ratl_replicas</oslc_cm:url>
-</oslc_cm:creationDialog>
-<oslc_cm:creationDialog oslc_cm:hintWidth="722px" oslc_cm:hintHeight="194px">
-<dc:title>New groups - IBM Rational ClearQuest</dc:title>
-<dc:description>Web dialog for creating new groups records</dc:description>
-<oslc_cm:label>groups</oslc_cm:label>
-<oslc_cm:url>http://mylyn.eclipse.org/oslc/cqrest/repo/7.0.0/db/SAMPL/record-type/16777222/creationDialog?dc%3Atype=groups</oslc_cm:url>
-</oslc_cm:creationDialog>
-<oslc_cm:creationDialog oslc_cm:hintWidth="803px" oslc_cm:hintHeight="588px">
-<dc:title>New Customer - IBM Rational ClearQuest</dc:title>
-<dc:description>Web dialog for creating new Customer records</dc:description>
-<oslc_cm:label>Customer</oslc_cm:label>
-<oslc_cm:url>http://mylyn.eclipse.org/oslc/cqrest/repo/7.0.0/db/SAMPL/record-type/16777937/creationDialog?dc%3Atype=Customer</oslc_cm:url>
-</oslc_cm:creationDialog>
-<oslc_cm:creationDialog oslc_cm:hintWidth="651px" oslc_cm:hintHeight="294px">
-<dc:title>New Project - IBM Rational ClearQuest</dc:title>
-<dc:description>Web dialog for creating new Project records</dc:description>
-<oslc_cm:label>Project</oslc_cm:label>
-<oslc_cm:url>http://mylyn.eclipse.org/oslc/cqrest/repo/7.0.0/db/SAMPL/record-type/16777899/creationDialog?dc%3Atype=Project</oslc_cm:url>
-</oslc_cm:creationDialog>
-<oslc_cm:creationDialog oslc_cm:hintWidth="703px" oslc_cm:hintHeight="376px">
-<dc:title>New users - IBM Rational ClearQuest</dc:title>
-<dc:description>Web dialog for creating new users records</dc:description>
-<oslc_cm:label>users</oslc_cm:label>
-<oslc_cm:url>http://mylyn.eclipse.org/oslc/cqrest/repo/7.0.0/db/SAMPL/record-type/16777223/creationDialog?dc%3Atype=users</oslc_cm:url>
-</oslc_cm:creationDialog>
-<oslc_cm:simpleQuery cq:supportsOslcSearchTerms="true">
-<dc:title>Simple GET-based Record Query</dc:title>
-<oslc_cm:url>http://mylyn.eclipse.org/oslc/cqrest/repo/7.0.0/db/SAMPL/record</oslc_cm:url>
-</oslc_cm:simpleQuery>
-<oslc_cm:selectionDialog oslc_cm:default="true" oslc_cm:hintWidth="640px" oslc_cm:hintHeight="540px">
-<dc:title>Choose ClearQuest Record - IBM Rational ClearQuest</dc:title>
-<dc:description>Web dialog for finding and selecting ClearQuest Record records</dc:description>
-<oslc_cm:label>ClearQuest Record</oslc_cm:label>
-<oslc_cm:url>http://mylyn.eclipse.org/cqweb/chooseRecord.cq?type=cq.repo.cq-rectype%3A16777224%407.0.0%2FSAMPL&amp;restrictType=false</oslc_cm:url>
-</oslc_cm:selectionDialog>
-<oslc_cm:selectionDialog oslc_cm:hintWidth="640px" oslc_cm:hintHeight="540px">
-<dc:title>Choose Defect - IBM Rational ClearQuest</dc:title>
-<dc:description>Web dialog for finding and selecting Defect records</dc:description>
-<oslc_cm:label>Defect</oslc_cm:label>
-<oslc_cm:url>http://mylyn.eclipse.org/cqweb/chooseRecord.cq?type=cq.repo.cq-rectype%3A16777224%407.0.0%2FSAMPL&amp;restrictType=true</oslc_cm:url>
-</oslc_cm:selectionDialog>
-<oslc_cm:selectionDialog oslc_cm:hintWidth="640px" oslc_cm:hintHeight="540px">
-<dc:title>Choose Email_Rule - IBM Rational ClearQuest</dc:title>
-<dc:description>Web dialog for finding and selecting Email_Rule records</dc:description>
-<oslc_cm:label>Email_Rule</oslc_cm:label>
-<oslc_cm:url>http://mylyn.eclipse.org/cqweb/chooseRecord.cq?type=cq.repo.cq-rectype%3A16777753%407.0.0%2FSAMPL&amp;restrictType=true</oslc_cm:url>
-</oslc_cm:selectionDialog>
-<oslc_cm:selectionDialog oslc_cm:hintWidth="640px" oslc_cm:hintHeight="540px">
-<dc:title>Choose New1 - IBM Rational ClearQuest</dc:title>
-<dc:description>Web dialog for finding and selecting New1 records</dc:description>
-<oslc_cm:label>New1</oslc_cm:label>
-<oslc_cm:url>http://mylyn.eclipse.org/cqweb/chooseRecord.cq?type=cq.repo.cq-rectype%3A16778055%407.0.0%2FSAMPL&amp;restrictType=true</oslc_cm:url>
-</oslc_cm:selectionDialog>
-<oslc_cm:selectionDialog oslc_cm:hintWidth="640px" oslc_cm:hintHeight="540px">
-<dc:title>Choose ratl_replicas - IBM Rational ClearQuest</dc:title>
-<dc:description>Web dialog for finding and selecting ratl_replicas records</dc:description>
-<oslc_cm:label>ratl_replicas</oslc_cm:label>
-<oslc_cm:url>http://mylyn.eclipse.org/cqweb/chooseRecord.cq?type=cq.repo.cq-rectype%3A16777220%407.0.0%2FSAMPL&amp;restrictType=true</oslc_cm:url>
-</oslc_cm:selectionDialog>
-<oslc_cm:selectionDialog oslc_cm:hintWidth="640px" oslc_cm:hintHeight="540px">
-<dc:title>Choose groups - IBM Rational ClearQuest</dc:title>
-<dc:description>Web dialog for finding and selecting groups records</dc:description>
-<oslc_cm:label>groups</oslc_cm:label>
-<oslc_cm:url>http://mylyn.eclipse.org/cqweb/chooseRecord.cq?type=cq.repo.cq-rectype%3A16777222%407.0.0%2FSAMPL&amp;restrictType=true</oslc_cm:url>
-</oslc_cm:selectionDialog>
-<oslc_cm:selectionDialog oslc_cm:hintWidth="640px" oslc_cm:hintHeight="540px">
-<dc:title>Choose history - IBM Rational ClearQuest</dc:title>
-<dc:description>Web dialog for finding and selecting history records</dc:description>
-<oslc_cm:label>history</oslc_cm:label>
-<oslc_cm:url>http://mylyn.eclipse.org/cqweb/chooseRecord.cq?type=cq.repo.cq-rectype%3A16777219%407.0.0%2FSAMPL&amp;restrictType=true</oslc_cm:url>
-</oslc_cm:selectionDialog>
-<oslc_cm:selectionDialog oslc_cm:hintWidth="640px" oslc_cm:hintHeight="540px">
-<dc:title>Choose Customer - IBM Rational ClearQuest</dc:title>
-<dc:description>Web dialog for finding and selecting Customer records</dc:description>
-<oslc_cm:label>Customer</oslc_cm:label>
-<oslc_cm:url>http://mylyn.eclipse.org/cqweb/chooseRecord.cq?type=cq.repo.cq-rectype%3A16777937%407.0.0%2FSAMPL&amp;restrictType=true</oslc_cm:url>
-</oslc_cm:selectionDialog>
-<oslc_cm:selectionDialog oslc_cm:hintWidth="640px" oslc_cm:hintHeight="540px">
-<dc:title>Choose attachments - IBM Rational ClearQuest</dc:title>
-<dc:description>Web dialog for finding and selecting attachments records</dc:description>
-<oslc_cm:label>attachments</oslc_cm:label>
-<oslc_cm:url>http://mylyn.eclipse.org/cqweb/chooseRecord.cq?type=cq.repo.cq-rectype%3A16777221%407.0.0%2FSAMPL&amp;restrictType=true</oslc_cm:url>
-</oslc_cm:selectionDialog>
-<oslc_cm:selectionDialog oslc_cm:hintWidth="640px" oslc_cm:hintHeight="540px">
-<dc:title>Choose Project - IBM Rational ClearQuest</dc:title>
-<dc:description>Web dialog for finding and selecting Project records</dc:description>
-<oslc_cm:label>Project</oslc_cm:label>
-<oslc_cm:url>http://mylyn.eclipse.org/cqweb/chooseRecord.cq?type=cq.repo.cq-rectype%3A16777899%407.0.0%2FSAMPL&amp;restrictType=true</oslc_cm:url>
-</oslc_cm:selectionDialog>
-<oslc_cm:selectionDialog oslc_cm:hintWidth="640px" oslc_cm:hintHeight="540px">
-<dc:title>Choose users - IBM Rational ClearQuest</dc:title>
-<dc:description>Web dialog for finding and selecting users records</dc:description>
-<oslc_cm:label>users</oslc_cm:label>
-<oslc_cm:url>http://mylyn.eclipse.org/cqweb/chooseRecord.cq?type=cq.repo.cq-rectype%3A16777223%407.0.0%2FSAMPL&amp;restrictType=true</oslc_cm:url>
-</oslc_cm:selectionDialog>
-<cq:namedQuery>
-<dc:title>Location for named queries and folders</dc:title>
-<oslc_cm:url>http://mylyn.eclipse.org/oslc/cqrest/repo/7.0.0/db/SAMPL/query-folder</oslc_cm:url>
-</cq:namedQuery>
-<cq:schema>
-<dc:title>URL to request record type definitions in XSD</dc:title>
-<oslc_cm:url>http://mylyn.eclipse.org/oslc/cqrest/repo/7.0.0/db/SAMPL/record-type</oslc_cm:url>
-</cq:schema>
-<cq:defaultRecordType>
-<dc:title>URL of the default record type</dc:title>
-<oslc_cm:url>http://mylyn.eclipse.org/oslc/cqrest/repo/7.0.0/db/SAMPL/record-type/16777224</oslc_cm:url>
-</cq:defaultRecordType>
-</oslc_cm:changeRequests>
-</oslc_cm:ServiceDescriptor>
diff --git a/org.eclipse.mylyn.oslc.tests/xml/service-provider-catalog.xml b/org.eclipse.mylyn.oslc.tests/xml/service-provider-catalog.xml
deleted file mode 100644
index df6aad5fb..000000000
--- a/org.eclipse.mylyn.oslc.tests/xml/service-provider-catalog.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ServiceProviderCatalog xmlns="http://open-services.net/xmlns/discovery/1.0/" xmlns:dc="http://purl.org/dc/terms/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" rdf:about="http://demo.tasktop.com/oslc/cqrest/">
-<dc:title>Repository</dc:title>
-<entry>
-<ServiceProviderCatalog rdf:about="http://somewhere/catalog">
-<dc:title>ALM</dc:title>
-<details rdf:resource="http://somewhere/webaccess/"/>
-</ServiceProviderCatalog>
-</entry>
-<entry>
-<ServiceProvider>
-<dc:title>SAMPL</dc:title>
-<details rdf:resource="http://mylyn.eclipse.org/cqweb/restapi/7.0.0/SAMPL?format=html"/>
-<services rdf:resource="http://mylyn.eclipse.org/oslc/cqrest/repo/7.0.0/db/SAMPL"/>
-</ServiceProvider>
-</entry>
-</ServiceProviderCatalog> \ No newline at end of file
diff --git a/org.eclipse.mylyn.oslc.ui/.classpath b/org.eclipse.mylyn.oslc.ui/.classpath
deleted file mode 100644
index ad32c83a7..000000000
--- a/org.eclipse.mylyn.oslc.ui/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/org.eclipse.mylyn.oslc.ui/.project b/org.eclipse.mylyn.oslc.ui/.project
deleted file mode 100644
index bca8e5bf6..000000000
--- a/org.eclipse.mylyn.oslc.ui/.project
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.mylyn.oslc.ui</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
- </natures>
- <filteredResources>
- <filter>
- <id>1367109048408</id>
- <name></name>
- <type>10</type>
- <matcher>
- <id>org.eclipse.ui.ide.multiFilter</id>
- <arguments>1.0-projectRelativePath-matches-false-false-target</arguments>
- </matcher>
- </filter>
- </filteredResources>
-</projectDescription>
diff --git a/org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.core.runtime.prefs b/org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.core.runtime.prefs
deleted file mode 100644
index 5a0ad22d2..000000000
--- a/org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.core.runtime.prefs
+++ /dev/null
@@ -1,2 +0,0 @@
-eclipse.preferences.version=1
-line.separator=\n
diff --git a/org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 6b83a21de..000000000
--- a/org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,364 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.codeComplete.argumentPrefixes=
-org.eclipse.jdt.core.codeComplete.argumentSuffixes=
-org.eclipse.jdt.core.codeComplete.fieldPrefixes=
-org.eclipse.jdt.core.codeComplete.fieldSuffixes=
-org.eclipse.jdt.core.codeComplete.localPrefixes=
-org.eclipse.jdt.core.codeComplete.localSuffixes=
-org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
-org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.6
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=warning
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
-org.eclipse.jdt.core.compiler.problem.fatalOptionalError=enabled
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=warning
-org.eclipse.jdt.core.compiler.problem.nullReference=error
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning
-org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
-org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
-org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.6
-org.eclipse.jdt.core.compiler.taskCaseSensitive=enabled
-org.eclipse.jdt.core.compiler.taskPriorities=NORMAL,HIGH,NORMAL
-org.eclipse.jdt.core.compiler.taskTags=TODO,FIXME,XXX
-org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_assignment=0
-org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
-org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=48
-org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
-org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
-org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
-org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
-org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80
-org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=80
-org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16
-org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
-org.eclipse.jdt.core.formatter.blank_lines_after_package=1
-org.eclipse.jdt.core.formatter.blank_lines_before_field=1
-org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
-org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
-org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
-org.eclipse.jdt.core.formatter.blank_lines_before_method=1
-org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
-org.eclipse.jdt.core.formatter.blank_lines_before_package=0
-org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
-org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
-org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines=false
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=true
-org.eclipse.jdt.core.formatter.comment.format_block_comments=false
-org.eclipse.jdt.core.formatter.comment.format_comments=true
-org.eclipse.jdt.core.formatter.comment.format_header=false
-org.eclipse.jdt.core.formatter.comment.format_html=true
-org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
-org.eclipse.jdt.core.formatter.comment.format_line_comments=false
-org.eclipse.jdt.core.formatter.comment.format_source_code=true
-org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
-org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
-org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
-org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
-org.eclipse.jdt.core.formatter.comment.line_length=120
-org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
-org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
-org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
-org.eclipse.jdt.core.formatter.compact_else_if=true
-org.eclipse.jdt.core.formatter.continuation_indentation=2
-org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
-org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
-org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
-org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
-org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
-org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
-org.eclipse.jdt.core.formatter.indent_empty_lines=false
-org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
-org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
-org.eclipse.jdt.core.formatter.indentation.size=4
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert
-org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
-org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
-org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
-org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.join_lines_in_comments=true
-org.eclipse.jdt.core.formatter.join_wrapped_lines=true
-org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
-org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
-org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
-org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
-org.eclipse.jdt.core.formatter.lineSplit=120
-org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=true
-org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=true
-org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
-org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
-org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
-org.eclipse.jdt.core.formatter.tabulation.char=tab
-org.eclipse.jdt.core.formatter.tabulation.size=4
-org.eclipse.jdt.core.formatter.use_on_off_tags=false
-org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
-org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
-org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
-org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
diff --git a/org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.jdt.ui.prefs b/org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index 11031cff4..000000000
--- a/org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,63 +0,0 @@
-#Wed Mar 02 16:00:07 PST 2011
-cleanup_settings_version=2
-eclipse.preferences.version=1
-editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
-formatter_profile=_Mylyn based on Eclipse
-formatter_settings_version=12
-internal.default.compliance=default
-org.eclipse.jdt.ui.exception.name=e
-org.eclipse.jdt.ui.gettersetter.use.is=true
-org.eclipse.jdt.ui.javadoc=false
-org.eclipse.jdt.ui.keywordthis=false
-org.eclipse.jdt.ui.overrideannotation=true
-org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\r\n * @return the ${bare_field_name}\r\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\r\n * @param ${param} the ${bare_field_name} to set\r\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/**\r\n * \r\n */</template><template autoinsert\="false" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\r\n * @author ${user}\r\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\r\n * \r\n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment"/><template autoinsert\="false" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">/*******************************************************************************\r\n * Copyright (c) ${year} Tasktop Technologies and others.\r\n * All rights reserved. This program and the accompanying materials\r\n * are made available under the terms of the Eclipse Public License v1.0\r\n * which accompanies this distribution, and is available at\r\n * http\://www.eclipse.org/legal/epl-v10.html\r\n *\r\n * Contributors\:\r\n * Tasktop Technologies - initial API and implementation\r\n *******************************************************************************/\r\n\r\n${package_declaration}\r\n\r\n${typecomment}\r\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\r\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\r\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\r\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\r\n</template><template autoinsert\="false" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\r\n${exception_var}.printStackTrace();</template><template autoinsert\="false" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">// ignore\r\n${body_statement}</template><template autoinsert\="false" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\r\n// ignore</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\r\n * ${tags}\r\n * ${see_to_target}\r\n */</template><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\r\n * @return the ${bare_field_name}\r\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\r\n * @param ${param} the ${bare_field_name} to set\r\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="filecomment_context" deleted\="false" description\="Comment for created JavaScript files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.filecomment" name\="filecomment">/**\r\n * \r\n */</template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\r\n * @author ${user}\r\n *\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for vars" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\r\n * \r\n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="overridecomment_context" deleted\="false" description\="Comment for overriding functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/* (non-Jsdoc)\r\n * ${see_to_overridden}\r\n */</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\r\n * ${tags}\r\n * ${see_to_target}\r\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\r\n${package_declaration}\r\n\r\n${typecomment}\r\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.classbody" name\="classbody">\r\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\r\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.enumbody" name\="enumbody">\r\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\r\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\r\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created function stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated function stub\r\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\r\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates>
-sp_cleanup.add_default_serial_version_id=true
-sp_cleanup.add_generated_serial_version_id=false
-sp_cleanup.add_missing_annotations=true
-sp_cleanup.add_missing_deprecated_annotations=true
-sp_cleanup.add_missing_methods=false
-sp_cleanup.add_missing_nls_tags=false
-sp_cleanup.add_missing_override_annotations=true
-sp_cleanup.add_serial_version_id=false
-sp_cleanup.always_use_blocks=true
-sp_cleanup.always_use_parentheses_in_expressions=false
-sp_cleanup.always_use_this_for_non_static_field_access=false
-sp_cleanup.always_use_this_for_non_static_method_access=false
-sp_cleanup.convert_to_enhanced_for_loop=true
-sp_cleanup.correct_indentation=true
-sp_cleanup.format_source_code=true
-sp_cleanup.format_source_code_changes_only=false
-sp_cleanup.make_local_variable_final=false
-sp_cleanup.make_parameters_final=false
-sp_cleanup.make_private_fields_final=true
-sp_cleanup.make_variable_declarations_final=true
-sp_cleanup.never_use_blocks=false
-sp_cleanup.never_use_parentheses_in_expressions=true
-sp_cleanup.on_save_use_additional_actions=true
-sp_cleanup.organize_imports=true
-sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
-sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
-sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
-sp_cleanup.qualify_static_member_accesses_with_declaring_class=true
-sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
-sp_cleanup.remove_private_constructors=true
-sp_cleanup.remove_trailing_whitespaces=true
-sp_cleanup.remove_trailing_whitespaces_all=true
-sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
-sp_cleanup.remove_unnecessary_casts=true
-sp_cleanup.remove_unnecessary_nls_tags=true
-sp_cleanup.remove_unused_imports=false
-sp_cleanup.remove_unused_local_variables=false
-sp_cleanup.remove_unused_private_fields=true
-sp_cleanup.remove_unused_private_members=false
-sp_cleanup.remove_unused_private_methods=true
-sp_cleanup.remove_unused_private_types=true
-sp_cleanup.sort_members=false
-sp_cleanup.sort_members_all=false
-sp_cleanup.use_blocks=true
-sp_cleanup.use_blocks_only_for_return_and_throw=false
-sp_cleanup.use_parentheses_in_expressions=false
-sp_cleanup.use_this_for_non_static_field_access=false
-sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
-sp_cleanup.use_this_for_non_static_method_access=false
-sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
diff --git a/org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.ltk.core.refactoring.prefs b/org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.ltk.core.refactoring.prefs
deleted file mode 100644
index 5e7f2bd47..000000000
--- a/org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.ltk.core.refactoring.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Tue Aug 18 22:42:26 PDT 2009
-eclipse.preferences.version=1
-org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false
diff --git a/org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.mylyn.tasks.ui.prefs b/org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.mylyn.tasks.ui.prefs
deleted file mode 100644
index d8c6d26af..000000000
--- a/org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.mylyn.tasks.ui.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-#Mon Jun 25 03:02:37 GMT 2007
-eclipse.preferences.version=1
-project.repository.kind=bugzilla
-project.repository.url=https\://bugs.eclipse.org/bugs
diff --git a/org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.mylyn.team.ui.prefs b/org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.mylyn.team.ui.prefs
deleted file mode 100644
index 10d0afb92..000000000
--- a/org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.mylyn.team.ui.prefs
+++ /dev/null
@@ -1,2 +0,0 @@
-commit.comment.template=${task.key}\: ${task.description}\n\nTask-Url\: ${task.url}
-eclipse.preferences.version=1
diff --git a/org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.pde.prefs b/org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index e8f2d5620..000000000
--- a/org.eclipse.mylyn.oslc.ui/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,18 +0,0 @@
-#Tue Apr 15 11:07:59 PDT 2008
-compilers.incompatible-environment=1
-compilers.p.build=1
-compilers.p.deprecated=1
-compilers.p.discouraged-class=2
-compilers.p.missing-bundle-classpath-entries=1
-compilers.p.missing-packages=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=2
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=0
-compilers.p.unknown-identifier=1
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/org.eclipse.mylyn.oslc.ui/META-INF/MANIFEST.MF b/org.eclipse.mylyn.oslc.ui/META-INF/MANIFEST.MF
deleted file mode 100644
index 0068e7ea3..000000000
--- a/org.eclipse.mylyn.oslc.ui/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,17 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %Bundle-Name
-Bundle-SymbolicName: org.eclipse.mylyn.oslc.ui;singleton:=true
-Bundle-Version: 3.11.0.qualifier
-Bundle-Vendor: %Bundle-Vendor
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.eclipse.mylyn.tasks.core;bundle-version="[3.8.0,4.0.0)",
- org.eclipse.mylyn.tasks.ui;bundle-version="[3.8.0,4.0.0)",
- org.eclipse.mylyn.commons.ui;bundle-version="[3.8.0,4.0.0)",
- org.eclipse.mylyn.commons.core;bundle-version="[3.8.0,4.0.0)",
- org.eclipse.mylyn.oslc.core;bundle-version="[3.8.0,4.0.0)",
- org.eclipse.ui.forms
-Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Export-Package: org.eclipse.mylyn.internal.oslc.ui; x-internal:=true
-Bundle-Localization: plugin
diff --git a/org.eclipse.mylyn.oslc.ui/about.html b/org.eclipse.mylyn.oslc.ui/about.html
deleted file mode 100644
index d774b07c7..000000000
--- a/org.eclipse.mylyn.oslc.ui/about.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>June 25, 2008</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was
-provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at <a href="/">http://www.eclipse.org</a>.</p>
-
-</body>
-</html> \ No newline at end of file
diff --git a/org.eclipse.mylyn.oslc.ui/build.properties b/org.eclipse.mylyn.oslc.ui/build.properties
deleted file mode 100644
index 3ca78a28d..000000000
--- a/org.eclipse.mylyn.oslc.ui/build.properties
+++ /dev/null
@@ -1,17 +0,0 @@
-###############################################################################
-# Copyright (c) 2009 Tasktop Technologies and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# Tasktop Technologies - initial API and implementation
-###############################################################################
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .,\
- about.html,\
- plugin.properties
-src.includes = about.html
diff --git a/org.eclipse.mylyn.oslc.ui/plugin.properties b/org.eclipse.mylyn.oslc.ui/plugin.properties
deleted file mode 100644
index 3de220d59..000000000
--- a/org.eclipse.mylyn.oslc.ui/plugin.properties
+++ /dev/null
@@ -1,13 +0,0 @@
-###############################################################################
-# Copyright (c) 2009 Tasktop Technologies and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# Tasktop Technologies - initial API and implementation
-###############################################################################
-#Properties file for org.eclipse.mylyn.oslc.ui
-Bundle-Vendor = Eclipse Mylyn
-Bundle-Name = Mylyn OSLC UI
diff --git a/org.eclipse.mylyn.oslc.ui/pom.xml b/org.eclipse.mylyn.oslc.ui/pom.xml
deleted file mode 100644
index 67f4e8a69..000000000
--- a/org.eclipse.mylyn.oslc.ui/pom.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <artifactId>org.eclipse.mylyn.tasks-parent</artifactId>
- <groupId>org.eclipse.mylyn.tasks</groupId>
- <version>3.11.0-SNAPSHOT</version>
- </parent>
- <groupId>org.eclipse.mylyn.tasks</groupId>
- <artifactId>org.eclipse.mylyn.oslc.ui</artifactId>
- <version>3.11.0-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-source-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-pmd-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/Messages.java b/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/Messages.java
deleted file mode 100644
index 6948af01b..000000000
--- a/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/Messages.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2010 Tasktop Technologies.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Tasktop EULA
- * which accompanies this distribution, and is available at
- * http://tasktop.com/legal
- *******************************************************************************/
-
-package org.eclipse.mylyn.internal.oslc.ui;
-
-import org.eclipse.osgi.util.NLS;
-
-public class Messages extends NLS {
- private static final String BUNDLE_NAME = "org.eclipse.mylyn.internal.oslc.ui.messages"; //$NON-NLS-1$
-
- public static String OslcRepositorySettingsPage_Enter_Base_Url_Above;
-
- public static String OslcServiceDiscoveryWizardPage_Browse_Available_Services_Below;
-
- public static String OslcServiceDiscoveryWizardPage_Serivce_Discovery;
-
- public static String OslcServiceLabelProvider_Loading;
- static {
- // initialize resource bundle
- NLS.initializeMessages(BUNDLE_NAME, Messages.class);
- }
-
- private Messages() {
- }
-
-}
diff --git a/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcRepositorySettingsPage.java b/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcRepositorySettingsPage.java
deleted file mode 100644
index 639482b6f..000000000
--- a/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcRepositorySettingsPage.java
+++ /dev/null
@@ -1,195 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009, 2010 Tasktop Technologies and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.mylyn.internal.oslc.ui;
-
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.layout.GridDataFactory;
-import org.eclipse.jface.window.Window;
-import org.eclipse.mylyn.commons.core.StatusHandler;
-import org.eclipse.mylyn.internal.oslc.core.IOslcConnector;
-import org.eclipse.mylyn.internal.oslc.core.IOslcCoreConstants;
-import org.eclipse.mylyn.internal.oslc.core.OslcServiceDescriptor;
-import org.eclipse.mylyn.internal.oslc.core.OslcServiceProvider;
-import org.eclipse.mylyn.tasks.core.TaskRepository;
-import org.eclipse.mylyn.tasks.ui.wizards.AbstractRepositorySettingsPage;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.ModifyEvent;
-import org.eclipse.swt.events.ModifyListener;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Text;
-
-/**
- * @author Robert Elves
- */
-public abstract class OslcRepositorySettingsPage extends AbstractRepositorySettingsPage {
-
- private OslcServiceDescriptor descriptor;
-
- protected Text baseText;
-
- public OslcRepositorySettingsPage(String name, String desc, TaskRepository taskRepository) {
- super(name, desc, taskRepository);
- setNeedsAnonymousLogin(false);
- setNeedsEncoding(false);
- setNeedsTimeZone(false);
- setNeedsHttpAuth(false);
- }
-
- public OslcServiceDescriptor getProvider() {
- return descriptor;
- }
-
- public void setServiceDescriptor(OslcServiceDescriptor descriptor) {
- this.descriptor = descriptor;
- }
-
- protected String getBaseUrl() {
- return baseText.getText();
- }
-
- @Override
- protected void createSettingControls(Composite parent) {
-
- Label baseUrlLabel = new Label(parent, SWT.NONE);
- baseUrlLabel.setText("Base URL:"); //$NON-NLS-1$
- baseText = new Text(parent, SWT.BORDER);
- if (repository != null) {
- String base = repository.getProperty(IOslcCoreConstants.OSLC_BASEURL);
- if (base != null) {
- baseText.setText(base);
- }
- }
- baseText.addModifyListener(new ModifyListener() {
- public void modifyText(ModifyEvent e) {
- serverUrlCombo.setText(baseText.getText());
- if (getWizard() != null) {
- getWizard().getContainer().updateButtons();
- }
- }
- });
-
- GridDataFactory.fillDefaults().hint(300, SWT.DEFAULT).span(2, 1).grab(true, false).applyTo(baseText);
-
- super.createSettingControls(parent);
- if (serverUrlCombo.getText().length() == 0) {
- serverUrlCombo.setText(Messages.OslcRepositorySettingsPage_Enter_Base_Url_Above);
- }
- serverUrlCombo.setEnabled(false);
- }
-
- @Override
- public abstract String getConnectorKind();
-
- @Override
- protected Validator getValidator(TaskRepository repository) {
- return new OslcValidator(createTaskRepository(), baseText.getText());
- }
-
- @Override
- public void applyTo(TaskRepository repository) {
- repository.setProperty(IOslcCoreConstants.OSLC_BASEURL, baseText.getText());
- super.applyTo(repository);
- };
-
- @Override
- protected void applyValidatorResult(Validator validator) {
- OslcValidator cqValidator = (OslcValidator) validator;
-
- if (!cqValidator.getProviders().isEmpty()) {
- if (repository == null) {
- repository = createTaskRepository();
- }
- OslcServiceDiscoveryWizard oslcWizard = new OslcServiceDiscoveryWizard(((IOslcConnector) connector),
- cqValidator.getRepository(), cqValidator.getProviders());
- OslcServiceDiscoveryWizardDialog dialog = new OslcServiceDiscoveryWizardDialog(getShell(), oslcWizard);
- dialog.setBlockOnOpen(true);
- dialog.create();
- int result = dialog.open();
-
- if (result == Window.OK && oslcWizard.getSelectedServiceDescriptor() != null) {
- setUrl(oslcWizard.getSelectedServiceDescriptor().getAboutUrl());
- setServiceDescriptor(oslcWizard.getSelectedServiceDescriptor());
- } else {
- cqValidator.setStatus(Status.CANCEL_STATUS);
- }
- }
-
- super.applyValidatorResult(validator);
- }
-
- private class OslcValidator extends Validator {
-
- final TaskRepository repository;
-
- private List<OslcServiceProvider> providers = new ArrayList<OslcServiceProvider>();
-
- private final String baseUrl;
-
- public TaskRepository getRepository() {
- return this.repository;
- }
-
- public OslcValidator(TaskRepository repository, String baseUrl) {
- this.repository = repository;
- this.baseUrl = baseUrl;
- }
-
- private String getBaseUrl() {
- return baseUrl;
- }
-
- @Override
- public void run(IProgressMonitor monitor) throws CoreException {
- try {
- new URL(getBaseUrl());
-
- // TODO: if only one ServiceProviderCatalog/ServiceProvider found, use it
-
- List<OslcServiceProvider> serviceProviders = ((IOslcConnector) connector).getAvailableServices(
- repository, getBaseUrl(), monitor);
- setProviders(serviceProviders);
- } catch (MalformedURLException ex) {
- throw new CoreException(new Status(IStatus.ERROR, IOslcCoreConstants.ID_PLUGIN, IStatus.OK,
- INVALID_REPOSITORY_URL, null));
- } catch (CoreException e) {
- StatusHandler.log(new Status(IStatus.ERROR, IOslcCoreConstants.ID_PLUGIN,
- "Error occurred during service discovery", e)); //$NON-NLS-1$
- throw e;
- }
-
- }
-
- private void setProviders(List<OslcServiceProvider> providers) {
- this.providers = providers;
- }
-
- public List<OslcServiceProvider> getProviders() {
- return providers;
- }
-
- }
-
- @Override
- protected void createAdditionalControls(Composite parent) {
- // ignore
- }
-
-}
diff --git a/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcServiceDiscoveryProvider.java b/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcServiceDiscoveryProvider.java
deleted file mode 100644
index 4abc86862..000000000
--- a/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcServiceDiscoveryProvider.java
+++ /dev/null
@@ -1,170 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009 Tasktop Technologies and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.mylyn.internal.oslc.ui;
-
-import java.util.List;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.core.runtime.jobs.ISchedulingRule;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.viewers.AbstractTreeViewer;
-import org.eclipse.jface.viewers.ITreeContentProvider;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.mylyn.commons.core.StatusHandler;
-import org.eclipse.mylyn.internal.oslc.core.IOslcConnector;
-import org.eclipse.mylyn.internal.oslc.core.IOslcCoreConstants;
-import org.eclipse.mylyn.internal.oslc.core.OslcServiceDescriptor;
-import org.eclipse.mylyn.internal.oslc.core.OslcServiceProvider;
-import org.eclipse.mylyn.internal.oslc.core.OslcServiceProviderCatalog;
-import org.eclipse.mylyn.tasks.core.TaskRepository;
-import org.eclipse.ui.progress.DeferredTreeContentManager;
-import org.eclipse.ui.progress.IDeferredWorkbenchAdapter;
-import org.eclipse.ui.progress.IElementCollector;
-
-/**
- * @author Robert Elves
- */
-public class OslcServiceDiscoveryProvider implements ITreeContentProvider {
-
- private final IOslcConnector connector;
-
- private final TaskRepository repository;
-
- private OslcServiceProvider selectedPovider;
-
- private DeferredTreeContentManager manager;
-
- OslcServiceDiscoveryProvider(IOslcConnector connector, TaskRepository repository, String base) {
- this.connector = connector;
- this.repository = repository;
- }
-
- public Object[] getChildren(Object parentElement) {
- return manager.getChildren(parentElement);
- }
-
- public Object getParent(Object element) {
- return null;
- }
-
- public OslcServiceProvider getOSLServiceProvider() {
- return selectedPovider;
- }
-
- public boolean hasChildren(Object element) {
- return manager.mayHaveChildren(element);
- }
-
- @SuppressWarnings("unchecked")
- public Object[] getElements(Object inputElement) {
- if (inputElement instanceof List<?>) {
- List<OslcServiceProvider> rootProviders = (List<OslcServiceProvider>) inputElement;
- Object[] result = new Object[rootProviders.size()];
- for (int x = 0; x < rootProviders.size(); x++) {
- result[x] = new ServiceProviderCatalogWrapper(rootProviders.get(x));
- }
- return result;
- } else {
- Object[] result = { inputElement };
- return result;
- }
- }
-
- public void dispose() {
- // ignore
- }
-
- @SuppressWarnings("deprecation")
- public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
- if (viewer instanceof AbstractTreeViewer) {
- manager = new DeferredTreeContentManager(null, (AbstractTreeViewer) viewer);
- }
- }
-
- protected class ServiceProviderCatalogWrapper implements IDeferredWorkbenchAdapter {
- private final Object element;
-
- public ServiceProviderCatalogWrapper(Object catalog) {
- this.element = catalog;
- }
-
- public void fetchDeferredChildren(Object object, IElementCollector collector, IProgressMonitor monitor) {
- try {
- if (!monitor.isCanceled()) {
- monitor.beginTask("Loading...", IProgressMonitor.UNKNOWN); //$NON-NLS-1$
- ServiceProviderCatalogWrapper wrapper = (ServiceProviderCatalogWrapper) object;
- Object parentElement = wrapper.getServiceObject();
- if (parentElement instanceof OslcServiceProviderCatalog) {
- OslcServiceProviderCatalog remoteFolder = (OslcServiceProviderCatalog) parentElement;
- List<OslcServiceProvider> providers = connector.getAvailableServices(repository,
- remoteFolder.getUrl(), monitor);
- for (OslcServiceProvider oslcServiceProvider : providers) {
- collector.add(new ServiceProviderCatalogWrapper(oslcServiceProvider), monitor);
- }
- } else if (parentElement instanceof OslcServiceProvider) {
- selectedPovider = (OslcServiceProvider) parentElement;
- OslcServiceDescriptor serviceDescriptor = connector.getServiceDescriptor(repository,
- selectedPovider, monitor);
- collector.add(new ServiceProviderCatalogWrapper(serviceDescriptor), monitor);
-// for (OslcCreationDialogDescriptor oslcRecordType : serviceDescriptor.getCreationDialogs()) {
-// collector.add(new ServiceProviderCatalogWrapper(oslcRecordType), monitor);
-// }
- }
- }
- } catch (CoreException e) {
- StatusHandler.log(new Status(IStatus.ERROR, IOslcCoreConstants.ID_PLUGIN,
- "Error occurred during service discovery", e)); //$NON-NLS-1$
- } finally {
- monitor.done();
- }
-
- }
-
- public ISchedulingRule getRule(Object object) {
- return null;
- }
-
- public boolean isContainer() {
- return (element instanceof OslcServiceProviderCatalog || element instanceof OslcServiceProvider);
- }
-
- public Object[] getChildren(Object o) {
- return null;
- }
-
- public ImageDescriptor getImageDescriptor(Object object) {
- return null;
- }
-
- public String getLabel(Object o) {
- if (element instanceof OslcServiceProvider) {
- return ((OslcServiceProvider) element).getName();
- } else if (element instanceof OslcServiceDescriptor) {
- return ((OslcServiceDescriptor) element).getDescription();
- }
- return ""; //$NON-NLS-1$
- }
-
- public Object getParent(Object o) {
- return null;
- }
-
- public Object getServiceObject() {
- return element;
- }
-
- }
-
-}
diff --git a/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcServiceDiscoveryWizard.java b/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcServiceDiscoveryWizard.java
deleted file mode 100644
index 49c396c86..000000000
--- a/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcServiceDiscoveryWizard.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009 Tasktop Technologies and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.mylyn.internal.oslc.ui;
-
-import java.util.List;
-
-import org.eclipse.jface.wizard.Wizard;
-import org.eclipse.mylyn.internal.oslc.core.IOslcConnector;
-import org.eclipse.mylyn.internal.oslc.core.OslcServiceDescriptor;
-import org.eclipse.mylyn.internal.oslc.core.OslcServiceProvider;
-import org.eclipse.mylyn.tasks.core.TaskRepository;
-
-/**
- * @author Robert Elves
- */
-public class OslcServiceDiscoveryWizard extends Wizard {
-
- private final IOslcConnector connector;
-
- private final TaskRepository repository;
-
- private OslcServiceDiscoveryWizardPage page;
-
- private final List<OslcServiceProvider> providers;
-
- public OslcServiceDiscoveryWizard(IOslcConnector connector, TaskRepository repository,
- List<OslcServiceProvider> providers) {
- setNeedsProgressMonitor(true);
- this.connector = connector;
- this.repository = repository;
- this.providers = providers;
- }
-
- @Override
- public boolean performFinish() {
- return true;
- }
-
- @Override
- public void addPages() {
- page = new OslcServiceDiscoveryWizardPage(connector, repository);
- page.setRootProviders(providers);
- addPage(page);
- }
-
- @Override
- public boolean canFinish() {
- return (page.getSelectedServiceProvider() != null);
- }
-
- public OslcServiceDescriptor getSelectedServiceDescriptor() {
- return page.getSelectedServiceProvider();
- }
-
-}
diff --git a/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcServiceDiscoveryWizardDialog.java b/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcServiceDiscoveryWizardDialog.java
deleted file mode 100644
index 645abd9be..000000000
--- a/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcServiceDiscoveryWizardDialog.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009 Tasktop Technologies and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.mylyn.internal.oslc.ui;
-
-import org.eclipse.jface.wizard.IWizard;
-import org.eclipse.jface.wizard.WizardDialog;
-import org.eclipse.swt.widgets.Shell;
-
-/**
- * @author Robert Elves
- */
-public class OslcServiceDiscoveryWizardDialog extends WizardDialog {
-
- public OslcServiceDiscoveryWizardDialog(Shell parentShell, IWizard newWizard) {
- super(parentShell, newWizard);
- }
-
-}
diff --git a/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcServiceDiscoveryWizardPage.java b/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcServiceDiscoveryWizardPage.java
deleted file mode 100644
index 713aed688..000000000
--- a/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcServiceDiscoveryWizardPage.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009 Tasktop Technologies and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.mylyn.internal.oslc.ui;
-
-import java.util.List;
-
-import org.eclipse.jface.layout.GridDataFactory;
-import org.eclipse.jface.viewers.ISelectionChangedListener;
-import org.eclipse.jface.viewers.SelectionChangedEvent;
-import org.eclipse.jface.viewers.TreeSelection;
-import org.eclipse.jface.viewers.TreeViewer;
-import org.eclipse.jface.wizard.WizardPage;
-import org.eclipse.mylyn.internal.oslc.core.IOslcConnector;
-import org.eclipse.mylyn.internal.oslc.core.OslcServiceDescriptor;
-import org.eclipse.mylyn.internal.oslc.core.OslcServiceProvider;
-import org.eclipse.mylyn.internal.oslc.core.OslcServiceProviderCatalog;
-import org.eclipse.mylyn.internal.oslc.ui.OslcServiceDiscoveryProvider.ServiceProviderCatalogWrapper;
-import org.eclipse.mylyn.tasks.core.TaskRepository;
-import org.eclipse.mylyn.tasks.ui.TasksUiImages;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Composite;
-
-/**
- * @author Robert Elves
- */
-public class OslcServiceDiscoveryWizardPage extends WizardPage {
-
- private static final String TITLE_SERVICE_DISCOVERY = Messages.OslcServiceDiscoveryWizardPage_Serivce_Discovery;
-
- private TreeViewer v;
-
- private OslcServiceDescriptor selectedServiceDescriptor;
-
- private final TaskRepository repository;
-
- private final OslcServiceDiscoveryProvider provider;
-
- private List<OslcServiceProvider> rootProviders;
-
- protected OslcServiceDiscoveryWizardPage(IOslcConnector connector, TaskRepository repository) {
- super(TITLE_SERVICE_DISCOVERY, TITLE_SERVICE_DISCOVERY, TasksUiImages.BANNER_REPOSITORY);
- this.repository = repository;
- this.provider = new OslcServiceDiscoveryProvider(connector, repository, null);
- setMessage(Messages.OslcServiceDiscoveryWizardPage_Browse_Available_Services_Below);
- }
-
- public void createControl(Composite parent) {
- Composite composite = new Composite(parent, SWT.NONE);
- composite.setLayout(new GridLayout(1, true));
- GridDataFactory.fillDefaults().grab(true, true).applyTo(composite);
-
- v = new TreeViewer(composite, SWT.VIRTUAL | SWT.BORDER);
- v.setUseHashlookup(true);
- GridDataFactory.fillDefaults().grab(true, true).applyTo(v.getTree());
-
- v.setLabelProvider(new OslcServiceLabelProvider());
- v.setContentProvider(provider);
- v.addSelectionChangedListener(new ISelectionChangedListener() {
-
- public void selectionChanged(SelectionChangedEvent event) {
- TreeSelection selection = (TreeSelection) v.getSelection();
- Object o = selection.getFirstElement();
- if (o instanceof ServiceProviderCatalogWrapper) {
- Object provObj = ((ServiceProviderCatalogWrapper) o).getServiceObject();
- if (provObj instanceof OslcServiceProviderCatalog) {
- setSelectedServiceDescriptor(null);
- } else if (provObj instanceof OslcServiceProvider) {
- setSelectedServiceDescriptor(null);
- } else if (provObj instanceof OslcServiceDescriptor) {
- setSelectedServiceDescriptor((OslcServiceDescriptor) provObj);
- }
- } else {
- // TODO: disable OK button
- }
- }
- });
- if (rootProviders != null && !rootProviders.isEmpty()) {
- v.setInput(rootProviders);
- } else {
- v.setInput(new OslcServiceProviderCatalog(repository.getRepositoryLabel(), repository.getUrl()));
- }
- setControl(composite);
- }
-
- private void setSelectedServiceDescriptor(OslcServiceDescriptor selectedServiceDescriptor) {
- this.selectedServiceDescriptor = selectedServiceDescriptor;
- setPageComplete(selectedServiceDescriptor != null);
- }
-
- public OslcServiceDescriptor getSelectedServiceProvider() {
- return selectedServiceDescriptor;
- }
-
- public void setRootProviders(List<OslcServiceProvider> providers) {
- this.rootProviders = providers;
- }
-
-}
diff --git a/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcServiceLabelProvider.java b/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcServiceLabelProvider.java
deleted file mode 100644
index a18edd166..000000000
--- a/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcServiceLabelProvider.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009 Tasktop Technologies and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.mylyn.internal.oslc.ui;
-
-import org.eclipse.jface.viewers.LabelProvider;
-import org.eclipse.mylyn.commons.ui.CommonImages;
-import org.eclipse.mylyn.internal.oslc.core.OslcCreationDialogDescriptor;
-import org.eclipse.mylyn.internal.oslc.core.OslcServiceDescriptor;
-import org.eclipse.mylyn.internal.oslc.core.OslcServiceProvider;
-import org.eclipse.mylyn.internal.oslc.core.OslcServiceProviderCatalog;
-import org.eclipse.mylyn.internal.oslc.ui.OslcServiceDiscoveryProvider.ServiceProviderCatalogWrapper;
-import org.eclipse.mylyn.tasks.ui.TasksUiImages;
-import org.eclipse.swt.graphics.Image;
-
-/**
- * @author Robert Elves
- */
-public class OslcServiceLabelProvider extends LabelProvider {
-
- @Override
- public String getText(Object element) {
- if (element instanceof OslcServiceProvider) {
- return ((OslcServiceProvider) element).getName();
- } else if (element instanceof OslcCreationDialogDescriptor) {
- return ((OslcCreationDialogDescriptor) element).getTitle();
- } else if (element instanceof OslcServiceDescriptor) {
- return ((OslcServiceDescriptor) element).getDescription();
- } else if (element instanceof ServiceProviderCatalogWrapper) {
- return this.getText(((ServiceProviderCatalogWrapper) element).getServiceObject());
- } else {
- return Messages.OslcServiceLabelProvider_Loading;
- }
- }
-
- @Override
- public Image getImage(Object element) {
- if (element instanceof OslcServiceProviderCatalog) {
- return CommonImages.getImage(TasksUiImages.REPOSITORIES_VIEW);
- } else if (element instanceof OslcServiceProvider) {
- return CommonImages.getImage(TasksUiImages.REPOSITORY);
- } else if (element instanceof ServiceProviderCatalogWrapper) {
- return this.getImage(((ServiceProviderCatalogWrapper) element).getServiceObject());
- }
- return null;
- }
-}
diff --git a/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/messages.properties b/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/messages.properties
deleted file mode 100644
index a4ff95641..000000000
--- a/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/messages.properties
+++ /dev/null
@@ -1,14 +0,0 @@
-###############################################################################
-# Copyright (c) 2009 Tasktop Technologies and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# Tasktop Technologies - initial API and implementation
-###############################################################################
-OslcRepositorySettingsPage_Enter_Base_Url_Above=Enter base url above and press Validate Settings
-OslcServiceDiscoveryWizardPage_Browse_Available_Services_Below=Browse the available services below.
-OslcServiceDiscoveryWizardPage_Serivce_Discovery=Service Discovery
-OslcServiceLabelProvider_Loading=Loading... \ No newline at end of file
diff --git a/org.eclipse.mylyn.sdk-feature/feature.xml b/org.eclipse.mylyn.sdk-feature/feature.xml
index 9b78f2f49..794047211 100644
--- a/org.eclipse.mylyn.sdk-feature/feature.xml
+++ b/org.eclipse.mylyn.sdk-feature/feature.xml
@@ -111,34 +111,6 @@
unpack="false"/>
<plugin
- id="org.eclipse.mylyn.oslc.core"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
- id="org.eclipse.mylyn.oslc.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
- id="org.eclipse.mylyn.oslc.core.source"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
- id="org.eclipse.mylyn.oslc.ui.source"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
id="org.eclipse.mylyn.tasks.bugs.source"
download-size="0"
install-size="0"
diff --git a/org.eclipse.mylyn.test-feature/feature.xml b/org.eclipse.mylyn.test-feature/feature.xml
index 0dde074fe..5d5a0c9b4 100644
--- a/org.eclipse.mylyn.test-feature/feature.xml
+++ b/org.eclipse.mylyn.test-feature/feature.xml
@@ -38,13 +38,6 @@
version="0.0.0"/>
<plugin
- id="org.eclipse.mylyn.oslc.tests"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
id="org.eclipse.mylyn.tasks.tests"
download-size="0"
install-size="0"
@@ -70,13 +63,6 @@
version="0.0.0"/>
<plugin
- id="org.eclipse.mylyn.oslc.tests.source"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
id="org.eclipse.mylyn.tasks.tests.source"
download-size="0"
install-size="0"
diff --git a/pom.xml b/pom.xml
index 1767edfe7..8e433dcfd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -95,9 +95,6 @@
<module>org.eclipse.mylyn.help.ui</module>
<module>org.eclipse.mylyn.sdk-feature</module>
<module>org.eclipse.mylyn.test-feature</module>
- <module>org.eclipse.mylyn.oslc.core</module>
- <module>org.eclipse.mylyn.oslc.tests</module>
- <module>org.eclipse.mylyn.oslc.ui</module>
<module>org.eclipse.mylyn.tasks-site</module>
<module>org.eclipse.mylyn.tasks-target</module>
<module>org.eclipse.mylyn.tasks.activity.core</module>

Back to the top