From abea253e89cc96d0c08b33f2c866cb6f9419b4db Mon Sep 17 00:00:00 2001 From: antelder Date: Mon, 16 Nov 2009 08:08:09 +0000 Subject: Add the javascript client to the base jar git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@880654 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/BUILDING | 99 ---------------------- cpp/build.bat | 49 ----------- cpp/build.sh | 31 ------- cpp/etc/addLicense2cpp.pl | 85 ------------------- cpp/etc/addLicense2cppheader.pl | 85 ------------------- cpp/etc/svn-config | 136 ------------------------------ cpp/etc/svn-ignore | 40 --------- java/sca/shades/base/pom.xml | 10 +++ sdo-cpp/trunk/BUILDING | 73 ++++++++++++++++ sdo-cpp/trunk/etc/addLicense2cpp.pl | 85 +++++++++++++++++++ sdo-cpp/trunk/etc/addLicense2cppheader.pl | 85 +++++++++++++++++++ sdo-cpp/trunk/etc/svn-config | 136 ++++++++++++++++++++++++++++++ sdo-cpp/trunk/etc/svn-ignore | 40 +++++++++ 13 files changed, 429 insertions(+), 525 deletions(-) delete mode 100644 cpp/BUILDING delete mode 100644 cpp/build.bat delete mode 100755 cpp/build.sh delete mode 100644 cpp/etc/addLicense2cpp.pl delete mode 100644 cpp/etc/addLicense2cppheader.pl delete mode 100644 cpp/etc/svn-config delete mode 100644 cpp/etc/svn-ignore create mode 100644 sdo-cpp/trunk/BUILDING create mode 100644 sdo-cpp/trunk/etc/addLicense2cpp.pl create mode 100644 sdo-cpp/trunk/etc/addLicense2cppheader.pl create mode 100644 sdo-cpp/trunk/etc/svn-config create mode 100644 sdo-cpp/trunk/etc/svn-ignore diff --git a/cpp/BUILDING b/cpp/BUILDING deleted file mode 100644 index e0923251e8..0000000000 --- a/cpp/BUILDING +++ /dev/null @@ -1,99 +0,0 @@ -Tuscany C++ Build Instructions for Developers -============================================= - -Download the source from http://svn.apache.org/repos/asf/incubator/tuscany/cpp -The download location is - -Linux Build -=========== - -Prereqs: -- libxml2 (version 2.6.20 or whichever version is prereq'd by axis2c) -- Axis2C (version 0.94) - -Environment: -- export LIBXML2_INCLUDE= -- export LIBXML2_LIB= -- export AXIS2C_HOME= - - -Build: -- cd -- ./build.sh - -This first builds the SDO subproject then SCA. The results are installed in - /sdo/deploy - /sca/deploy - -SDO Test --------- - -Run: -- cd /sdo -- ./sdotest.sh - - -SCA Test --------- - -Run: -- cd /sca -- ./scatest.sh - -Linux distribution build -======================== -To build the distro zips for linux: - -1. Download the source from http://svn.apache.org/repos/asf/incubator/tuscany/cpp -The download location is - -2. cd /sdo - -3. set the environment - - export LIBXML2_INCLUDE= - - export LIBXML2_LIB= - - export AXIS2C_HOME= - -4. ./builddist.sh - This produces a src and bin zip for Tuscany SDO - -5. cd /sca - -6. set the environment - - export TUSCANY_SDOCPP=/sdo/tucany_sdo-bin-${PACKAGE-VERSION} - -7. ./builddist.sh - This produces a src and bin zip for Tuscany SCA - - -Windows Build -============= - -Microsoft Visual Studio Express projects are provided for building on Windows. - -SDO ---- - -Prereqs: - -- libxml2 (tested with version 2.6.19) -- Axis2C (version 0.94) - -1. Set the following environment variables to point to the location of the dependencies: - LIBXML2_INCLUDE= - LIBXML2_LIB= - AXIS2C_HOME= - -2. cd \sdo - -3. .\build.bat - - -SCA ---- - -1. Set the environment variable TUSCANY_SDOCPP to the path of an SDO build - -2. cd \sca - -3. .\build.bat diff --git a/cpp/build.bat b/cpp/build.bat deleted file mode 100644 index 719cae8d8f..0000000000 --- a/cpp/build.bat +++ /dev/null @@ -1,49 +0,0 @@ -@echo off -@REM Licensed to the Apache Software Foundation (ASF) under one -@REM or more contributor license agreements. See the NOTICE file -@REM distributed with this work for additional information -@REM regarding copyright ownership. The ASF licenses this file -@REM to you under the Apache License, Version 2.0 (the -@REM "License"); you may not use this file except in compliance -@REM with the License. You may obtain a copy of the License at -@REM -@REM http://www.apache.org/licenses/LICENSE-2.0 -@REM -@REM Unless required by applicable law or agreed to in writing, -@REM software distributed under the License is distributed on an -@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -@REM KIND, either express or implied. See the License for the -@REM specific language governing permissions and limitations -@REM under the License. - - -@setlocal - -set config=Release -if .Debug == .%1 ( -echo Building Debug version -set config=Debug -) - -if "%LIBXML2_HOME%" == "" ( -echo "LIBXML2_HOME not set" -goto end -) - -if "%ICONV_HOME%" == "" ( -echo "ICONV_HOME not set" -goto end -) - -if "%AXIS2C_HOME%" == "" ( -echo "AXIS2C_HOME not set" -goto end -) - -cd sdo -call build.bat - -cd ..\sca -call build.bat - -@endlocal diff --git a/cpp/build.sh b/cpp/build.sh deleted file mode 100755 index da485555d9..0000000000 --- a/cpp/build.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/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. - -TOPDIR=`pwd` - -# Build SDO -cd sdo -./build.sh -cd $TOPDIR - -# Build SCA -cd sca -./build.sh -cd $TOPDIR - diff --git a/cpp/etc/addLicense2cpp.pl b/cpp/etc/addLicense2cpp.pl deleted file mode 100644 index 668b2c943d..0000000000 --- a/cpp/etc/addLicense2cpp.pl +++ /dev/null @@ -1,85 +0,0 @@ -#!/usr/bin/perl -# -# 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. -# -#=================================================================== -# Change the old license header to remove the copyright ASF line -# and replace it with the new "Licensed under the ..." text. -# Note that this should not be applied to the collective copyright -# in, for example, a README file that describes the work as a whole. -#=================================================================== -# -# Usage: newlicense.pl *.java -# or -# find . -name .svn -prune -o -type f -print0 | xargs -0 copy2license.pl -# -sub ShowUsage { - print qq! -Usage: $0 file [ file ... ] - - where: - - file = a file in which to substitute license text - -!; -} -#=================================================================== - -# ensure proper usage -if (scalar @ARGV < 1) { - ShowUsage(); - exit; -} - -undef $/; # slurp the whole file - -$newtext = <<"EOTEXT"; -/* - * 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. - */ -EOTEXT - -# process each filename that was supplied -while ($filename = shift) { - open(INFILE, $filename) || die ("Cannot read from $filename, $!\n"); - $wholething = ; - close INFILE; - - if ($wholething =~ s/\A.*?#include /${newtext}#include /s) { - open(OUTFILE, ">$filename") || die ("Cannot write to $filename, $!\n"); - print OUTFILE $wholething; - close OUTFILE; - } -} - -$/ = "\n"; # reset the input record separator - -exit 0; diff --git a/cpp/etc/addLicense2cppheader.pl b/cpp/etc/addLicense2cppheader.pl deleted file mode 100644 index 4e347605f6..0000000000 --- a/cpp/etc/addLicense2cppheader.pl +++ /dev/null @@ -1,85 +0,0 @@ -#!/usr/bin/perl -# -# 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. -# -#=================================================================== -# Change the old license header to remove the copyright ASF line -# and replace it with the new "Licensed under the ..." text. -# Note that this should not be applied to the collective copyright -# in, for example, a README file that describes the work as a whole. -#=================================================================== -# -# Usage: newlicense.pl *.java -# or -# find . -name .svn -prune -o -type f -print0 | xargs -0 copy2license.pl -# -sub ShowUsage { - print qq! -Usage: $0 file [ file ... ] - - where: - - file = a file in which to substitute license text - -!; -} -#=================================================================== - -# ensure proper usage -if (scalar @ARGV < 1) { - ShowUsage(); - exit; -} - -undef $/; # slurp the whole file - -$newtext = <<"EOTEXT"; -/* - * 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. - */ -EOTEXT - -# process each filename that was supplied -while ($filename = shift) { - open(INFILE, $filename) || die ("Cannot read from $filename, $!\n"); - $wholething = ; - close INFILE; - - if ($wholething =~ s/\A.*?#ifndef /${newtext}#ifndef /s) { - open(OUTFILE, ">$filename") || die ("Cannot write to $filename, $!\n"); - print OUTFILE $wholething; - close OUTFILE; - } -} - -$/ = "\n"; # reset the input record separator - -exit 0; diff --git a/cpp/etc/svn-config b/cpp/etc/svn-config deleted file mode 100644 index 4f8cb41685..0000000000 --- a/cpp/etc/svn-config +++ /dev/null @@ -1,136 +0,0 @@ -### This file configures various client-side behaviors. -### -### The commented-out examples below are intended to demonstrate -### how to use this file. - -### Section for authentication and authorization customizations. -[auth] -### Set store-passwords to 'no' to avoid storing passwords in the -### auth/ area of your config directory. It defaults to 'yes'. -### Note that this option only prevents saving of *new* passwords; -### it doesn't invalidate existing passwords. (To do that, remove -### the cache files by hand as described in the Subversion book.) -# store-passwords = no -### Set store-auth-creds to 'no' to avoid storing any subversion -### credentials in the auth/ area of your config directory. -### It defaults to 'yes'. Note that this option only prevents -### saving of *new* credentials; it doesn't invalidate existing -### caches. (To do that, remove the cache files by hand.) -# store-auth-creds = no - -### Section for configuring external helper applications. -[helpers] -### Set editor to the command used to invoke your text editor. -### This will override the environment variables that Subversion -### examines by default to find this information ($EDITOR, -### et al). -# editor-cmd = editor (vi, emacs, notepad, etc.) -### Set diff-cmd to the absolute path of your 'diff' program. -### This will override the compile-time default, which is to use -### Subversion's internal diff implementation. -# diff-cmd = diff_program (diff, gdiff, etc.) -### Set diff3-cmd to the absolute path of your 'diff3' program. -### This will override the compile-time default, which is to use -### Subversion's internal diff3 implementation. -# diff3-cmd = diff3_program (diff3, gdiff3, etc.) -### Set diff3-has-program-arg to 'true' or 'yes' if your 'diff3' -### program accepts the '--diff-program' option. -# diff3-has-program-arg = [true | false] - -### Section for configuring tunnel agents. -[tunnels] -### Configure svn protocol tunnel schemes here. By default, only -### the 'ssh' scheme is defined. You can define other schemes to -### be used with 'svn+scheme://hostname/path' URLs. A scheme -### definition is simply a command, optionally prefixed by an -### environment variable name which can override the command if it -### is defined. The command (or environment variable) may contain -### arguments, using standard shell quoting for arguments with -### spaces. The command will be invoked as: -### svnserve -t -### (If the URL includes a username, then the hostname will be -### passed to the tunnel agent as @.) If the -### built-in ssh scheme were not predefined, it could be defined -### as: -# ssh = $SVN_SSH ssh -### If you wanted to define a new 'rsh' scheme, to be used with -### 'svn+rsh:' URLs, you could do so as follows: -# rsh = rsh -### Or, if you wanted to specify a full path and arguments: -# rsh = /path/to/rsh -l myusername -### On Windows, if you are specifying a full path to a command, -### use a forward slash (/) or a paired backslash (\\) as the -### path separator. A single backslash will be treated as an -### escape for the following character. - -### Section for configuring miscelleneous Subversion options. -[miscellany] -### Set global-ignores to a set of whitespace-delimited globs -### which Subversion will ignore in its 'status' output. -# global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store -### Set log-encoding to the default encoding for log messages -# log-encoding = latin1 -### Set use-commit-times to make checkout/update/switch/revert -### put last-committed timestamps on every file touched. -# use-commit-times = yes -### Set no-unlock to prevent 'svn commit' from automatically -### releasing locks on files. -# no-unlock = yes -### Set enable-auto-props to 'yes' to enable automatic properties -### for 'svn add' and 'svn import', it defaults to 'no'. -### Automatic properties are defined in the section 'auto-props'. -enable-auto-props = yes - -### Section for configuring automatic properties. -[auto-props] -### The format of the entries is: -### file-name-pattern = propname[=value][;propname[=value]...] -### The file-name-pattern can contain wildcards (such as '*' and -### '?'). All entries which match will be applied to the file. -### Note that auto-props functionality must be enabled, which -### is typically done by setting the 'enable-auto-props' option. -# *.c = svn:eol-style=native -# *.cpp = svn:eol-style=native -# *.h = svn:eol-style=native -# *.dsp = svn:eol-style=CRLF -# *.dsw = svn:eol-style=CRLF -# *.sh = svn:eol-style=native;svn:executable -# *.txt = svn:eol-style=native -# *.png = svn:mime-type=image/png -# *.jpg = svn:mime-type=image/jpeg -# Makefile = svn:eol-style=native - -*.c = svn:eol-style=native;svn:keywords=Rev Date -*.cpp = svn:eol-style=native;svn:keywords=Rev Date -*.h = svn:eol-style=native;svn:keywords=Rev Date -*.dsp = svn:eol-style=CRLF -*.dsw = svn:eol-style=CRLF -*.sh = svn:eol-style=native;svn:executable;svn:keywords=Rev Date -*.bat = svn:eol-style=native;svn:keywords=Rev Date -*.txt = svn:eol-style=native;svn:keywords=Rev Date -*.png = svn:mime-type=image/png -*.jpg = svn:mime-type=image/jpeg -*.am = svn:eol-style=native;svn:keywords=Rev Date -*.ac = svn:eol-style=native;svn:keywords=Rev Date -*.xml = svn:eol-style=native;svn:keywords=Rev Date -*.xsd = svn:eol-style=native;svn:keywords=Rev Date -*.html = svn:eol-style=native;svn:keywords=Rev Date -*.wsdl = svn:eol-style=native;svn:keywords=Rev Date -*.xsd = svn:eol-style=native;svn:keywords=Rev Date -*.composite = svn:eol-style=native;svn:keywords=Rev Date -*.componentType = svn:eol-style=native;svn:keywords=Rev Date -*.rb = svn:eol-style=native;svn:keywords=Rev Date -*.py = svn:eol-style=native;svn:keywords=Rev Date -*.php = svn:eol-style=native;svn:keywords=Rev Date -*.js = svn:eol-style=native;svn:keywords=Rev Date -*.java = svn:eol-style=native;svn:keywords=Rev Date -*.properties = svn:eol-style=native;svn:keywords=Rev Date -*.jelly = svn:eol-style=native;svn:keywords=Rev Date -*.ipr = svn:eol-style=native -*.iml = svn:eol-style=native -*.project = svn:eol-style=native -*.classpath = svn:eol-style=native -README = svn:eol-style=native;svn:keywords=Rev Date -LICENSE = svn:eol-style=native -NOTICE = svn:eol-style=native - diff --git a/cpp/etc/svn-ignore b/cpp/etc/svn-ignore deleted file mode 100644 index cf9bd507e4..0000000000 --- a/cpp/etc/svn-ignore +++ /dev/null @@ -1,40 +0,0 @@ -configure -Makefile.in -config.log -depcomp -config.guess -config.h -config.sub -ltmain.sh -Makefile -config.status -stamp-h1 -config.h.in -libtool -autom4te.cache -missing -aclocal.m4 -install-sh -.deps -*.dat -.libs -tmp -build -.project -.cdtproject -.settings -*_Proxy.cpp -*_Proxy.h -*_Wrapper.cpp -*_Wrapper.h -.pydevproject -*.lib -*.dll -*.exe -*.suo -*.ncb -*.user -*.pdb -Debug -Release -gmon.out diff --git a/java/sca/shades/base/pom.xml b/java/sca/shades/base/pom.xml index 4cb28c5f29..0e9e451ff6 100644 --- a/java/sca/shades/base/pom.xml +++ b/java/sca/shades/base/pom.xml @@ -61,6 +61,16 @@ tuscany-binding-sca-runtime-rmi ${pom.version} + + ${pom.groupId} + tuscany-sca-client-javascript + ${pom.version} + + + ${pom.groupId} + tuscany-sca-client-rmi + ${pom.version} + ${pom.groupId} tuscany-binding-jms-runtime diff --git a/sdo-cpp/trunk/BUILDING b/sdo-cpp/trunk/BUILDING new file mode 100644 index 0000000000..bfb87e7028 --- /dev/null +++ b/sdo-cpp/trunk/BUILDING @@ -0,0 +1,73 @@ +Tuscany C++ Build Instructions for Developers +============================================= + +Download the source from http://svn.apache.org/repos/asf/incubator/tuscany/cpp +The download location is + +Linux Build +=========== + +Prereqs: +- libxml2 (version 2.6.20 or whichever version is prereq'd by axis2c) +- Axis2C (version 0.94) + +Environment: +- export LIBXML2_INCLUDE= +- export LIBXML2_LIB= +- export AXIS2C_HOME= + + +Build: +- cd /sdo +- ./build.sh + +This builds the SDO subproject then SCA. The results are installed in + /sdo/deploy + +SDO Test +-------- + +Run: +- cd /sdo +- ./sdotest.sh + + +Linux distribution build +======================== +To build the distro zips for linux: + +1. Download the source from http://svn.apache.org/repos/asf/incubator/tuscany/cpp +The download location is + +2. cd /sdo + +3. set the environment + - export LIBXML2_INCLUDE= + - export LIBXML2_LIB= + - export AXIS2C_HOME= + +4. ./builddist.sh + This produces a src and bin zip for Tuscany SDO + +Windows Build +============= + +Microsoft Visual Studio Express projects are provided for building on Windows. + +SDO +--- + +Prereqs: + +- libxml2 (tested with version 2.6.19) +- Axis2C (version 0.94) + +1. Set the following environment variables to point to the location of the dependencies: + LIBXML2_INCLUDE= + LIBXML2_LIB= + AXIS2C_HOME= + +2. cd \sdo + +3. .\build.bat + diff --git a/sdo-cpp/trunk/etc/addLicense2cpp.pl b/sdo-cpp/trunk/etc/addLicense2cpp.pl new file mode 100644 index 0000000000..668b2c943d --- /dev/null +++ b/sdo-cpp/trunk/etc/addLicense2cpp.pl @@ -0,0 +1,85 @@ +#!/usr/bin/perl +# +# 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. +# +#=================================================================== +# Change the old license header to remove the copyright ASF line +# and replace it with the new "Licensed under the ..." text. +# Note that this should not be applied to the collective copyright +# in, for example, a README file that describes the work as a whole. +#=================================================================== +# +# Usage: newlicense.pl *.java +# or +# find . -name .svn -prune -o -type f -print0 | xargs -0 copy2license.pl +# +sub ShowUsage { + print qq! +Usage: $0 file [ file ... ] + + where: + + file = a file in which to substitute license text + +!; +} +#=================================================================== + +# ensure proper usage +if (scalar @ARGV < 1) { + ShowUsage(); + exit; +} + +undef $/; # slurp the whole file + +$newtext = <<"EOTEXT"; +/* + * 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. + */ +EOTEXT + +# process each filename that was supplied +while ($filename = shift) { + open(INFILE, $filename) || die ("Cannot read from $filename, $!\n"); + $wholething = ; + close INFILE; + + if ($wholething =~ s/\A.*?#include /${newtext}#include /s) { + open(OUTFILE, ">$filename") || die ("Cannot write to $filename, $!\n"); + print OUTFILE $wholething; + close OUTFILE; + } +} + +$/ = "\n"; # reset the input record separator + +exit 0; diff --git a/sdo-cpp/trunk/etc/addLicense2cppheader.pl b/sdo-cpp/trunk/etc/addLicense2cppheader.pl new file mode 100644 index 0000000000..4e347605f6 --- /dev/null +++ b/sdo-cpp/trunk/etc/addLicense2cppheader.pl @@ -0,0 +1,85 @@ +#!/usr/bin/perl +# +# 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. +# +#=================================================================== +# Change the old license header to remove the copyright ASF line +# and replace it with the new "Licensed under the ..." text. +# Note that this should not be applied to the collective copyright +# in, for example, a README file that describes the work as a whole. +#=================================================================== +# +# Usage: newlicense.pl *.java +# or +# find . -name .svn -prune -o -type f -print0 | xargs -0 copy2license.pl +# +sub ShowUsage { + print qq! +Usage: $0 file [ file ... ] + + where: + + file = a file in which to substitute license text + +!; +} +#=================================================================== + +# ensure proper usage +if (scalar @ARGV < 1) { + ShowUsage(); + exit; +} + +undef $/; # slurp the whole file + +$newtext = <<"EOTEXT"; +/* + * 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. + */ +EOTEXT + +# process each filename that was supplied +while ($filename = shift) { + open(INFILE, $filename) || die ("Cannot read from $filename, $!\n"); + $wholething = ; + close INFILE; + + if ($wholething =~ s/\A.*?#ifndef /${newtext}#ifndef /s) { + open(OUTFILE, ">$filename") || die ("Cannot write to $filename, $!\n"); + print OUTFILE $wholething; + close OUTFILE; + } +} + +$/ = "\n"; # reset the input record separator + +exit 0; diff --git a/sdo-cpp/trunk/etc/svn-config b/sdo-cpp/trunk/etc/svn-config new file mode 100644 index 0000000000..4f8cb41685 --- /dev/null +++ b/sdo-cpp/trunk/etc/svn-config @@ -0,0 +1,136 @@ +### This file configures various client-side behaviors. +### +### The commented-out examples below are intended to demonstrate +### how to use this file. + +### Section for authentication and authorization customizations. +[auth] +### Set store-passwords to 'no' to avoid storing passwords in the +### auth/ area of your config directory. It defaults to 'yes'. +### Note that this option only prevents saving of *new* passwords; +### it doesn't invalidate existing passwords. (To do that, remove +### the cache files by hand as described in the Subversion book.) +# store-passwords = no +### Set store-auth-creds to 'no' to avoid storing any subversion +### credentials in the auth/ area of your config directory. +### It defaults to 'yes'. Note that this option only prevents +### saving of *new* credentials; it doesn't invalidate existing +### caches. (To do that, remove the cache files by hand.) +# store-auth-creds = no + +### Section for configuring external helper applications. +[helpers] +### Set editor to the command used to invoke your text editor. +### This will override the environment variables that Subversion +### examines by default to find this information ($EDITOR, +### et al). +# editor-cmd = editor (vi, emacs, notepad, etc.) +### Set diff-cmd to the absolute path of your 'diff' program. +### This will override the compile-time default, which is to use +### Subversion's internal diff implementation. +# diff-cmd = diff_program (diff, gdiff, etc.) +### Set diff3-cmd to the absolute path of your 'diff3' program. +### This will override the compile-time default, which is to use +### Subversion's internal diff3 implementation. +# diff3-cmd = diff3_program (diff3, gdiff3, etc.) +### Set diff3-has-program-arg to 'true' or 'yes' if your 'diff3' +### program accepts the '--diff-program' option. +# diff3-has-program-arg = [true | false] + +### Section for configuring tunnel agents. +[tunnels] +### Configure svn protocol tunnel schemes here. By default, only +### the 'ssh' scheme is defined. You can define other schemes to +### be used with 'svn+scheme://hostname/path' URLs. A scheme +### definition is simply a command, optionally prefixed by an +### environment variable name which can override the command if it +### is defined. The command (or environment variable) may contain +### arguments, using standard shell quoting for arguments with +### spaces. The command will be invoked as: +### svnserve -t +### (If the URL includes a username, then the hostname will be +### passed to the tunnel agent as @.) If the +### built-in ssh scheme were not predefined, it could be defined +### as: +# ssh = $SVN_SSH ssh +### If you wanted to define a new 'rsh' scheme, to be used with +### 'svn+rsh:' URLs, you could do so as follows: +# rsh = rsh +### Or, if you wanted to specify a full path and arguments: +# rsh = /path/to/rsh -l myusername +### On Windows, if you are specifying a full path to a command, +### use a forward slash (/) or a paired backslash (\\) as the +### path separator. A single backslash will be treated as an +### escape for the following character. + +### Section for configuring miscelleneous Subversion options. +[miscellany] +### Set global-ignores to a set of whitespace-delimited globs +### which Subversion will ignore in its 'status' output. +# global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store +### Set log-encoding to the default encoding for log messages +# log-encoding = latin1 +### Set use-commit-times to make checkout/update/switch/revert +### put last-committed timestamps on every file touched. +# use-commit-times = yes +### Set no-unlock to prevent 'svn commit' from automatically +### releasing locks on files. +# no-unlock = yes +### Set enable-auto-props to 'yes' to enable automatic properties +### for 'svn add' and 'svn import', it defaults to 'no'. +### Automatic properties are defined in the section 'auto-props'. +enable-auto-props = yes + +### Section for configuring automatic properties. +[auto-props] +### The format of the entries is: +### file-name-pattern = propname[=value][;propname[=value]...] +### The file-name-pattern can contain wildcards (such as '*' and +### '?'). All entries which match will be applied to the file. +### Note that auto-props functionality must be enabled, which +### is typically done by setting the 'enable-auto-props' option. +# *.c = svn:eol-style=native +# *.cpp = svn:eol-style=native +# *.h = svn:eol-style=native +# *.dsp = svn:eol-style=CRLF +# *.dsw = svn:eol-style=CRLF +# *.sh = svn:eol-style=native;svn:executable +# *.txt = svn:eol-style=native +# *.png = svn:mime-type=image/png +# *.jpg = svn:mime-type=image/jpeg +# Makefile = svn:eol-style=native + +*.c = svn:eol-style=native;svn:keywords=Rev Date +*.cpp = svn:eol-style=native;svn:keywords=Rev Date +*.h = svn:eol-style=native;svn:keywords=Rev Date +*.dsp = svn:eol-style=CRLF +*.dsw = svn:eol-style=CRLF +*.sh = svn:eol-style=native;svn:executable;svn:keywords=Rev Date +*.bat = svn:eol-style=native;svn:keywords=Rev Date +*.txt = svn:eol-style=native;svn:keywords=Rev Date +*.png = svn:mime-type=image/png +*.jpg = svn:mime-type=image/jpeg +*.am = svn:eol-style=native;svn:keywords=Rev Date +*.ac = svn:eol-style=native;svn:keywords=Rev Date +*.xml = svn:eol-style=native;svn:keywords=Rev Date +*.xsd = svn:eol-style=native;svn:keywords=Rev Date +*.html = svn:eol-style=native;svn:keywords=Rev Date +*.wsdl = svn:eol-style=native;svn:keywords=Rev Date +*.xsd = svn:eol-style=native;svn:keywords=Rev Date +*.composite = svn:eol-style=native;svn:keywords=Rev Date +*.componentType = svn:eol-style=native;svn:keywords=Rev Date +*.rb = svn:eol-style=native;svn:keywords=Rev Date +*.py = svn:eol-style=native;svn:keywords=Rev Date +*.php = svn:eol-style=native;svn:keywords=Rev Date +*.js = svn:eol-style=native;svn:keywords=Rev Date +*.java = svn:eol-style=native;svn:keywords=Rev Date +*.properties = svn:eol-style=native;svn:keywords=Rev Date +*.jelly = svn:eol-style=native;svn:keywords=Rev Date +*.ipr = svn:eol-style=native +*.iml = svn:eol-style=native +*.project = svn:eol-style=native +*.classpath = svn:eol-style=native +README = svn:eol-style=native;svn:keywords=Rev Date +LICENSE = svn:eol-style=native +NOTICE = svn:eol-style=native + diff --git a/sdo-cpp/trunk/etc/svn-ignore b/sdo-cpp/trunk/etc/svn-ignore new file mode 100644 index 0000000000..cf9bd507e4 --- /dev/null +++ b/sdo-cpp/trunk/etc/svn-ignore @@ -0,0 +1,40 @@ +configure +Makefile.in +config.log +depcomp +config.guess +config.h +config.sub +ltmain.sh +Makefile +config.status +stamp-h1 +config.h.in +libtool +autom4te.cache +missing +aclocal.m4 +install-sh +.deps +*.dat +.libs +tmp +build +.project +.cdtproject +.settings +*_Proxy.cpp +*_Proxy.h +*_Wrapper.cpp +*_Wrapper.h +.pydevproject +*.lib +*.dll +*.exe +*.suo +*.ncb +*.user +*.pdb +Debug +Release +gmon.out -- cgit v1.2.3