[rhmessaging-commits] rhmessaging commits: r2020 - mgmt/mint.
rhmessaging-commits at lists.jboss.org
rhmessaging-commits at lists.jboss.org
Thu May 8 18:32:14 EDT 2008
Author: nunofsantos
Date: 2008-05-08 18:32:13 -0400 (Thu, 08 May 2008)
New Revision: 2020
Modified:
mgmt/mint/Makefile
Log:
generate python from store xml schema, if STORE_SCHEMA_XML is defined; skip otherwise
Modified: mgmt/mint/Makefile
===================================================================
--- mgmt/mint/Makefile 2008-05-08 22:09:09 UTC (rev 2019)
+++ mgmt/mint/Makefile 2008-05-08 22:32:13 UTC (rev 2020)
@@ -28,6 +28,7 @@
schema-python:
@if [ -z "$$MINT_SCHEMA_XML" ]; then echo "MINT_SCHEMA_XML is not set"; exit 1; fi
python python/mint/schemaparser.py ${MINT_SCHEMA_XML} python/mint/schema.py ${dsn}
+ @if [ -z "$$STORE_SCHEMA_XML" ]; then echo "Warning: STORE_SCHEMA_XML is not set, skipping store schema generation"; else python python/mint/schemaparser.py ${STORE_SCHEMA_XML} python/mint/schema-store.py ${dsn}; cat python/mint/schema-store.py >> python/mint/schema.py; fi
schema-sql:
sqlobject-admin sql -m mint -m mint.schema -c ${dsn} | sed -e '1,2d' > sql/schema.sql
More information about the rhmessaging-commits
mailing list