Author: ggrekhov
Date: Tue Aug  7 09:26:22 2012
New Revision: 1370153

URL: http://svn.apache.org/viewvc?rev=1370153&view=rev
Log:
Teambox: add license headers and rat task

Added:
    incubator/openmeetings/trunk/plugins/teambox/ivy.xml   (with props)
Modified:
    incubator/openmeetings/trunk/plugins/teambox/build.xml
    incubator/openmeetings/trunk/plugins/teambox/config/.htaccess
    incubator/openmeetings/trunk/plugins/teambox/config/settings.ini
    incubator/openmeetings/trunk/plugins/teambox/css/index.css
    incubator/openmeetings/trunk/plugins/teambox/css/teambox-print.css
    incubator/openmeetings/trunk/plugins/teambox/css/teambox.css

Modified: incubator/openmeetings/trunk/plugins/teambox/build.xml
URL: 
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/plugins/teambox/build.xml?rev=1370153&r1=1370152&r2=1370153&view=diff
==============================================================================
--- incubator/openmeetings/trunk/plugins/teambox/build.xml (original)
+++ incubator/openmeetings/trunk/plugins/teambox/build.xml Tue Aug  7 09:26:22 
2012
@@ -14,7 +14,10 @@
  -->
 <!DOCTYPE project>
 <project name="openmeetings teambox plugin" basedir="./" default="dist-bin" 
-       xmlns="antlib:org.apache.tools.ant">
+       xmlns="antlib:org.apache.tools.ant"
+       xmlns:rat="antlib:org.apache.rat.anttasks"
+       xmlns:ivy="antlib:org.apache.ivy.ant"
+       >
 
        <property name="dist.dir" value="dist" />
        <property name="project.version" value="1.0" />
@@ -58,4 +61,42 @@
                <delete includeemptydirs="true" dir="${dist.dir}" />
        </target>
 
+       <!-- RAT -->
+       <property name="ivy.install.version" value="2.3.0-rc1" />
+       <property name="project.lib.dir" value="${dist.dir}/lib" />
+       <property name="ivy.jar.path" 
value="${project.lib.dir}/ivy-${ivy.install.version}.jar" />
+       
+       <available file="${ivy.jar.path}" type="file" property="ivy.installed" 
/>
+       <target name="-download-ivy" unless="ivy.installed">
+               <mkdir dir="${project.lib.dir}"/>
+               <echo message="Downloading ivy..."/>
+               <get 
src="http://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.install.version}/ivy-${ivy.install.version}.jar";
+                       dest="${ivy.jar.path}" usetimestamp="true"/>
+       </target>
+       
+       <path id="rat.classpath">
+               <fileset dir="${project.lib.dir}" includes="*.jar" />
+       </path>
+       <target name="-availability-check" unless="red5.installed" 
description="Check which libraries need to be retrieved">
+               <mkdir dir="${project.lib.dir}"/>
+               <available classpathref="rat.classpath" 
classname="org.apache.rat.Report" property="rat.installed" />
+       </target>
+       <!-- Check for rat libraries -->
+       <target name="-retrieve-rat" unless="rat.installed" 
description="Retrieves the libraries if needed" depends="-availability-check, 
-download-ivy">
+               <taskdef uri="antlib:org.apache.ivy.ant" 
resource="org/apache/ivy/ant/antlib.xml" classpath="${ivy.jar.path}"/>
+               
+               <ivy:resolve file="ivy.xml" checkIfChanged="false" 
transitive="false" />
+               <ivy:retrieve 
pattern="${project.lib.dir}/[artifact]-[type]-[revision].[ext]" />
+       </target>
+               
+       <target name="report_rat" depends="-retrieve-rat">
+               <taskdef uri="antlib:org.apache.rat.anttasks" 
resource="org/apache/rat/anttasks/antlib.xml" classpathref="rat.classpath" />
+
+               <rat:report>
+                       <fileset dir="${basedir}">
+                               <exclude name="*dist/**" />
+                       </fileset>
+               </rat:report>
+       </target>
+
 </project>

Modified: incubator/openmeetings/trunk/plugins/teambox/config/.htaccess
URL: 
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/plugins/teambox/config/.htaccess?rev=1370153&r1=1370152&r2=1370153&view=diff
==============================================================================
--- incubator/openmeetings/trunk/plugins/teambox/config/.htaccess (original)
+++ incubator/openmeetings/trunk/plugins/teambox/config/.htaccess Tue Aug  7 
09:26:22 2012
@@ -1,2 +1,14 @@
+#   Licensed 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.
+
 Order Deny,Allow
 Deny from all

