Package org.jitterbit.integration.client.project

Examples of org.jitterbit.integration.client.project.ProjectFile


        // TODO: Process operations. Need to check for chunk nodes in operations that use
        // an affected Transformation.
    }
   
    private Document loadProjectFile() throws Exception {
        ProjectFile projectFile = ProjectFile.createForExistingProject(projectName, projectFolder, false);
        File xmlFile = new File(projectFolder, projectFile.getProperty(ProjectFile.STRUCTURE_INFO));
        return DomParser.parseFile(xmlFile);
    }
View Full Code Here


        }

        @Override
        protected void nameChanged(String oldName, String newName) {
            ManagedProject managedProject = project.getExtensionObject(ManagedProject.class);
            ProjectFile projectFile = managedProject.getProjectFile();
            updateRecentProject(oldName, newName, projectFile);
        }
View Full Code Here

            try {
                String newName = params.getNewProjectName();
                assert newName != null;
                File newLocation = new File(unpackFolder, newName);
                ManagedProject mp = unpackedProject.getExtensionObject(ManagedProject.class);
                ProjectFile oldProjectFile = mp.getProjectFile();
                oldProjectFile.setNewName(newName);
                FileUtils.copyDirectory(oldProjectFile.getParentFolder(), newLocation);
                locationOfUnpackedProject = newLocation;
                return newName;
            } catch (IOException e) {
                throw new JitterPackException("Could not rename the unpacked project: " + e.getMessage(), e);
            }
View Full Code Here

            KongaIoUtils.close(reader);
        }
    }

    private File getFile() {
        ProjectFile projectFile = project.getProjectFile();
        String fileName = projectFile.getProperty(ProjectFile.PIPELINE_PLUGIN_INFO);
        return new File(project.getLocation(), fileName);
    }
View Full Code Here

            KongaIoUtils.close(writer);
        }
    }

    private File getFile() {
        ProjectFile projectFile = project.getProjectFile();
        String fileName = projectFile.getProperty(ProjectFile.PIPELINE_PLUGIN_INFO);
        return new File(project.getLocation(), fileName);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.project.ProjectFile

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.