From: Aleš Křenek Date: Tue, 24 Jan 2006 16:54:03 +0000 (+0000) Subject: JP types schema genartor -- quite naive, just cut-and-paste from puke-wsdl X-Git-Tag: merge_for_3_1_dst~36 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=d3517228964f365b22f3b1502a1794896eb313d4;p=jra1mw.git JP types schema genartor -- quite naive, just cut-and-paste from puke-wsdl --- diff --git a/org.glite.jp.ws-interface/Makefile b/org.glite.jp.ws-interface/Makefile index f762daa..de1de5c 100644 --- a/org.glite.jp.ws-interface/Makefile +++ b/org.glite.jp.ws-interface/Makefile @@ -19,8 +19,9 @@ XMLLINT:=xmllint docbookxls:=http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl WSDL=JobProvenancePS.wsdl JobProvenanceIS.wsdl JobProvenanceTypes.wsdl +XSD=JobProvenanceTypes.xsd -all compile: ${WSDL} JobProvenance.html +all compile: ${WSDL} ${XSD} JobProvenance.html check: @echo No unit test required for interface-only module. @@ -47,14 +48,17 @@ install: install -m 644 ${top_srcdir}/LICENSE ${PREFIX}/share/doc/${package}-${version} install -m 644 JobProvenance.html ${PREFIX}/share/doc/${package}-${version} # cd ${top_srcdir}/interface && install -m 644 ${WSDL} ${PREFIX}/${STAGETO} - install -m 644 ${WSDL} ${PREFIX}/${STAGETO} + install -m 644 ${WSDL} ${XSD} ${PREFIX}/${STAGETO} clean: rm -f *.h -%.wsdl: %.xml +%.wsdl: %.xml puke-wsdl.xsl ${XSLTPROC} ../src/puke-wsdl.xsl $< >$@ +%.xsd: %.xml puke-schema.xsl + ${XSLTPROC} ../src/puke-schema.xsl $< >$@ + JobProvenance.html: doc.xml JobProvenancePS.xml JobProvenanceIS.xml JobProvenanceTypes.xml puke-ug.xsl ${XSLTPROC} --novalid ../src/puke-ug.xsl $< >doc-html.xml ${XMLLINT} --valid --noout doc-html.xml diff --git a/org.glite.jp.ws-interface/project/glite-jp-ws-interface.spec b/org.glite.jp.ws-interface/project/glite-jp-ws-interface.spec index 930f7e7..c49cbee 100644 --- a/org.glite.jp.ws-interface/project/glite-jp-ws-interface.spec +++ b/org.glite.jp.ws-interface/project/glite-jp-ws-interface.spec @@ -1,12 +1,12 @@ Summary:Change me !!! Name:glite-jp-ws-interface Version:1.1.0 -Release:0_U200510151557 +Release:0_U200512201442 Copyright:Open Source EGEE License Vendor:EU EGEE project Group:System/Application Prefix:/opt/glite -BuildArch:i386 +BuildArch:x86_64 BuildRoot:%{_builddir}/%{name}-%{version} Source:glite-jp-ws-interface-1.1.0_bin.tar.gz diff --git a/org.glite.jp.ws-interface/src/puke-schema.xsl b/org.glite.jp.ws-interface/src/puke-schema.xsl new file mode 100644 index 0000000..fdbe9fb --- /dev/null +++ b/org.glite.jp.ws-interface/src/puke-schema.xsl @@ -0,0 +1,161 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + false + + + + + + + + + + : + + + + + + 0 + 1 + + + + + unbounded + 1 + + + + + + + + + + + + + + + : + + + + + unbounded + 1 + + + + + + + + + + + + + + + : + + + + + unbounded + 1 + + + + + + + + + + + + + + + + + + + + + + + +