From e0b1d8214c8993718043bd27728db9df364c11bb Mon Sep 17 00:00:00 2001 From: eparovyshnaya Date: Sat, 13 Feb 2021 14:52:30 +0300 Subject: [PATCH 1/2] Bug 571153 add dedicated eclipse product declaration - declare `lac.server.application` and `lac.server.product` - define a /product unit for the Agent Signed-off-by: eparovyshnaya --- .../org.eclipse.passage.lac.server/.classpath | 7 + .../org.eclipse.passage.lac.server/.project | 39 ++++++ .../.settings/org.eclipse.jdt.core.prefs | 101 +++++++++++++++ .../.settings/org.eclipse.jdt.ui.prefs | 122 ++++++++++++++++++ .../.settings/org.eclipse.pde.core.prefs | 3 + .../org.eclipse.pde.ds.annotations.prefs | 8 ++ .../.settings/org.eclipse.pde.prefs | 34 +++++ .../META-INF/MANIFEST.MF | 12 ++ .../OSGI-INF/l10n/bundle.properties | 25 ++++ .../org.eclipse.passage.lac.server/about.html | 36 ++++++ .../build.properties | 20 +++ .../org.eclipse.passage.lac.server/plugin.xml | 37 ++++++ .../src/.gitkeep | 0 .../feature.xml | 6 +- .../.project | 17 +++ .../org.eclipse.core.resources.prefs | 2 + .../org.eclipse.passage.lac.server.product | 75 +++++++++++ .../pom.xml | 104 +++++++++++++++ .../pom.xml | 2 + 19 files changed, 646 insertions(+), 4 deletions(-) create mode 100644 bundles/org.eclipse.passage.lac.server/.classpath create mode 100644 bundles/org.eclipse.passage.lac.server/.project create mode 100644 bundles/org.eclipse.passage.lac.server/.settings/org.eclipse.jdt.core.prefs create mode 100644 bundles/org.eclipse.passage.lac.server/.settings/org.eclipse.jdt.ui.prefs create mode 100644 bundles/org.eclipse.passage.lac.server/.settings/org.eclipse.pde.core.prefs create mode 100644 bundles/org.eclipse.passage.lac.server/.settings/org.eclipse.pde.ds.annotations.prefs create mode 100644 bundles/org.eclipse.passage.lac.server/.settings/org.eclipse.pde.prefs create mode 100644 bundles/org.eclipse.passage.lac.server/META-INF/MANIFEST.MF create mode 100644 bundles/org.eclipse.passage.lac.server/OSGI-INF/l10n/bundle.properties create mode 100644 bundles/org.eclipse.passage.lac.server/about.html create mode 100644 bundles/org.eclipse.passage.lac.server/build.properties create mode 100644 bundles/org.eclipse.passage.lac.server/plugin.xml create mode 100644 bundles/org.eclipse.passage.lac.server/src/.gitkeep create mode 100644 products/org.eclipse.passage.lac.server.product/.project create mode 100644 products/org.eclipse.passage.lac.server.product/.settings/org.eclipse.core.resources.prefs create mode 100644 products/org.eclipse.passage.lac.server.product/org.eclipse.passage.lac.server.product create mode 100644 products/org.eclipse.passage.lac.server.product/pom.xml diff --git a/bundles/org.eclipse.passage.lac.server/.classpath b/bundles/org.eclipse.passage.lac.server/.classpath new file mode 100644 index 000000000..22f30643c --- /dev/null +++ b/bundles/org.eclipse.passage.lac.server/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/bundles/org.eclipse.passage.lac.server/.project b/bundles/org.eclipse.passage.lac.server/.project new file mode 100644 index 000000000..dcc5bf925 --- /dev/null +++ b/bundles/org.eclipse.passage.lac.server/.project @@ -0,0 +1,39 @@ + + + org.eclipse.passage.lac.server + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.pde.api.tools.apiAnalysisBuilder + + + + + org.eclipse.pde.ds.core.builder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + org.eclipse.pde.api.tools.apiAnalysisNature + + diff --git a/bundles/org.eclipse.passage.lac.server/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.passage.lac.server/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..8f9ec5cde --- /dev/null +++ b/bundles/org.eclipse.passage.lac.server/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,101 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnull.secondary= +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault.secondary= +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullable.secondary= +org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled +org.eclipse.jdt.core.compiler.problem.APILeak=warning +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore +org.eclipse.jdt.core.compiler.problem.fallthroughCase=warning +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=warning +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.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore +org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=warning +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=warning +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=error +org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning +org.eclipse.jdt.core.compiler.problem.nonnullTypeVariableFromLegacyInvocation=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=warning +org.eclipse.jdt.core.compiler.problem.pessimisticNullAnalysisForFreeTypeVariables=warning +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning +org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.terminalDeprecation=warning +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning +org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentType=warning +org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentTypeStrict=disabled +org.eclipse.jdt.core.compiler.problem.unlikelyEqualsArgumentType=info +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unstableAutoModuleName=warning +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.unusedExceptionParameter=ignore +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.unusedObjectAllocation=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameter=warning +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.unusedTypeParameter=warning +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning diff --git a/bundles/org.eclipse.passage.lac.server/.settings/org.eclipse.jdt.ui.prefs b/bundles/org.eclipse.passage.lac.server/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 000000000..906381876 --- /dev/null +++ b/bundles/org.eclipse.passage.lac.server/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,122 @@ +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_missing_override_annotations_interface_methods=true +cleanup.add_serial_version_id=false +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_functional_interfaces=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.insert_inferred_type_arguments=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_redundant_modifiers=false +cleanup.remove_redundant_semicolons=false +cleanup.remove_redundant_type_arguments=false +cleanup.remove_trailing_whitespaces=false +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=true +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_anonymous_class_creation=false +cleanup.use_blocks=false +cleanup.use_blocks_only_for_return_and_throw=false +cleanup.use_lambda=true +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=org.eclipse.jdt.ui.default.eclipse_clean_up_profile +cleanup_settings_version=2 +eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +org.eclipse.jdt.ui.text.custom_code_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_missing_override_annotations_interface_methods=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_functional_interfaces=false +sp_cleanup.convert_to_enhanced_for_loop=false +sp_cleanup.correct_indentation=false +sp_cleanup.format_source_code=true +sp_cleanup.format_source_code_changes_only=false +sp_cleanup.insert_inferred_type_arguments=false +sp_cleanup.make_local_variable_final=true +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=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=false +sp_cleanup.qualify_static_method_accesses_with_declaring_class=false +sp_cleanup.remove_private_constructors=true +sp_cleanup.remove_redundant_modifiers=false +sp_cleanup.remove_redundant_semicolons=false +sp_cleanup.remove_redundant_type_arguments=false +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_anonymous_class_creation=false +sp_cleanup.use_blocks=false +sp_cleanup.use_blocks_only_for_return_and_throw=false +sp_cleanup.use_lambda=true +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/bundles/org.eclipse.passage.lac.server/.settings/org.eclipse.pde.core.prefs b/bundles/org.eclipse.passage.lac.server/.settings/org.eclipse.pde.core.prefs new file mode 100644 index 000000000..706f07e8a --- /dev/null +++ b/bundles/org.eclipse.passage.lac.server/.settings/org.eclipse.pde.core.prefs @@ -0,0 +1,3 @@ +eclipse.preferences.version=1 +pluginProject.extensions=true +resolve.requirebundle=false diff --git a/bundles/org.eclipse.passage.lac.server/.settings/org.eclipse.pde.ds.annotations.prefs b/bundles/org.eclipse.passage.lac.server/.settings/org.eclipse.pde.ds.annotations.prefs new file mode 100644 index 000000000..73a356b6d --- /dev/null +++ b/bundles/org.eclipse.passage.lac.server/.settings/org.eclipse.pde.ds.annotations.prefs @@ -0,0 +1,8 @@ +classpath=true +dsVersion=V1_3 +eclipse.preferences.version=1 +enabled=true +generateBundleActivationPolicyLazy=true +path=OSGI-INF +validationErrorLevel=error +validationErrorLevel.missingImplicitUnbindMethod=error diff --git a/bundles/org.eclipse.passage.lac.server/.settings/org.eclipse.pde.prefs b/bundles/org.eclipse.passage.lac.server/.settings/org.eclipse.pde.prefs new file mode 100644 index 000000000..47bd5bdfc --- /dev/null +++ b/bundles/org.eclipse.passage.lac.server/.settings/org.eclipse.pde.prefs @@ -0,0 +1,34 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=1 +compilers.p.build=1 +compilers.p.build.bin.includes=1 +compilers.p.build.encodings=2 +compilers.p.build.java.compiler=2 +compilers.p.build.java.compliance=1 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=1 +compilers.p.build.source.library=1 +compilers.p.build.src.includes=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=1 +compilers.p.no-required-att=0 +compilers.p.no.automatic.module=1 +compilers.p.not-externalized-att=0 +compilers.p.service.component.without.lazyactivation=1 +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/bundles/org.eclipse.passage.lac.server/META-INF/MANIFEST.MF b/bundles/org.eclipse.passage.lac.server/META-INF/MANIFEST.MF new file mode 100644 index 000000000..efcf52545 --- /dev/null +++ b/bundles/org.eclipse.passage.lac.server/META-INF/MANIFEST.MF @@ -0,0 +1,12 @@ +Manifest-Version: 1.0 +Automatic-Module-Name: org.eclipse.passage.lac.server +Bundle-ManifestVersion: 2 +Bundle-SymbolicName: org.eclipse.passage.lac.server;singleton:=true +Bundle-Version: 0.1.0.qualifier +Bundle-Name: %Bundle-Name +Bundle-Vendor: %Bundle-Vendor +Bundle-Copyright: %Bundle-Copyright +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Require-Bundle: org.eclipse.core.runtime;bundle-version="0.0.0", + org.eclipse.passage.lac.jetty;bundle-version="0.1.0" +Bundle-ActivationPolicy: lazy diff --git a/bundles/org.eclipse.passage.lac.server/OSGI-INF/l10n/bundle.properties b/bundles/org.eclipse.passage.lac.server/OSGI-INF/l10n/bundle.properties new file mode 100644 index 000000000..62e395506 --- /dev/null +++ b/bundles/org.eclipse.passage.lac.server/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,25 @@ +#Properties file for org.eclipse.passage.lac.server +############################################################################### +# Copyright (c) 2021 ArSysOp and others +# +# This program and the accompanying materials are made available under the +# terms of the Eclipse Public License 2.0 which is available at +# https://www.eclipse.org/legal/epl-2.0/. +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### +Bundle-Name = Passage LAC Server +Bundle-Vendor = Eclipse Passage +Bundle-Copyright = Copyright (c) 2021 ArSysOp and others.\n\ +\n\ +This program and the accompanying materials are made\n\ +available under the terms of the Eclipse Public License 2.0\n\ +which is available at https://www.eclipse.org/legal/epl-2.0/\n\ +\n\ +SPDX-License-Identifier: EPL-2.0\n\ + +product.name = Passage Licensing Agent +product.appName = Passage Licensing Agent \ No newline at end of file diff --git a/bundles/org.eclipse.passage.lac.server/about.html b/bundles/org.eclipse.passage.lac.server/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/bundles/org.eclipse.passage.lac.server/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/bundles/org.eclipse.passage.lac.server/build.properties b/bundles/org.eclipse.passage.lac.server/build.properties new file mode 100644 index 000000000..7bdbe10f6 --- /dev/null +++ b/bundles/org.eclipse.passage.lac.server/build.properties @@ -0,0 +1,20 @@ +############################################################################### +# Copyright (c) 2021 ArSysOp and others +# +# This program and the accompanying materials are made available under the +# terms of the Eclipse Public License 2.0 which is available at +# https://www.eclipse.org/legal/epl-2.0/. +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + plugin.xml,\ + OSGI-INF/,\ + about.html diff --git a/bundles/org.eclipse.passage.lac.server/plugin.xml b/bundles/org.eclipse.passage.lac.server/plugin.xml new file mode 100644 index 000000000..9414b7ab0 --- /dev/null +++ b/bundles/org.eclipse.passage.lac.server/plugin.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + diff --git a/bundles/org.eclipse.passage.lac.server/src/.gitkeep b/bundles/org.eclipse.passage.lac.server/src/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/features/org.eclipse.passage.lac.execute.feature/feature.xml b/features/org.eclipse.passage.lac.execute.feature/feature.xml index 0bf11e594..5c6190a29 100644 --- a/features/org.eclipse.passage.lac.execute.feature/feature.xml +++ b/features/org.eclipse.passage.lac.execute.feature/feature.xml @@ -47,14 +47,12 @@ install-size="0" version="0.0.0" unpack="false"/> - + + org.eclipse.passage.lac.server.product + + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.m2e.core.maven2Nature + + diff --git a/products/org.eclipse.passage.lac.server.product/.settings/org.eclipse.core.resources.prefs b/products/org.eclipse.passage.lac.server.product/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 000000000..99f26c020 --- /dev/null +++ b/products/org.eclipse.passage.lac.server.product/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/products/org.eclipse.passage.lac.server.product/org.eclipse.passage.lac.server.product b/products/org.eclipse.passage.lac.server.product/org.eclipse.passage.lac.server.product new file mode 100644 index 000000000..217fd6c54 --- /dev/null +++ b/products/org.eclipse.passage.lac.server.product/org.eclipse.passage.lac.server.product @@ -0,0 +1,75 @@ + + + + + + + + + + + -os ${target.os} -ws ${target.ws} -arch ${target.arch} -consoleLog -console + + -Declipse.ignoreApp=true -Dosgi.noShutdown=true + + -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/products/org.eclipse.passage.lac.server.product/pom.xml b/products/org.eclipse.passage.lac.server.product/pom.xml new file mode 100644 index 000000000..2ec06630d --- /dev/null +++ b/products/org.eclipse.passage.lac.server.product/pom.xml @@ -0,0 +1,104 @@ + + + + + 4.0.0 + org.eclipse.passage.lac.server.product + eclipse-repository + + + org.eclipse.passage + org.eclipse.passage.parent + 1.2.0-SNAPSHOT + ../../releng/org.eclipse.passage.parent + + + + + + org.eclipse.tycho + tycho-p2-repository-plugin + ${tycho.version} + + true + + + + org.eclipse.tycho + tycho-p2-director-plugin + ${tycho.version} + + + materialize-products + + materialize-products + + + + archive-products + + archive-products + + + + + + + ${project.artifactId} + ${project.artifactId}-${build.label} + + + + + + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + + org.eclipse.tycho.extras + + + tycho-eclipserun-plugin + + + [1.5.1,) + + + eclipse-run + + + + + + + + + + + + + + \ No newline at end of file diff --git a/releng/org.eclipse.passage.lac.aggregator/pom.xml b/releng/org.eclipse.passage.lac.aggregator/pom.xml index b116f41f7..83bc41c9f 100644 --- a/releng/org.eclipse.passage.lac.aggregator/pom.xml +++ b/releng/org.eclipse.passage.lac.aggregator/pom.xml @@ -29,9 +29,11 @@ ../../bundles/org.eclipse.passage.lac ../../bundles/org.eclipse.passage.lac.jetty + ../../bundles/org.eclipse.passage.lac.server ../../features/org.eclipse.passage.lac.target.feature ../../features/org.eclipse.passage.lac.execute.feature ../../releng/org.eclipse.passage.lac.repository + ../../products/org.eclipse.passage.lbc.server.product From eeef9cc4a516a0d776d326682f0e18fc23d307bf Mon Sep 17 00:00:00 2001 From: eparovyshnaya Date: Sat, 13 Feb 2021 14:58:20 +0300 Subject: [PATCH 2/2] Bug 571153 add dedicated eclipse product declaration - declare `lac.server.application` and `lac.server.product` - define a /product unit for the Agent Signed-off-by: eparovyshnaya --- releng/org.eclipse.passage.lac.aggregator/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releng/org.eclipse.passage.lac.aggregator/pom.xml b/releng/org.eclipse.passage.lac.aggregator/pom.xml index 83bc41c9f..8ef6796bc 100644 --- a/releng/org.eclipse.passage.lac.aggregator/pom.xml +++ b/releng/org.eclipse.passage.lac.aggregator/pom.xml @@ -33,7 +33,7 @@ ../../features/org.eclipse.passage.lac.target.feature ../../features/org.eclipse.passage.lac.execute.feature ../../releng/org.eclipse.passage.lac.repository - ../../products/org.eclipse.passage.lbc.server.product + ../../products/org.eclipse.passage.lac.server.product