summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accessibility/workben/makefile20
-rw-r--r--accessibility/workben/org/openoffice/accessibility/Makefile20
-rw-r--r--accessibility/workben/org/openoffice/accessibility/awb/Makefile20
-rw-r--r--accessibility/workben/org/openoffice/accessibility/awb/canvas/Makefile20
-rw-r--r--accessibility/workben/org/openoffice/accessibility/awb/view/Makefile20
-rw-r--r--accessibility/workben/org/openoffice/accessibility/awb/view/text/Makefile20
-rw-r--r--basegfx/source/workbench/Makefile60
-rw-r--r--bridges/test/inter_libs_exc/share.h20
-rw-r--r--comphelper/inc/comphelper/comphelperdllapi.h20
-rw-r--r--drawinglayer/inc/drawinglayer/drawinglayerdllapi.h20
-rw-r--r--i18npool/source/localedata/data/locale.dtd21
-rwxr-xr-xl10ntools/java/jpropex/jpropex20
-rw-r--r--migrationanalysis/src/resources/analysis.dtd20
-rw-r--r--odk/setsdkenv_unix20
-rwxr-xr-xoowintool20
-rw-r--r--pyuno/source/module/pyuno20
-rw-r--r--rat-excludes389
-rw-r--r--readlicense_oo/docs/readme.dtd21
-rw-r--r--sal/inc/rtl/tres.h20
-rwxr-xr-xsal/qa/helper/gcov/build_coverage20
-rwxr-xr-xsal/qa/helper/gcov/gcov_all20
-rwxr-xr-xsal/qa/helper/gcov/statistics20
-rw-r--r--sal/qa/rtl/process/rtl_Process_Const.h20
-rw-r--r--sal/rtl/source/hash.h20
-rw-r--r--sal/test/bootstrap20
-rw-r--r--scripting/java/org/openoffice/netbeans/modules/office/resources/templates/Empty.bsh_20
-rw-r--r--sd/workben/testdll/makefile20
-rw-r--r--setup_native/scripts/deregister_extensions20
-rw-r--r--setup_native/scripts/register_extensions20
-rw-r--r--setup_native/source/opensolaris/bundledextensions/svc-ooo_bundled_extensions20
-rw-r--r--setup_native/tests/opensolaris/bundledextensions/send_ooo20
-rwxr-xr-xsolenv/bin/_mkout20
-rwxr-xr-xsolenv/bin/createpdbrelocators20
-rwxr-xr-xsolenv/bin/cws20
-rwxr-xr-xsolenv/bin/cwsattach20
-rwxr-xr-xsolenv/bin/cwscreate20
-rwxr-xr-xsolenv/bin/cwstestresult20
-rwxr-xr-xsolenv/bin/cwstouched20
-rwxr-xr-xsolenv/bin/gsicheck20
-rwxr-xr-xsolenv/bin/langwrap20
-rwxr-xr-xsolenv/bin/localize20
-rwxr-xr-xsolenv/bin/localize_sl20
-rwxr-xr-xsolenv/bin/oochkpatch20
-rwxr-xr-xsolenv/bin/pchdelta20
-rwxr-xr-xsolenv/bin/receditor20
-rw-r--r--sysui/desktop/debian/postinst20
-rw-r--r--sysui/desktop/solaris/mailcap20
-rw-r--r--sysui/desktop/solaris/postinstall20
-rw-r--r--sysui/desktop/solaris/postremove20
-rw-r--r--testgraphical/references/unxlngi/demo/CurrentTime.ods.ps20
-rw-r--r--testgraphical/references/unxlngi/singletest/eis-test.odt.ps20
-rw-r--r--testgraphical/references/wntmsci/demo/CurrentTime.ods.ps22
-rw-r--r--testgraphical/references/wntmsci/singletest/eis-test.odt.ps22
-rw-r--r--toolkit/workben/layout/TEST20
-rw-r--r--toolkit/workben/layout/ooo-patch20
-rw-r--r--toolkit/workben/layout/refresh20
-rw-r--r--toolkit/workben/layout/run-s2x20
-rw-r--r--unoil/climaker/cli_oootypes_config22
-rw-r--r--ure/source/jvmfwk3rc20
-rw-r--r--ure/source/unorc20
-rwxr-xr-xwriterfilter/source/doctok/cleanupresources20
-rwxr-xr-xwriterfilter/source/doctok/replacesprmids20
-rwxr-xr-xwriterfilter/source/ooxml/modelcleanup21
-rwxr-xr-xwriterfilter/source/ooxml/rngtocxx21
-rw-r--r--xmerge/source/activesync/XMergeFactory.h20
-rw-r--r--xmerge/source/activesync/XMergeFilter.h80
-rw-r--r--xmerge/source/activesync/XMergeSync.h20
-rw-r--r--xmerge/source/activesync/resource.h20
-rw-r--r--xmerge/source/activesync/stdafx.h20
-rwxr-xr-xxmerge/source/palmtests/bin/rd20
70 files changed, 1828 insertions, 51 deletions
diff --git a/accessibility/workben/makefile b/accessibility/workben/makefile
index 4bd7c05e44dd..bae563a8a66c 100644
--- a/accessibility/workben/makefile
+++ b/accessibility/workben/makefile
@@ -1,3 +1,23 @@
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
all:
cd source/org/openoffice/accessibility ; $(MAKE) all
diff --git a/accessibility/workben/org/openoffice/accessibility/Makefile b/accessibility/workben/org/openoffice/accessibility/Makefile
index a6db6a05ab4b..a620733b3412 100644
--- a/accessibility/workben/org/openoffice/accessibility/Makefile
+++ b/accessibility/workben/org/openoffice/accessibility/Makefile
@@ -1,3 +1,23 @@
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
all : subdirs
ROOT=../../../
diff --git a/accessibility/workben/org/openoffice/accessibility/awb/Makefile b/accessibility/workben/org/openoffice/accessibility/awb/Makefile
index d38799bed109..4974adf1ace5 100644
--- a/accessibility/workben/org/openoffice/accessibility/awb/Makefile
+++ b/accessibility/workben/org/openoffice/accessibility/awb/Makefile
@@ -1,3 +1,23 @@
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
# $Id: Makefile,v 1.1 2003/06/13 16:30:18 af Exp $
all : package
diff --git a/accessibility/workben/org/openoffice/accessibility/awb/canvas/Makefile b/accessibility/workben/org/openoffice/accessibility/awb/canvas/Makefile
index 8d9688433ff9..afea82682e24 100644
--- a/accessibility/workben/org/openoffice/accessibility/awb/canvas/Makefile
+++ b/accessibility/workben/org/openoffice/accessibility/awb/canvas/Makefile
@@ -1,3 +1,23 @@
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
# $Id: Makefile,v 1.1 2003/06/13 16:30:21 af Exp $
all : package
diff --git a/accessibility/workben/org/openoffice/accessibility/awb/view/Makefile b/accessibility/workben/org/openoffice/accessibility/awb/view/Makefile
index 2e4eb1566afd..7f684ef23058 100644
--- a/accessibility/workben/org/openoffice/accessibility/awb/view/Makefile
+++ b/accessibility/workben/org/openoffice/accessibility/awb/view/Makefile
@@ -1,3 +1,23 @@
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
# $Id: Makefile,v 1.1 2003/06/13 16:30:34 af Exp $
all : package
diff --git a/accessibility/workben/org/openoffice/accessibility/awb/view/text/Makefile b/accessibility/workben/org/openoffice/accessibility/awb/view/text/Makefile
index c58899a09f6e..6dc19b5d6d08 100644
--- a/accessibility/workben/org/openoffice/accessibility/awb/view/text/Makefile
+++ b/accessibility/workben/org/openoffice/accessibility/awb/view/text/Makefile
@@ -1,3 +1,23 @@
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
# $Id: Makefile,v 1.1 2003/06/13 16:30:41 af Exp $
all : package
diff --git a/basegfx/source/workbench/Makefile b/basegfx/source/workbench/Makefile
index fe23a4d06708..e39f15e79638 100644
--- a/basegfx/source/workbench/Makefile
+++ b/basegfx/source/workbench/Makefile
@@ -1,4 +1,64 @@
# Testbuild
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
#test : bezierclip.cxx convexhull.cxx
# g++ -Wall -g \
diff --git a/bridges/test/inter_libs_exc/share.h b/bridges/test/inter_libs_exc/share.h
index 28c4dfd5bb15..c0502a8e6289 100644
--- a/bridges/test/inter_libs_exc/share.h
+++ b/bridges/test/inter_libs_exc/share.h
@@ -1,3 +1,23 @@
+/**************************************************************
+ *
+ * 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.
+ *
+ *************************************************************/
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/uno/DeploymentException.hpp>
diff --git a/comphelper/inc/comphelper/comphelperdllapi.h b/comphelper/inc/comphelper/comphelperdllapi.h
index d7bd80d8a16d..72a3c75b9687 100644
--- a/comphelper/inc/comphelper/comphelperdllapi.h
+++ b/comphelper/inc/comphelper/comphelperdllapi.h
@@ -1,3 +1,23 @@
+/**************************************************************
+ *
+ * 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.
+ *
+ *************************************************************/
#ifndef INCLUDED_COMPHELPERDLLAPI_H
#define INCLUDED_COMPHELPERDLLAPI_H
diff --git a/drawinglayer/inc/drawinglayer/drawinglayerdllapi.h b/drawinglayer/inc/drawinglayer/drawinglayerdllapi.h
index b004d1dbdf7a..2606c1301513 100644
--- a/drawinglayer/inc/drawinglayer/drawinglayerdllapi.h
+++ b/drawinglayer/inc/drawinglayer/drawinglayerdllapi.h
@@ -1,3 +1,23 @@
+/**************************************************************
+ *
+ * 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.
+ *
+ *************************************************************/
#ifndef INCLUDED_DRAWINGLAYERDLLAPI_H
#define INCLUDED_DRAWINGLAYERDLLAPI_H
diff --git a/i18npool/source/localedata/data/locale.dtd b/i18npool/source/localedata/data/locale.dtd
index d47d4ad26edc..bf5bca1aa8c9 100644
--- a/i18npool/source/localedata/data/locale.dtd
+++ b/i18npool/source/localedata/data/locale.dtd
@@ -1,5 +1,24 @@
<?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.
+ *
+ ***********************************************************-->
<!-- ............................................................... -->
<!-- Locale data specification DTD ................................. -->
<!-- ............................................................... -->
diff --git a/l10ntools/java/jpropex/jpropex b/l10ntools/java/jpropex/jpropex
index 8c9982f2b1d3..c1828f5139a5 100755
--- a/l10ntools/java/jpropex/jpropex
+++ b/l10ntools/java/jpropex/jpropex
@@ -1,4 +1,24 @@
#!/bin/sh
+# *************************************************************
+#
+# 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 [ x${SOLARENV}x = xx ]; then
echo No environment found, please use 'configure' or 'setsolar'
exit 1
diff --git a/migrationanalysis/src/resources/analysis.dtd b/migrationanalysis/src/resources/analysis.dtd
index 2a4482b65efe..b0c169ff985b 100644
--- a/migrationanalysis/src/resources/analysis.dtd
+++ b/migrationanalysis/src/resources/analysis.dtd
@@ -1,3 +1,23 @@
+<!--***********************************************************
+ *
+ * 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.
+ *
+ ***********************************************************-->
<!ELEMENT results ( document+ ) >
<!ATTLIST results generated-by NMTOKEN #REQUIRED >
<!ATTLIST results version CDATA #REQUIRED >
diff --git a/odk/setsdkenv_unix b/odk/setsdkenv_unix
index 31e0200eb1b7..d714664402ac 100644
--- a/odk/setsdkenv_unix
+++ b/odk/setsdkenv_unix
@@ -1,4 +1,24 @@
#! /bin/sh
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
OSTYPE=`uname -s`
HOSTNAME=`hostname`
diff --git a/oowintool b/oowintool
index a7025e18790e..6c80a9a52f5a 100755
--- a/oowintool
+++ b/oowintool
@@ -1,4 +1,24 @@
#!/usr/bin/perl -w
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
use File::Copy;
diff --git a/pyuno/source/module/pyuno b/pyuno/source/module/pyuno
index 5d13997bfde6..b2e31244b130 100644
--- a/pyuno/source/module/pyuno
+++ b/pyuno/source/module/pyuno
@@ -1,4 +1,24 @@
# The bootstrap variable PYUNOLIBDIR will be set by the pyuno runtime library
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
PYUNO_BINPATH=$PYUNOLIBDIR/../bin$UPDMINOREXT
UNO_TYPES=$PYUNO_BINPATH/types.rdb
UNO_SERVICES=$PYUNO_BINPATH/pyuno_services.rdb
diff --git a/rat-excludes b/rat-excludes
index d89be06112f8..ecc505a489d1 100644
--- a/rat-excludes
+++ b/rat-excludes
@@ -1,55 +1,32 @@
ext_sources/
extras/
-**/*.0
-**/*.1
-**/*.123
**/*.add
**/*.all
**/*.am
-**/*.applescript
**/*.applications
-**/*.asm
-**/*.asp
**/*.attr
**/*.autotools
-**/*.awk
-**/*.bak
-**/*.bas
-**/*.bat
-**/*.bau
-**/*.bck
**/*.bmp
-**/*.bsh
**/*.btm
-**/*.cfg
**/*.cgm
**/*.chd
**/*.cl
**/*.class
**/*.cls
-**/*.cmd
**/*.cmn
**/*.common
**/*.component
**/*.components
-**/*.conf
-**/*.config
**/*.crl
**/*.crt
-**/*.csv
**/*.cur
-**/*.dat
**/*.db
**/*.dbf
**/*.dbt
**/*.DCA
**/*.def
-**/*.default
-**/*.desktop
**/*.dfm
**/*.dic
-**/*.DIF
-**/*.diff
**/*.dir
**/*.directory
**/*.dlg
@@ -86,8 +63,6 @@ extras/
**/*.hgignore
**/*.hgtags
**/*.hid
-**/*.htm
-**/*.html
**/*.hwp
**/*.icns
**/*.ico
@@ -96,7 +71,6 @@ extras/
**/*.in
**/*.infile
**/*.info
-**/*.ini
**/*.jar
**/*.jcb
**/*.jcs
@@ -127,7 +101,6 @@ extras/
**/*.mf
**/*.mime
**/*.mingw
-**/*.mk
**/*.mod
**/*.mov
**/*.nbattrs
@@ -143,7 +116,6 @@ extras/
**/*.odp
**/*.ods
**/*.odt
-**/*.ooo_build
**/*.org-debian-menus
**/*.orig
**/*.otp
@@ -161,7 +133,6 @@ extras/
**/*.pdf
**/*.pem
**/*.pgm
-**/*.pl
**/*.plist
**/*.pln
**/*.pm
@@ -170,15 +141,11 @@ extras/
**/*.policy
**/*.ppm
**/*.ppt
-**/*.prj
-**/*.properties
-**/*.props
**/*.PS
**/*.psd
**/*.psw
**/*.ptr
**/*.py
-**/*.r
**/*.ras
**/*.rdb
**/*.rdf
@@ -204,12 +171,10 @@ extras/
**/*.sds
**/*.sdv
**/*.sdw
-**/*.sed
**/*.settings
**/*.sfd
**/*.sgf
**/*.sgv
-**/*.sh
**/*.sid
**/*.skl
**/*.slk
@@ -223,7 +188,6 @@ extras/
**/*.sog
**/*.soh
**/*.spec
-**/*.sql
**/*.srs
**/*.stc
**/*.strings
@@ -239,7 +203,6 @@ extras/
**/*.sxw
**/*.tab
**/*.tail
-**/*.tcsh
**/*.template
**/*.tests
**/*.tga
@@ -250,11 +213,9 @@ extras/
**/*.tpt
**/*.tree
**/*.ttf
-**/*.txt
**/*.types
**/*.unx
**/*.url
-**/*.vb
**/*.vbp
**/*.vbproj
**/*.vbs
@@ -272,12 +233,9 @@ extras/
**/*.wps
**/*.wsc
**/*.wsf
-**/*.xba
**/*.xbm
**/*.xcd
**/*.xcl
-**/*.xcs
-**/*.xcu
**/*.xdl
**/*.xhp
**/*.xlb
@@ -290,13 +248,352 @@ extras/
**/*.xltm
**/*.xltx
**/*.xmi
-**/*.xml
**/*.xpm
**/*.xrm
**/*.xsce
-**/*.xsd
-**/*.xsl
-**/*.xslt
**/*.zip
**/*.zuml
+main/accessibility/bridge/org/openoffice/accessibility/manifest
+main/accessibility/prj/l10n
+main/accessibility/workben/TODO
+main/accessibility/workben/org/openoffice/accessibility/awb/manifest
+
+main/afms/delzip
+
+main/automation/prj/l10n
+main/avmedia/source/java/manifest
+
+main/bean/util/delzip
+main/binfilter/no_localization
+main/binfilter/prj/l10n
+main/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/manifest
+
+main/cairo/cairo/dummy_pkg_config
+
+main/cli_ure/source/basetypes/cli_basetypes_config
+main/cli_ure/source/native/cli_cppuhelper_config
+main/cli_ure/source/ure/cli_ure_config
+main/cli_ure/unotypes/cli_uretypes_config
+
+main/configmgr/qa/unit/no_localization
+
+main/cppuhelper/qa/propertysetmixin/manifest
+main/desktop/scripts/basis-link
+main/desktop/scripts/odf-basis-link
+main/desktop/scripts/so-basis-link
+main/desktop/scripts/ure-link
+main/desktop/test/deployment/active/MANIFEST.MF
+main/desktop/test/deployment/locationtest/MANIFEST.MF
+main/desktop/test/deployment/locationtest/delzip
+main/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/MANIFEST.MF
+main/desktop/test/deployment/passive/MANIFEST.MF
+main/desktop/test/deployment/update/updateinfocreation/build/MANIFEST.MF
+main/desktop/test/deployment/update/updateinfocreation/build/delzip
+main/desktop/zipintro/delzip
+
+main/embeddedobj/prj/l10n
+
+main/embedserv/source/inc/stdafx.h
+
+main/extensions/source/macosx/spotlight/delzip
+main/extras/source/autotext/delzip
+main/extras/source/autotext/lang/delzip
+main/extras/source/database/delzip
+main/extras/source/gallery/bullets/delzip
+main/extras/source/gallery/delzip
+main/extras/source/gallery/gallery_sound/delzip
+main/extras/source/gallery/gallery_system/delzip
+main/extras/source/gallery/htmlexpo/delzip
+main/extras/source/gallery/rulers/delzip
+main/extras/source/gallery/sounds/delzip
+main/extras/source/gallery/www-back/delzip
+main/extras/source/gallery/www-graf/delzip
+main/extras/source/misc_config/delzip
+main/extras/source/palettes/delzip
+main/extras/source/palettes/lang/delzip
+main/extras/source/symbols/delzip
+main/extras/source/templates/lang/delzip
+main/extras/source/templates/layout/lang/delzip
+main/extras/source/templates/presnt/lang/delzip
+main/extras/source/templates/wizard/agenda/lang/delzip
+main/extras/source/templates/wizard/bitmap/delzip
+main/extras/source/templates/wizard/desktop/delzip
+main/extras/source/templates/wizard/desktop/lang/delzip
+main/extras/source/templates/wizard/fax/lang/delzip
+main/extras/source/templates/wizard/letter/lang/delzip
+main/extras/source/templates/wizard/report/lang/delzip
+main/extras/source/templates/wizard/styles/lang/delzip
+main/extras/source/templates/wizard/web/lang/delzip
+main/extras/source/wordbook/delzip
+main/extras/source/wordbook/lang/delzip
+main/extras/unx/source/bitmaps/delzip
+main/extras/unx/source/kde/applnk/delzip
+main/extras/unx/source/kde/icons/delzip
+main/extras/unx/source/kde/icons/mini/delzip
+main/extras/unx/source/kde/mimelnk/application/delzip
+main/extras/unx/source/kde/mimelnk/text/delzip
+main/filter/source/config/fragments/delzip
+
+main/filter/source/xsltfilter/Manifest
+main/filter/source/xsltvalidate/Manifest
+
+main/helpcontent2/source/auxiliary/no_localization
+main/helpcontent2/util/delzip
+main/helpcontent2/util/sbasic/delzip
+main/helpcontent2/util/scalc/delzip
+main/helpcontent2/util/schart/delzip
+main/helpcontent2/util/sdatabase/delzip
+main/helpcontent2/util/sdraw/delzip
+main/helpcontent2/util/shared/delzip
+main/helpcontent2/util/simpress/delzip
+main/helpcontent2/util/smath/delzip
+main/helpcontent2/util/swriter/delzip
+
+main/i18npool/source/breakiterator/data/LICENSE_INFO
+
+main/javaunohelper/util/delzip
+main/javaunohelper/util/manifest
+main/jurt/util/delzip
+main/jurt/util/manifest
+main/jvmaccess/workbench/java/manifest
+main/jvmfwk/plugins/sunmajor/pluginlib/sunjavapluginrc
+main/jvmfwk/source/jvmfwk3rc
+
+main/l10ntools/java/jpropex/jpropex.MF
+main/l10ntools/java/l10nconv/converter.MF
+main/l10ntools/java/receditor/receditor.MF
+
+main/migrationanalysis/no_localization
+main/migrationanalysis/src/wizard/res_defines.h
+
+main/migrationanalysis/util/delzip
+main/mysqlc/source/delzip
+
+main/odk/no_localization
+
+main/odk/pack/gendocu/java/package-list
+main/odk/pack/gendocu/uno/package-list
+
+main/odk/util/delzip
+
+main/ooo_custom_images/industrial/TODO
+main/ooo_custom_images/industrial/duplicates
+main/ooo_custom_images/industrial/missing
+
+main/psprint_config/configuration/delzip
+main/psprint_config/configuration/ppds/delzip
+
+main/qadevOOo/runner/manifest
+main/qadevOOo/testdocs/backend/org/openoffice/manifest
+main/qadevOOo/testdocs/qadevlibs/source/com/sun/star/cmp/manifest
+main/qadevOOo/testdocs/qadevlibs/source/test/manifest
+main/rat-excludes
+
+main/redland/raptor/raptor-1.4.18.patch.os2
+main/redland/rasqal/rasqal-0.9.16.patch.os2
+main/redland/redland/redland-1.0.8.patch.os2
+
+main/reportbuilder/template/delzip
+main/reportbuilder/util/delzip
+main/ridljar/source/unoloader/com/sun/star/lib/unoloader/manifest
+main/ridljar/source/unoloader/delzip
+main/ridljar/util/delzip
+
+main/sal/workben/clipboardwben/testcopy/resource.h
+main/sal/workben/clipboardwben/testpaste/resource.h
+main/sal/workben/clipboardwben/testviewer/resource.h
+
+main/sc/uiconfig/layout/delzip
+main/scripting/examples/delzip
+main/scripting/java/org/openoffice/netbeans/modules/office/resources/templates/Empty.bsh_
+main/scripting/java/org/openoffice/netbeans/modules/office/resources/templates/EmptyParcelDescriptor.xml_
+main/scripting/java/org/openoffice/netbeans/modules/office/resources/templates/ParcelDescriptor.xml_
+
+main/sdext/source/minimizer/delzip
+main/sdext/source/pdfimport/delzip
+
+main/sdext/source/pdfimport/wrapper/keyword_list
+
+main/sdext/source/presenter/delzip
+
+main/setup_native/source/mac/macinstall.ulf
+main/setup_native/source/opensolaris/bundledextensions/installed
+
+main/setup_native/source/packinfo/linuxcopyrightfile
+main/setup_native/source/packinfo/private1copyrightfile
+main/setup_native/source/packinfo/solariscopyrightfile
+
+main/sfx2/workben/custompanel/delzip
+
+main/smoketestdoc/com/sun/star/comp/smoketest/MANIFEST.MF
+main/smoketestdoc/com/sun/star/comp/smoketest/delzip
+
+main/solenv/bin/genmap
+main/solenv/bin/install-sh
+
+main/solenv/inc/startup/summary
+
+main/soltools/winunistd/unistd.h
+main/splitbuild/bm
+main/stoc/test/javavm/testcomponent/manifest
+
+main/svtools/inc/svtools/chartprettypainter.hxx
+main/svtools/source/misc/chartprettypainter.cxx
+
+main/svx/uiconfig/layout/delzip
+main/sw/qa/core/performance-jobfile
+main/sw/source/filter/ww8/CREDITS
+main/sw/uiconfig/layout/delzip
+
+main/sysui/desktop/debian/control
+main/sysui/desktop/debian/postrm
+main/sysui/desktop/debian/prerm
+
+main/sysui/desktop/macosx/delzip
+main/sysui/desktop/share/documents.ulf
+main/sysui/desktop/share/launcher_genericname.ulf
+
+main/sysui/desktop/slackware/slack-desc
+main/sysui/desktop/slackware/update-script
+
+main/sysui/desktop/solaris/depend
+main/sysui/desktop/solaris/pkginfo
+
+main/sysui/desktop/solaris/prototype
+
+main/testautomation/global/input/empty/please_do_not_delete_this_file
+
+main/testgraphical/references/unxlngi/singletest/tolerance.ini_
+
+main/testtools/com/sun/star/comp/bridge/manifest
+main/testtools/source/bridgetest/pyuno/pyuno
+main/toolkit/doc/layout/TODO
+main/toolkit/uiconfig/layout/delzip
+
+main/toolkit/workben/no_localization
+
+main/ure/source/delzip
+main/vcl/aqua/source/res/delzip
+
+main/vcl/unx/generic/fontmanager/afm_keyword_list
+
+main/vcl/unx/gtk/a11y/TODO
+main/wizards/com/sun/star/wizards/agenda/MANIFEST.MF
+main/wizards/com/sun/star/wizards/common/MANIFEST.MF
+main/wizards/com/sun/star/wizards/common/delzip
+main/wizards/com/sun/star/wizards/db/MANIFEST.MF
+main/wizards/com/sun/star/wizards/fax/MANIFEST.MF
+main/wizards/com/sun/star/wizards/form/MANIFEST.MF
+main/wizards/com/sun/star/wizards/letter/MANIFEST.MF
+main/wizards/com/sun/star/wizards/query/MANIFEST.MF
+main/wizards/com/sun/star/wizards/report/MANIFEST.MF
+main/wizards/com/sun/star/wizards/report/delzip
+main/wizards/com/sun/star/wizards/table/MANIFEST.MF
+main/wizards/com/sun/star/wizards/web/MANIFEST.MF
+
+main/wizards/source/config/delzip
+main/wizards/source/configshare/delzip
+main/wizards/source/depot/delzip
+main/wizards/source/euro/delzip
+main/wizards/source/formwizard/delzip
+main/wizards/source/gimmicks/delzip
+main/wizards/source/importwizard/delzip
+main/wizards/source/launcher/delzip
+main/wizards/source/schedule/delzip
+main/wizards/source/standard/delzip
+main/wizards/source/template/delzip
+main/wizards/source/tools/delzip
+main/wizards/source/tutorials/delzip
+main/wizards/source/webwizard/delzip
+
+main/writerfilter/source/doctok/qnametostrfooter
+
+main/writerfilter/source/ooxml/modelcleanup
+main/writerfilter/source/ooxml/rngtocxx
+main/writerfilter/source/ooxml/tokenxmlfooter
+main/writerfilter/source/ooxml/tokenxmlheader
+
+main/writerfilter/source/resourcemodel/analyzerfooter
+main/writerfilter/source/resourcemodel/qnametostrfooter
+main/writerfilter/source/resourcemodel/setdebugflags
+main/writerfilter/source/resourcemodel/sprmcodetostrfooter
+
+main/xmerge/source/activesync/XMergeFactory.h
+main/xmerge/source/activesync/XMergeFilter.h
+main/xmerge/source/activesync/XMergeSync.h
+main/xmerge/source/activesync/resource.h
+main/xmerge/source/activesync/stdafx.h
+
+main/xmlhelp/source/com/sun/star/help/MANIFEST.MF
+main/xmlhelp/util/delzip
+
+main/xmlsecurity/test_docs/CAs/Root_1/demoCA/crl/DO_NOT_CREATE_A_CRL
+main/xmlsecurity/test_docs/CAs/Root_1/demoCA/crlnumber
+main/xmlsecurity/test_docs/CAs/Root_1/demoCA/serial
+main/xmlsecurity/test_docs/CAs/Root_10/demoCA/crlnumber
+main/xmlsecurity/test_docs/CAs/Root_10/demoCA/serial
+main/xmlsecurity/test_docs/CAs/Root_11/demoCA/crlnumber
+main/xmlsecurity/test_docs/CAs/Root_11/demoCA/serial
+main/xmlsecurity/test_docs/CAs/Root_2/demoCA/crl/DO_NOT_CREATE_A_CRL
+main/xmlsecurity/test_docs/CAs/Root_2/demoCA/crlnumber
+main/xmlsecurity/test_docs/CAs/Root_2/demoCA/serial
+main/xmlsecurity/test_docs/CAs/Root_3/demoCA/crlnumber
+main/xmlsecurity/test_docs/CAs/Root_3/demoCA/serial
+main/xmlsecurity/test_docs/CAs/Root_4/demoCA/crlnumber
+main/xmlsecurity/test_docs/CAs/Root_4/demoCA/serial
+main/xmlsecurity/test_docs/CAs/Root_5/demoCA/crl/DO_NOT_CREATE_A_CRL
+main/xmlsecurity/test_docs/CAs/Root_5/demoCA/crlnumber
+main/xmlsecurity/test_docs/CAs/Root_5/demoCA/serial
+main/xmlsecurity/test_docs/CAs/Root_6/demoCA/crl/DO_NOT_INSTALL_THIS_CRL
+main/xmlsecurity/test_docs/CAs/Root_6/demoCA/crlnumber
+main/xmlsecurity/test_docs/CAs/Root_6/demoCA/serial
+main/xmlsecurity/test_docs/CAs/Root_7/demoCA/crl/DO_NOT_INSTALL_THIS_CRL
+main/xmlsecurity/test_docs/CAs/Root_7/demoCA/crlnumber
+main/xmlsecurity/test_docs/CAs/Root_7/demoCA/serial
+main/xmlsecurity/test_docs/CAs/Root_8/demoCA/crl/DO_NOT_INSTALL_THIS_CRL
+main/xmlsecurity/test_docs/CAs/Root_8/demoCA/crlnumber
+main/xmlsecurity/test_docs/CAs/Root_8/demoCA/serial
+main/xmlsecurity/test_docs/CAs/Root_9/demoCA/DO_NO_INSTALL_THIS_ROOT_CERTIFICATE
+main/xmlsecurity/test_docs/CAs/Root_9/demoCA/crlnumber
+main/xmlsecurity/test_docs/CAs/Root_9/demoCA/serial
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_1/demoCA/crl/DO_NOT_CREATE_A_CRL
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_1/demoCA/crlnumber
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_1/demoCA/serial
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_10/DO_NOT_INSTALL_THIS_CERTIFICATE
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_10/demoCA/DO_NOT_INSTALL_THIS_CERTIFICATE
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_10/demoCA/crl/DO_NOT_INSTALL_THIS_CRL
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_10/demoCA/crlnumber
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_10/demoCA/serial
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_2/demoCA/crlnumber
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_2/demoCA/serial
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_3/demoCA/crl/DO_NOT_CREATE_A_CRL
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_3/demoCA/crlnumber
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_3/demoCA/serial
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_4/demoCA/crlnumber
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_4/demoCA/serial
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_5/demoCA/crl/DO_NOT_INSTALL_THIS_CRL
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_5/demoCA/crlnumber
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_5/demoCA/serial
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_6/demoCA/crl/DO_NOT_CREATE_A_CRL
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_6/demoCA/crlnumber
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_6/demoCA/serial
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_7/demoCA/crl/DO_NOT_INSTALL_THIS_CRL
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_7/demoCA/crlnumber
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_7/demoCA/serial
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_8/demoCA/crl/DO_NOT_INSTALL_THIS_CRL
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_8/demoCA/crlnumber
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_8/demoCA/serial
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_9/demoCA/crlnumber
+main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_9/demoCA/serial
+main/xmlsecurity/test_docs/CAs/Sub_CA_2_Root_4/demoCA/crlnumber
+main/xmlsecurity/test_docs/CAs/Sub_CA_2_Root_4/demoCA/serial
+main/xmlsecurity/test_docs/CAs/Sub_CA_2_Root_7/demoCA/crl/DO_NOT_INSTALL_THIS_CRL
+main/xmlsecurity/test_docs/CAs/Sub_CA_2_Root_7/demoCA/crlnumber
+main/xmlsecurity/test_docs/CAs/Sub_CA_2_Root_7/demoCA/serial
+main/xmlsecurity/test_docs/CAs/Sub_CA_2_Root_8/demoCA/crl/DO_NOT_INSTALL_THIS_CRL
+main/xmlsecurity/test_docs/CAs/Sub_CA_2_Root_8/demoCA/crlnumber
+main/xmlsecurity/test_docs/CAs/Sub_CA_2_Root_8/demoCA/serial
+main/xmlsecurity/tools/demo/manifest
+
+
diff --git a/readlicense_oo/docs/readme.dtd b/readlicense_oo/docs/readme.dtd
index ad7c85558086..9b7a3b45877f 100644
--- a/readlicense_oo/docs/readme.dtd
+++ b/readlicense_oo/docs/readme.dtd
@@ -1,4 +1,23 @@
-<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by Frank Loehmann (Star Office GmbH) -->
+<!--***********************************************************
+ *
+ * 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.
+ *
+ ***********************************************************-->
<!ELEMENT Readme (Section)+>
<!ATTLIST Readme
name CDATA #REQUIRED
diff --git a/sal/inc/rtl/tres.h b/sal/inc/rtl/tres.h
index 9535d0b2adc2..7d289c5ec847 100644
--- a/sal/inc/rtl/tres.h
+++ b/sal/inc/rtl/tres.h
@@ -1,3 +1,23 @@
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
#ifndef _RTL_TRES_H_
#define _RTL_TRES_H_
diff --git a/sal/qa/helper/gcov/build_coverage b/sal/qa/helper/gcov/build_coverage
index 8948789a87e7..701fbf0da3ea 100755
--- a/sal/qa/helper/gcov/build_coverage
+++ b/sal/qa/helper/gcov/build_coverage
@@ -1,3 +1,23 @@
+# *************************************************************
+#
+# 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 a helper, to build sal with the right compiler parameters
# IMPORTANT, this works only within Linux
diff --git a/sal/qa/helper/gcov/gcov_all b/sal/qa/helper/gcov/gcov_all
index fa098f3bbea4..5f35d2f0e1db 100755
--- a/sal/qa/helper/gcov/gcov_all
+++ b/sal/qa/helper/gcov/gcov_all
@@ -1,4 +1,24 @@
#!/bin/sh
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
# $Id: gcov_all,v 1.4 2005-11-02 17:23:43 kz Exp $
# This helper run lists all c and cxx files from selected directories.
diff --git a/sal/qa/helper/gcov/statistics b/sal/qa/helper/gcov/statistics
index a1b43b5524f1..ad94703b5375 100755
--- a/sal/qa/helper/gcov/statistics
+++ b/sal/qa/helper/gcov/statistics
@@ -1,4 +1,24 @@
#!/bin/sh
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
# $Id: statistics,v 1.3 2003-06-11 16:38:03 vg Exp $
./gcov_filter.pl -i ../../../util/sal.map --showallfunc FOO | sort | uniq >exportedfunctions.txt
diff --git a/sal/qa/rtl/process/rtl_Process_Const.h b/sal/qa/rtl/process/rtl_Process_Const.h
index a66d244a0cfe..a589df44c421 100644
--- a/sal/qa/rtl/process/rtl_Process_Const.h
+++ b/sal/qa/rtl/process/rtl_Process_Const.h
@@ -1,3 +1,23 @@
+/**************************************************************
+ *
+ * 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.
+ *
+ *************************************************************/
#ifndef _RTL_PROCESS_CONST_H_
#define _RTL_PROCESS_CONST_H_
diff --git a/sal/rtl/source/hash.h b/sal/rtl/source/hash.h
index 2aadfb33efcd..c2fd9281dccb 100644
--- a/sal/rtl/source/hash.h
+++ b/sal/rtl/source/hash.h
@@ -1,5 +1,25 @@
#ifndef INCLUDED_RTL_SOURCE_HASH_H
#define INCLUDED_RTL_SOURCE_HASH_H
+/**************************************************************
+ *
+ * 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.
+ *
+ *************************************************************/
#include <sal/types.h>
#include <rtl/ustring.h>
diff --git a/sal/test/bootstrap b/sal/test/bootstrap
index 6e307417e230..57a5d9e4a9c9 100644
--- a/sal/test/bootstrap
+++ b/sal/test/bootstrap
@@ -1,4 +1,24 @@
#/bin/tcsh
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
setenv MYBOOTSTRAPTESTVALUE 0
echo 1
diff --git a/scripting/java/org/openoffice/netbeans/modules/office/resources/templates/Empty.bsh_ b/scripting/java/org/openoffice/netbeans/modules/office/resources/templates/Empty.bsh_
index 9354dba121b6..aaf9c32b61dc 100644
--- a/scripting/java/org/openoffice/netbeans/modules/office/resources/templates/Empty.bsh_
+++ b/scripting/java/org/openoffice/netbeans/modules/office/resources/templates/Empty.bsh_
@@ -1,3 +1,23 @@
+// *************************************************************
+//
+// 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 using XComponentContext need to uncomment import directive below:
// import com.sun.star.uno.XComponentContext;
diff --git a/sd/workben/testdll/makefile b/sd/workben/testdll/makefile
index 51f7a1a29c8c..7e121b4a03ca 100644
--- a/sd/workben/testdll/makefile
+++ b/sd/workben/testdll/makefile
@@ -1,3 +1,23 @@
+# -------------------------------------------------------------
+#
+# 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.
+#
+# -------------------------------------------------------------
PRJ=..
PRJNAME=test
diff --git a/setup_native/scripts/deregister_extensions b/setup_native/scripts/deregister_extensions
index 20af91108125..925d89dbb2f0 100644
--- a/setup_native/scripts/deregister_extensions
+++ b/setup_native/scripts/deregister_extensions
@@ -1,4 +1,24 @@
#!/bin/sh
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
USAGE="Usage: $0"
diff --git a/setup_native/scripts/register_extensions b/setup_native/scripts/register_extensions
index 2dbbb05f50ed..73154201b2a7 100644
--- a/setup_native/scripts/register_extensions
+++ b/setup_native/scripts/register_extensions
@@ -1,4 +1,24 @@
#!/bin/sh
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
USAGE="Usage: $0"
diff --git a/setup_native/source/opensolaris/bundledextensions/svc-ooo_bundled_extensions b/setup_native/source/opensolaris/bundledextensions/svc-ooo_bundled_extensions
index 696277011133..142043dcf887 100644
--- a/setup_native/source/opensolaris/bundledextensions/svc-ooo_bundled_extensions
+++ b/setup_native/source/opensolaris/bundledextensions/svc-ooo_bundled_extensions
@@ -1,4 +1,24 @@
#!/sbin/sh
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
. /lib/svc/share/smf_include.sh
diff --git a/setup_native/tests/opensolaris/bundledextensions/send_ooo b/setup_native/tests/opensolaris/bundledextensions/send_ooo
index 9b260ec798b2..4fae539461e4 100644
--- a/setup_native/tests/opensolaris/bundledextensions/send_ooo
+++ b/setup_native/tests/opensolaris/bundledextensions/send_ooo
@@ -1,4 +1,24 @@
#!/bin/sh
+# *************************************************************
+#
+# 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 [ $# = 0 ]
diff --git a/solenv/bin/_mkout b/solenv/bin/_mkout
index b1ff7b0f5c89..f3dcad7beeda 100755
--- a/solenv/bin/_mkout
+++ b/solenv/bin/_mkout
@@ -1,4 +1,24 @@
#!/bin/sh -e
+# *************************************************************
+#
+# 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 "$1" ]; then
exit 1;
fi
diff --git a/solenv/bin/createpdbrelocators b/solenv/bin/createpdbrelocators
index 40a44e8f2e7c..df3017899255 100755
--- a/solenv/bin/createpdbrelocators
+++ b/solenv/bin/createpdbrelocators
@@ -1,4 +1,24 @@
#!/bin/sh
+# *************************************************************
+#
+# 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 [ x${SOLARENV}x = xx ]; then
echo createpdbrelocators: no environment found!
exit 1
diff --git a/solenv/bin/cws b/solenv/bin/cws
index e8bcf5060f39..975c992b5092 100755
--- a/solenv/bin/cws
+++ b/solenv/bin/cws
@@ -1,4 +1,24 @@
#!/bin/sh
+# *************************************************************
+#
+# 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 [ x${SOLARENV}x = xx ]; then
echo No environment found, please use 'configure'
exit 1
diff --git a/solenv/bin/cwsattach b/solenv/bin/cwsattach
index 99bcde52977a..e1c965779d59 100755
--- a/solenv/bin/cwsattach
+++ b/solenv/bin/cwsattach
@@ -1,4 +1,24 @@
#!/bin/sh
+# *************************************************************
+#
+# 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 [ x${SOLARENV}x = xx ]; then
echo No environment found, please use 'configure' or 'setsolar'
exit 1
diff --git a/solenv/bin/cwscreate b/solenv/bin/cwscreate
index c3260f746e39..5bc73e228545 100755
--- a/solenv/bin/cwscreate
+++ b/solenv/bin/cwscreate
@@ -1,4 +1,24 @@
#!/bin/sh
+# *************************************************************
+#
+# 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 [ x${SOLARENV}x = xx ]; then
echo No environment found, please use 'configure' or 'setsolar'
exit 1
diff --git a/solenv/bin/cwstestresult b/solenv/bin/cwstestresult
index 29b1c0c8e99d..e9538bbad3f1 100755
--- a/solenv/bin/cwstestresult
+++ b/solenv/bin/cwstestresult
@@ -1,4 +1,24 @@
#!/bin/sh
+# *************************************************************
+#
+# 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 [ x${SOLARENV}x = xx ]; then
echo No environment found, please use 'configure' or 'setsolar'
exit 1
diff --git a/solenv/bin/cwstouched b/solenv/bin/cwstouched
index dac08c07f9a7..c31936d2026e 100755
--- a/solenv/bin/cwstouched
+++ b/solenv/bin/cwstouched
@@ -1,4 +1,24 @@
#!/bin/sh
+# *************************************************************
+#
+# 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 [ x${SOLARENV}x = xx ]; then
echo No environment found, please use 'configure' or 'setsolar'
exit 1
diff --git a/solenv/bin/gsicheck b/solenv/bin/gsicheck
index fb2f65cbe01d..6c69fc9f6493 100755
--- a/solenv/bin/gsicheck
+++ b/solenv/bin/gsicheck
@@ -1,4 +1,24 @@
#!/bin/sh
+# *************************************************************
+#
+# 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 [ x${SOLARENV}x = xx ]; then
echo No environment found, please use 'setsolar'
exit 1
diff --git a/solenv/bin/langwrap b/solenv/bin/langwrap
index 97a50f1762ee..c8f4fb84d2ff 100755
--- a/solenv/bin/langwrap
+++ b/solenv/bin/langwrap
@@ -1,4 +1,24 @@
#!/usr/bin/perl -w
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
#
# langwrap - language wrapper for building resources
#
diff --git a/solenv/bin/localize b/solenv/bin/localize
index ef5550e72e67..4fefd07a16e3 100755
--- a/solenv/bin/localize
+++ b/solenv/bin/localize
@@ -1,4 +1,24 @@
#!/bin/sh
+# *************************************************************
+#
+# 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 [ x${SOLARENV}x = xx ]; then
echo No environment found, please use 'setsolar'
exit 1
diff --git a/solenv/bin/localize_sl b/solenv/bin/localize_sl
index af7f8351406c..4cf90ba00397 100755
--- a/solenv/bin/localize_sl
+++ b/solenv/bin/localize_sl
@@ -1,4 +1,24 @@
#!/bin/sh
+# *************************************************************
+#
+# 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 [ x${SOLARENV}x = xx ]; then
echo No environment found, please use 'setsolar'
exit 1
diff --git a/solenv/bin/oochkpatch b/solenv/bin/oochkpatch
index 719f0765bcff..56f74e5afc61 100755
--- a/solenv/bin/oochkpatch
+++ b/solenv/bin/oochkpatch
@@ -1,4 +1,24 @@
#!/bin/sh
+# *************************************************************
+#
+# 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 [ x${SOLARENV}x = xx ]; then
echo No environment found, please use 'configure' or 'setsolar'
exit 1
diff --git a/solenv/bin/pchdelta b/solenv/bin/pchdelta
index e33db2f96c84..138c62fa3cf2 100755
--- a/solenv/bin/pchdelta
+++ b/solenv/bin/pchdelta
@@ -1,4 +1,24 @@
#!/bin/sh
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
# Wrapper around the pchdelta.py script
bash -c "unset PYTHONHOME PYTHONPATH; /usr/bin/python ../solenv/bin/pchdelta.py $*"
diff --git a/solenv/bin/receditor b/solenv/bin/receditor
index 1b4046010485..d073be42d0f8 100755
--- a/solenv/bin/receditor
+++ b/solenv/bin/receditor
@@ -1,4 +1,24 @@
#!/bin/sh
+# *************************************************************
+#
+# 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 [ x${SOLARENV}x = xx ]; then
echo No environment found, please use 'configure' or 'setsolar'
exit 1
diff --git a/sysui/desktop/debian/postinst b/sysui/desktop/debian/postinst
index 19753b529e97..df60e8e1c41f 100644
--- a/sysui/desktop/debian/postinst
+++ b/sysui/desktop/debian/postinst
@@ -1,4 +1,24 @@
#!/bin/sh
+# *************************************************************
+#
+# 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 [ "$1" = "configure" ] ; then # first install
# update shared mime-info database
diff --git a/sysui/desktop/solaris/mailcap b/sysui/desktop/solaris/mailcap
index 5c8a1d51350b..6e664c1d1806 100644
--- a/sysui/desktop/solaris/mailcap
+++ b/sysui/desktop/solaris/mailcap
@@ -1,3 +1,23 @@
+# *************************************************************
+#
+# 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 [ "$1" = install ]
then
# backing out existing entries to avoid duplicates
diff --git a/sysui/desktop/solaris/postinstall b/sysui/desktop/solaris/postinstall
index 2f775ba6d78a..d054fa47d2e2 100644
--- a/sysui/desktop/solaris/postinstall
+++ b/sysui/desktop/solaris/postinstall
@@ -1,4 +1,24 @@
#!/bin/sh
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
# check whether /usr is writable
tiptoe="${PKG_INSTALL_ROOT}/usr/_.$$"
diff --git a/sysui/desktop/solaris/postremove b/sysui/desktop/solaris/postremove
index 460c3f2fa196..eaf3247914d8 100644
--- a/sysui/desktop/solaris/postremove
+++ b/sysui/desktop/solaris/postremove
@@ -1,4 +1,24 @@
#!/bin/sh
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
# check whether /usr is writable
tiptoe="${PKG_INSTALL_ROOT}/usr/_.$$"
diff --git a/testgraphical/references/unxlngi/demo/CurrentTime.ods.ps b/testgraphical/references/unxlngi/demo/CurrentTime.ods.ps
index aa7455255e2c..f33925c9a42d 100644
--- a/testgraphical/references/unxlngi/demo/CurrentTime.ods.ps
+++ b/testgraphical/references/unxlngi/demo/CurrentTime.ods.ps
@@ -9,6 +9,26 @@
%%Pages: (atend)
%%Orientation: (atend)
%%PageOrder: Ascend
+%% *************************************************************
+%%
+%% 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.
+%%
+%% *************************************************************
%%EndComments
%%BeginProlog
%%BeginResource: procset PSPrint-Prolog 1.0 0
diff --git a/testgraphical/references/unxlngi/singletest/eis-test.odt.ps b/testgraphical/references/unxlngi/singletest/eis-test.odt.ps
index 456905de90b2..24731ae2b7d9 100644
--- a/testgraphical/references/unxlngi/singletest/eis-test.odt.ps
+++ b/testgraphical/references/unxlngi/singletest/eis-test.odt.ps
@@ -9,6 +9,26 @@
%%Pages: (atend)
%%Orientation: (atend)
%%PageOrder: Ascend
+%% *************************************************************
+%%
+%% 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.
+%%
+%% *************************************************************
%%EndComments
%%BeginProlog
%%BeginResource: procset PSPrint-Prolog 1.0 0
diff --git a/testgraphical/references/wntmsci/demo/CurrentTime.ods.ps b/testgraphical/references/wntmsci/demo/CurrentTime.ods.ps
index 36b469ce81a3..36da081cc519 100644
--- a/testgraphical/references/wntmsci/demo/CurrentTime.ods.ps
+++ b/testgraphical/references/wntmsci/demo/CurrentTime.ods.ps
@@ -12,6 +12,26 @@
%%DocumentData: Clean7Bit
%%TargetDevice: (Generic Printer For MSWord Testing) (1) 1
%%LanguageLevel: 2
+%% *************************************************************
+%%
+%% 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.
+%%
+%% *************************************************************
%%EndComments
%%BeginDefaults
@@ -496,4 +516,4 @@ ehsave restore
%%Pages: 1
(%%[LastPage]%%) =
%%EOF
- \ No newline at end of file
+
diff --git a/testgraphical/references/wntmsci/singletest/eis-test.odt.ps b/testgraphical/references/wntmsci/singletest/eis-test.odt.ps
index 968c7b3cbd44..2753ebaa4372 100644
--- a/testgraphical/references/wntmsci/singletest/eis-test.odt.ps
+++ b/testgraphical/references/wntmsci/singletest/eis-test.odt.ps
@@ -12,6 +12,26 @@
%%DocumentData: Clean7Bit
%%TargetDevice: (Generic Printer For MSWord Testing) (1) 1
%%LanguageLevel: 2
+%% *************************************************************
+%%
+%% 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.
+%%
+%% *************************************************************
%%EndComments
%%BeginDefaults
@@ -1981,4 +2001,4 @@ ehsave restore
%%Pages: 1
(%%[LastPage]%%) =
%%EOF
- \ No newline at end of file
+
diff --git a/toolkit/workben/layout/TEST b/toolkit/workben/layout/TEST
index 8a04a6628da8..4f28d9985069 100644
--- a/toolkit/workben/layout/TEST
+++ b/toolkit/workben/layout/TEST
@@ -1,4 +1,24 @@
#! /bin/sh
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
for d in $(cd ../../../../.. && pwd)/ooo-svn /usr/lib/ooo3/; do
if test -d $d; then
export OOO_INSTALL_PREFIX=$d
diff --git a/toolkit/workben/layout/ooo-patch b/toolkit/workben/layout/ooo-patch
index 89fc58db8748..cec5f1dc3ba0 100644
--- a/toolkit/workben/layout/ooo-patch
+++ b/toolkit/workben/layout/ooo-patch
@@ -1,4 +1,24 @@
#! /bin/sh
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
commit=${1-3249db59} # m5
git diff $commit layout | sed 's@^\([+-]\{3\}\) \(a\|b\)/@\1 @' > layout-dialogs-layout.diff
diff --git a/toolkit/workben/layout/refresh b/toolkit/workben/layout/refresh
index 796999549c36..50608f0193b4 100644
--- a/toolkit/workben/layout/refresh
+++ b/toolkit/workben/layout/refresh
@@ -1,3 +1,23 @@
+# *************************************************************
+#
+# 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 "source me ..."
test -n "${INPATH}" && rm -Rf ../../${INPATH}
build debug=true\
diff --git a/toolkit/workben/layout/run-s2x b/toolkit/workben/layout/run-s2x
index 926addf49047..1dda8ee479e8 100644
--- a/toolkit/workben/layout/run-s2x
+++ b/toolkit/workben/layout/run-s2x
@@ -1,4 +1,24 @@
#! /bin/sh
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
SRC=${1-../../svx/source/dialog/zoom.src}
SRC=${1-../../sw/source/ui/dialog/wordcountdialog.src}
diff --git a/unoil/climaker/cli_oootypes_config b/unoil/climaker/cli_oootypes_config
index 433c8a51889f..83b8a63f1473 100644
--- a/unoil/climaker/cli_oootypes_config
+++ b/unoil/climaker/cli_oootypes_config
@@ -1,4 +1,24 @@
<?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.
+ *
+ ***********************************************************-->
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
@@ -8,4 +28,4 @@
</dependentAssembly>
</assemblyBinding>
</runtime>
-</configuration> \ No newline at end of file
+</configuration>
diff --git a/ure/source/jvmfwk3rc b/ure/source/jvmfwk3rc
index d0b09f89058b..11a117954bde 100644
--- a/ure/source/jvmfwk3rc
+++ b/ure/source/jvmfwk3rc
@@ -1,3 +1,23 @@
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
[Bootstrap]
UNO_JAVA_JFW_VENDOR_SETTINGS=${ORIGIN}/../share/misc/javavendors.xml
UNO_JAVA_JFW_SHARED_DATA=${URE_OVERRIDE_JAVA_JFW_SHARED_DATA} file:///etc/opt/ure/javasettings_${_OS}_${_ARCH}.xml
diff --git a/ure/source/unorc b/ure/source/unorc
index 50b8e8f1fe80..f9b1b29637f3 100644
--- a/ure/source/unorc
+++ b/ure/source/unorc
@@ -1,3 +1,23 @@
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
[Bootstrap]
URE_INTERNAL_LIB_DIR=${ORIGIN}
URE_INTERNAL_JAVA_DIR=${ORIGIN}/../share/java
diff --git a/writerfilter/source/doctok/cleanupresources b/writerfilter/source/doctok/cleanupresources
index bdb457392a2a..259ff6398d3c 100755
--- a/writerfilter/source/doctok/cleanupresources
+++ b/writerfilter/source/doctok/cleanupresources
@@ -1,4 +1,24 @@
#!/bin/sh
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
TEMP=`mktemp -t cleanupresources`
xsltproc tidyxmi.xsl resources.xmi | xmllint --format - > $TEMP
diff --git a/writerfilter/source/doctok/replacesprmids b/writerfilter/source/doctok/replacesprmids
index e4d6be329a4e..52c92d475e26 100755
--- a/writerfilter/source/doctok/replacesprmids
+++ b/writerfilter/source/doctok/replacesprmids
@@ -1,5 +1,25 @@
#!/bin/sh
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
sed "s/0xc601/NS_sprm::LN_PIstdPermute/g" < $1 > $1.out && mv $1.out $1
sed "s/0xC601/NS_sprm::LN_PIstdPermute/g" < $1 > $1.out && mv $1.out $1
diff --git a/writerfilter/source/ooxml/modelcleanup b/writerfilter/source/ooxml/modelcleanup
index 25651aa343a2..23e43758e6bf 100755
--- a/writerfilter/source/ooxml/modelcleanup
+++ b/writerfilter/source/ooxml/modelcleanup
@@ -1,3 +1,24 @@
#!/bin/sh
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
+
(xsltproc modelcleanup.xsl model.xml | xmllint --format - > model.xml.tmp) && \
mv model.xml.tmp model.xml
diff --git a/writerfilter/source/ooxml/rngtocxx b/writerfilter/source/ooxml/rngtocxx
index d4c902cb1331..e713aa66b779 100755
--- a/writerfilter/source/ooxml/rngtocxx
+++ b/writerfilter/source/ooxml/rngtocxx
@@ -1,4 +1,25 @@
#!/bin/sh
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
+
xalan -xsl modelpreprocess.xsl -in model.xml > model_processed.xml
xalan -xsl resourcestokens.xsl -in model_processed.xml > OOXMLtokens.hxx
xalan -xsl resources.xsl -in model_processed.xml > OOXMLresources.hxx
diff --git a/xmerge/source/activesync/XMergeFactory.h b/xmerge/source/activesync/XMergeFactory.h
index bb24e8aab14e..40bd2dff436d 100644
--- a/xmerge/source/activesync/XMergeFactory.h
+++ b/xmerge/source/activesync/XMergeFactory.h
@@ -1,3 +1,23 @@
+/**************************************************************
+ *
+ * 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.
+ *
+ *************************************************************/
// XMergeFactory.h: interface for the CXMergeFactory class.
//
//////////////////////////////////////////////////////////////////////
diff --git a/xmerge/source/activesync/XMergeFilter.h b/xmerge/source/activesync/XMergeFilter.h
index 54128f325125..05e680e79d50 100644
--- a/xmerge/source/activesync/XMergeFilter.h
+++ b/xmerge/source/activesync/XMergeFilter.h
@@ -1,3 +1,83 @@
+/**************************************************************
+ *
+ * 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.
+ *
+ *************************************************************/
+/**************************************************************
+ *
+ * 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.
+ *
+ *************************************************************/
+/**************************************************************
+ *
+ * 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.
+ *
+ *************************************************************/
+/**************************************************************
+ *
+ * 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.
+ *
+ *************************************************************/
// XMergeFilter.h: interface for the CXMergeFilter class.
//
//////////////////////////////////////////////////////////////////////
diff --git a/xmerge/source/activesync/XMergeSync.h b/xmerge/source/activesync/XMergeSync.h
index 4242b755c1fa..2c32148a902d 100644
--- a/xmerge/source/activesync/XMergeSync.h
+++ b/xmerge/source/activesync/XMergeSync.h
@@ -1,3 +1,23 @@
+/**************************************************************
+ *
+ * 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.
+ *
+ *************************************************************/
// XMergeSyncModule.h: interface for the CXMergeSyncModule class.
//
//////////////////////////////////////////////////////////////////////
diff --git a/xmerge/source/activesync/resource.h b/xmerge/source/activesync/resource.h
index c670835a7455..7bcf1798f91e 100644
--- a/xmerge/source/activesync/resource.h
+++ b/xmerge/source/activesync/resource.h
@@ -1,3 +1,23 @@
+/**************************************************************
+ *
+ * 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.
+ *
+ *************************************************************/
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by XMergeSync.rc
diff --git a/xmerge/source/activesync/stdafx.h b/xmerge/source/activesync/stdafx.h
index 26faa277a87c..7cd347070b07 100644
--- a/xmerge/source/activesync/stdafx.h
+++ b/xmerge/source/activesync/stdafx.h
@@ -1,3 +1,23 @@
+/**************************************************************
+ *
+ * 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.
+ *
+ *************************************************************/
//
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
diff --git a/xmerge/source/palmtests/bin/rd b/xmerge/source/palmtests/bin/rd
index db2dc56aee6b..36fe8e75a5aa 100755
--- a/xmerge/source/palmtests/bin/rd
+++ b/xmerge/source/palmtests/bin/rd
@@ -1,4 +1,24 @@
#!/bin/ksh
+# *************************************************************
+#
+# 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.
+#
+# *************************************************************
#
# Directories commonly used by this script...
#