-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #663 from eclipse-passage/571190-1
Bug 571190 build the solution on Framework services host
- Loading branch information
Showing
5 changed files
with
73 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
...e.passage.lbc.base/src/org/eclipse/passage/lbc/internal/base/mine/FloatingConditions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2021 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.lbc.internal.base.mine; | ||
|
||
import java.nio.file.Path; | ||
import java.util.function.Supplier; | ||
|
||
import org.eclipse.passage.lic.floating.FloatingFileExtensions; | ||
import org.eclipse.passage.lic.internal.api.LicensedProduct; | ||
import org.eclipse.passage.lic.internal.api.conditions.ConditionMiningTarget; | ||
import org.eclipse.passage.lic.internal.base.conditions.mining.LocalConditions; | ||
import org.eclipse.passage.lic.internal.base.io.PathFromLicensedProduct; | ||
|
||
final class FloatingConditions extends LocalConditions { | ||
|
||
private final Supplier<Path> base; | ||
|
||
FloatingConditions(Supplier<Path> base, String user) { | ||
super(// | ||
new ConditionMiningTarget.Local().child("floating-server"), //$NON-NLS-1$ | ||
new ReassemblingMiningEquipment(user, base), // | ||
new FloatingFileExtensions.FloatingLicenseEncrypted()); | ||
this.base = base; | ||
} | ||
|
||
@Override | ||
protected Supplier<Path> base(LicensedProduct product) { | ||
return new PathFromLicensedProduct(base, product); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters