- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for activation (0.24 sec)
-
maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java
Profile osActivated = new Profile(); osActivated.setId( "os-profile" ); Activation osActivation = new Activation(); ActivationOS activationOS = new ActivationOS(); activationOS.setName( "!dddd" ); osActivation.setOs( activationOS ); osActivated.setActivation( osActivation ); Properties props = System.getProperties();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 7.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/execution/ActivationSettings.java
/** * Describes whether a target should be activated or not, and if that is required or optional. */ enum ActivationSettings { ACTIVATION_OPTIONAL(true, true), ACTIVATION_REQUIRED(true, false), DEACTIVATION_OPTIONAL(false, true), DEACTIVATION_REQUIRED(false, false); /** * Should the target be active? */ final boolean active; /**
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Nov 22 13:26:01 GMT 2022 - 1.7K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java
return profile.getActivation() != null && profile.getActivation().getFile() != null; } public boolean isActive(Profile profile) { Activation activation = profile.getActivation(); ActivationFile actFile = activation.getFile(); if (actFile != null) { // check if the file exists, if it does then the profile will be active String fileString = actFile.getExists();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Sep 14 11:48:15 GMT 2023 - 3.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/FileProfileActivator.java
@Override public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { Activation activation = profile.getActivation(); if (activation == null) { return false; } ActivationFile file = activation.getFile(); if (file == null) { return false; } String path; boolean missing;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.1K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java
profile.setSource("profiles.xml"); org.apache.maven.profiles.Activation profileActivation = profileXmlProfile.getActivation(); if (profileActivation != null) { Activation activation = new Activation(); activation.setActiveByDefault(profileActivation.isActiveByDefault()); activation.setJdk(profileActivation.getJdk());
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 4.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/OperatingSystemProfileActivator.java
Activation activation = profile.getActivation(); if (activation == null) { return false; } ActivationOS os = activation.getOs(); return os != null; } private boolean ensureAtLeastOneNonNull(ActivationOS os) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.9K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java
} public boolean isActive(Profile profile) throws ProfileActivationException { Activation activation = profile.getActivation(); ActivationProperty property = activation.getProperty(); if (property != null) { String name = property.getName(); boolean reverseName = false; if (name == null) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue May 09 23:46:02 GMT 2023 - 3.3K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java
.build(); ActivationOS ao = ActivationOS.newBuilder() .arch("arch" + Long.toHexString(entropy.nextLong())) .family("family" + Long.toHexString(entropy.nextLong())) .name("name" + Long.toHexString(entropy.nextLong())) .version("version" + Long.toHexString(entropy.nextLong())) .build(); Activation a = Activation.newBuilder()
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 6.7K bytes - Viewed (0) -
maven-core/src/test/resources/projects/transform/after.pom
</build> <profiles> <profile> <id>default-active</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> </profile> <profile> <id>file</id> <activation> <file> <exists>simple.xml</exists> </file>
Plain Text - Registered: Sun Mar 31 03:35:09 GMT 2024 - Last Modified: Thu Sep 14 07:51:37 GMT 2023 - 2.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java
*/ public void activateOptionalProfile(String id) { this.activations.put(id, ActivationSettings.ACTIVATION_OPTIONAL); } /** * Mark a profile as required and deactivated. * @param id The identifier of the profile. */ public void deactivateRequiredProfile(String id) { this.activations.put(id, ActivationSettings.DEACTIVATION_REQUIRED); } /**
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 5.6K bytes - Viewed (0)