source: TI12-security/trunk/python/ndg.security.server/ndg/security/server/ca/Makefile @ 2146

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.server/ndg/security/server/ca/Makefile@2146
Revision 2146, 998 bytes checked in by pjkersha, 14 years ago (diff)

python/ndg.security.server/ndg/security/server/ca/server-config.tac: fixes to imports
and instantiate self.ca as SimpleCA type.

python/ndg.security.server/ndg/security/server/ca/Makefile,
python/ndg.security.server/ndg/security/server/ca/CertificateAuthority_services_server.py: fixed import from CertificateAuthority? -> ca

python/conf/simpleCAProperties.xml,
python/ndg.security.test/ndg/security/test/ca/simpleCAProperties.xml: fixed path setting
and added PKI settings to test version.

Line 
1#
2# NERC Data Grid Project
3#
4# @author P J Kershaw 25/01/07
5#
6# Generate web service stubs from WSDL for Certificate Authority client and
7# server side code
8#
9# @copyright (C) 2007 CCLRC & NERC
10#
11# @license This software may be distributed under the terms of the Q Public
12# License, version 1.0 or later.
13#
14# $Id:$
15WSDL_FILE=../../../../../www/html/certificateAuthority.wsdl
16CMD=wsdl2dispatch
17OPTS=-e -f
18
19STUB_FILE=CertificateAuthority_services_server.py
20TMP_FILE=CertificateAuthority_services_server.py.tmp
21
22ORIG1=return result
23REPL1=return self.request, result
24ORIG2=from CertificateAuthority_services import
25REPL2=from ndg.security.common.ca.CertificateAuthority_services import
26
27generateStubs: ${WSDL_FILE}
28        @echo Generate stub ...
29        ${CMD} ${OPTS} ${WSDL_FILE}
30        @echo Make substitutions for compatibility with Twisted and for \
31correct NDG import ...
32        @cat ${STUB_FILE}|sed  s/"${ORIG1}"/"${REPL1}"/g | \
33        sed s/"${ORIG2}"/"${REPL2}"/g > ${TMP_FILE}
34        @mv ${TMP_FILE} ${STUB_FILE}
35        @echo Done.
Note: See TracBrowser for help on using the repository browser.