Commit a0c934a5 authored by Claus Nagel's avatar Claus Nagel
Browse files

No commit message

No commit message
parent 8d04d116
...@@ -84,6 +84,12 @@ public class ADE_XJC { ...@@ -84,6 +84,12 @@ public class ADE_XJC {
System.exit(1); System.exit(1);
} }
if (packageName.startsWith("org.citygml4j")) {
LOG.error("The package " + packageName + " is not allowed for the ADE classes");
LOG.error("Choose a package which is not a subpackage of org.citygml4j. Exiting.");
System.exit(1);
}
LOG.info("Starting ade-xjc compiler"); LOG.info("Starting ade-xjc compiler");
int status = 0; int status = 0;
...@@ -97,12 +103,6 @@ public class ADE_XJC { ...@@ -97,12 +103,6 @@ public class ADE_XJC {
LOG.info("Checking build environment"); LOG.info("Checking build environment");
checkBuildEnvironment(); checkBuildEnvironment();
if (packageName.startsWith("org.citygml4j")) {
LOG.error("The package " + packageName + " is not allowed for the ADE classes");
LOG.error("Choose a package which is not a subpackage of org.citygml4j. Exiting.");
System.exit(1);
}
LOG.info("Using ADE schema " + adeSchemaFile.getAbsolutePath()); LOG.info("Using ADE schema " + adeSchemaFile.getAbsolutePath());
if (adeBindingFile != null) if (adeBindingFile != null)
LOG.info("Using JAXB binding " + adeBindingFile.getAbsolutePath()); LOG.info("Using JAXB binding " + adeBindingFile.getAbsolutePath());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment