Changeset 3784

Show
Ignore:
Timestamp:
05/25/11 13:53:27 (12 months ago)
Author:
elemoine
Message:

add license text to the paste deploy templates, using the Tempita syntax, no functional change

Location:
framework/server/trunk/mapfish/templates
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • framework/server/trunk/mapfish/templates/controller.py_tmpl

    r3610 r3784  
     1# -*- coding: utf-8 -*- 
     2{{ 
     3# 
     4# Copyright (c) 2008-2011 Camptocamp. 
     5# All rights reserved. 
     6# 
     7# Redistribution and use in source and binary forms, with or without 
     8# modification, are permitted provided that the following conditions 
     9# are met: 
     10# 1. Redistributions of source code must retain the above copyright 
     11#    notice, this list of conditions and the following disclaimer. 
     12# 2. Redistributions in binary form must reproduce the above copyright 
     13#    notice, this list of conditions and the following disclaimer in the 
     14#    documentation and/or other materials provided with the distribution. 
     15# 3. Neither the name of Camptocamp nor the names of its contributors may 
     16#    be used to endorse or promote products derived from this software 
     17#    without specific prior written permission. 
     18# 
     19# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
     20# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     21# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     22# DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY 
     23# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     24# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     25# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     26# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     27# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     28# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     29# 
     30}} 
    131from pylons import request, response, session, tmpl_context as c 
    232from pylons.controllers.util import abort, redirect 
  • framework/server/trunk/mapfish/templates/model.py_tmpl

    r3580 r3784  
     1# -*- coding: utf-8 -*- 
     2{{ 
     3# 
     4# Copyright (c) 2008-2011 Camptocamp. 
     5# All rights reserved. 
     6# 
     7# Redistribution and use in source and binary forms, with or without 
     8# modification, are permitted provided that the following conditions 
     9# are met: 
     10# 1. Redistributions of source code must retain the above copyright 
     11#    notice, this list of conditions and the following disclaimer. 
     12# 2. Redistributions in binary form must reproduce the above copyright 
     13#    notice, this list of conditions and the following disclaimer in the 
     14#    documentation and/or other materials provided with the distribution. 
     15# 3. Neither the name of Camptocamp nor the names of its contributors may 
     16#    be used to endorse or promote products derived from this software 
     17#    without specific prior written permission. 
     18# 
     19# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
     20# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     21# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     22# DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY 
     23# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     24# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     25# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     26# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     27# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     28# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     29# 
     30}} 
    131from sqlalchemy import Column, types 
    232 
  • framework/server/trunk/mapfish/templates/project/layers.ini_tmpl

    r3569 r3784  
     1{{ 
     2# 
     3# Copyright (c) 2008-2011 Camptocamp. 
     4# All rights reserved. 
     5# 
     6# Redistribution and use in source and binary forms, with or without 
     7# modification, are permitted provided that the following conditions 
     8# are met: 
     9# 1. Redistributions of source code must retain the above copyright 
     10#    notice, this list of conditions and the following disclaimer. 
     11# 2. Redistributions in binary form must reproduce the above copyright 
     12#    notice, this list of conditions and the following disclaimer in the 
     13#    documentation and/or other materials provided with the distribution. 
     14# 3. Neither the name of Camptocamp nor the names of its contributors may 
     15#    be used to endorse or promote products derived from this software 
     16#    without specific prior written permission. 
     17# 
     18# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
     19# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     20# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     21# DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY 
     22# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     23# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     24# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     25# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     26# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     27# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     28# 
     29}} 
    130# Layer configuration file 
    231# 
  • framework/server/trunk/mapfish/templates/test_controller.py_tmpl

    r3580 r3784  
     1# -*- coding: utf-8 -*- 
     2{{ 
     3# 
     4# Copyright (c) 2008-2011 Camptocamp. 
     5# All rights reserved. 
     6# 
     7# Redistribution and use in source and binary forms, with or without 
     8# modification, are permitted provided that the following conditions 
     9# are met: 
     10# 1. Redistributions of source code must retain the above copyright 
     11#    notice, this list of conditions and the following disclaimer. 
     12# 2. Redistributions in binary form must reproduce the above copyright 
     13#    notice, this list of conditions and the following disclaimer in the 
     14#    documentation and/or other materials provided with the distribution. 
     15# 3. Neither the name of Camptocamp nor the names of its contributors may 
     16#    be used to endorse or promote products derived from this software 
     17#    without specific prior written permission. 
     18# 
     19# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
     20# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     21# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     22# DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY 
     23# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     24# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     25# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     26# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     27# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     28# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     29# 
     30}} 
    131from {{basePkg}}.tests import * 
    232