jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r731138 - in /jakarta/taglibs/proper/log/trunk: LICENSE.txt NOTICE.txt build.xml doc/ pom.xml src/assembly/ src/main/ src/main/resources/ src/main/resources/META-INF/ src/main/resources/META-INF/taglibs-log.tld xdocs/ xdocs/index.xml xml/
Date Sun, 04 Jan 2009 00:25:41 GMT
Author: bayard
Date: Sat Jan  3 16:25:40 2009
New Revision: 731138

URL: http://svn.apache.org/viewvc?rev=731138&view=rev
Log:
Migrating to M2

Added:
    jakarta/taglibs/proper/log/trunk/LICENSE.txt
      - copied unchanged from r731102, jakarta/taglibs/proper/string/trunk/LICENSE.txt
    jakarta/taglibs/proper/log/trunk/NOTICE.txt
      - copied unchanged from r731102, jakarta/taglibs/proper/string/trunk/NOTICE.txt
    jakarta/taglibs/proper/log/trunk/pom.xml   (with props)
    jakarta/taglibs/proper/log/trunk/src/assembly/
      - copied from r731102, jakarta/taglibs/proper/string/trunk/src/assembly/
    jakarta/taglibs/proper/log/trunk/src/main/
    jakarta/taglibs/proper/log/trunk/src/main/resources/
    jakarta/taglibs/proper/log/trunk/src/main/resources/META-INF/
    jakarta/taglibs/proper/log/trunk/src/main/resources/META-INF/taglibs-log.tld   (with props)
    jakarta/taglibs/proper/log/trunk/xdocs/
    jakarta/taglibs/proper/log/trunk/xdocs/index.xml   (with props)
Removed:
    jakarta/taglibs/proper/log/trunk/build.xml
    jakarta/taglibs/proper/log/trunk/doc/
    jakarta/taglibs/proper/log/trunk/xml/

Added: jakarta/taglibs/proper/log/trunk/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/taglibs/proper/log/trunk/pom.xml?rev=731138&view=auto
==============================================================================
--- jakarta/taglibs/proper/log/trunk/pom.xml (added)
+++ jakarta/taglibs/proper/log/trunk/pom.xml Sat Jan  3 16:25:40 2009
@@ -0,0 +1,79 @@
+<?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.
+-->
+<!-- TODO:
+    Generate the doc war
+    Generate the examples war
+-->
+<project
+    xmlns="http://maven.apache.org/POM/4.0.0"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.taglibs</groupId>
+    <artifactId>taglibs-parent</artifactId>
+    <version>1-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>log-taglib</artifactId>
+  <version>1.1-SNAPSHOT</version>
+  <name>Jakarta Log Taglib</name>
+
+  <inceptionYear>2003</inceptionYear>
+  <description>
+    The Log library allows you to embed logging calls in your JSP which can be output to
a variety of destinations.
+  </description>
+
+  <url>http://jakarta.apache.org/taglibs/doc/log-doc/intro.html</url>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/jakarta/taglibs/proper/log/trunk</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/jakarta/taglibs/proper/log/trunk</developerConnection>
+    <url>http://svn.apache.org/viewvc/jakarta/taglibs/proper/log/trunk</url>
+  </scm>
+
+  <developers>
+    <developer>
+      <name>Joseph B. Ottinger</name>
+    </developer>
+    <developer>
+      <name>James Strachan</name>
+    </developer>
+  </developers>
+
+  <dependencies>
+    <dependency>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
+      <version>1.1.1</version>
+    </dependency>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>servlet-api</artifactId>
+      <version>2.4</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>jsp-api</artifactId>
+      <version>2.0</version>
+      <scope>provided</scope>
+    </dependency>
+  </dependencies> 
+
+</project>

