Skip to content
Permalink
Browse files

Show message when using xmlXref and stringXref

  • Loading branch information...
gquerret committed Jul 9, 2019
1 parent 79a04c5 commit d928f7aac2cede3d37e1857ab56173e3fc24ad8c
@@ -149,6 +149,11 @@ public void execute() {
}
}

// Display warning message if xmlXref and stringXref used at the same time
if (compAttrs.isXmlXref() && compAttrs.isStringXref()) {
log(Messages.getString("PCTCompile.92"), Project.MSG_WARN); //$NON-NLS-1$
}

initializeCompilationUnits();
compAttrs.writeCompilationProcedure(new File(compDir, "pctcomp.p"), getCharset());
getOptions().addPropath(new Path(getProject(), compDir.getAbsolutePath()));
@@ -307,6 +307,11 @@ public void execute() {
compAttrs.setProgPerc(0);
}

// Display warning message if xmlXref and stringXref used at the same time
if (compAttrs.isXmlXref() && compAttrs.isStringXref()) {
log(Messages.getString("PCTCompile.92"), Project.MSG_WARN); //$NON-NLS-1$
}

checkDlcHome();

try {
@@ -37,6 +37,7 @@ PCTCompile.47=cpstream is not defined. You may have problems if file names have
PCTCompile.48=Fileset directory {0} not found in PROPATH
PCTCompile.90=Ignoring appendStringXref because stringXref is not enabled
PCTCompile.91=Ignoring ProgPerc because of a not supported value: {0}
PCTCompile.92=Enabling xmlXref and stringXref will probably crash the AVM (OCTA-14756)

PCTConnection.0=Alias {0} already defined
PCTConnection.1=Database name or parameter file not defined

0 comments on commit d928f7a

Please sign in to comment.
You can’t perform that action at this time.