You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by mr...@apache.org on 2007/05/15 18:59:49 UTC
svn commit: r538254 [3/3] - in
/incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING: ./
axis2-war/src/main/webapp/WEB-INF/classes/ axis2/src/test/resources/
bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/
bpel-compiler/src/test/resources/ bp...
Modified: incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestTimer/test.properties
URL: http://svn.apache.org/viewvc/incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestTimer/test.properties?view=diff&rev=538254&r1=538253&r2=538254
==============================================================================
--- incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestTimer/test.properties (original)
+++ incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestTimer/test.properties Tue May 15 09:59:43 2007
@@ -1,3 +1,20 @@
+#
+# 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.
+#
+
namespace=http://ode/bpel/unit-test/testTimer.wsdl
service=testTimerService
operation=request
Modified: incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestVersionedRedeploy/HelloWorld-1/test.properties
URL: http://svn.apache.org/viewvc/incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestVersionedRedeploy/HelloWorld-1/test.properties?view=diff&rev=538254&r1=538253&r2=538254
==============================================================================
--- incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestVersionedRedeploy/HelloWorld-1/test.properties (original)
+++ incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestVersionedRedeploy/HelloWorld-1/test.properties Tue May 15 09:59:43 2007
@@ -1,3 +1,20 @@
+#
+# 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.
+#
+
namespace=http://ode/bpel/unit-test.wsdl
service=HelloService
operation=hello
Modified: incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestVersionedRedeploy/HelloWorld-2/test.properties
URL: http://svn.apache.org/viewvc/incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestVersionedRedeploy/HelloWorld-2/test.properties?view=diff&rev=538254&r1=538253&r2=538254
==============================================================================
--- incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestVersionedRedeploy/HelloWorld-2/test.properties (original)
+++ incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestVersionedRedeploy/HelloWorld-2/test.properties Tue May 15 09:59:43 2007
@@ -1,3 +1,20 @@
+#
+# 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.
+#
+
namespace=http://ode/bpel/unit-test.wsdl
service=HelloService
operation=hello
Modified: incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestVersionedRedeploy/HelloWorld-3/test.properties
URL: http://svn.apache.org/viewvc/incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestVersionedRedeploy/HelloWorld-3/test.properties?view=diff&rev=538254&r1=538253&r2=538254
==============================================================================
--- incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestVersionedRedeploy/HelloWorld-3/test.properties (original)
+++ incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestVersionedRedeploy/HelloWorld-3/test.properties Tue May 15 09:59:43 2007
@@ -1,3 +1,20 @@
+#
+# 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.
+#
+
namespace=http://ode/bpel/unit-test.wsdl
service=HelloService
operation=hello
Modified: incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/test1.properties
URL: http://svn.apache.org/viewvc/incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/test1.properties?view=diff&rev=538254&r1=538253&r2=538254
==============================================================================
--- incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/test1.properties (original)
+++ incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/test1.properties Tue May 15 09:59:43 2007
@@ -1,3 +1,20 @@
+#
+# 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.
+#
+
namespace=http://ode/bpel/unit-test/TestXPathNamespace1.wsdl
service=TestXPathNamespace1Service
operation=request
Modified: incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace2/test1.properties
URL: http://svn.apache.org/viewvc/incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace2/test1.properties?view=diff&rev=538254&r1=538253&r2=538254
==============================================================================
--- incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace2/test1.properties (original)
+++ incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace2/test1.properties Tue May 15 09:59:43 2007
@@ -1,3 +1,20 @@
+#
+# 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.
+#
+
namespace=http://ode/bpel/unit-test/TestXPathNamespace2.wsdl
service=TestXPathNamespace2Service
operation=operation1
Modified: incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestXslTransform/test.properties
URL: http://svn.apache.org/viewvc/incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestXslTransform/test.properties?view=diff&rev=538254&r1=538253&r2=538254
==============================================================================
--- incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestXslTransform/test.properties (original)
+++ incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/bpel-test/src/test/resources/bpel/2.0/TestXslTransform/test.properties Tue May 15 09:59:43 2007
@@ -1,3 +1,20 @@
+#
+# 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.
+#
+
namespace=http://ode/bpel/unit-test.wsdl
service=HelloXslService
operation=helloXsl
Modified: incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/jacob/src/xdt/org/apache/ode/jacob/ChannelListener.xdt
URL: http://svn.apache.org/viewvc/incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/jacob/src/xdt/org/apache/ode/jacob/ChannelListener.xdt?view=diff&rev=538254&r1=538253&r2=538254
==============================================================================
--- incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/jacob/src/xdt/org/apache/ode/jacob/ChannelListener.xdt (original)
+++ incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/jacob/src/xdt/org/apache/ode/jacob/ChannelListener.xdt Tue May 15 09:59:43 2007
@@ -1,4 +1,21 @@
/*
+ * 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.
+ *
* SOURCE FILE GENERATATED BY JACOB CHANNEL CLASS GENERATOR
* !!! DO NOT EDIT !!!!
*/
Modified: incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/jacob/src/xdt/org/apache/ode/jacob/channel.xdt
URL: http://svn.apache.org/viewvc/incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/jacob/src/xdt/org/apache/ode/jacob/channel.xdt?view=diff&rev=538254&r1=538253&r2=538254
==============================================================================
--- incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/jacob/src/xdt/org/apache/ode/jacob/channel.xdt (original)
+++ incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/jacob/src/xdt/org/apache/ode/jacob/channel.xdt Tue May 15 09:59:43 2007
@@ -1,4 +1,21 @@
/*
+ * 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.
+ *
* SOURCE FILE GENERATATED BY JACOB CHANNEL CLASS GENERATOR
* !!! DO NOT EDIT !!!!
*/
Modified: incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/jbi/src/test/resources/carol.properties
URL: http://svn.apache.org/viewvc/incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/jbi/src/test/resources/carol.properties?view=diff&rev=538254&r1=538253&r2=538254
==============================================================================
--- incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/jbi/src/test/resources/carol.properties (original)
+++ incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/jbi/src/test/resources/carol.properties Tue May 15 09:59:43 2007
@@ -1,3 +1,20 @@
+#
+# 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.
+#
+
# JNDI (Protocol Invocation)
#carol.protocols=jrmp
Modified: incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/jbi/src/test/resources/log4j.properties
URL: http://svn.apache.org/viewvc/incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/jbi/src/test/resources/log4j.properties?view=diff&rev=538254&r1=538253&r2=538254
==============================================================================
--- incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/jbi/src/test/resources/log4j.properties (original)
+++ incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/jbi/src/test/resources/log4j.properties Tue May 15 09:59:43 2007
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
# Set root logger level to WARN and its only appender to CONSOLE
log4j.rootLogger=WARN, CONSOLE
Modified: incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/tasks/clover.rake
URL: http://svn.apache.org/viewvc/incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/tasks/clover.rake?view=diff&rev=538254&r1=538253&r2=538254
==============================================================================
--- incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/tasks/clover.rake (original)
+++ incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/tasks/clover.rake Tue May 15 09:59:43 2007
@@ -1,3 +1,20 @@
+#
+# 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.
+#
+
module Clover
REQUIRES = Buildr.artifacts("clover:clover:jar:1.3.11")
Modified: incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/tasks/derby.rake
URL: http://svn.apache.org/viewvc/incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/tasks/derby.rake?view=diff&rev=538254&r1=538253&r2=538254
==============================================================================
--- incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/tasks/derby.rake (original)
+++ incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/tasks/derby.rake Tue May 15 09:59:43 2007
@@ -1,3 +1,20 @@
+#
+# 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.
+#
+
module Derby
REQUIRES = Buildr.group("derby", "derbytools", :under=>"org.apache.derby", :version=>"10.1.2.1")
Modified: incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/tasks/headers.rake
URL: http://svn.apache.org/viewvc/incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/tasks/headers.rake?view=diff&rev=538254&r1=538253&r2=538254
==============================================================================
--- incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/tasks/headers.rake (original)
+++ incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/tasks/headers.rake Tue May 15 09:59:43 2007
@@ -1,3 +1,20 @@
+#
+# 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.
+#
+
namespace "check" do
desc "Checks license headers."
@@ -44,7 +61,26 @@
~ under the License.
-->
EOF
- licenses[".bpel"] = licenses[".wsdl"] = licenses[".xml"]
+ licenses[".properties"] = <<EOF
+#
+# 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.
+#
+EOF
+ licenses[".bpel"] = licenses[".wsdl"] = licenses[".xsd"] = licenses[".xml"]
+ licenses[".rake"] = licenses[".tdef"] = licenses[".properties"]
# This also tells us which files to look at.
extensions = licenses.keys.join(",")
count = FileList["**/*{#{extensions}}"].inject(0) do |count, filename|
@@ -52,8 +88,17 @@
when_writing "Missing header in #{filename}" do
# Figure the license from the file, inject it into the file and rewrite it.
license = licenses[filename.pathmap("%x")]
- modified = File.read(filename).sub(/(<\?xml .*\?>\n?)(.*)/m) { "#{$1}#{license}#{$2}" }
- File.open(filename, "w") { |file| file.write modified }
+ if license
+ content = File.read(filename)
+ if (content =~ /<\?xml .*\?>/)
+ modified = content.sub(/(<\?xml .*\?>\n?)(.*)/m) { "#{$1}#{license}#{$2}" }
+ else
+ modified = license + "\n" + content
+ end
+ File.open(filename, "w") { |file| file.write modified }
+ else
+ puts "Skipping unknown extension for file #{filename}"
+ end
count + 1
end
else
Modified: incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/tasks/hibernate.rake
URL: http://svn.apache.org/viewvc/incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/tasks/hibernate.rake?view=diff&rev=538254&r1=538253&r2=538254
==============================================================================
--- incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/tasks/hibernate.rake (original)
+++ incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/tasks/hibernate.rake Tue May 15 09:59:43 2007
@@ -1,3 +1,20 @@
+#
+# 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.
+#
+
module Hibernate
REQUIRES = Buildr.struct(
Modified: incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/tasks/jbi.rake
URL: http://svn.apache.org/viewvc/incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/tasks/jbi.rake?view=diff&rev=538254&r1=538253&r2=538254
==============================================================================
--- incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/tasks/jbi.rake (original)
+++ incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/tasks/jbi.rake Tue May 15 09:59:43 2007
@@ -1,3 +1,20 @@
+#
+# 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 task creates a JBI package based on the component/bootstrap specification.
# It extends ZipTask, and all its over lovely options.
#
Modified: incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/tasks/jdepend.rake
URL: http://svn.apache.org/viewvc/incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/tasks/jdepend.rake?view=diff&rev=538254&r1=538253&r2=538254
==============================================================================
--- incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/tasks/jdepend.rake (original)
+++ incubator/ode/tags/APACHE_ODE_1.0-RC3-INCUBATING/tasks/jdepend.rake Tue May 15 09:59:43 2007
@@ -1,3 +1,20 @@
+#
+# 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.
+#
+
module Jdepend
REQUIRES = ["jdepend:jdepend:jar:2.9.1"]