Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Becker2012-11-07 20:27:56 +0000
committerFrank Becker2012-11-07 20:27:56 +0000
commit282f494a6603fcedf5b9b420945d6258ea6feaf9 (patch)
tree5dd83f12369262b4cb771eafd68036c060af1563
parent5f50290b515c1b7c4073c62dd0b576a88ae0b851 (diff)
downloadorg.eclipse.mylyn.tasks-282f494a6603fcedf5b9b420945d6258ea6feaf9.tar.gz
org.eclipse.mylyn.tasks-282f494a6603fcedf5b9b420945d6258ea6feaf9.tar.xz
org.eclipse.mylyn.tasks-282f494a6603fcedf5b9b420945d6258ea6feaf9.zip
393640: create puppet configuration for Bugzilla
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=393640 Change-Id: I462d10fbd42c4d703e4db6ffb68dceca701c4289
-rw-r--r--org.eclipse.mylyn.bugzilla.releng/.gitignore1
-rw-r--r--org.eclipse.mylyn.bugzilla.releng/.project23
-rw-r--r--org.eclipse.mylyn.bugzilla.releng/.settings/org.eclipse.core.runtime.prefs2
-rw-r--r--org.eclipse.mylyn.bugzilla.releng/.settings/org.eclipse.jdt.core.prefs357
-rw-r--r--org.eclipse.mylyn.bugzilla.releng/.settings/org.eclipse.jdt.ui.prefs63
-rw-r--r--org.eclipse.mylyn.bugzilla.releng/.settings/org.eclipse.mylyn.tasks.ui.prefs4
-rw-r--r--org.eclipse.mylyn.bugzilla.releng/.settings/org.eclipse.mylyn.team.ui.prefs2
-rw-r--r--org.eclipse.mylyn.bugzilla.releng/Vagrantfile9
-rw-r--r--org.eclipse.mylyn.bugzilla.releng/manifests/default.pp92
-rw-r--r--org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/files/extensions/Mylyn/Config.pm29
-rw-r--r--org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/files/extensions/Mylyn/lib/Util.pm25
-rw-r--r--org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/files/index.php3
-rw-r--r--org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/defaultsites.pp144
-rw-r--r--org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/init.pp113
-rw-r--r--org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/Extension.pm.erb448
-rw-r--r--org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/answers.erb18
-rw-r--r--org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/apache2.conf.erb9
-rw-r--r--org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/xmlrpc.cgi.erb12
18 files changed, 1354 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.bugzilla.releng/.gitignore b/org.eclipse.mylyn.bugzilla.releng/.gitignore
new file mode 100644
index 000000000..997ca2f84
--- /dev/null
+++ b/org.eclipse.mylyn.bugzilla.releng/.gitignore
@@ -0,0 +1 @@
+.vagrant \ No newline at end of file
diff --git a/org.eclipse.mylyn.bugzilla.releng/.project b/org.eclipse.mylyn.bugzilla.releng/.project
new file mode 100644
index 000000000..9b5c3349f
--- /dev/null
+++ b/org.eclipse.mylyn.bugzilla.releng/.project
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.mylyn.bugzilla.releng</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.cloudsmith.geppetto.pp.dsl.ui.modulefileBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.cloudsmith.geppetto.pp.dsl.ui.puppetNature</nature>
+ <nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
+ </natures>
+</projectDescription>
diff --git a/org.eclipse.mylyn.bugzilla.releng/.settings/org.eclipse.core.runtime.prefs b/org.eclipse.mylyn.bugzilla.releng/.settings/org.eclipse.core.runtime.prefs
new file mode 100644
index 000000000..5a0ad22d2
--- /dev/null
+++ b/org.eclipse.mylyn.bugzilla.releng/.settings/org.eclipse.core.runtime.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+line.separator=\n
diff --git a/org.eclipse.mylyn.bugzilla.releng/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.mylyn.bugzilla.releng/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 000000000..bbaca6d64
--- /dev/null
+++ b/org.eclipse.mylyn.bugzilla.releng/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,357 @@
+#Wed Mar 02 16:00:06 PST 2011
+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.5
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.5
+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.5
+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_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.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=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_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_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_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_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_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_outer_expressions_when_nested=true
diff --git a/org.eclipse.mylyn.bugzilla.releng/.settings/org.eclipse.jdt.ui.prefs b/org.eclipse.mylyn.bugzilla.releng/.settings/org.eclipse.jdt.ui.prefs
new file mode 100644
index 000000000..e2834b278
--- /dev/null
+++ b/org.eclipse.mylyn.bugzilla.releng/.settings/org.eclipse.jdt.ui.prefs
@@ -0,0 +1,63 @@
+#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.bugzilla.releng/.settings/org.eclipse.mylyn.tasks.ui.prefs b/org.eclipse.mylyn.bugzilla.releng/.settings/org.eclipse.mylyn.tasks.ui.prefs
new file mode 100644
index 000000000..8356f9339
--- /dev/null
+++ b/org.eclipse.mylyn.bugzilla.releng/.settings/org.eclipse.mylyn.tasks.ui.prefs
@@ -0,0 +1,4 @@
+#Thu Dec 20 14:13:09 PST 2007
+eclipse.preferences.version=1
+project.repository.kind=bugzilla
+project.repository.url=https\://bugs.eclipse.org/bugs
diff --git a/org.eclipse.mylyn.bugzilla.releng/.settings/org.eclipse.mylyn.team.ui.prefs b/org.eclipse.mylyn.bugzilla.releng/.settings/org.eclipse.mylyn.team.ui.prefs
new file mode 100644
index 000000000..10d0afb92
--- /dev/null
+++ b/org.eclipse.mylyn.bugzilla.releng/.settings/org.eclipse.mylyn.team.ui.prefs
@@ -0,0 +1,2 @@
+commit.comment.template=${task.key}\: ${task.description}\n\nTask-Url\: ${task.url}
+eclipse.preferences.version=1
diff --git a/org.eclipse.mylyn.bugzilla.releng/Vagrantfile b/org.eclipse.mylyn.bugzilla.releng/Vagrantfile
new file mode 100644
index 000000000..b013b81cc
--- /dev/null
+++ b/org.eclipse.mylyn.bugzilla.releng/Vagrantfile
@@ -0,0 +1,9 @@
+Vagrant::Config.run do |config|
+ config.vm.box = "precise32"
+ config.vm.box_url = "http://files.vagrantup.com/precise32.box"
+
+ config.vm.forward_port 80, 2080
+ config.vm.forward_port 443, 2443
+
+ config.vm.provision :puppet, :module_path => "modules"
+end \ No newline at end of file
diff --git a/org.eclipse.mylyn.bugzilla.releng/manifests/default.pp b/org.eclipse.mylyn.bugzilla.releng/manifests/default.pp
new file mode 100644
index 000000000..ede7ba095
--- /dev/null
+++ b/org.eclipse.mylyn.bugzilla.releng/manifests/default.pp
@@ -0,0 +1,92 @@
+Exec { path => [ "/bin/", "/sbin/" , "/usr/bin/", "/usr/sbin/" ] }
+
+class bugzilla {
+ $dbuser = 'bugz'
+ $dbuserPassword = 'ovlwq8'
+
+ $toolsDir = "/home/tools"
+ $bugzillaBase = "/home/tools/bugzilla"
+ $installHelper = "$bugzillaBase/installHelper"
+ $installLog = "$bugzillaBase/installLog"
+ $confDir = "$bugzillaBase/conf.d"
+
+
+ exec { "apt-get update":
+ command => "apt-get update",
+ onlyif => "find /var/lib/apt/lists/ -mtime -7 | (grep -q Package; [ $? != 0 ])",
+ }
+
+ bugzilla::defaultsites { "bugzilla":
+ }
+
+ bugzillaVersion { "bugs36":
+ major => "3",
+ minor => "6",
+ require => [Service["mysql"], Exec["mysql-create-user-${dbuser}"]]
+ }
+
+ bugzillaVersion { "bugs36-custom-wf":
+ major => "3",
+ minor => "6",
+ branch => "3.6",
+ bugz_dbname => "bugs_3_6_cwf",
+ custom_wf => true,
+ require => [Service["mysql"], Exec["mysql-create-user-${dbuser}"]]
+ }
+
+ bugzillaVersion { "bugs36-custom-wf-and-status":
+ major => "3",
+ minor => "6",
+ branch => "3.6",
+ bugz_dbname => "bugs_3_6_cwf_ws",
+ custom_wf_and_status => true,
+ require => [Service["mysql"], Exec["mysql-create-user-${dbuser}"]]
+ }
+
+ bugzillaVersion { "bugs36-xml-rpc-disabled":
+ major => "3",
+ minor => "6",
+ branch => "3.6",
+ bugz_dbname => "bugs_3_6_norpc",
+ xmlrpc_enabled => false,
+ require => [Service["mysql"], Exec["mysql-create-user-${dbuser}"]]
+ }
+
+ bugzillaVersion { "bugs40":
+ major => "4",
+ minor => "0",
+ require => [Service["mysql"], Exec["mysql-create-user-${dbuser}"]]
+ }
+
+ bugzillaVersion { "bugs42":
+ major => "4",
+ minor => "2",
+ require => [Service["mysql"], Exec["mysql-create-user-${dbuser}"]]
+ }
+
+ bugzillaVersion { "bugs44":
+ major => "4",
+ minor => "4",
+ branch => "4.4",
+ branchTag => "trunk",
+ require => [Service["mysql"], Exec["mysql-create-user-${dbuser}"]]
+ }
+
+ bugzillaVersion { "bugshead":
+ major => "4",
+ minor => "5",
+ branch => "trunk",
+ branchTag => "trunk",
+ bugz_dbname => "bugs_head",
+ require => [Service["mysql"], Exec["mysql-create-user-${dbuser}"]]
+ }
+
+ file { "/etc/apache2/conf.d/bugzilla.conf":
+ content => "Include /home/tools/bugzilla/conf.d/[^.#]*\n",
+ require => Package["apache2"],
+ notify => Service["apache2"],
+}
+}
+
+include bugzilla
+
diff --git a/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/files/extensions/Mylyn/Config.pm b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/files/extensions/Mylyn/Config.pm
new file mode 100644
index 000000000..0e47fa8c7
--- /dev/null
+++ b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/files/extensions/Mylyn/Config.pm
@@ -0,0 +1,29 @@
+# -*- Mode: perl; indent-tabs-mode: nil -*-
+#
+# Copyright (c) 2012 Frank Becker 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:
+# Frank Becker - initial API and implementation
+#
+
+package Bugzilla::Extension::Mylyn;
+use strict;
+
+use constant NAME => 'Mylyn';
+
+use constant REQUIRED_MODULES => [
+ {
+ package => 'Data-Dumper',
+ module => 'Data::Dumper',
+ version => 0,
+ },
+];
+
+use constant OPTIONAL_MODULES => [
+];
+
+__PACKAGE__->NAME; \ No newline at end of file
diff --git a/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/files/extensions/Mylyn/lib/Util.pm b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/files/extensions/Mylyn/lib/Util.pm
new file mode 100644
index 000000000..f8f174a60
--- /dev/null
+++ b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/files/extensions/Mylyn/lib/Util.pm
@@ -0,0 +1,25 @@
+# -*- Mode: perl; indent-tabs-mode: nil -*-
+#
+# Copyright (c) 2012 Frank Becker 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:
+# Frank Becker - initial API and implementation
+#
+
+package Bugzilla::Extension::Mylyn::Util;
+use strict;
+use base qw(Exporter);
+our @EXPORT = qw(
+
+);
+
+# This file can be loaded by your extension via
+# "use Bugzilla::Extension::Mylyn::Util". You can put functions
+# used by your extension in here. (Make sure you also list them in
+# @EXPORT.)
+
+1; \ No newline at end of file
diff --git a/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/files/index.php b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/files/index.php
new file mode 100644
index 000000000..bd7699fd7
--- /dev/null
+++ b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/files/index.php
@@ -0,0 +1,3 @@
+<?php
+echo "THIS PAGE IS MANAGED BY PUPPET !!!";
+?>
diff --git a/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/defaultsites.pp b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/defaultsites.pp
new file mode 100644
index 000000000..6a8a00fed
--- /dev/null
+++ b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/defaultsites.pp
@@ -0,0 +1,144 @@
+define bugzilla::defaultsites {
+$requirements = [
+ "apache2",
+ "apache2.2-common",
+ "libapache2-mod-auth-mysql",
+ "libapache2-mod-fcgid",
+ "libapache2-mod-php5",
+ "mysql-server",
+ "bzr",
+ "make",
+ "perl-doc",
+ "php5",
+ "php5-mysql",
+ "phpmyadmin",
+ "libcgi-pm-perl",
+ "libdbd-mysql-perl",
+ "libdatetime-perl",
+ "libdatetime-timezone-perl",
+ "libemail-mime-perl",
+ "libemail-send-perl",
+ "libjson-rpc-perl",
+ "libmail-sendmail-perl",
+ "libmath-random-isaac-perl",
+ "libtest-taint-perl",
+ "liburi-perl",
+ "libsoap-lite-perl",
+ "libtemplate-perl",
+]
+
+ package { $requirements:
+ ensure => "installed" ,
+ require => Exec["apt-get update"],
+ }
+
+ exec { "Enable php5 module":
+ command => "a2enmod php5",
+ require => Package["libapache2-mod-php5"],
+ creates => "/etc/apache2/mods-enabled/php5.load",
+ }
+
+ service { "apache2":
+ ensure => running,
+ require => Package["apache2"],
+ }
+
+ exec { "Enable auth_digest module":
+ command => "a2enmod auth_digest",
+ require => Package["apache2"],
+ creates => "/etc/apache2/mods-enabled/auth_digest.load",
+ }
+
+ exec { "Enable fcgid module":
+ command => "a2enmod fcgid",
+ require => Package["libapache2-mod-fcgid"],
+ creates => "/etc/apache2/mods-enabled/fcgid.load",
+ }
+
+ exec { "Enable proxy mod":
+ command => "a2enmod proxy",
+ require => Package["apache2"],
+ creates => "/etc/apache2/mods-enabled/proxy.load",
+ }
+
+ exec { "Enable proxy_http mod":
+ command => "a2enmod proxy_http",
+ require => Package["apache2"],
+ creates => "/etc/apache2/mods-enabled/proxy_http.load",
+ }
+
+ exec { "Enable ssl module":
+ command => "a2enmod ssl",
+ require => Package["apache2"],
+ creates => "/etc/apache2/mods-enabled/ssl.load",
+ }
+
+ service { "mysql":
+ ensure => "running",
+ enable => "true",
+ require => Package["mysql-server"],
+ }
+
+ exec { "phpmyadmin_Apache2":
+ command => "echo '#phpmyadmin\nInclude /etc/phpmyadmin/apache.conf' >>/etc/apache2/apache2.conf",
+ require => [Package["phpmyadmin"],Package["libapache2-mod-php5"]],
+ unless => 'cat /etc/apache2/apache2.conf | grep "#phpmyadmin"'
+ }
+
+ file { "/etc/apache2/sites-enabled/001-default-ssl":
+ ensure => link,
+ target => "/etc/apache2/sites-available/default-ssl",
+ }
+
+ exec { "create $bugzilla::toolsDir":
+ command => "mkdir $bugzilla::toolsDir",
+ creates => "$bugzilla::toolsDir",
+ require => Exec['phpmyadmin_Apache2']
+ }
+
+ exec { "create $bugzilla::bugzillaBase":
+ command => "mkdir $bugzilla::bugzillaBase",
+ creates => "$bugzilla::bugzillaBase",
+ require => Exec["create $bugzilla::toolsDir"]
+ }
+
+ exec { "create $bugzilla::installHelper":
+ command => "mkdir $bugzilla::installHelper",
+ creates => "$bugzilla::installHelper",
+ require => Exec[ "create $bugzilla::bugzillaBase"]
+ }
+
+ exec { "create $bugzilla::confDir":
+ command => "mkdir $bugzilla::confDir",
+ creates => "$bugzilla::confDir",
+ require => Exec[ "create $bugzilla::bugzillaBase"]
+ }
+
+ exec { "create $bugzilla::installLog":
+ command => "mkdir $bugzilla::installLog",
+ creates => "$bugzilla::installLog",
+ require => Exec[ "create $bugzilla::bugzillaBase"]
+ }
+
+ exec { "mysql-create-user-${bugzilla::dbuser}" :
+ unless => "/usr/bin/mysql --user='${bugzilla::dbuser}' --password='${bugzilla::dbuserPassword}'",
+ command => "/usr/bin/mysql -v --user='root' -e \"CREATE USER '${bugzilla::dbuser}'@localhost IDENTIFIED BY '${bugzilla::dbuserPassword}'\"",
+ logoutput => true,
+ require => [ Package["mysql-server"],
+ Exec["create $bugzilla::installHelper"],
+ Exec["create $bugzilla::installLog"],
+ Package[$requirements]
+ ]
+ }
+
+ file { "/var/www/index.php":
+ notify => Service["apache2"],
+ ensure => "present",
+ source => "puppet:///modules/bugzilla/index.php",
+ owner => "root",
+ group => "root",
+ mode => 644,
+ require => [Package["apache2"], Package["php5"]],
+ }
+
+} \ No newline at end of file
diff --git a/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/init.pp b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/init.pp
new file mode 100644
index 000000000..7770563ab
--- /dev/null
+++ b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/init.pp
@@ -0,0 +1,113 @@
+define bugzillaVersion(
+ $major,
+ $minor,
+ $www_url = "$title",
+ $version = "$title",
+ $branch = "${major}.${minor}",
+ $branchTag = "bugzilla-stable",
+ $bugz_dbname = "bugs_${major}_${minor}",
+ $custom_wf = false,
+ $custom_wf_and_status = false,
+ $xmlrpc_enabled = true,
+ $base = "/home/tools/bugzilla"
+) {
+ if $major == "3" {
+ if $minor == "6" {
+ $VersionCreateName = "name"
+ } else {
+ $VersionCreateName = "value"
+ }
+ } else {
+ $VersionCreateName = "value"
+ }
+
+ if $branchTag == "trunk" {
+ exec { "extract bugzilla $version":
+ command => "bzr co bzr://bzr.mozilla.org/bugzilla/$branch $version",
+ cwd => "$base",
+ timeout => 300,
+ creates => "$base/$version",
+ }
+ } else {
+ exec { "extract bugzilla $version":
+ command => "bzr co -r tag:$branchTag bzr://bzr.mozilla.org/bugzilla/$branch $version",
+ cwd => "$base",
+ timeout => 300,
+ creates => "$base/$version",
+ }
+ }
+
+ exec { "mysql-grant-${bugz_dbname}-${bugzilla::dbuser}" :
+ unless => "/usr/bin/mysql --user=root --batch -e \"SELECT user FROM db WHERE Host='localhost' and Db='${bugz_dbname}' and User='${bugzilla::dbuser}'\" mysql | /bin/grep '${bugzilla::dbuser}'",
+ command => "/usr/bin/mysql --verbose --user=root -e \"GRANT ALL ON ${bugz_dbname}.* TO '${bugzilla::dbuser}'@localhost\" \
+ ; /usr/bin/mysqladmin --verbose --user=root flush-privileges",
+ logoutput => true,
+ require => Exec["extract bugzilla $version"]
+ }
+
+ exec { "mysql-dropdb-$version" :
+ onlyif => "/usr/bin/mysql --user=root '${bugz_dbname}'",
+ command => "/usr/bin/mysqladmin -v --user=root --force drop '${bugz_dbname}'",
+ logoutput => true,
+ require => Exec["mysql-grant-${bugz_dbname}-${bugzilla::dbuser}"]
+ }
+
+ exec { "mysql-createdb-$version" :
+ unless => "/usr/bin/mysql --user=root '${bugz_dbname}'",
+ command => "/usr/bin/mysqladmin -v --user=root --force create '${bugz_dbname}'",
+ logoutput => true,
+ require => Exec["mysql-dropdb-$version"]
+ }
+
+ file { "$bugzilla::installHelper/answers$version":
+ content => template('bugzilla/answers.erb'),
+ require => Exec["extract bugzilla $version"],
+ }
+
+ file { "$base/$version/extensions/Mylyn":
+ ensure => directory, # so make this a directory
+ recurse => true, # enable recursive directory management
+ purge => true, # purge all unmanaged junk
+ force => true, # also purge subdirs and links etc.
+ owner => "root",
+ group => "root",
+ source => "puppet:///modules/bugzilla/extensions/Mylyn",
+ require => Exec["extract bugzilla $version"],
+ }
+
+ file { "$base/$version/extensions/Mylyn/Extension.pm":
+ content => template('bugzilla/Extension.pm.erb'),
+ require => FILE["$base/$version/extensions/Mylyn"],
+ mode => 0644,
+ }
+
+ exec { "init bugzilla_checksetup $version":
+ command => "$base/$version/checksetup.pl $bugzilla::installHelper/answers$version -verbose",
+ cwd => "$base/$version" ,
+ creates => "$base/$version/localconfig",
+ require => [EXEC ["mysql-createdb-$version"], File["$bugzilla::installHelper/answers$version"], FILE["$base/$version/extensions/Mylyn/Extension.pm"]]
+ }
+
+ exec { "update bugzilla_checksetup $version":
+ command => "$base/$version/checksetup.pl $bugzilla::installHelper/answers$version -verbose",
+ cwd => "$base/$version" ,
+ logoutput => true,
+ require => [EXEC ["mysql-createdb-$version"], EXEC["init bugzilla_checksetup $version"], File["$bugzilla::installHelper/answers$version"], FILE["$base/$version/extensions/Mylyn/Extension.pm"]]
+ }
+
+ if !$xmlrpc_enabled {
+ file { "$base/$version/xmlrpc.cgi":
+ content => template('bugzilla/xmlrpc.cgi.erb'),
+ mode => 755,
+ require => Exec["update bugzilla_checksetup $version"],
+ }
+ }
+
+ file { "$bugzilla::confDir/$version.conf":
+ content => template('bugzilla/apache2.conf.erb'),
+ require => [Package["apache2"], EXEC["update bugzilla_checksetup $version"]],
+ notify => Service["apache2"],
+ }
+
+
+} \ No newline at end of file
diff --git a/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/Extension.pm.erb b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/Extension.pm.erb
new file mode 100644
index 000000000..529f2f4ea
--- /dev/null
+++ b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/Extension.pm.erb
@@ -0,0 +1,448 @@
+# -*- Mode: perl; indent-tabs-mode: nil -*-
+#
+# Copyright (c) 2012 Frank Becker 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:
+# Frank Becker - initial API and implementation
+#
+
+package Bugzilla::Extension::Mylyn;
+use strict;
+use base qw(Bugzilla::Extension);
+
+# This code for this is in ./extensions/Mylyn/lib/Util.pm
+use Bugzilla::Extension::Mylyn::Util;
+
+use Bugzilla::Constants;
+use Bugzilla::Error;
+use Bugzilla::Product;
+use Bugzilla::FlagType;
+
+use Data::Dumper;
+
+our $VERSION = '0.01';
+
+<% if @custom_wf %>
+use constant STATUS_WORKFLOW => (
+ ['REOPENED','UNCONFIRMED'],
+ ['REOPENED','VERIFIED'],
+ ['REOPENED','CLOSED'],
+ ['NEW','CLOSED'],
+);
+use constant STATUS_WORKFLOW_DELETE => (
+ ['CLOSED','UNCONFIRMED'],
+ ['CLOSED','REOPENED'],
+ ['ASSIGNED','NEW'],
+);
+<% end %>
+<% if @custom_wf_and_status %>
+use constant STATUS_WORKFLOW => (
+ ['VERIFIED','MODIFIED'],
+ ['ON_DEV','POST'],
+ ['MODIFIED','ON_DEV'],
+ ['CLOSED','VERIFIED'],
+ ['NEW','UNCONFIRMED'],
+);
+use constant STATUS_WORKFLOW_DELETE => (
+ ['UNCONFIRMED','ASSIGNED'],
+ ['RESOLVED','UNCONFIRMED'],
+ ['VERIFIED','UNCONFIRMED'],
+ ['CLOSED','UNCONFIRMED'],
+ ['ASSIGNED','NEW'],
+ ['REOPENED','NEW'],
+ ['REOPENED','ASSIGNED'],
+ ['RESOLVED','REOPENED'],
+ ['VERIFIED','REOPENED'],
+ ['CLOSED','REOPENED'],
+ ['UNCONFIRMED','RESOLVED'],
+ ['NEW','RESOLVED'],
+ ['ASSIGNED','RESOLVED'],
+ ['REOPENED','RESOLVED'],
+ ['RESOLVED','VERIFIED'],
+
+);
+<% end %>
+
+sub install_before_final_checks {
+ my ($self, $args) = @_;
+ print "Mylyn Extension: install-before_final_checks hook\n" unless $args->{silent};
+
+ my $dbh = Bugzilla->dbh;
+ if (!$dbh->selectrow_array('SELECT 1 FROM profiles where userid > 1')) {
+ print "create additional profiles...\n" unless $args->{silent};
+
+ # create tests@mylyn.eclipse.org
+ # add this user to group bz_canusewhineatothers
+ my $testu = Bugzilla::User->create({ login_name => 'tests@mylyn.eclipse.org',
+ realname => 'Mylyn Test',
+ cryptpassword => 'mylyntest' });
+ my $private_group = new Bugzilla::Group({name => 'bz_canusewhineatothers'});
+ my $sth = $dbh->prepare( "INSERT INTO user_group_map
+ (user_id, group_id, isbless, grant_type)
+ VALUES (?, ?, ?, ?)");
+ $sth->execute($testu->id, $private_group->id, 0, GRANT_DIRECT);
+
+ # create guest@mylyn.eclipse.org
+ Bugzilla::User->create({ login_name => 'guest@mylyn.eclipse.org',
+ realname => 'Mylyn guest',
+ cryptpassword => 'mylyntest' });
+ }
+
+ # create two new products
+ if (!$dbh->selectrow_array('SELECT 1 FROM products where id > 1')) {
+ print "create additional products...\n" unless $args->{silent};
+
+ # Get the user who will be the owner of the Component.
+ # We pick the tests@mylyn.eclipse.org, which is the
+ # user Extension.pl just created.
+
+ my ($testuser_id) = $dbh->selectrow_array(
+ 'SELECT userid FROM profiles WHERE login_name = ? ' ,
+ undef, 'tests@mylyn.eclipse.org');
+ my $testuser = Bugzilla::User->new($testuser_id);
+
+ my $product2 = Bugzilla::Product->create({
+ name => 'Product with Spaces',
+ description => 'Product with Spaces is the renamed Scratch Product.',
+ version => Bugzilla::Version::DEFAULT_VERSION,
+ classification => 'Unclassified',
+ defaultmilestone => DEFAULT_MILESTONE,
+ });
+ Bugzilla::Component->create({ %{ ({
+ name => 'Component 1',
+ description => '1'
+ }) },
+ product => $product2,
+ initialowner => $testuser->login });
+ Bugzilla::Component->create({ %{ ({
+ name => 'Component 2',
+ description => '2'
+ }) },
+ product => $product2,
+ initialowner => $testuser->login });
+
+ Bugzilla::Version->create({ <%= @VersionCreateName %> => 'a', product => $product2 });
+ Bugzilla::Version->create({ <%= @VersionCreateName %> => 'b', product => $product2 });
+ Bugzilla::Version->create({ <%= @VersionCreateName %> => 'c', product => $product2 });
+ Bugzilla::Milestone->create({ <%= @VersionCreateName %> => 'M1.0', product => $product2 });
+ Bugzilla::Milestone->create({ <%= @VersionCreateName %> => 'M2.0', product => $product2 });
+ Bugzilla::Milestone->create({ <%= @VersionCreateName %> => 'M3.0', product => $product2 });
+
+ my $product3 = Bugzilla::Product->create({
+ name => 'ManualTest',
+ description => 'Product for manual testing',
+ version => Bugzilla::Version::DEFAULT_VERSION,
+ classification => 'Unclassified',
+ defaultmilestone => DEFAULT_MILESTONE,
+ });
+ Bugzilla::Component->create({ %{ ({
+ name => 'ManualC1',
+ description => '1'
+ }) },
+ product => $product3,
+ initialowner => $testuser->login });
+ Bugzilla::Component->create({ %{ ({
+ name => 'ManualC2',
+ description => '2'
+ }) },
+ product => $product3,
+ initialowner => $testuser->login });
+
+ Bugzilla::Version->create({ <%= @VersionCreateName %> => 'R1', product => $product3 });
+ Bugzilla::Version->create({ <%= @VersionCreateName %> => 'R1.1', product => $product3 });
+ Bugzilla::Version->create({ <%= @VersionCreateName %> => 'R2.0', product => $product3 });
+ Bugzilla::Milestone->create({ <%= @VersionCreateName %> => 'M1', product => $product3 });
+ Bugzilla::Milestone->create({ <%= @VersionCreateName %> => 'M2', product => $product3 });
+ Bugzilla::Milestone->create({ <%= @VersionCreateName %> => 'M3', product => $product3 });
+ }
+
+ # create the needed custon fields
+ if (!$dbh->selectrow_array('SELECT 1 FROM fielddefs where name like "cf_%"')) {
+ print "create additional fielddefs...\n" unless $args->{silent};
+ Bugzilla::Field->create({ %{ ({
+ description => 'free text custom field',
+ type => 1,
+ sortkey => 351,
+ mailhead => 1,
+ enter_bug => 1,
+ obsolete => 0,
+ buglist => 1,
+ }) },
+ name => 'cf_freetext', custom => 1
+ });
+ Bugzilla::Field->create({ %{ ({
+ description => 'drop down custom field',
+ type => 2,
+ sortkey => 451,
+ mailhead => 1,
+ enter_bug => 1,
+ obsolete => 0,
+ buglist => 1,
+ }) },
+ name => 'cf_dropdown', custom => 1
+ });
+
+ # create the options for cf_dropdown
+ Bugzilla::Field::Choice->type('cf_dropdown')->create({
+ value => 'one',
+ sortkey => 0,
+ is_open => 1,
+ });
+ Bugzilla::Field::Choice->type('cf_dropdown')->create({
+ value => 'two',
+ sortkey => 0,
+ is_open => 1,
+ });
+ Bugzilla::Field::Choice->type('cf_dropdown')->create({
+ value => 'three',
+ sortkey => 0,
+ is_open => 1,
+ });
+
+ Bugzilla::Field->create({ %{ ({
+ description => 'large text box custom field',
+ type => 4,
+ sortkey => 551,
+ mailhead => 1,
+ enter_bug => 1,
+ obsolete => 0,
+ buglist => 1,
+ }) },
+ name => 'cf_largetextbox', custom => 1
+ });
+ Bugzilla::Field->create({ %{ ({
+ description => 'multi selection box custom field',
+ type => 3,
+ sortkey => 651,
+ mailhead => 1,
+ enter_bug => 1,
+ obsolete => 0,
+ buglist => 1,
+ }) },
+ name => 'cf_multiselect', custom => 1
+ });
+
+ # create the options for cf_multiselect
+ Bugzilla::Field::Choice->type('cf_multiselect')->create({
+ value => 'Blue',
+ sortkey => 0,
+ is_open => 1,
+ });
+ Bugzilla::Field::Choice->type('cf_multiselect')->create({
+ value => 'Green',
+ sortkey => 0,
+ is_open => 1,
+ });
+ Bugzilla::Field::Choice->type('cf_multiselect')->create({
+ value => 'Red',
+ sortkey => 0,
+ is_open => 1,
+ });
+ Bugzilla::Field::Choice->type('cf_multiselect')->create({
+ value => 'Yellow',
+ sortkey => 0,
+ is_open => 1,
+ });
+
+ Bugzilla::Field->create({ %{ ({
+ description => 'date time custom field',
+ type => 5,
+ sortkey => 751,
+ mailhead => 1,
+ enter_bug => 1,
+ obsolete => 0,
+ buglist => 1,
+ }) },
+ name => 'cf_datetime', custom => 1
+ });
+ Bugzilla::Field->create({ %{ ({
+ description => 'bug id custom field',
+ type => 6,
+ sortkey => 851,
+ mailhead => 1,
+ enter_bug => 1,
+ obsolete => 0,
+ buglist => 1,
+ }) },
+ name => 'cf_bugid', custom => 1
+ });
+ }
+# if (!$dbh->selectrow_array('SELECT 1 FROM bug_status where value = "test"')) {
+# print "Anlegen von Status!!!!\n" unless $args->{silent};
+# Bugzilla::Status->create({ value => 'test', is_open => 0 });
+# }
+
+ if (!$dbh->selectrow_array('SELECT 1 FROM flagtypes')) {
+ print "create additional flagtypes...\n" unless $args->{silent};
+ my $flagtype = Bugzilla::FlagType->insert_create_data({
+ name => 'BugFlag1',
+ description => '1',
+ target_type => 'bug',
+ cc_list => '',
+ sortkey => 1,
+ is_active => 1,
+ is_requestable => 0,
+ is_requesteeble => 0,
+ is_multiplicable => 0,
+ });
+ # set the inclusion to __Any__:__Any__
+ my $sth = $dbh->prepare("INSERT INTO flaginclusions
+ (type_id, product_id, component_id) VALUES (?, ?, ?)");
+ $sth->execute(bless($flagtype,, 'Bugzilla::FlagType' )->id, undef, undef);
+
+ $flagtype = Bugzilla::FlagType->insert_create_data({
+ name => 'BugFlag2',
+ description => '2',
+ target_type => 'bug',
+ cc_list => '',
+ sortkey => 1,
+ is_active => 1,
+ is_requestable => 1,
+ is_requesteeble => 0,
+ is_multiplicable => 0,
+ });
+ # set the inclusion to __Any__:__Any__
+ $sth = $dbh->prepare("INSERT INTO flaginclusions
+ (type_id, product_id, component_id) VALUES (?, ?, ?)");
+ $sth->execute(bless($flagtype,, 'Bugzilla::FlagType' )->id, undef, undef);
+
+ $flagtype = Bugzilla::FlagType->insert_create_data({
+ name => 'AttachmentFlag1',
+ description => '1',
+ target_type => 'attachment',
+ cc_list => '',
+ sortkey => 1,
+ is_active => 1,
+ is_requestable => 1,
+ is_requesteeble => 1,
+ is_multiplicable => 1,
+ });
+ # set the inclusion to __Any__:__Any__
+ $sth = $dbh->prepare("INSERT INTO flaginclusions
+ (type_id, product_id, component_id) VALUES (?, ?, ?)");
+ $sth->execute(bless($flagtype,, 'Bugzilla::FlagType' )->id, undef, undef);
+
+ $flagtype = Bugzilla::FlagType->insert_create_data({
+ name => 'AttachmentFlag2',
+ description => '2',
+ target_type => 'attachment',
+ cc_list => '',
+ sortkey => 1,
+ is_active => 1,
+ is_requestable => 1,
+ is_requesteeble => 1,
+ is_multiplicable => 1,
+ });
+ # set the inclusion to __Any__:__Any__
+ $sth = $dbh->prepare("INSERT INTO flaginclusions
+ (type_id, product_id, component_id) VALUES (?, ?, ?)");
+ $sth->execute(bless($flagtype,, 'Bugzilla::FlagType' )->id, undef, undef);
+
+ $flagtype = Bugzilla::FlagType->insert_create_data({
+ name => 'BugFlag3',
+ description => '3',
+ target_type => 'bug',
+ cc_list => '',
+ sortkey => 1,
+ is_active => 1,
+ is_requestable => 1,
+ is_requesteeble => 0,
+ is_multiplicable => 1,
+ });
+ # set the inclusion to __Any__:__Any__
+ $sth = $dbh->prepare("INSERT INTO flaginclusions
+ (type_id, product_id, component_id) VALUES (?, ?, ?)");
+ $sth->execute(bless($flagtype,, 'Bugzilla::FlagType' )->id, undef, undef);
+
+ $flagtype = Bugzilla::FlagType->insert_create_data({
+ name => 'BugFlag4',
+ description => '4',
+ target_type => 'bug',
+ cc_list => '',
+ sortkey => 1,
+ is_active => 1,
+ is_requestable => 1,
+ is_requesteeble => 1,
+ is_multiplicable => 1,
+ });
+ # set the inclusion to __Any__:__Any__
+ $sth = $dbh->prepare("INSERT INTO flaginclusions
+ (type_id, product_id, component_id) VALUES (?, ?, ?)");
+ $sth->execute(bless($flagtype,, 'Bugzilla::FlagType' )->id, undef, undef);
+ }
+
+ if (!$dbh->selectrow_array('SELECT 1 FROM keyworddefs')) {
+ print "create additional keyworddefs...\n" unless $args->{silent};
+ Bugzilla::Keyword->create({ name => 'Keyword1', description => '1' });
+ Bugzilla::Keyword->create({ name => 'Keyword2', description => '2' });
+ }
+<% if @custom_wf %>
+ my %status_ids = @{ $dbh->selectcol_arrayref(
+ 'SELECT value, id FROM bug_status', {Columns=>[1,2]}) };
+ my $old_id = $status_ids{'REOPENED'};
+ my $new_id = $status_ids{'UNCONFIRMED'};
+ if (!$dbh->selectrow_array('SELECT 1 FROM status_workflow where old_status ='. $old_id . ' and new_status ='.$new_id)) {
+ print "create additional status_workflow...\n" unless $args->{silent};
+ my $sth_insert = $dbh->prepare('INSERT INTO status_workflow (old_status, new_status)
+ VALUES (?, ?)');
+ my $sth_delete = $dbh->prepare('DELETE FROM status_workflow
+ WHERE old_status = ? AND new_status = ?');
+
+ foreach my $pair (STATUS_WORKFLOW) {
+ my $old_id = $pair->[0] ? $status_ids{$pair->[0]} : undef;
+ my $new_id = $status_ids{$pair->[1]};
+ $sth_insert->execute($old_id, $new_id);
+ }
+ foreach my $pair (STATUS_WORKFLOW_DELETE) {
+ my $old_id = $pair->[0] ? $status_ids{$pair->[0]} : undef;
+ my $new_id = $status_ids{$pair->[1]};
+ $sth_delete->execute($old_id, $new_id);
+ }
+ }
+<% end %>
+<% if @custom_wf_and_status %>
+ if (!$dbh->selectrow_array('SELECT 1 FROM bug_status where value = "ON_DEV"')) {
+ print "Anlegen von Status!!!!\n" unless $args->{silent};
+ Bugzilla::Status->create({ value => 'ON_DEV', is_open => 1 , sortkey => 800});
+ Bugzilla::Status->create({ value => 'POST', is_open => 0 , sortkey => 900});
+ Bugzilla::Status->create({ value => 'MODIFIED', is_open => 1 , sortkey => 1200});
+ }
+ my %status_ids = @{ $dbh->selectcol_arrayref(
+ 'SELECT value, id FROM bug_status', {Columns=>[1,2]}) };
+ my $old_id = $status_ids{'REOPENED'};
+ my $new_id = $status_ids{'UNCONFIRMED'};
+ if (!$dbh->selectrow_array('SELECT 1 FROM status_workflow where old_status ='. $old_id . ' and new_status ='.$new_id)) {
+ print "create additional status_workflow...\n" unless $args->{silent};
+ my $sth_insert = $dbh->prepare('INSERT INTO status_workflow (old_status, new_status)
+ VALUES (?, ?)');
+ my $sth_delete = $dbh->prepare('DELETE FROM status_workflow
+ WHERE old_status = ? AND new_status = ?');
+ my $sth_delnul = $dbh->prepare('DELETE FROM status_workflow
+ WHERE old_status IS NULL AND new_status = ?');
+
+print "before insert";
+ foreach my $pair (STATUS_WORKFLOW) {
+ my $old_id = $pair->[0] ? $status_ids{$pair->[0]} : undef;
+ my $new_id = $status_ids{$pair->[1]};
+ $sth_insert->execute($old_id, $new_id);
+ }
+print "before delete";
+ foreach my $pair (STATUS_WORKFLOW_DELETE) {
+ my $old_id = $pair->[0] ? $status_ids{$pair->[0]} : undef;
+ my $new_id = $status_ids{$pair->[1]};
+ $sth_delete->execute($old_id, $new_id);
+ }
+print "before delete null";
+ my $new_id = $status_ids{'ASSIGNED'};
+ $sth_delnul->execute($new_id);
+ }
+<% end %>
+
+ print "Mylyn Extension: end of install-before_final_checks hook\n" unless $args->{silent};
+}
+
+__PACKAGE__->NAME;
diff --git a/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/answers.erb b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/answers.erb
new file mode 100644
index 000000000..50a6b109e
--- /dev/null
+++ b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/answers.erb
@@ -0,0 +1,18 @@
+$answer{'webservergroup'} = '';
+$answer{'db_host'} = 'localhost';
+$answer{'db_driver'} = 'mysql';
+$answer{'db_port'} = 0;
+$answer{'db_name'} = '<%= @bugz_dbname %>';
+$answer{'db_user'} = '<%= @dbuser %>';
+$answer{'db_pass'} = '<%= @dbuserPassword %>';
+$answer{'urlbase'} = '';
+$answer{'ADMIN_OK'} = 'Y';
+$answer{'ADMIN_EMAIL'} = 'admin@mylyn.eclipse.org';
+$answer{'ADMIN_PASSWORD'} = 'main4Afo';
+$answer{'ADMIN_REALNAME'} = 'Mylyn Admin';
+$answer{'SMTP_SERVER'} = '';
+$answer{'usetargetmilestone'} = '1';
+$answer{'mail_delivery_method'} = 'None';
+$answer{'insidergroup'} = 'bz_canusewhineatothers';
+<% if @custom_wf_and_status %>$answer{'duplicate_or_move_bug_status'} = 'CLOSED';<% end %>
+$answer{'NO_PAUSE'} = 1
diff --git a/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/apache2.conf.erb b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/apache2.conf.erb
new file mode 100644
index 000000000..7633f8ee5
--- /dev/null
+++ b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/apache2.conf.erb
@@ -0,0 +1,9 @@
+Alias /<%= @www_url %> <%= @base %>/<%= @version %>
+<Directory <%= @base %>/<%= @version %>>
+ AddHandler cgi-script .cgi
+ Options +Indexes +ExecCGI
+ DirectoryIndex index.cgi
+ AllowOverride None
+ Order allow,deny
+ Allow from all
+</Directory>
diff --git a/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/xmlrpc.cgi.erb b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/xmlrpc.cgi.erb
new file mode 100644
index 000000000..50a0c5412
--- /dev/null
+++ b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/xmlrpc.cgi.erb
@@ -0,0 +1,12 @@
+#!/usr/bin/perl -wT
+
+use strict;
+use lib qw(. lib);
+
+use Bugzilla;
+use Bugzilla::Constants;
+use Bugzilla::Error;
+use Bugzilla::WebService::Constants;
+BEGIN {
+ ThrowCodeError('feature_disabled', { feature => 'xmlrpc' });
+}

Back to the top