=ISO-8859-1
diff --git a/org.eclipse.xtext.relengutil/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.xtext.relengutil/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 00000000000..20cc7b58804
--- /dev/null
+++ b/org.eclipse.xtext.relengutil/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,10 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
+org.eclipse.jdt.core.compiler.compliance=17
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
+org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
+org.eclipse.jdt.core.compiler.release=enabled
+org.eclipse.jdt.core.compiler.source=17
diff --git a/org.eclipse.xtext.relengutil/.settings/org.eclipse.jdt.launching.prefs b/org.eclipse.xtext.relengutil/.settings/org.eclipse.jdt.launching.prefs
new file mode 100644
index 00000000000..96809758d22
--- /dev/null
+++ b/org.eclipse.xtext.relengutil/.settings/org.eclipse.jdt.launching.prefs
@@ -0,0 +1,3 @@
+#Wed Aug 12 21:10:17 CEST 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=ignore
diff --git a/org.eclipse.xtext.relengutil/.settings/org.eclipse.jdt.ui.prefs b/org.eclipse.xtext.relengutil/.settings/org.eclipse.jdt.ui.prefs
new file mode 100644
index 00000000000..65b769d0071
--- /dev/null
+++ b/org.eclipse.xtext.relengutil/.settings/org.eclipse.jdt.ui.prefs
@@ -0,0 +1,117 @@
+cleanup.add_default_serial_version_id=true
+cleanup.add_generated_serial_version_id=false
+cleanup.add_missing_annotations=true
+cleanup.add_missing_deprecated_annotations=true
+cleanup.add_missing_methods=false
+cleanup.add_missing_nls_tags=false
+cleanup.add_missing_override_annotations=true
+cleanup.add_serial_version_id=true
+cleanup.always_use_blocks=true
+cleanup.always_use_parentheses_in_expressions=false
+cleanup.always_use_this_for_non_static_field_access=false
+cleanup.always_use_this_for_non_static_method_access=false
+cleanup.convert_to_enhanced_for_loop=false
+cleanup.correct_indentation=false
+cleanup.format_source_code=false
+cleanup.format_source_code_changes_only=false
+cleanup.make_local_variable_final=true
+cleanup.make_parameters_final=false
+cleanup.make_private_fields_final=true
+cleanup.make_type_abstract_if_missing_method=false
+cleanup.make_variable_declarations_final=false
+cleanup.never_use_blocks=false
+cleanup.never_use_parentheses_in_expressions=true
+cleanup.organize_imports=false
+cleanup.qualify_static_field_accesses_with_declaring_class=false
+cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
+cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
+cleanup.qualify_static_member_accesses_with_declaring_class=true
+cleanup.qualify_static_method_accesses_with_declaring_class=false
+cleanup.remove_private_constructors=true
+cleanup.remove_trailing_whitespaces=true
+cleanup.remove_trailing_whitespaces_all=true
+cleanup.remove_trailing_whitespaces_ignore_empty=false
+cleanup.remove_unnecessary_casts=true
+cleanup.remove_unnecessary_nls_tags=true
+cleanup.remove_unused_imports=false
+cleanup.remove_unused_local_variables=false
+cleanup.remove_unused_private_fields=true
+cleanup.remove_unused_private_members=false
+cleanup.remove_unused_private_methods=true
+cleanup.remove_unused_private_types=true
+cleanup.sort_members=false
+cleanup.sort_members_all=false
+cleanup.use_blocks=false
+cleanup.use_blocks_only_for_return_and_throw=false
+cleanup.use_parentheses_in_expressions=false
+cleanup.use_this_for_non_static_field_access=false
+cleanup.use_this_for_non_static_field_access_only_if_necessary=true
+cleanup.use_this_for_non_static_method_access=false
+cleanup.use_this_for_non_static_method_access_only_if_necessary=true
+cleanup_profile=_Xtext
+cleanup_settings_version=2
+eclipse.preferences.version=1
+editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
+formatter_profile=_'Xtext'
+formatter_settings_version=11
+org.eclipse.jdt.ui.exception.name=e
+org.eclipse.jdt.ui.gettersetter.use.is=true
+org.eclipse.jdt.ui.ignorelowercasenames=true
+org.eclipse.jdt.ui.importorder=java;javax;org;com;
+org.eclipse.jdt.ui.javadoc=true
+org.eclipse.jdt.ui.keywordthis=false
+org.eclipse.jdt.ui.ondemandthreshold=99
+org.eclipse.jdt.ui.overrideannotation=true
+org.eclipse.jdt.ui.staticondemandthreshold=1
+org.eclipse.jdt.ui.text.custom_code_templates=/*******************************************************************************\n * Copyright (c) ${year} itemis AG (http\://www.itemis.eu) and others.\n * This program and the accompanying materials are made available under the\n * terms of the Eclipse Public License 2.0 which is available at\n * http\://www.eclipse.org/legal/epl-2.0.\n * \n * SPDX-License-Identifier\: EPL-2.0\n *******************************************************************************//**\n * @author ${user} - Initial contribution and API\n */${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration}\n\n\n\n// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();// ${todo} Auto-generated method stub\n${body_statement}${body_statement}\n// ${todo} Auto-generated constructor stubreturn ${field};${field} \= ${param};/**\n * @return the ${bare_field_name}\n *//**\n * @param ${param} the ${bare_field_name} to set\n *//**\n * ${tags}\n *//**\n * \n *//**\n * @author ${user}\n *\n * ${tags}\n *//**\n * \n *//**\n * ${tags}\n *//* (non-JSDoc)\n * ${see_to_overridden}\n *//**\n * ${tags}\n * ${see_to_target}\n */${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration}\n// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();// ${todo} Auto-generated function stub\n${body_statement}${body_statement}\n// ${todo} Auto-generated constructor stubreturn ${field};${field} \= ${param};/**\n * @author ${user}\n *\n * ${tags}\n */
+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=false
+sp_cleanup.correct_indentation=false
+sp_cleanup.format_source_code=false
+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_type_abstract_if_missing_method=false
+sp_cleanup.make_variable_declarations_final=false
+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=false
+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=false
+sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
+sp_cleanup.remove_private_constructors=true
+sp_cleanup.remove_trailing_whitespaces=false
+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=false
+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=false
+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.xtext.relengutil/.settings/org.eclipse.m2e.core.prefs b/org.eclipse.xtext.relengutil/.settings/org.eclipse.m2e.core.prefs
new file mode 100644
index 00000000000..f897a7f1cb2
--- /dev/null
+++ b/org.eclipse.xtext.relengutil/.settings/org.eclipse.m2e.core.prefs
@@ -0,0 +1,4 @@
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
diff --git a/org.eclipse.xtext.relengutil/.settings/org.eclipse.pde.prefs b/org.eclipse.xtext.relengutil/.settings/org.eclipse.pde.prefs
new file mode 100644
index 00000000000..2bd5814c381
--- /dev/null
+++ b/org.eclipse.xtext.relengutil/.settings/org.eclipse.pde.prefs
@@ -0,0 +1,25 @@
+#Wed Aug 12 21:14:13 CEST 2009
+compilers.f.unresolved-features=1
+compilers.f.unresolved-plugins=1
+compilers.incompatible-environment=1
+compilers.p.build=1
+compilers.p.deprecated=1
+compilers.p.discouraged-class=1
+compilers.p.internal=1
+compilers.p.missing-packages=2
+compilers.p.missing-version-export-package=2
+compilers.p.missing-version-import-package=2
+compilers.p.missing-version-require-bundle=2
+compilers.p.no-required-att=0
+compilers.p.not-externalized-att=2
+compilers.p.unknown-attribute=1
+compilers.p.unknown-class=1
+compilers.p.unknown-element=1
+compilers.p.unknown-identifier=1
+compilers.p.unknown-resource=1
+compilers.p.unresolved-ex-points=0
+compilers.p.unresolved-import=0
+compilers.s.create-docs=false
+compilers.s.doc-folder=doc
+compilers.s.open-tags=1
+eclipse.preferences.version=1
diff --git a/org.eclipse.xtext.relengutil/.settings/org.eclipse.xtend.core.Xtend.prefs b/org.eclipse.xtext.relengutil/.settings/org.eclipse.xtend.core.Xtend.prefs
new file mode 100644
index 00000000000..be47f9e9551
--- /dev/null
+++ b/org.eclipse.xtext.relengutil/.settings/org.eclipse.xtend.core.Xtend.prefs
@@ -0,0 +1,21 @@
+BuilderConfiguration.is_project_specific=true
+autobuilding=true
+eclipse.preferences.version=1
+generateGeneratedAnnotation=false
+generateSuppressWarnings=true
+generatedAnnotationComment=
+includeDateInGenerated=false
+outlet.DEFAULT_OUTPUT.cleanDirectory=false
+outlet.DEFAULT_OUTPUT.cleanupDerived=true
+outlet.DEFAULT_OUTPUT.createDirectory=true
+outlet.DEFAULT_OUTPUT.derived=true
+outlet.DEFAULT_OUTPUT.directory=xtend-gen
+outlet.DEFAULT_OUTPUT.hideLocalSyntheticVariables=true
+outlet.DEFAULT_OUTPUT.installDslAsPrimarySource=false
+outlet.DEFAULT_OUTPUT.keepLocalHistory=false
+outlet.DEFAULT_OUTPUT.override=true
+outlet.DEFAULT_OUTPUT.sourceFolder.src.directory=
+outlet.DEFAULT_OUTPUT.sourceFolder.src.ignore=
+outlet.DEFAULT_OUTPUT.sourceFolder.xtend-gen.directory=
+outlet.DEFAULT_OUTPUT.sourceFolder.xtend-gen.ignore=
+outlet.DEFAULT_OUTPUT.userOutputPerSourceFolder=
diff --git a/org.eclipse.xtext.relengutil/META-INF/MANIFEST.MF b/org.eclipse.xtext.relengutil/META-INF/MANIFEST.MF
new file mode 100644
index 00000000000..875eefb49e6
--- /dev/null
+++ b/org.eclipse.xtext.relengutil/META-INF/MANIFEST.MF
@@ -0,0 +1,11 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Xtext Releng Utility
+Bundle-SymbolicName: org.eclipse.xtext.relengutil
+Bundle-Version: 2.38.0.qualifier
+Bundle-Vendor: Eclipse Xtext
+Bundle-RequiredExecutionEnvironment: JavaSE-17
+Require-Bundle: org.eclipse.xtext.util;bundle-version="2.38.0",
+ org.eclipse.m2e.maven.runtime;bundle-version="3.9.600"
+Automatic-Module-Name: org.eclipse.xtext.relengutil
+Eclipse-SourceReferences: eclipseSourceReferences
diff --git a/org.eclipse.xtext.relengutil/about.html b/org.eclipse.xtext.relengutil/about.html
new file mode 100644
index 00000000000..164f781a8fd
--- /dev/null
+++ b/org.eclipse.xtext.relengutil/about.html
@@ -0,0 +1,36 @@
+
+
+
+
+About
+
+
+ About This Content
+
+ November 30, 2017
+ License
+
+
+ The Eclipse Foundation makes available all content in this plug-in
+ ("Content"). Unless otherwise indicated below, the Content
+ is provided to you under the terms and conditions of the Eclipse
+ Public License Version 2.0 ("EPL"). A copy of the EPL is
+ available at http://www.eclipse.org/legal/epl-2.0.
+ For purposes of the EPL, "Program" will mean the Content.
+
+
+
+ If you did not receive this Content directly from the Eclipse
+ Foundation, the Content is being redistributed by another party
+ ("Redistributor") 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 http://www.eclipse.org.
+
+
+
+
\ No newline at end of file
diff --git a/org.eclipse.xtext.relengutil/build.properties b/org.eclipse.xtext.relengutil/build.properties
new file mode 100644
index 00000000000..edcdfad326b
--- /dev/null
+++ b/org.eclipse.xtext.relengutil/build.properties
@@ -0,0 +1,5 @@
+bin.includes = .,\
+ META-INF/,\
+ about.html
+source.. = src/
+src.includes = about.html
diff --git a/org.eclipse.xtext.relengutil/pom.xml b/org.eclipse.xtext.relengutil/pom.xml
new file mode 100644
index 00000000000..e41fa9aed32
--- /dev/null
+++ b/org.eclipse.xtext.relengutil/pom.xml
@@ -0,0 +1,14 @@
+
+ 4.0.0
+
+ org.eclipse.xtext
+ org.eclipse.xtext.nodeploy.parent
+ 2.38.0-SNAPSHOT
+ ../org.eclipse.xtext.nodeploy.parent
+
+ org.eclipse.xtext.relengutil
+ eclipse-plugin
+
+ Xtext Release Engineering Utilities
+ Utilities to perform maintenance work in Xtext.
+
\ No newline at end of file
diff --git a/org.eclipse.xtext.util/scripts/org/eclipse/xtext/util/BumpVersions.java b/org.eclipse.xtext.relengutil/src/org/eclipse/xtext/relengutil/BumpVersions.java
similarity index 99%
rename from org.eclipse.xtext.util/scripts/org/eclipse/xtext/util/BumpVersions.java
rename to org.eclipse.xtext.relengutil/src/org/eclipse/xtext/relengutil/BumpVersions.java
index ca0367d3f55..91bd20eaabe 100644
--- a/org.eclipse.xtext.util/scripts/org/eclipse/xtext/util/BumpVersions.java
+++ b/org.eclipse.xtext.relengutil/src/org/eclipse/xtext/relengutil/BumpVersions.java
@@ -6,7 +6,7 @@
*
* SPDX-License-Identifier: EPL-2.0
*******************************************************************************/
-package org.eclipse.xtext.util;
+package org.eclipse.xtext.relengutil;
import java.io.File;
import java.io.FileInputStream;
@@ -27,6 +27,7 @@
import org.apache.maven.model.interpolation.DefaultModelVersionProcessor;
import org.apache.maven.model.interpolation.StringVisitorModelInterpolator;
import org.apache.maven.model.io.xpp3.MavenXpp3Reader;
+import org.eclipse.xtext.util.MergeableManifest2;
import org.eclipse.xtext.util.MergeableManifest2.BundleOrPackage;
import org.eclipse.xtext.util.MergeableManifest2.BundleOrPackageList;
diff --git a/org.eclipse.xtext.util/.classpath b/org.eclipse.xtext.util/.classpath
index 2b7013fff54..7e325f566aa 100644
--- a/org.eclipse.xtext.util/.classpath
+++ b/org.eclipse.xtext.util/.classpath
@@ -7,6 +7,5 @@
-
diff --git a/org.eclipse.xtext.util/build.properties b/org.eclipse.xtext.util/build.properties
index c70d829bef1..8ef6e6b46bc 100644
--- a/org.eclipse.xtext.util/build.properties
+++ b/org.eclipse.xtext.util/build.properties
@@ -4,6 +4,3 @@ bin.includes = .,\
about.html
source.. = src/
src.includes = about.html
-src.excludes = scripts/
-bin.excludes = scripts/
-additional.bundles = org.eclipse.m2e.maven.runtime
diff --git a/org.eclipse.xtext.util/src/org/eclipse/xtext/util/MergeableManifest2.java b/org.eclipse.xtext.util/src/org/eclipse/xtext/util/MergeableManifest2.java
index 30f7672e1af..300e082a9b8 100644
--- a/org.eclipse.xtext.util/src/org/eclipse/xtext/util/MergeableManifest2.java
+++ b/org.eclipse.xtext.util/src/org/eclipse/xtext/util/MergeableManifest2.java
@@ -432,7 +432,10 @@ public void setLineDelimiter(String lineDelimeter) {
this.emptyEntryPattern = newEmptyLinePattern();
}
- String getLineDelimiter() {
+ /**
+ * @since 2.38
+ */
+ public String getLineDelimiter() {
return newline;
}
@@ -691,7 +694,10 @@ public boolean equals(Object obj) {
}
- static class BundleOrPackageList {
+ /**
+ * @since 2.38
+ */
+ public static class BundleOrPackageList {
private final List list;
private final String newline;
@@ -703,7 +709,7 @@ public BundleOrPackageList(List list, String newline, String ve
this.versionString = versionString;
}
- static BundleOrPackageList fromInput(String input, String newline, String versionString) {
+ public static BundleOrPackageList fromInput(String input, String newline, String versionString) {
if (input.isEmpty())
return new BundleOrPackageList(new ArrayList<>(), newline, versionString);
return new BundleOrPackageList(splitAtCharHonorQuoting(input, ',').stream().map(s -> BundleOrPackage.fromInput(s))
@@ -761,7 +767,10 @@ public String toString() {
}
- static class BundleOrPackage {
+ /**
+ * @since 2.38
+ */
+ public static class BundleOrPackage {
private final String input;
private final List split;