Modified: incubator/openmeetings/trunk/plugins/teambox/config/settings.ini
URL: 
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/plugins/teambox/config/settings.ini?rev=1370153&r1=1370152&r2=1370153&view=diff
==============================================================================
--- incubator/openmeetings/trunk/plugins/teambox/config/settings.ini (original)
+++ incubator/openmeetings/trunk/plugins/teambox/config/settings.ini Tue Aug  7 
09:26:22 2012
@@ -1,6 +1,19 @@
+;   Licensed 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 up "host" where OpenMeetings is installed.
 ; Choose http or https
-; Set up TeamBox, OpenMeetings and mysql access
+; Set up Teambox, OpenMeetings and mysql access
 
 [OpenMeetings protocol]
 https = 0;

Modified: incubator/openmeetings/trunk/plugins/teambox/css/index.css
URL: 
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/plugins/teambox/css/index.css?rev=1370153&r1=1370152&r2=1370153&view=diff
==============================================================================
--- incubator/openmeetings/trunk/plugins/teambox/css/index.css (original)
+++ incubator/openmeetings/trunk/plugins/teambox/css/index.css Tue Aug  7 
09:26:22 2012
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License") +  you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 html, body {
        background-color: transparent;
 }

Modified: incubator/openmeetings/trunk/plugins/teambox/css/teambox-print.css
URL: 
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/plugins/teambox/css/teambox-print.css?rev=1370153&r1=1370152&r2=1370153&view=diff
==============================================================================
--- incubator/openmeetings/trunk/plugins/teambox/css/teambox-print.css 
(original)
+++ incubator/openmeetings/trunk/plugins/teambox/css/teambox-print.css Tue Aug  
7 09:26:22 2012
@@ -1,4 +1,23 @@
 @charset "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.
+ */
+
 .inline {
   display: inline; }
 

Modified: incubator/openmeetings/trunk/plugins/teambox/css/teambox.css
URL: 
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/plugins/teambox/css/teambox.css?rev=1370153&r1=1370152&r2=1370153&view=diff
==============================================================================
--- incubator/openmeetings/trunk/plugins/teambox/css/teambox.css (original)
+++ incubator/openmeetings/trunk/plugins/teambox/css/teambox.css Tue Aug  7 
09:26:22 2012
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License") +  you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 /*html5doctor.com Reset Stylesheet
  *v1.6.1
  *Last Updated: 2010-09-17

Added: incubator/openmeetings/trunk/plugins/teambox/ivy.xml
URL: 
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/plugins/teambox/ivy.xml?rev=1370153&view=auto
==============================================================================
--- incubator/openmeetings/trunk/plugins/teambox/ivy.xml (added)
+++ incubator/openmeetings/trunk/plugins/teambox/ivy.xml Tue Aug  7 09:26:22 
2012
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   Licensed 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.
+ -->
+<ivy-module version="2.0"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       
xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd";>
+       <info organisation="apache" module="openmeetings" />
+       <configurations defaultconfmapping="default">
+               <conf name="default" />
+       </configurations>
+       <dependencies>
+               <dependency org="org.apache.rat" name="apache-rat-core" 
rev="0.8" transitive="false">
+                       <include type="jar" />
+               </dependency>
+               <dependency org="org.apache.rat" name="apache-rat-tasks" 
rev="0.8" transitive="false">
+                       <include type="jar" />
+               </dependency>
+               <dependency org="commons-cli" name="commons-cli" rev="1.2" 
transitive="false">
+                       <include type="jar" />
+               </dependency>
+               <dependency org="commons-io" name="commons-io" rev="2.1" 
transitive="false">
+                       <include type="jar" />
+               </dependency>
+               <dependency org="org.apache.commons" name="commons-collections" 
rev="3.2.1">
+                       <include type="jar" />
+               </dependency>
+               <dependency org="commons-lang" name="commons-lang" rev="2.6" 
transitive="false">
+                       <include type="jar" />
+               </dependency>
+       </dependencies>
+</ivy-module>

Propchange: incubator/openmeetings/trunk/plugins/teambox/ivy.xml
------------------------------------------------------------------------------
    svn:eol-style = native


Reply via email to