outputDir = file.getAbsolutePath();
}
}
if (outputDir != null) {
Compile compile = new Compile();
compile.setSourceCorpus(source);
compile.setTargetCorpus(target);
compile.setAlignments(alignments);
compile.setOutputDir(outputDir);
logger.info("Output directory == " + outputDir);
// this.progressBar.setValue(50);
// this.progressBar.setStringPainted(true);//setStringPainted
// this.progressBar.setVisible(true);
this.repaint();
try {
compile.execute();
this.progressBar.setVisible(false);
} catch (IOException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}