[rhmessaging-commits] rhmessaging commits: r1365 - mgmt/mint.
rhmessaging-commits at lists.jboss.org
rhmessaging-commits at lists.jboss.org
Mon Nov 26 21:53:27 EST 2007
Author: justi9
Date: 2007-11-26 21:53:27 -0500 (Mon, 26 Nov 2007)
New Revision: 1365
Removed:
mgmt/mint/xml/
Modified:
mgmt/mint/Makefile
Log:
Changes the mint Makefile such that it requires the user set a variable,
MINT_XML_SCHEMA, pointing to the file to use to generate the schema.
Removes the copy of the schema files.
Modified: mgmt/mint/Makefile
===================================================================
--- mgmt/mint/Makefile 2007-11-26 23:16:11 UTC (rev 1364)
+++ mgmt/mint/Makefile 2007-11-27 02:53:27 UTC (rev 1365)
@@ -3,17 +3,17 @@
dsn := "postgresql://localhost/"
ifndef MINT_XML_SCHEMA
- MINT_XML_SCHEMA := "xml/MgmtSchema.xml"
+ $(error "MINT_XML_SCHEMA is not set")
endif
message:
- @echo "Run 'make schema' to regenerate the schema from MINT_XML_SCHEMA"
- @echo "MINT_XML_SCHEMA is currently set to '${MINT_XML_SCHEMA}'"
+ @echo "Run 'make schema' to regenerate the schema from the file indicated in the"
+ @echo "variable MINT_XML_SCHEMA."
schema: schema-python schema-sql
schema-python:
python python/mint/schemaparser.py ${MINT_XML_SCHEMA} python/mint/schema.py ${dsn}
-schema-sql:
+schema-sql: python/mint/schema.py
sqlobject-admin sql -m mint.schema -c ${dsn} | sed -e '1,2d' > python/mint/schema.sql
More information about the rhmessaging-commits
mailing list