Package org.pomizer.model

Examples of org.pomizer.model.DeployerResourceInfo


                }
               
                List resources = projectNode.selectNodes("./resources");
                if (null != resources) {
                    for (int j = 0; j < resources.size(); j++) {
                        DeployerResourceInfo resourceInfo = new DeployerResourceInfo();
                        Node resourceNode = (Node)resources.get(j);
                        resourceInfo.path = XmlUtils.getAttributeValue(resourceNode, "path");
                        File resourcePath = new File(FilenameUtils.concat(project.path, resourceInfo.path));
                        if (!resourcePath.exists()) {
                            throw new ApplicationException("Resource path \"" + resourceInfo.path + "\" doesn't exists in the project \""
View Full Code Here


   
    private static void processResourcesChanges(final Map<String, List<String>> filesToDeploy, final DeployerProject project,
            final String changedFile) throws IOException {
       
        for (int i = 0; i < project.resources.size(); i++) {
            final DeployerResourceInfo resourceInfo = project.resources.get(i);
            String resourceFullPath = FilenameUtils.concat(project.path, resourceInfo.path);
            if (JavaUtils.isFile(resourceFullPath)) {
                if (JavaUtils.isTheSamePath(resourceFullPath, changedFile)) {
                    for (int j = 0; j < resourceInfo.deploymentPaths.size(); j++) {
                       
View Full Code Here

TOP

Related Classes of org.pomizer.model.DeployerResourceInfo

Copyright © 2018 www.massapicom. 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.