All Downloads are FREE. Search and download functionalities are using the official Maven repository.

emacrawler.12.02.01.source-code.schemacrawler-integrations-antlib.xml Maven / Gradle / Ivy

Go to download

SchemaCrawler is an open-source Java API that makes working with database metadata as easy as working with plain old Java objects. SchemaCrawler is also a database schema discovery and comprehension, and schema documentation tool. You can search for database schema objects using regular expressions, and output the schema and data in a readable text format. The output is designed to be diff-ed against other database schemas.

There is a newer version: 16.22.2
Show newest version
<?xml version="1.0"?>
<antlib>

	<macrodef name="schemacrawler-spring">

		<!-- Attributes -->
		<attribute name="context-file" default="schemacrawler.context.xml" />
		<attribute name="executable" default="executable" />
		<attribute name="datasource" default="datasource" />

		<attribute name="schemacrawler-classpath" default="${schemacrawler-classpath}" />

		<attribute name="loglevel"
			description="Log level - may be one of: OFF, SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST, ALL"
			default="SEVERE" />

		<sequential>

			<!-- Required properties: -->
			<property name="schemacrawler.dir" value="${basedir}" />

			<java taskname="schemacrawler-spring" classname="schemacrawler.tools.integration.spring.Main"
				logerror="true" failonerror="true">
				<classpath>
					<pathelement path="${java.class.path}" />
					<fileset dir="${schemacrawler.dir}">
						<include name="*.jar" />
					</fileset>
					<path refid="@{schemacrawler-classpath}" />
				</classpath>
				<arg value="-context-file" />
				<arg value="@{context-file}" />
				<arg value="-executable" />
				<arg value="@{executable}" />
				<arg value="-datasource" />
				<arg value="@{datasource}" />
				<arg value="-loglevel=@{loglevel}" />
			</java>
		</sequential>

	</macrodef>

</antlib>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy