Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getExists (0.23 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/FileProfileActivator.java

            if (file == null) {
                return false;
            }
    
            String path;
            boolean missing;
    
            if (file.getExists() != null && !file.getExists().isEmpty()) {
                path = file.getExists();
                missing = false;
            } else if (file.getMissing() != null && !file.getMissing().isEmpty()) {
                path = file.getMissing();
                missing = true;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

    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)
  3. maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

                if (profileFile != null) {
                    ActivationFile file = new ActivationFile();
    
                    file.setExists(profileFile.getExists());
                    file.setMissing(profileFile.getMissing());
    
                    activation.setFile(file);
                }
    
                profile.setActivation(activation);
            }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/SettingsUtilsV4.java

                    org.apache.maven.api.settings.ActivationFile file =
                            org.apache.maven.api.settings.ActivationFile.newBuilder()
                                    .exists(modelFile.getExists())
                                    .missing(modelFile.getMissing())
                                    .build();
    
                    activation.file(file);
                }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ProfileActivationFilePathInterpolator.java

    import org.codehaus.plexus.interpolation.MapBasedValueSource;
    import org.codehaus.plexus.interpolation.RegexBasedInterpolator;
    
    /**
     * Finds an absolute path for {@link ActivationFile#getExists()} or {@link ActivationFile#getMissing()}
     *
     */
    @Named
    @Singleton
    public class ProfileActivationFilePathInterpolator {
    
        private final PathTranslator pathTranslator;
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java

            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();
    
                RegexBasedInterpolator interpolator = new RegexBasedInterpolator();
                try {
                    interpolator.addValueSource(new EnvarBasedValueSource());
                } catch (IOException e) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/settings/SettingsUtilsV4.java

                    org.apache.maven.api.settings.ActivationFile file =
                            org.apache.maven.api.settings.ActivationFile.newBuilder()
                                    .exists(modelFile.getExists())
                                    .missing(modelFile.getMissing())
                                    .build();
    
                    activation.file(file);
                }
    
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Feb 15 08:42:00 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                return;
            }
    
            ActivationFile file = activation.getFile();
    
            String path;
            String location;
    
            if (file.getExists() != null && !file.getExists().isEmpty()) {
                path = file.getExists();
                location = "exists";
            } else if (file.getMissing() != null && !file.getMissing().isEmpty()) {
                path = file.getMissing();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 65K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                if (activation != null) {
                    ActivationFile file = activation.getFile();
                    if (file != null) {
                        String oldExists = file.getExists();
                        if (isNotEmpty(oldExists)) {
                            try {
                                String newExists = interpolate(oldExists, context);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 59.1K bytes
    - Viewed (0)
Back to top