Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 52 for getSystemProperties (0.15 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

            return Map.of();
        }
    
        @Override
        public Map<String, String> getSystemProperties() {
            return systemProperties;
        }
    
        @Override
        public Map<String, String> getEffectiveProperties(Project project) {
            HashMap<String, String> result = new HashMap<>(getSystemProperties());
            if (project != null) {
                result.putAll(project.getModel().getProperties());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/job/ExecJob.java

            try (FileOutputStream out = new FileOutputStream(propFile)) {
                final Properties prop = new Properties();
                prop.putAll(ComponentUtil.getSystemProperties());
                final LaJobRuntime jobRuntime = ComponentUtil.getJobHelper().getJobRuntime();
                if (jobRuntime != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

                                new Class[] {Session.class},
                                (Object proxy, Method method, Object[] args) -> {
                                    if ("getSystemProperties".equals(method.getName())) {
                                        Map<String, String> properties = new HashMap<>();
                                        Properties env = OperatingSystemUtils.getSystemEnvVars();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

                    return asStream(id).contentTypeOctetStream().stream(out -> {
                        try (final ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
                            ComponentUtil.getSystemProperties().store(baos, id);
                            try (final InputStream in = new ByteArrayInputStream(baos.toByteArray())) {
                                out.write(in);
                            }
                        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            ComponentUtil.getSystemProperties().store();
        }
    
        default String getSystemProperty(final String key) {
            return ComponentUtil.getSystemProperties().getProperty(key, System.getProperty(Constants.SYSTEM_PROP_PREFIX + key));
        }
    
        default String getSystemProperty(final String key, final String defaultValue) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

        }
    
        private void importSystemProperties(final String fileName, final File tempFile) {
            try (final InputStream in = new FileInputStream(tempFile)) {
                ComponentUtil.getSystemProperties().load(in);
            } catch (final IOException e) {
                logger.warn("Failed to process system.properties file: {}", fileName, e);
            } finally {
                deleteTempFile(tempFile);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

            settingsRequest.setProjectSettingsFile(projectSettingsFile);
            settingsRequest.setUserSettingsFile(userSettingsFile);
            settingsRequest.setSystemProperties(cliRequest.getSystemProperties());
            Properties props = cliRequest.getUserProperties();
            if (cliRequest.getRootDirectory() != null) {
                props = new Properties();
                props.putAll(cliRequest.getUserProperties());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            request.source(new PomConsumerModelSource(project.getModel().getPomPath(), src));
            request.locationTracking(false);
            request.systemProperties(session.getSystemProperties());
            request.userProperties(session.getUserProperties());
            request.lifecycleBindingsInjector(lifecycleBindingsInjector::injectLifecycleBindings);
            ModelBuilder.ModelBuilderSession mbSession =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

                String path = request.getUserProperties().getProperty(Constants.MAVEN_USER_CONF);
                if (path == null) {
                    path = request.getSystemProperties().getProperty("user.home") + File.separator + ".m2";
                }
                localRepositoryPath = new File(path, "repository").getAbsolutePath();
            }
    
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java

            this.inactiveProfileIds = unmodifiable(inactiveProfileIds);
            return this;
        }
    
        @Override
        public Map<String, String> getSystemProperties() {
            return systemProperties;
        }
    
        /**
         * Sets the system properties to use for interpolation and profile activation. The system properties are collected
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top