Propchange: jakarta/taglibs/proper/log/trunk/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: jakarta/taglibs/proper/log/trunk/src/main/resources/META-INF/taglibs-log.tld
URL: http://svn.apache.org/viewvc/jakarta/taglibs/proper/log/trunk/src/main/resources/META-INF/taglibs-log.tld?rev=731138&view=auto
==============================================================================
--- jakarta/taglibs/proper/log/trunk/src/main/resources/META-INF/taglibs-log.tld (added)
+++ jakarta/taglibs/proper/log/trunk/src/main/resources/META-INF/taglibs-log.tld Sat Jan 
3 16:25:40 2009
@@ -0,0 +1,306 @@
+<?xml version="1.0" ?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  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.
+-->
+<taglib>
+
+  <tlib-version>1.0</tlib-version>
+  <jsp-version>1.1</jsp-version>
+  <short-name>log</short-name>
+  <uri>http://jakarta.apache.org/taglibs/log-1.0</uri>
+  <display-name>Log Tag library</display-name>
+
+  <description>
+    <p>
+    The Log library allows you to embed logging calls in your JSP which can be 
+    output to a variety of destinations thanks to the power of the
+    <a href="http://jakarta.apache.org/log4j/docs/index.html">log4j</a> project.
+    </p>
+
+    <b>Initialising log4j</b>
+
+    <p>By default these log tags do not explicitly initialise log4j, 
+    you are free to do that however you wish.
+    A common approach is to create a log4j servlet and for it to initialise
+    log4j using some configuration file or options specified in your web.xml
+    </p>
+
+    <p>My own personal preference is just to put a log4j.properties file
+    in the WEB-INF/classes directory and for that to have your log4j 
+    configuration. Then without any special servlets or initialisation
+    code log4j will correctly initialise itself. This approach also avoids
+    a single web app accidentally initialising log4j several times 
+    (e.g. via 2 different servlets).
+    </p>
+
+    <p>If you have any further questions regarding the configuration of
+    log4j please visit the 
+    <a href="http://jakarta.apache.org/log4j/docs/index.html">log4j</a> 
+    site or a log4j specific mailing list.
+    </p>
+</description> 
+    
+    <tag>
+      <name>debug</name>
+      <tag-class>org.apache.taglibs.log.DebugTag</tag-class>
+      <body-contents>JSP</body-contents>
+      <description>Displays a debug-level message</description>
+      <script-variable>No</script-variable>
+      <attribute>
+        <name>category</name>
+        <rtexprvalue>true</rtexprvalue>
+        <required>false</required>
+        <description>
+          The log4j category name used to log this message to. If this is not specified then
the default log4j category is used.
+        </description>
+      </attribute>
+      <attribute>
+        <name>message</name>
+        <rtexprvalue>true</rtexprvalue>
+        <required>false</required>
+        <description>
+          The message to log. 
+          If this is not specified then the body of the tag is used instead.
+        </description>
+      </attribute>
+      <attribute>
+        <name>exception</name>
+        <rtexprvalue>true</rtexprvalue>
+        <required>false</required>
+        <description>
+          The exception to log. 
+          If this is not specified then only the message will be logged.
+        </description>
+      </attribute>
+      <restrictions></restrictions>
+      <example>
+<![CDATA[
+<log:debug message="this is a message"/>
+
+<log:debug category="foo.bar" message="this is a message"/>
+
+<log:debug category="foo.bar">
+  this is a message
+</log:debug>
+]]>
+      </example>
+    </tag>
+
+    <tag>
+      <name>info</name>
+      <tag-class>org.apache.taglibs.log.InfoTag</tag-class>
+      <body-contents>JSP</body-contents>
+      <description>Displays a info-level message</description>
+      <script-variable>No</script-variable>
+      <attribute>
+        <name>category</name>
+        <rtexprvalue>true</rtexprvalue>
+        <required>false</required>
+        <description>
+          The log4j category name used to log this message to. If this is not specified then
the default log4j category is used.
+        </description>
+      </attribute>
+      <attribute>
+        <name>message</name>
+        <rtexprvalue>true</rtexprvalue>
+        <required>false</required>
+        <description>
+          The message to log. 
+          If this is not specified then the body of the tag is used instead.
+        </description>
+      </attribute>
+      <attribute>
+        <name>exception</name>
+        <rtexprvalue>true</rtexprvalue>
+        <required>false</required>
+        <description>
+          The exception to log. 
+          If this is not specified then only the message will be logged.
+        </description>
+      </attribute>
+      <restrictions></restrictions>
+      <example>
+<![CDATA[
+<log:info message="this is a message"/>
+
+<log:info category="foo.bar" message="this is a message"/>
+
+<log:info category="foo.bar">
+  this is a message
+</log:description>
+]]>
+      </example>
+    </tag>
+
+    <tag>
+      <name>warn</name>
+      <tag-class>org.apache.taglibs.log.WarnTag</tag-class>
+      <body-contents>JSP</body-contents>
+      <description>Displays a warn-level message</description>
+      <script-variable>No</script-variable>
+      <attribute>
+        <name>category</name>
+        <rtexprvalue>true</rtexprvalue>
+        <required>false</required>
+        <description>
+          The log4j category name used to log this message to. If this is not specified then
the default log4j category is used.
+        </description>
+      </attribute>
+      <attribute>
+        <name>message</name>
+        <rtexprvalue>true</rtexprvalue>
+        <required>false</required>
+        <description>
+          The message to log. 
+          If this is not specified then the body of the tag is used instead.
+        </description>
+      </attribute>
+      <attribute>
+        <name>exception</name>
+        <rtexprvalue>true</rtexprvalue>
+        <required>false</required>
+        <description>
+          The exception to log. 
+          If this is not specified then only the message will be logged.
+        </description>
+      </attribute>
+      <restrictions></restrictions>
+      <example>
+<![CDATA[
+<log:warn message="this is a message"/>
+
+<log:warn category="foo.bar" message="this is a message"/>
+
+<log:warn category="foo.bar">
+  this is a message
+</log:warn>
+]]>
+      </example>
+    </tag>
+
+    <tag>
+      <name>error</name>
+      <tag-class>org.apache.taglibs.log.ErrorTag</tag-class>
+      <body-contents>JSP</body-contents>
+      <description>Displays a error-level message</description>
+      <script-variable>No</script-variable>
+      <attribute>
+        <name>category</name>
+        <rtexprvalue>true</rtexprvalue>
+        <required>false</required>
+        <description>
+          The log4j category name used to log this message to. If this is not specified then
the default log4j category is used.
+        </description>
+      </attribute>
+      <attribute>
+        <name>message</name>
+        <rtexprvalue>true</rtexprvalue>
+        <required>false</required>
+        <description>
+          The message to log. 
+          If this is not specified then the body of the tag is used instead.
+        </description>
+      </attribute>
+      <attribute>
+        <name>exception</name>
+        <rtexprvalue>true</rtexprvalue>
+        <required>false</required>
+        <description>
+          The exception to log. 
+          If this is not specified then only the message will be logged.
+        </description>
+      </attribute>
+      <restrictions></restrictions>
+      <example>
+<![CDATA[
+<log:error message="this is a message"/>
+
+<log:error category="foo.bar" message="this is a message"/>
+
+<log:error category="foo.bar">
+  this is a message
+</log:error>
+]]>
+      </example>
+    </tag>
+
+    <tag>
+      <name>fatal</name>
+      <tag-class>org.apache.taglibs.log.FatalTag</tag-class>
+      <body-contents>JSP</body-contents>
+      <description>Displays a fatal message, usually as the application is about to
terminate</description>
+      <script-variable>No</script-variable>
+      <attribute>
+        <name>category</name>
+        <rtexprvalue>true</rtexprvalue>
+        <required>false</required>
+        <description>
+          The log4j category name used to log this message to. If this is not specified then
the default log4j category is used.
+        </description>
+      </attribute>
+      <attribute>
+        <name>message</name>
+        <rtexprvalue>true</rtexprvalue>
+        <required>false</required>
+        <description>
+          The message to log. 
+          If this is not specified then the body of the tag is used instead.
+        </description>
+      </attribute>
+      <attribute>
+        <name>exception</name>
+        <rtexprvalue>true</rtexprvalue>
+        <required>false</required>
+        <description>
+          The exception to log. 
+          If this is not specified then only the message will be logged.
+        </description>
+      </attribute>
+      <restrictions></restrictions>
+      <example>
+<![CDATA[
+<log:fatal message="oh dear I think I'm about to terminate"/>
+
+<log:fatal category="foo.bar" message="oh dear I think I'm about to terminate"/>
+
+<log:fatal category="foo.bar">
+  oh dear I think I'm about to terminate
+</log:fatal>
+]]>
+      </example>
+    </tag>
+
+    <tag>
+      <name>dump</name>
+      <tag-class>org.apache.taglibs.log.DumpTag</tag-class>
+      <body-contents>empty</body-contents>
+      <description>Displays all vars in the specified scope</description>
+      <script-variable>No</script-variable>
+      <attribute>
+        <name>scope</name>
+        <rtexprvalue>true</rtexprvalue>
+        <required>true</required>
+      </attribute>
+      <restrictions></restrictions>
+      <example>
+<![CDATA[
+<log:dump scope="page"/>
+<log:dump scope="request"/>
+<log:dump scope="session"/>
+<log:dump scope="application"/>
+]]>
+      </example>
+    </tag>
+</taglib>

