Skip to content

Commit 1fe773e

Browse files
committed
Force i18n options in JsonDocumentation + delete temporary files
1 parent 2204711 commit 1fe773e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/java/eu/rssw/pct/oedoc/JsonDocumentation.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,7 @@ private Schema readDBSchema() throws IOException {
530530
File outFile = dumpSchema(conn);
531531
dbs[cnt++] = new DatabaseWrapper(
532532
DumpFileUtils.getDatabaseDescription(outFile.toPath(), conn.getDbName()));
533+
outFile.delete();
533534
}
534535

535536
Schema schema = new Schema(dbs);
@@ -567,9 +568,12 @@ private File dumpSchema(PCTConnection conn) {
567568
}
568569
PCTDumpSchema run = new PCTDumpSchema();
569570
run.bindToOwner(this);
571+
run.setDestFile(outFile);
570572
run.setDlcHome(getDlcHome());
573+
run.setCpInternal("utf-8");
571574
run.setCpStream("utf-8");
572-
run.setDestFile(outFile);
575+
run.setCpCase("basic");
576+
run.setCpColl("basic");
573577
run.addDBConnection(conn);
574578
run.execute();
575579

0 commit comments

Comments
 (0)