Package org.pomizer.model

Examples of org.pomizer.model.DeployerSourcesInfo


                JavaUtils.checkDirectoryExists(project.path);
               
                List sources = projectNode.selectNodes("./sources");
                if (null != sources) {
                    for (int j = 0; j < sources.size(); j++) {
                        DeployerSourcesInfo sourcesInfo = new DeployerSourcesInfo();
                        Node sourcesNode = (Node)sources.get(j);
                        sourcesInfo.path = XmlUtils.getAttributeValue(sourcesNode, "path")
                        sourcesInfo.binariesFolder = XmlUtils.getAttributeValue(sourcesNode, "output");
                        loadDeploymentPaths(sourcesInfo, sourcesNode, true);
                        project.sources.add(sourcesInfo);
View Full Code Here


            Map<String, Map<String, String>> jarsToDeploy, DeployerProject project,
            final String changedFileName) throws IOException {
       
        final File changedFile = new File(changedFileName);
        for (int i = 0; i < project.sources.size(); i++) {
            final DeployerSourcesInfo sourcesInfo = project.sources.get(i);
            String sourcesFullPath = FilenameUtils.concat(project.path, sourcesInfo.path);
            final File sourceFullDirectory = new File(sourcesFullPath);
       
            if (FileUtils.directoryContains(sourceFullDirectory, changedFile) &&
                    changedFileName.endsWith(JAVA_FILE_EXTENSION)) {
View Full Code Here

TOP

Related Classes of org.pomizer.model.DeployerSourcesInfo

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.