Skip to content

Commit

Permalink
Merge pull request #515 from eclipse-passage/567035
Browse files Browse the repository at this point in the history
567035 implement floating license pack issuing
  • Loading branch information
eparovyshnaya authored Nov 8, 2020
2 parents af7eb6e + a3d644f commit 4ad7178
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 4 deletions.
3 changes: 2 additions & 1 deletion bundles/org.eclipse.passage.lic.api/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ Export-Package: org.eclipse.passage.lic.internal.api;
org.eclipse.passage.lic.equinox.tests,
org.eclipse.passage.lic.base.tests,
org.eclipse.passage.lic.api.tests,
org.eclipse.passage.lbc.base.tests",
org.eclipse.passage.lbc.base.tests,
org.eclipse.passage.loc.licenses.core",
org.eclipse.passage.lic.internal.api.conditions;
x-friends:="org.eclipse.passage.lbc.api,
org.eclipse.passage.lbc.base,
Expand Down
9 changes: 7 additions & 2 deletions bundles/org.eclipse.passage.lic.base/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ Export-Package: org.eclipse.passage.lic.internal.base;
org.eclipse.passage.lic.equinox,
org.eclipse.passage.lic.hc,
org.eclipse.passage.lic.jface,
org.eclipse.passage.lic.base.tests",
org.eclipse.passage.lic.base.tests,
org.eclipse.passage.loc.licenses.core",
org.eclipse.passage.lic.internal.base.access;x-internal:=true,
org.eclipse.passage.lic.internal.base.conditions;
x-friends:="org.eclipse.passage.lbc.base,
Expand All @@ -30,7 +31,11 @@ Export-Package: org.eclipse.passage.lic.internal.base;
org.eclipse.passage.lic.internal.base.i18n;x-internal:=true,
org.eclipse.passage.lic.internal.base.inspection;x-friends:="org.eclipse.passage.loc.licenses.core",
org.eclipse.passage.lic.internal.base.inspection.hardware;x-friends:="org.eclipse.passage.loc.licenses.core",
org.eclipse.passage.lic.internal.base.io;x-friends:="org.eclipse.passage.lic.equinox,org.eclipse.passage.lbc.base",
org.eclipse.passage.lic.internal.base.io;
x-friends:="org.eclipse.passage.lic.equinox,
org.eclipse.passage.lbc.base,
org.eclipse.passage.loc.licenses.core,
org.eclipse.passage.lic.floating",
org.eclipse.passage.lic.internal.base.observatory;x-internal:=true,
org.eclipse.passage.lic.internal.base.registry;x-friends:="org.eclipse.passage.lbc.base",
org.eclipse.passage.lic.internal.base.requirements;x-internal:=true,
Expand Down
2 changes: 2 additions & 0 deletions bundles/org.eclipse.passage.lic.emf/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Require-Bundle: org.eclipse.osgi;bundle-version="0.0.0",
Export-Package: org.eclipse.passage.lic.emf.ecore;x-friends:="org.eclipse.passage.loc.dashboard.ui,org.eclipse.passage.loc.workbench.emfforms",
org.eclipse.passage.lic.emf.ecore.util;
x-friends:="org.eclipse.passage.lic.features.migration,
org.eclipse.passage.lic.emf.edit;x-internal:=true,
org.eclipse.passage.lic.internal.emf.i18n;x-internal:=true,
org.eclipse.passage.lic.features.migration.tests,
org.eclipse.passage.lic.licenses.migration,
org.eclipse.passage.lic.licenses.migration.tests,
Expand Down
2 changes: 2 additions & 0 deletions bundles/org.eclipse.passage.lic.floating/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ Bundle-Name: %Bundle-Name
Bundle-Vendor: %Bundle-Vendor
Bundle-Copyright: %Bundle-Copyright
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Export-Package: org.eclipse.passage.lic.floating;x-friends:="org.eclipse.passage.loc.licenses.core"
Require-Bundle: org.eclipse.passage.lic.base;bundle-version="1.0.1"
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
/*******************************************************************************
* Copyright (c) 2020 ArSysOp
*
* 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
*******************************************************************************/
package org.eclipse.passage.lic.floating;

import org.eclipse.passage.lic.internal.base.io.PassageFileExtension;

public abstract class FloatingFileExtensions extends PassageFileExtension {

public static final class LicenseEncrypted extends FloatingFileExtensions {

@Override
public String get() {
return ".flicen"; //$NON-NLS-1$
}

}

public static final class LicenseDecrypted extends FloatingFileExtensions {

@Override
public String get() {
return ".flic"; //$NON-NLS-1$
}

}

public static final class LicenseAccessDecrypted extends FloatingFileExtensions {

@Override
public String get() {
return ".fla"; //$NON-NLS-1$
}

}

public static final class LicenseAccessEncrypted extends FloatingFileExtensions {

@Override
public String get() {
return ".flaen"; //$NON-NLS-1$
}

}
}
3 changes: 2 additions & 1 deletion bundles/org.eclipse.passage.loc.api/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ Export-Package: org.eclipse.passage.loc.internal.api;
org.eclipse.passage.loc.licenses.core,
org.eclipse.passage.loc.users.core,
org.eclipse.passage.loc.workbench,
org.eclipse.passage.loc.dashboard.ui"
org.eclipse.passage.loc.dashboard.ui",
org.eclipse.passage.loc.internal.emf;x-friends:="org.eclipse.passage.loc.licenses.core"
Require-Bundle: org.eclipse.e4.core.services;bundle-version="0.0.0",
org.eclipse.emf.edit;bundle-version="2.16.0",
org.eclipse.equinox.common;bundle-version="0.0.0";visibility:=reexport,
Expand Down

0 comments on commit 4ad7178

Please sign in to comment.