http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/c-overview.dox ---------------------------------------------------------------------- diff --git a/examples/dist/c-overview.dox b/examples/dist/c-overview.dox index 3cf17d9..b3e5697 100644 --- a/examples/dist/c-overview.dox +++ b/examples/dist/c-overview.dox @@ -1,3 +1,19 @@ +/* + * 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 file contains external summary documentation for the GemFire C // API similar to an "overview.html" in Javadoc. The document tags it // uses can be interpreted by DOxygen.
http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cacheRunner/buildit.bat ---------------------------------------------------------------------- diff --git a/examples/dist/cacheRunner/buildit.bat b/examples/dist/cacheRunner/buildit.bat index 8e5cd42..c2988b9 100755 --- a/examples/dist/cacheRunner/buildit.bat +++ b/examples/dist/cacheRunner/buildit.bat @@ -1,5 +1,20 @@ @echo off +rem Licensed to the Apache Software Foundation (ASF) under one or more +rem contributor license agreements. See the NOTICE file distributed with +rem this work for additional information regarding copyright ownership. +rem The ASF licenses this file to You under the Apache License, Version 2.0 +rem (the "License"); you may not use this file except in compliance with +rem the License. You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, +rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +rem See the License for the specific language governing permissions and +rem limitations under the License. + rem GFCPP must be set cl /MD /Zc:wchar_t /EHsc /GR /wd4996 /D_EXAMPLE /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NON_CONFORMING_SWPRINTFS /DWINVER=0x0500 /DBUILD_TESTOBJECT /I%GFCPP%/include /Fecacherunner.exe *.cpp %GFCPP%/lib/apache-geode.lib http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cacheRunner/buildit.sh ---------------------------------------------------------------------- diff --git a/examples/dist/cacheRunner/buildit.sh b/examples/dist/cacheRunner/buildit.sh index fb7e0d7..0060daa 100755 --- a/examples/dist/cacheRunner/buildit.sh +++ b/examples/dist/cacheRunner/buildit.sh @@ -1,5 +1,21 @@ #!/bin/bash +# 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. + + if [ -z ${GFCPP:-} ]; then echo set GFCPP... http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cacheRunner/cacherunner.xml ---------------------------------------------------------------------- diff --git a/examples/dist/cacheRunner/cacherunner.xml b/examples/dist/cacheRunner/cacherunner.xml index cff13ba..4ce722e 100644 --- a/examples/dist/cacheRunner/cacherunner.xml +++ b/examples/dist/cacheRunner/cacherunner.xml @@ -1,5 +1,23 @@ <?xml version="1.0"?> +<!-- + 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. +--> + + <!-- Initializes a cache to serve the bridge_region region, waiting for bridge client communication on port 50505 --> http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cacheRunner/cacherunner2.xml ---------------------------------------------------------------------- diff --git a/examples/dist/cacheRunner/cacherunner2.xml b/examples/dist/cacheRunner/cacherunner2.xml index 2e5cc84..54eb002 100644 --- a/examples/dist/cacheRunner/cacherunner2.xml +++ b/examples/dist/cacheRunner/cacherunner2.xml @@ -1,5 +1,23 @@ <?xml version="1.0"?> +<!-- + 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. +--> + + <!-- Initializes a cache to serve the bridge_region region, waiting for bridge client communication on port 50506 --> http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cacheRunner/csQueryPortfolios.xml ---------------------------------------------------------------------- diff --git a/examples/dist/cacheRunner/csQueryPortfolios.xml b/examples/dist/cacheRunner/csQueryPortfolios.xml index 0fcd47a..ef30f93 100644 --- a/examples/dist/cacheRunner/csQueryPortfolios.xml +++ b/examples/dist/cacheRunner/csQueryPortfolios.xml @@ -1,4 +1,22 @@ <?xml version="1.0"?> + +<!-- + 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. +--> + <cache xmlns="http://geode.apache.org/schema/cache" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://geode.apache.org/schema/cache http://geode.apache.org/schema/cache/cache-1.0.xsd" http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cacheRunner/csQueryPortfolios2.xml ---------------------------------------------------------------------- diff --git a/examples/dist/cacheRunner/csQueryPortfolios2.xml b/examples/dist/cacheRunner/csQueryPortfolios2.xml index d38b1de..8e97894 100644 --- a/examples/dist/cacheRunner/csQueryPortfolios2.xml +++ b/examples/dist/cacheRunner/csQueryPortfolios2.xml @@ -1,4 +1,22 @@ <?xml version="1.0"?> + +<!-- + 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. +--> + <cache xmlns="http://geode.apache.org/schema/cache" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://geode.apache.org/schema/cache http://geode.apache.org/schema/cache/cache-1.0.xsd" http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cacheRunner/gfecs1/cacherunner.xml ---------------------------------------------------------------------- diff --git a/examples/dist/cacheRunner/gfecs1/cacherunner.xml b/examples/dist/cacheRunner/gfecs1/cacherunner.xml index cff13ba..4ce722e 100644 --- a/examples/dist/cacheRunner/gfecs1/cacherunner.xml +++ b/examples/dist/cacheRunner/gfecs1/cacherunner.xml @@ -1,5 +1,23 @@ <?xml version="1.0"?> +<!-- + 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. +--> + + <!-- Initializes a cache to serve the bridge_region region, waiting for bridge client communication on port 50505 --> http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cacheRunner/gfecs1/csQueryPortfolios.xml ---------------------------------------------------------------------- diff --git a/examples/dist/cacheRunner/gfecs1/csQueryPortfolios.xml b/examples/dist/cacheRunner/gfecs1/csQueryPortfolios.xml index 0fcd47a..ef30f93 100644 --- a/examples/dist/cacheRunner/gfecs1/csQueryPortfolios.xml +++ b/examples/dist/cacheRunner/gfecs1/csQueryPortfolios.xml @@ -1,4 +1,22 @@ <?xml version="1.0"?> + +<!-- + 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. +--> + <cache xmlns="http://geode.apache.org/schema/cache" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://geode.apache.org/schema/cache http://geode.apache.org/schema/cache/cache-1.0.xsd" http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cacheRunner/gfecs2/cacherunner2.xml ---------------------------------------------------------------------- diff --git a/examples/dist/cacheRunner/gfecs2/cacherunner2.xml b/examples/dist/cacheRunner/gfecs2/cacherunner2.xml index 2e5cc84..54eb002 100644 --- a/examples/dist/cacheRunner/gfecs2/cacherunner2.xml +++ b/examples/dist/cacheRunner/gfecs2/cacherunner2.xml @@ -1,5 +1,23 @@ <?xml version="1.0"?> +<!-- + 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. +--> + + <!-- Initializes a cache to serve the bridge_region region, waiting for bridge client communication on port 50506 --> http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cacheRunner/gfecs2/csQueryPortfolios2.xml ---------------------------------------------------------------------- diff --git a/examples/dist/cacheRunner/gfecs2/csQueryPortfolios2.xml b/examples/dist/cacheRunner/gfecs2/csQueryPortfolios2.xml index d38b1de..8e97894 100644 --- a/examples/dist/cacheRunner/gfecs2/csQueryPortfolios2.xml +++ b/examples/dist/cacheRunner/gfecs2/csQueryPortfolios2.xml @@ -1,4 +1,22 @@ <?xml version="1.0"?> + +<!-- + 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. +--> + <cache xmlns="http://geode.apache.org/schema/cache" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://geode.apache.org/schema/cache http://geode.apache.org/schema/cache/cache-1.0.xsd" http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cacheRunner/tcr_cache.xml ---------------------------------------------------------------------- diff --git a/examples/dist/cacheRunner/tcr_cache.xml b/examples/dist/cacheRunner/tcr_cache.xml index eba5a56..00674fa 100755 --- a/examples/dist/cacheRunner/tcr_cache.xml +++ b/examples/dist/cacheRunner/tcr_cache.xml @@ -1,5 +1,23 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + 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. +--> + + <!-- Well-formed and valid xml file --> <cache xmlns="http://geode.apache.org/schema/cache" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cacheRunner/tcr_cacheless.xml ---------------------------------------------------------------------- diff --git a/examples/dist/cacheRunner/tcr_cacheless.xml b/examples/dist/cacheRunner/tcr_cacheless.xml index bb79680..d9ba93a 100755 --- a/examples/dist/cacheRunner/tcr_cacheless.xml +++ b/examples/dist/cacheRunner/tcr_cacheless.xml @@ -1,5 +1,23 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + 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. +--> + + <!-- Well-formed and valid xml file --> <cache xmlns="http://geode.apache.org/schema/cache" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cacheRunner/tcr_hacache.xml ---------------------------------------------------------------------- diff --git a/examples/dist/cacheRunner/tcr_hacache.xml b/examples/dist/cacheRunner/tcr_hacache.xml index 6433da9..e6c6f14 100644 --- a/examples/dist/cacheRunner/tcr_hacache.xml +++ b/examples/dist/cacheRunner/tcr_hacache.xml @@ -1,5 +1,23 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + 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. +--> + + <!-- Well-formed and valid xml file --> <cache xmlns="http://geode.apache.org/schema/cache" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cacheRunner/tcr_hacacheless.xml ---------------------------------------------------------------------- diff --git a/examples/dist/cacheRunner/tcr_hacacheless.xml b/examples/dist/cacheRunner/tcr_hacacheless.xml index 43376c3..c0af1c2 100644 --- a/examples/dist/cacheRunner/tcr_hacacheless.xml +++ b/examples/dist/cacheRunner/tcr_hacacheless.xml @@ -1,5 +1,23 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + 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. +--> + + <!-- Well-formed and valid xml file --> <cache xmlns="http://geode.apache.org/schema/cache" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cqQuery/XMLs/clientCqQuery.xml ---------------------------------------------------------------------- diff --git a/examples/dist/cqQuery/XMLs/clientCqQuery.xml b/examples/dist/cqQuery/XMLs/clientCqQuery.xml index 209536f..a1aab37 100644 --- a/examples/dist/cqQuery/XMLs/clientCqQuery.xml +++ b/examples/dist/cqQuery/XMLs/clientCqQuery.xml @@ -1,5 +1,23 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + 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. +--> + + <!-- Well-formed and valid xml file --> <cache xmlns="http://geode.apache.org/schema/cache" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cqQuery/XMLs/serverCqQuery.xml ---------------------------------------------------------------------- diff --git a/examples/dist/cqQuery/XMLs/serverCqQuery.xml b/examples/dist/cqQuery/XMLs/serverCqQuery.xml index 4b9bd41..d0ce530 100644 --- a/examples/dist/cqQuery/XMLs/serverCqQuery.xml +++ b/examples/dist/cqQuery/XMLs/serverCqQuery.xml @@ -1,4 +1,22 @@ <?xml version="1.0"?> + +<!-- + 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. +--> + <cache xmlns="http://geode.apache.org/schema/cache" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://geode.apache.org/schema/cache http://geode.apache.org/schema/cache/cache-1.0.xsd" http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cqQuery/buildit.bat ---------------------------------------------------------------------- diff --git a/examples/dist/cqQuery/buildit.bat b/examples/dist/cqQuery/buildit.bat index c10d2e4..1b43259 100644 --- a/examples/dist/cqQuery/buildit.bat +++ b/examples/dist/cqQuery/buildit.bat @@ -1,5 +1,20 @@ @echo off +rem Licensed to the Apache Software Foundation (ASF) under one or more +rem contributor license agreements. See the NOTICE file distributed with +rem this work for additional information regarding copyright ownership. +rem The ASF licenses this file to You under the Apache License, Version 2.0 +rem (the "License"); you may not use this file except in compliance with +rem the License. You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, +rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +rem See the License for the specific language governing permissions and +rem limitations under the License. + rem GFCPP must be set cl /MD /Zc:wchar_t /EHsc /GR /wd4996 /D_EXAMPLE /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NON_CONFORMING_SWPRINTFS /DWINVER=0x0500 /DBUILD_TESTOBJECT /I%GFCPP%/include /FeCqQuery.exe CqQuery.cpp Portfolio.cpp Position.cpp %GFCPP%/lib/apache-geode.lib http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cqQuery/buildit.sh ---------------------------------------------------------------------- diff --git a/examples/dist/cqQuery/buildit.sh b/examples/dist/cqQuery/buildit.sh index f6a9970..35cf0ab 100755 --- a/examples/dist/cqQuery/buildit.sh +++ b/examples/dist/cqQuery/buildit.sh @@ -1,5 +1,21 @@ #!/bin/bash +# 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. + + if [ -z ${GFCPP:-} ]; then echo GFCPP is not set. http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cqQuery/cleanup.bat ---------------------------------------------------------------------- diff --git a/examples/dist/cqQuery/cleanup.bat b/examples/dist/cqQuery/cleanup.bat index eedcb82..4b86c44 100644 --- a/examples/dist/cqQuery/cleanup.bat +++ b/examples/dist/cqQuery/cleanup.bat @@ -1,5 +1,20 @@ @echo off +rem Licensed to the Apache Software Foundation (ASF) under one or more +rem contributor license agreements. See the NOTICE file distributed with +rem this work for additional information regarding copyright ownership. +rem The ASF licenses this file to You under the Apache License, Version 2.0 +rem (the "License"); you may not use this file except in compliance with +rem the License. You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, +rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +rem See the License for the specific language governing permissions and +rem limitations under the License. + echo Deleting GemFire Statistics and Log files... del /q *.gfs http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cqQuery/cleanup.sh ---------------------------------------------------------------------- diff --git a/examples/dist/cqQuery/cleanup.sh b/examples/dist/cqQuery/cleanup.sh index c78dfbf..fbab0c8 100755 --- a/examples/dist/cqQuery/cleanup.sh +++ b/examples/dist/cqQuery/cleanup.sh @@ -1,5 +1,21 @@ #!/bin/bash +# 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. + + echo Deleting GemFire Statistics and Log files... rm -f *.gfs http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cqQuery/runCqQuery.bat ---------------------------------------------------------------------- diff --git a/examples/dist/cqQuery/runCqQuery.bat b/examples/dist/cqQuery/runCqQuery.bat index 84c7442..47eab58 100644 --- a/examples/dist/cqQuery/runCqQuery.bat +++ b/examples/dist/cqQuery/runCqQuery.bat @@ -1,5 +1,20 @@ @echo off +rem Licensed to the Apache Software Foundation (ASF) under one or more +rem contributor license agreements. See the NOTICE file distributed with +rem this work for additional information regarding copyright ownership. +rem The ASF licenses this file to You under the Apache License, Version 2.0 +rem (the "License"); you may not use this file except in compliance with +rem the License. You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, +rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +rem See the License for the specific language governing permissions and +rem limitations under the License. + rem GFCPP must be set if not "%GFCPP%"=="" goto startexamples http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cqQuery/runCqQuery.sh ---------------------------------------------------------------------- diff --git a/examples/dist/cqQuery/runCqQuery.sh b/examples/dist/cqQuery/runCqQuery.sh index aa0b701..25e3116 100644 --- a/examples/dist/cqQuery/runCqQuery.sh +++ b/examples/dist/cqQuery/runCqQuery.sh @@ -1,5 +1,21 @@ #!/bin/bash +# 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. + + if [ -z ${GFCPP:-} ]; then echo GFCPP is not set. exit 1 http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cqQuery/runUpdater.bat ---------------------------------------------------------------------- diff --git a/examples/dist/cqQuery/runUpdater.bat b/examples/dist/cqQuery/runUpdater.bat index 893ba4d..8105287 100644 --- a/examples/dist/cqQuery/runUpdater.bat +++ b/examples/dist/cqQuery/runUpdater.bat @@ -1,5 +1,20 @@ @echo off +rem Licensed to the Apache Software Foundation (ASF) under one or more +rem contributor license agreements. See the NOTICE file distributed with +rem this work for additional information regarding copyright ownership. +rem The ASF licenses this file to You under the Apache License, Version 2.0 +rem (the "License"); you may not use this file except in compliance with +rem the License. You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, +rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +rem See the License for the specific language governing permissions and +rem limitations under the License. + rem GFCPP must be set if not "%GFCPP%"=="" goto startexamples http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cqQuery/runUpdater.sh ---------------------------------------------------------------------- diff --git a/examples/dist/cqQuery/runUpdater.sh b/examples/dist/cqQuery/runUpdater.sh index 124a679..8b11ec9 100755 --- a/examples/dist/cqQuery/runUpdater.sh +++ b/examples/dist/cqQuery/runUpdater.sh @@ -1,5 +1,21 @@ #!/bin/bash +# 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. + + if [ -z ${GFCPP:-} ]; then echo GFCPP is not set. exit 1 http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cqQuery/startServer.bat ---------------------------------------------------------------------- diff --git a/examples/dist/cqQuery/startServer.bat b/examples/dist/cqQuery/startServer.bat index bc58941..61ec930 100644 --- a/examples/dist/cqQuery/startServer.bat +++ b/examples/dist/cqQuery/startServer.bat @@ -1,5 +1,20 @@ @echo off +rem Licensed to the Apache Software Foundation (ASF) under one or more +rem contributor license agreements. See the NOTICE file distributed with +rem this work for additional information regarding copyright ownership. +rem The ASF licenses this file to You under the Apache License, Version 2.0 +rem (the "License"); you may not use this file except in compliance with +rem the License. You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, +rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +rem See the License for the specific language governing permissions and +rem limitations under the License. + rem GFCPP must be set rem GEMFIRE must be set http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cqQuery/startServer.sh ---------------------------------------------------------------------- diff --git a/examples/dist/cqQuery/startServer.sh b/examples/dist/cqQuery/startServer.sh index 979863d..5d58a8d 100755 --- a/examples/dist/cqQuery/startServer.sh +++ b/examples/dist/cqQuery/startServer.sh @@ -1,5 +1,21 @@ #!/bin/bash +# 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. + + if [ -z ${GEMFIRE:-} ]; then echo GEMFIRE is not set. exit 1 http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cqQuery/stopServer.bat ---------------------------------------------------------------------- diff --git a/examples/dist/cqQuery/stopServer.bat b/examples/dist/cqQuery/stopServer.bat index f510733..96011f9 100644 --- a/examples/dist/cqQuery/stopServer.bat +++ b/examples/dist/cqQuery/stopServer.bat @@ -1,5 +1,20 @@ @echo off +rem Licensed to the Apache Software Foundation (ASF) under one or more +rem contributor license agreements. See the NOTICE file distributed with +rem this work for additional information regarding copyright ownership. +rem The ASF licenses this file to You under the Apache License, Version 2.0 +rem (the "License"); you may not use this file except in compliance with +rem the License. You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, +rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +rem See the License for the specific language governing permissions and +rem limitations under the License. + rem GEMFIRE must be set http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/cqQuery/stopServer.sh ---------------------------------------------------------------------- diff --git a/examples/dist/cqQuery/stopServer.sh b/examples/dist/cqQuery/stopServer.sh index c4f4a9c..11f9471 100755 --- a/examples/dist/cqQuery/stopServer.sh +++ b/examples/dist/cqQuery/stopServer.sh @@ -1,5 +1,21 @@ #!/bin/bash +# 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. + + if [ -z ${GEMFIRE:-} ]; then echo GEMFIRE is not set. exit 1 http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/executeFunction/XMLs/serverExecuteFunctions.xml ---------------------------------------------------------------------- diff --git a/examples/dist/executeFunction/XMLs/serverExecuteFunctions.xml b/examples/dist/executeFunction/XMLs/serverExecuteFunctions.xml index a3c55f1..04b2c81 100755 --- a/examples/dist/executeFunction/XMLs/serverExecuteFunctions.xml +++ b/examples/dist/executeFunction/XMLs/serverExecuteFunctions.xml @@ -1,5 +1,23 @@ <?xml version="1.0"?> +<!-- + 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. +--> + + <cache xmlns="http://geode.apache.org/schema/cache" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/executeFunction/XMLs/serverExecuteFunctions2.xml ---------------------------------------------------------------------- diff --git a/examples/dist/executeFunction/XMLs/serverExecuteFunctions2.xml b/examples/dist/executeFunction/XMLs/serverExecuteFunctions2.xml index ab5c6c9..76ba05a 100755 --- a/examples/dist/executeFunction/XMLs/serverExecuteFunctions2.xml +++ b/examples/dist/executeFunction/XMLs/serverExecuteFunctions2.xml @@ -1,5 +1,23 @@ <?xml version="1.0"?> +<!-- + 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. +--> + + <cache xmlns="http://geode.apache.org/schema/cache" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/executeFunction/buildit.bat ---------------------------------------------------------------------- diff --git a/examples/dist/executeFunction/buildit.bat b/examples/dist/executeFunction/buildit.bat index ed5a230..33f8ea0 100644 --- a/examples/dist/executeFunction/buildit.bat +++ b/examples/dist/executeFunction/buildit.bat @@ -1,5 +1,20 @@ @echo off +rem Licensed to the Apache Software Foundation (ASF) under one or more +rem contributor license agreements. See the NOTICE file distributed with +rem this work for additional information regarding copyright ownership. +rem The ASF licenses this file to You under the Apache License, Version 2.0 +rem (the "License"); you may not use this file except in compliance with +rem the License. You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, +rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +rem See the License for the specific language governing permissions and +rem limitations under the License. + rem GFCPP must be set cl /MD /Zc:wchar_t /EHsc /GR /wd4996 /D_EXAMPLE /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NON_CONFORMING_SWPRINTFS /DWINVER=0x0500 /I%GFCPP%/include /FeExecuteFunctions.exe ExecuteFunctions.cpp %GFCPP%/lib/apache-geode.lib http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/executeFunction/buildit.sh ---------------------------------------------------------------------- diff --git a/examples/dist/executeFunction/buildit.sh b/examples/dist/executeFunction/buildit.sh index e75b07e..fa554fe 100755 --- a/examples/dist/executeFunction/buildit.sh +++ b/examples/dist/executeFunction/buildit.sh @@ -1,5 +1,21 @@ #!/bin/bash +# 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. + + if [ -z ${GFCPP:-} ]; then echo GFCPP is not set. http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/executeFunction/cleanup.bat ---------------------------------------------------------------------- diff --git a/examples/dist/executeFunction/cleanup.bat b/examples/dist/executeFunction/cleanup.bat index 12045a4..cbd8bc3 100644 --- a/examples/dist/executeFunction/cleanup.bat +++ b/examples/dist/executeFunction/cleanup.bat @@ -1,5 +1,20 @@ @echo off +rem Licensed to the Apache Software Foundation (ASF) under one or more +rem contributor license agreements. See the NOTICE file distributed with +rem this work for additional information regarding copyright ownership. +rem The ASF licenses this file to You under the Apache License, Version 2.0 +rem (the "License"); you may not use this file except in compliance with +rem the License. You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, +rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +rem See the License for the specific language governing permissions and +rem limitations under the License. + echo Deleting GemFire Statistics and Log files... del /q *.gfs http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/executeFunction/cleanup.sh ---------------------------------------------------------------------- diff --git a/examples/dist/executeFunction/cleanup.sh b/examples/dist/executeFunction/cleanup.sh index 8c28fb2..aa9af02 100755 --- a/examples/dist/executeFunction/cleanup.sh +++ b/examples/dist/executeFunction/cleanup.sh @@ -1,5 +1,21 @@ #!/bin/bash +# 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. + + echo Deleting GemFire Statistics and Log files... rm -f *.gfs http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/executeFunction/runExecuteFunctions.bat ---------------------------------------------------------------------- diff --git a/examples/dist/executeFunction/runExecuteFunctions.bat b/examples/dist/executeFunction/runExecuteFunctions.bat index af9f6fd..660c6dc 100644 --- a/examples/dist/executeFunction/runExecuteFunctions.bat +++ b/examples/dist/executeFunction/runExecuteFunctions.bat @@ -1,5 +1,20 @@ @echo off +rem Licensed to the Apache Software Foundation (ASF) under one or more +rem contributor license agreements. See the NOTICE file distributed with +rem this work for additional information regarding copyright ownership. +rem The ASF licenses this file to You under the Apache License, Version 2.0 +rem (the "License"); you may not use this file except in compliance with +rem the License. You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, +rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +rem See the License for the specific language governing permissions and +rem limitations under the License. + rem GFCPP must be set if not "%GFCPP%"=="" goto startexamples http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/executeFunction/runExecuteFunctions.sh ---------------------------------------------------------------------- diff --git a/examples/dist/executeFunction/runExecuteFunctions.sh b/examples/dist/executeFunction/runExecuteFunctions.sh index a3c37d3..e6091d5 100644 --- a/examples/dist/executeFunction/runExecuteFunctions.sh +++ b/examples/dist/executeFunction/runExecuteFunctions.sh @@ -1,5 +1,21 @@ #!/bin/bash +# 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. + + if [ -z ${GFCPP:-} ]; then echo GFCPP is not set. exit 1 http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/executeFunction/startServer.bat ---------------------------------------------------------------------- diff --git a/examples/dist/executeFunction/startServer.bat b/examples/dist/executeFunction/startServer.bat index 0636016..9aefd9b 100644 --- a/examples/dist/executeFunction/startServer.bat +++ b/examples/dist/executeFunction/startServer.bat @@ -1,5 +1,20 @@ @echo off +rem Licensed to the Apache Software Foundation (ASF) under one or more +rem contributor license agreements. See the NOTICE file distributed with +rem this work for additional information regarding copyright ownership. +rem The ASF licenses this file to You under the Apache License, Version 2.0 +rem (the "License"); you may not use this file except in compliance with +rem the License. You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, +rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +rem See the License for the specific language governing permissions and +rem limitations under the License. + rem GFCPP must be set rem GEMFIRE must be set http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/executeFunction/startServer.sh ---------------------------------------------------------------------- diff --git a/examples/dist/executeFunction/startServer.sh b/examples/dist/executeFunction/startServer.sh index 091331f..35ebbeb 100755 --- a/examples/dist/executeFunction/startServer.sh +++ b/examples/dist/executeFunction/startServer.sh @@ -1,5 +1,21 @@ #!/bin/bash +# 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. + + if [ -z ${GEMFIRE:-} ]; then echo GEMFIRE is not set. exit 1 http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/executeFunction/stopServer.bat ---------------------------------------------------------------------- diff --git a/examples/dist/executeFunction/stopServer.bat b/examples/dist/executeFunction/stopServer.bat index c8ba465..5fc3dd4 100644 --- a/examples/dist/executeFunction/stopServer.bat +++ b/examples/dist/executeFunction/stopServer.bat @@ -1,5 +1,20 @@ @echo off +rem Licensed to the Apache Software Foundation (ASF) under one or more +rem contributor license agreements. See the NOTICE file distributed with +rem this work for additional information regarding copyright ownership. +rem The ASF licenses this file to You under the Apache License, Version 2.0 +rem (the "License"); you may not use this file except in compliance with +rem the License. You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, +rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +rem See the License for the specific language governing permissions and +rem limitations under the License. + rem GEMFIRE must be set http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/executeFunction/stopServer.sh ---------------------------------------------------------------------- diff --git a/examples/dist/executeFunction/stopServer.sh b/examples/dist/executeFunction/stopServer.sh index f9af1bd..d956ab0 100755 --- a/examples/dist/executeFunction/stopServer.sh +++ b/examples/dist/executeFunction/stopServer.sh @@ -1,5 +1,21 @@ #!/bin/bash +# 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. + + if [ -z ${GEMFIRE:-} ]; then echo GEMFIRE is not set. exit 1 http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/overview.html ---------------------------------------------------------------------- diff --git a/examples/dist/overview.html b/examples/dist/overview.html index 8e2fee7..7ea98ac 100755 --- a/examples/dist/overview.html +++ b/examples/dist/overview.html @@ -1,3 +1,19 @@ +<!-- +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. +--> <HTML> <BODY> http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/userobjects/buildit.bat ---------------------------------------------------------------------- diff --git a/examples/dist/userobjects/buildit.bat b/examples/dist/userobjects/buildit.bat index f6a15f1..c7881a6 100755 --- a/examples/dist/userobjects/buildit.bat +++ b/examples/dist/userobjects/buildit.bat @@ -1,5 +1,20 @@ @echo off +rem Licensed to the Apache Software Foundation (ASF) under one or more +rem contributor license agreements. See the NOTICE file distributed with +rem this work for additional information regarding copyright ownership. +rem The ASF licenses this file to You under the Apache License, Version 2.0 +rem (the "License"); you may not use this file except in compliance with +rem the License. You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, +rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +rem See the License for the specific language governing permissions and +rem limitations under the License. + echo "GFCPP=%GFCPP%" cl /MD /Zc:wchar_t /GR /EHsc /wd4996 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NON_CONFORMING_SWPRINTFS /DWINVER=0x0500 /I%GFCPP%\include /Feuserobjects.exe *.cpp %GFCPP%\lib\apache-geode.lib http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/dist/userobjects/buildit.sh ---------------------------------------------------------------------- diff --git a/examples/dist/userobjects/buildit.sh b/examples/dist/userobjects/buildit.sh index d85f285..beffce7 100755 --- a/examples/dist/userobjects/buildit.sh +++ b/examples/dist/userobjects/buildit.sh @@ -1,5 +1,21 @@ #!/bin/bash +# 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. + + if [ -z ${GFCPP:-} ]; then echo set GFCPP... http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/unix_README.html ---------------------------------------------------------------------- diff --git a/examples/unix_README.html b/examples/unix_README.html index e2e3105..9f6ceb4 100644 --- a/examples/unix_README.html +++ b/examples/unix_README.html @@ -1,4 +1,20 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><HTML> +<!-- +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. +--> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/examples/win_README.html ---------------------------------------------------------------------- diff --git a/examples/win_README.html b/examples/win_README.html index 2c737f5..7feee55 100644 --- a/examples/win_README.html +++ b/examples/win_README.html @@ -1,4 +1,20 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><HTML> +<!-- +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. +--> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/packer/rhel/add-user-build.sh ---------------------------------------------------------------------- diff --git a/packer/rhel/add-user-build.sh b/packer/rhel/add-user-build.sh index 19a1edc..fce6cbb 100755 --- a/packer/rhel/add-user-build.sh +++ b/packer/rhel/add-user-build.sh @@ -1,4 +1,20 @@ #!/usr/bin/env bash + +# 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. + #set -x -e -o pipefail useradd build http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/packer/rhel/cleanup.sh ---------------------------------------------------------------------- diff --git a/packer/rhel/cleanup.sh b/packer/rhel/cleanup.sh index e64686a..ac184ce 100644 --- a/packer/rhel/cleanup.sh +++ b/packer/rhel/cleanup.sh @@ -1,4 +1,20 @@ #!/usr/bin/env bash + +# 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. + set -x -e -o pipefail yum clean all \ No newline at end of file http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/packer/rhel/disable-selinux.sh ---------------------------------------------------------------------- diff --git a/packer/rhel/disable-selinux.sh b/packer/rhel/disable-selinux.sh index 884a9de..777b82d 100644 --- a/packer/rhel/disable-selinux.sh +++ b/packer/rhel/disable-selinux.sh @@ -1,4 +1,20 @@ #!/usr/bin/env bash + +# 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. + set -x -e -o pipefail bin=`dirname "$0"` http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/packer/rhel/files/etc/init-user.sh ---------------------------------------------------------------------- diff --git a/packer/rhel/files/etc/init-user.sh b/packer/rhel/files/etc/init-user.sh index 1a8e528..2ceff71 100644 --- a/packer/rhel/files/etc/init-user.sh +++ b/packer/rhel/files/etc/init-user.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# 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. + + ATTEMPTS=5 FAILED=0 # Fetch public key using HTTP http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/packer/rhel/init-hosts.rc.local ---------------------------------------------------------------------- diff --git a/packer/rhel/init-hosts.rc.local b/packer/rhel/init-hosts.rc.local index 4e7dae7..784be9e 100644 --- a/packer/rhel/init-hosts.rc.local +++ b/packer/rhel/init-hosts.rc.local @@ -1,5 +1,19 @@ +# 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. # add hostname to /etc/hosts if not set if (! getent hosts `hostname` >/dev/null); then echo `/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'` `hostname` >> /etc/hosts -fi \ No newline at end of file +fi http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/packer/rhel/install-build-rpms.sh ---------------------------------------------------------------------- diff --git a/packer/rhel/install-build-rpms.sh b/packer/rhel/install-build-rpms.sh index e5f5021..d7798eb 100644 --- a/packer/rhel/install-build-rpms.sh +++ b/packer/rhel/install-build-rpms.sh @@ -1,4 +1,20 @@ #!/usr/bin/env bash + +# 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. + set -x -e -o pipefail yum install -y git2u make doxygen zlib-devel \ No newline at end of file http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/packer/rhel/install-cmake.sh ---------------------------------------------------------------------- diff --git a/packer/rhel/install-cmake.sh b/packer/rhel/install-cmake.sh index 439b2d2..6170e01 100644 --- a/packer/rhel/install-cmake.sh +++ b/packer/rhel/install-cmake.sh @@ -1,4 +1,20 @@ #!/usr/bin/env bash + +# 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. + set -x -e -o pipefail tmp=`mktemp` http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/packer/rhel/install-gemfire.sh ---------------------------------------------------------------------- diff --git a/packer/rhel/install-gemfire.sh b/packer/rhel/install-gemfire.sh index 6ff888a..64382af 100644 --- a/packer/rhel/install-gemfire.sh +++ b/packer/rhel/install-gemfire.sh @@ -1,4 +1,20 @@ #!/usr/bin/env bash + +# 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. + set -x -e -o pipefail mkdir /gemfire http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/packer/rhel/install-jdk-1.8.sh ---------------------------------------------------------------------- diff --git a/packer/rhel/install-jdk-1.8.sh b/packer/rhel/install-jdk-1.8.sh index b55d5ab..1a93b64 100644 --- a/packer/rhel/install-jdk-1.8.sh +++ b/packer/rhel/install-jdk-1.8.sh @@ -1,4 +1,20 @@ #!/usr/bin/env bash + +# 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. + set -x -e -o pipefail tmp=`mktemp -d` http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/packer/rhel/install-repos.sh ---------------------------------------------------------------------- diff --git a/packer/rhel/install-repos.sh b/packer/rhel/install-repos.sh index 7f5eb2d..9c674bc 100644 --- a/packer/rhel/install-repos.sh +++ b/packer/rhel/install-repos.sh @@ -1,4 +1,20 @@ #!/usr/bin/env bash + +# 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. + set -x -e -o pipefail yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/packer/rhel/install-scl-devtoolset-3.sh ---------------------------------------------------------------------- diff --git a/packer/rhel/install-scl-devtoolset-3.sh b/packer/rhel/install-scl-devtoolset-3.sh index 3a090fa..904f461 100644 --- a/packer/rhel/install-scl-devtoolset-3.sh +++ b/packer/rhel/install-scl-devtoolset-3.sh @@ -1,4 +1,20 @@ #!/usr/bin/env bash + +# 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. + set -x -e -o pipefail curl -o /etc/yum.repos.d/slc6-scl.repo http://linuxsoft.cern.ch/cern/scl/slc6-scl.repo http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/packer/rhel/update.sh ---------------------------------------------------------------------- diff --git a/packer/rhel/update.sh b/packer/rhel/update.sh index cd23df0..819de1d 100644 --- a/packer/rhel/update.sh +++ b/packer/rhel/update.sh @@ -1,4 +1,20 @@ #!/usr/bin/env bash + +# 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. + set -x -e -o pipefail yum update -y http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/packer/rhel/wait-for-cloud-init.sh ---------------------------------------------------------------------- diff --git a/packer/rhel/wait-for-cloud-init.sh b/packer/rhel/wait-for-cloud-init.sh index b015c5f..86b394c 100644 --- a/packer/rhel/wait-for-cloud-init.sh +++ b/packer/rhel/wait-for-cloud-init.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# 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. + + #set -x set -e set -o pipefail http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/packer/rhel/zerodisk.sh ---------------------------------------------------------------------- diff --git a/packer/rhel/zerodisk.sh b/packer/rhel/zerodisk.sh index 9fa4a9d..809eb14 100644 --- a/packer/rhel/zerodisk.sh +++ b/packer/rhel/zerodisk.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# 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. + + # TODO does this really help image launch times? exit 0 http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/packer/solaris/add-user-build.sh ---------------------------------------------------------------------- diff --git a/packer/solaris/add-user-build.sh b/packer/solaris/add-user-build.sh index ab057fb..2ce3509 100644 --- a/packer/solaris/add-user-build.sh +++ b/packer/solaris/add-user-build.sh @@ -1,4 +1,20 @@ #!/usr/bin/env bash + +# 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. + set -x -e -o pipefail useradd -m -s /usr/bin/bash build http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/packer/solaris/cleanup.sh ---------------------------------------------------------------------- diff --git a/packer/solaris/cleanup.sh b/packer/solaris/cleanup.sh index c4f7659..1213356 100755 --- a/packer/solaris/cleanup.sh +++ b/packer/solaris/cleanup.sh @@ -1,3 +1,19 @@ #!/usr/bin/env bash +# 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. + + exit 0 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/packer/solaris/install-build-tools.sh ---------------------------------------------------------------------- diff --git a/packer/solaris/install-build-tools.sh b/packer/solaris/install-build-tools.sh index 559c196..077b4c5 100755 --- a/packer/solaris/install-build-tools.sh +++ b/packer/solaris/install-build-tools.sh @@ -1,4 +1,20 @@ #!/usr/bin/env bash + +# 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. + set -x -e -o pipefail # Remove meta-packages that prevent installation of updated tools http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/packer/solaris/install-gemfire.sh ---------------------------------------------------------------------- diff --git a/packer/solaris/install-gemfire.sh b/packer/solaris/install-gemfire.sh index 2fb49c3..a9d18b4 100755 --- a/packer/solaris/install-gemfire.sh +++ b/packer/solaris/install-gemfire.sh @@ -1,4 +1,20 @@ #!/usr/bin/env bash + +# 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. + set -x -e -o pipefail mkdir /gemfire http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/packer/solaris/install-opencsw.sh ---------------------------------------------------------------------- diff --git a/packer/solaris/install-opencsw.sh b/packer/solaris/install-opencsw.sh index 919b72c..a2a36bf 100644 --- a/packer/solaris/install-opencsw.sh +++ b/packer/solaris/install-opencsw.sh @@ -1,4 +1,20 @@ #!/bin/bash + +# 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. + set -e yes | pkgadd -d http://get.opencsw.org/now all http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/packer/solaris/install-solarisstudio.sh ---------------------------------------------------------------------- diff --git a/packer/solaris/install-solarisstudio.sh b/packer/solaris/install-solarisstudio.sh index 3ae633a..95347c5 100644 --- a/packer/solaris/install-solarisstudio.sh +++ b/packer/solaris/install-solarisstudio.sh @@ -1,4 +1,20 @@ #!/bin/bash + +# 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. + set -e pkg set-publisher \ http://git-wip-us.apache.org/repos/asf/geode/blob/75b7d926/packer/solaris/install-test-tools.sh ---------------------------------------------------------------------- diff --git a/packer/solaris/install-test-tools.sh b/packer/solaris/install-test-tools.sh index 88e576f..c69fd78 100755 --- a/packer/solaris/install-test-tools.sh +++ b/packer/solaris/install-test-tools.sh @@ -1,4 +1,20 @@ #!/usr/bin/env bash + +# 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. + set -x -e -o pipefail # Remove meta-packages that prevent installation of updated tools
