Commit 1f084d47 authored by Jonathon Duerig's avatar Jonathon Duerig
Browse files

Added support for non-versioned rspecs in xsdgen. Temporary measure.

parent 5babfc66
......@@ -151,6 +151,7 @@
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="control"/>
<xs:enumeration value="experimental"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
......
......@@ -2,6 +2,20 @@
TRANGCMD="java -jar ${TRANG:-/usr/local/share/java/classes/trang.jar}"
### TEMPORARY! Remove when version 0.2 is checked in ###
rm -f *.xsd
for schema in rspec-ad rspec-request; do
$TRANGCMD ${schema}.rnc ${schema}.xsd
mv top.xsd ${schema}-top.xsd
sed "s/top.xsd/${schema}-top.xsd/" protogeni-rspec-common.xsd > ${schema}-common.xsd
rm protogeni-rspec-common.xsd
sed "s/protogeni-rspec-common.xsd/${schema}-common.xsd/" ${schema}.xsd > ${schema}.tmp
mv ${schema}.tmp ${schema}.xsd
done
### END TEMPORARY
for path in 0.1; do
rm -f ${path}/*.xsd
for schema in ad request; do
......
Markdown is supported
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