From 590cdf18218c473b3ac861c0055ca261ecb324b8 Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Wed, 21 Aug 2019 15:03:42 +0200 Subject: [PATCH] [jOOQ/jOOQ#9070] Add Constants.CP_RUNTIME and other values --- jOOQ/src/main/java/org/jooq/Constants.java | 24 ++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/jOOQ/src/main/java/org/jooq/Constants.java b/jOOQ/src/main/java/org/jooq/Constants.java index a2df35f530..2bf2c11473 100644 --- a/jOOQ/src/main/java/org/jooq/Constants.java +++ b/jOOQ/src/main/java/org/jooq/Constants.java @@ -71,20 +71,30 @@ public final class Constants { public static final String XSD_RUNTIME = "jooq-runtime-3.12.0.xsd"; /** - * The current jooq-runtime XML namespace + * The current jooq-runtime XML namespace. */ public static final String NS_RUNTIME = "http://www.jooq.org/xsd/" + XSD_RUNTIME; + /** + * The current jooq-runtime XSD classpath location. + */ + public static final String CP_RUNTIME = "/xsd/" + XSD_RUNTIME; + /** * The current jooq-export XSD file name. */ public static final String XSD_EXPORT = "jooq-export-3.10.0.xsd"; /** - * The current jooq-export XML namespace + * The current jooq-export XML namespace. */ public static final String NS_EXPORT = "http://www.jooq.org/xsd/" + XSD_EXPORT; + /** + * The current jooq-export XSD classpath location. + */ + public static final String CP_EXPORT = "/xsd/" + XSD_EXPORT; + /** * The current jooq-meta XSD file name. */ @@ -95,6 +105,11 @@ public final class Constants { */ public static final String NS_META = "http://www.jooq.org/xsd/" + XSD_META; + /** + * The current jooq-meta XSD classpath location. + */ + public static final String CP_META = "/xsd/" + XSD_META; + /** * The current jooq-codegen XSD file name. */ @@ -105,6 +120,11 @@ public final class Constants { */ public static final String NS_CODEGEN = "http://www.jooq.org/xsd/" + XSD_CODEGEN; + /** + * The current jooq-codegen XSD classpath location. + */ + public static final String CP_CODEGEN = "/xsd/" + XSD_CODEGEN; + /**