Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getExists (0.05 seconds)

  1. compat/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) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

            root.map(Activation::getFile).ifPresent(fa -> {
                stk.push(new ActivationFrame("file", Optional.of(fa)));
                stk.push(new ActivationFrame("exists", Optional.empty()));
                validator.accept(fa.getExists());
                stk.peek().location = "missing";
                validator.accept(fa.getMissing());
                stk.pop();
                stk.pop();
            });
            root.map(Activation::getOs).ifPresent(oa -> {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
Back to Top