Propchange: jakarta/taglibs/proper/log/trunk/src/main/resources/META-INF/taglibs-log.tld
------------------------------------------------------------------------------
    svn:eol-style = native

Added: jakarta/taglibs/proper/log/trunk/xdocs/index.xml
URL: http://svn.apache.org/viewvc/jakarta/taglibs/proper/log/trunk/xdocs/index.xml?rev=731138&view=auto
==============================================================================
--- jakarta/taglibs/proper/log/trunk/xdocs/index.xml (added)
+++ jakarta/taglibs/proper/log/trunk/xdocs/index.xml Sat Jan  3 16:25:40 2009
@@ -0,0 +1,56 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  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.
+-->
+<document url="./intro.xml">
+
+  <properties>
+    <title>Jakarta-Taglibs Project: Log Tag Library</title>
+  </properties>
+
+  <body>
+
+
+  <section name="Log Tag Library" href="Welcome">
+
+    <p>
+    The Log library allows you to embed logging calls in your JSP which can be 
+    output to a variety of destinations thanks to the power of the
+    <a href="http://jakarta.apache.org/log4j/docs/index.html">log4j</a> project.
+    </p>
+
+  </section>
+
+  <section name="News" href="News">
+    <table>
+      <tr><td>Date</td><td>News</td></tr>
+      <tr><td>01/12/2003</td><td>Version 1.0 Released</td></tr>
+    </table>
+  </section>
+
+  <section name="Download" href="Download">
+
+  <p>Download a binary distribution of the Log Tag Library</p>
+  <ul>
+  <li>
+    Download the Log Tag Library 1.0 Release from an
+    <a href="http://jakarta.apache.org/site/downloads/downloads_taglibs-log.cgi">
+    Apache Jakarta Project Mirror</a>
+  </li>
+
+  </section>
+
+  </body>
+</document>

Propchange: jakarta/taglibs/proper/log/trunk/xdocs/index.xml
------------------------------------------------------------------------------
    svn:eol-style = native



---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Mime
View raw message