Modified: incubator/thrift/trunk/tutorial/php/PhpServer.php URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/tutorial/php/PhpServer.php?rev=760189&r1=760188&r2=760189&view=diff ============================================================================== --- incubator/thrift/trunk/tutorial/php/PhpServer.php (original) +++ incubator/thrift/trunk/tutorial/php/PhpServer.php Mon Mar 30 21:35:00 2009 @@ -1,5 +1,23 @@ #!/usr/bin/env php <?php +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ /* * This is not a stand-alone server. It should be run as a normal
Modified: incubator/thrift/trunk/tutorial/php/runserver.py URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/tutorial/php/runserver.py?rev=760189&r1=760188&r2=760189&view=diff ============================================================================== --- incubator/thrift/trunk/tutorial/php/runserver.py (original) +++ incubator/thrift/trunk/tutorial/php/runserver.py Mon Mar 30 21:35:00 2009 @@ -1,4 +1,24 @@ #!/usr/bin/env python + +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + import os import BaseHTTPServer import CGIHTTPServer Modified: incubator/thrift/trunk/tutorial/py/PythonClient.py URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/tutorial/py/PythonClient.py?rev=760189&r1=760188&r2=760189&view=diff ============================================================================== --- incubator/thrift/trunk/tutorial/py/PythonClient.py (original) +++ incubator/thrift/trunk/tutorial/py/PythonClient.py Mon Mar 30 21:35:00 2009 @@ -1,5 +1,24 @@ #!/usr/bin/env python +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + import sys sys.path.append('../gen-py') Modified: incubator/thrift/trunk/tutorial/py/PythonServer.py URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/tutorial/py/PythonServer.py?rev=760189&r1=760188&r2=760189&view=diff ============================================================================== --- incubator/thrift/trunk/tutorial/py/PythonServer.py (original) +++ incubator/thrift/trunk/tutorial/py/PythonServer.py Mon Mar 30 21:35:00 2009 @@ -1,5 +1,24 @@ #!/usr/bin/env python +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + import sys sys.path.append('../gen-py') Modified: incubator/thrift/trunk/tutorial/rb/RubyClient.rb URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/tutorial/rb/RubyClient.rb?rev=760189&r1=760188&r2=760189&view=diff ============================================================================== --- incubator/thrift/trunk/tutorial/rb/RubyClient.rb (original) +++ incubator/thrift/trunk/tutorial/rb/RubyClient.rb Mon Mar 30 21:35:00 2009 @@ -1,5 +1,24 @@ #!/usr/bin/env ruby +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + $:.push('../gen-rb') $:.unshift '../../lib/rb/lib' Modified: incubator/thrift/trunk/tutorial/rb/RubyServer.rb URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/tutorial/rb/RubyServer.rb?rev=760189&r1=760188&r2=760189&view=diff ============================================================================== --- incubator/thrift/trunk/tutorial/rb/RubyServer.rb (original) +++ incubator/thrift/trunk/tutorial/rb/RubyServer.rb Mon Mar 30 21:35:00 2009 @@ -1,5 +1,24 @@ #!/usr/bin/env ruby +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + $:.push('../gen-rb') $:.unshift '../../lib/rb/lib' Modified: incubator/thrift/trunk/tutorial/shared.thrift URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/tutorial/shared.thrift?rev=760189&r1=760188&r2=760189&view=diff ============================================================================== --- incubator/thrift/trunk/tutorial/shared.thrift (original) +++ incubator/thrift/trunk/tutorial/shared.thrift Mon Mar 30 21:35:00 2009 @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /** * This Thrift file can be included by other Thrift files that want to share * these definitions. Modified: incubator/thrift/trunk/tutorial/tutorial.thrift URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/tutorial/tutorial.thrift?rev=760189&r1=760188&r2=760189&view=diff ============================================================================== --- incubator/thrift/trunk/tutorial/tutorial.thrift (original) +++ incubator/thrift/trunk/tutorial/tutorial.thrift Mon Mar 30 21:35:00 2009 @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + # Thrift Tutorial # Mark Slee ([email protected]) #
