Package net.wastl.webmail.misc

Examples of net.wastl.webmail.misc.ExpandableProperties.expand()


        final Properties expandProps = new Properties();
        expandProps.setProperty("rtconfig.dir", rtConfigDir.getAbsolutePath());
        expandProps.setProperty("app.contextpath", contextPath);
        expandProps.setProperty("deployment.name", deploymentName);
        try {
            metaProperties.expand(expandProps); // Expand ${} properties
        } catch (final Throwable t) {
            log.fatal("Failed to expand properties in meta file '"
                    + metaFile.getAbsolutePath() + "'", t);
            throw new IllegalStateException(
                    "Failed to expand properties in meta file '"
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.