Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To Produce the final integration file #21

Open
igrangel opened this issue Aug 25, 2017 · 3 comments
Open

To Produce the final integration file #21

igrangel opened this issue Aug 25, 2017 · 3 comments
Assignees

Comments

@igrangel
Copy link
Contributor

In the same way that it was implemented in Alligator, but here taking into account the threshold (which should be a parameter in the configuration) produce the final integrated file.

omarrana added a commit that referenced this issue Sep 13, 2017
@omarrana
Copy link
Contributor

this can be closed

@igrangel
Copy link
Contributor Author

Can you point to the lines where the integration file is produced?

@omarrana
Copy link
Contributor

omarrana commented Oct 2, 2017

public void integrate() throws Throwable{
Integration integrate=new Integration();
integrate.integrate();
// checks valdity and repairs the aml file.
File file = new File(ConfigManager.getFilePath() + "integration/integration.aml");
if (file.exists()) {
if (!new XSDValidator(ConfigManager.getFilePath() + "integration/integration.aml").schemaValidate()) {
System.out.println("Repairing Structure");
ModelRepair.testRoundTrip(ConfigManager.getFilePath() + "integration/integration.aml");
System.out.println("Schema Validated");
}
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants