Author: bayard Date: Sat Jan 3 02:53:02 2009 New Revision: 730971 URL: http://svn.apache.org/viewvc?rev=730971&view=rev Log: Starting to migrate unstandard to M2. Time to consider a parent pom.
Added: jakarta/taglibs/sandbox/unstandard/trunk/pom.xml (with props) jakarta/taglibs/sandbox/unstandard/trunk/src/main/ jakarta/taglibs/sandbox/unstandard/trunk/src/main/resources/ jakarta/taglibs/sandbox/unstandard/trunk/src/main/resources/META-INF/ jakarta/taglibs/sandbox/unstandard/trunk/src/main/resources/META-INF/unstandard.tld (with props) Added: jakarta/taglibs/sandbox/unstandard/trunk/pom.xml URL: http://svn.apache.org/viewvc/jakarta/taglibs/sandbox/unstandard/trunk/pom.xml?rev=730971&view=auto ============================================================================== --- jakarta/taglibs/sandbox/unstandard/trunk/pom.xml (added) +++ jakarta/taglibs/sandbox/unstandard/trunk/pom.xml Sat Jan 3 02:53:02 2009 @@ -0,0 +1,139 @@ +<?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</groupId> + <artifactId>apache</artifactId> + <version>4</version> + </parent> + + <groupId>org.apache.taglibs</groupId> + <artifactId>unstandard-taglib</artifactId> + <version>0.1-SNAPSHOT</version> + <name>Jakarta Unstandard Taglib</name> + + <inceptionYear>2003</inceptionYear> + <description> + The Unstandard Tag Library is a collection of tags and features which users have requested of the Jakarta Standard Tag Library. It is not really tied to the Standard Taglib or JSTL but is instead just somewhere to speed the availability of ideas before JSTL responds to user demand. + </description> + + <issueManagement> + <system>bugzilla</system> + <url>http://issues.apache.org/bugzilla/</url> + </issueManagement> + + <scm> + <connection>scm:svn:http://svn.apache.org/repos/asf/jakarta/taglibs/sandbox/unstandard/trunk</connection> + <developerConnection>scm:svn:https://svn.apache.org/repos/asf/jakarta/taglibs/sandbox/unstandard/trunk</developerConnection> + <url>http://svn.apache.org/viewvc/jakarta/taglibs/sandbox/unstandard/trunk</url> + </scm> + + <developers> + <developer> + <name>Henri Yandell</name> + <id>bayard</id> + </developer> + </developers> + + <dependencies> + <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> + <dependency> + <groupId>taglibs</groupId> + <artifactId>standard</artifactId> + <version>1.1.2</version> + <scope>provided</scope> + </dependency> + </dependencies> + + <build> + <sourceDirectory>src</sourceDirectory> + <resources> + <resource> + <directory>.</directory> + <targetPath>META-INF</targetPath> + <includes> + <include>../NOTICE</include> + <include>../LICENSE</include> + </includes> + </resource> + <resource> + <directory>src/main/resources/META-INF</directory> + <targetPath>META-INF</targetPath> + </resource> + </resources> + + <plugins> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <configuration> + <descriptors> + <descriptor>src/assembly/bin.xml</descriptor> + <descriptor>src/assembly/src.xml</descriptor> + </descriptors> + <tarLongFileMode>gnu</tarLongFileMode> + </configuration> + </plugin> + </plugins> + </build> + + <reporting> + <plugins> + <plugin> + <groupId>net.sourceforge.maven-taglib</groupId> + <artifactId>maven-taglib-plugin</artifactId> + </plugin> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <quiet>true</quiet> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-changes-plugin</artifactId> + <reportSets> + <reportSet> + <reports> + <report>changes-report</report> + </reports> + </reportSet> + </reportSets> + </plugin> + </plugins> + </reporting> + +</project> Propchange: jakarta/taglibs/sandbox/unstandard/trunk/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: jakarta/taglibs/sandbox/unstandard/trunk/src/main/resources/META-INF/unstandard.tld URL: http://svn.apache.org/viewvc/jakarta/taglibs/sandbox/unstandard/trunk/src/main/resources/META-INF/unstandard.tld?rev=730971&view=auto ============================================================================== --- jakarta/taglibs/sandbox/unstandard/trunk/src/main/resources/META-INF/unstandard.tld (added) +++ jakarta/taglibs/sandbox/unstandard/trunk/src/main/resources/META-INF/unstandard.tld Sat Jan 3 02:53:02 2009 @@ -0,0 +1,330 @@ +<?xml version="1.0" ?> +<!-- + Copyright 1999-2005 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.2</jsp-version> + <short-name>unstandard</short-name> + <uri>http://jakarta.apache.org/taglibs/unstandard-1.0</uri> + <display-name>Unstandard Tag library</display-name> + + <tag> + <name>equals</name> + <tag-class>org.apache.taglibs.unstandard.EqualsTag</tag-class> + <body-content>empty</body-content> + + <display-name>equals</display-name> + <description>Equals compares two strings</description> + + <summary>Equals compares two strings</summary> + <availability>1.0</availability> + <restrictions>None</restrictions> + + + <variable> + <name-from-attribute>var</name-from-attribute> + <variable-class>java.lang.Boolean</variable-class> + <declare>true</declare> + <scope>AT_BEGIN</scope> + <description>Equals result</description> + + <availability>1.0</availability> + </variable> + + <attribute> + <name>var</name> + <required>no</required> + <rtexprvalue>no</rtexprvalue> + <description>Attribute description</description> + </attribute> + + <attribute> + <name>ignoreCase</name> + <required>no</required> + <rtexprvalue>no</rtexprvalue> + <description>Attribute description</description> + </attribute> + + <attribute> + <name>lhs</name> + <required>yes</required> + <rtexprvalue>no</rtexprvalue> + <description>Attribute description</description> + </attribute> + + <attribute> + <name>rhs</name> + <required>yes</required> + <rtexprvalue>no</rtexprvalue> + <description>Attribute description</description> + </attribute> + + <example> + </example> + + </tag> + + <tag> + <name>instanceOf</name> + <tag-class>org.apache.taglibs.unstandard.InstanceOfTag</tag-class> + <body-content>empty</body-content> + + <display-name>equals</display-name> + + <description>InstanceOf takes an object and a string and sets the + attribute named by "var" to true or false depending on the + results</description> + + <summary>InstanceOf compares an object with a type</summary> + <availability>1.0</availability> + <restrictions>None</restrictions> + + + <variable> + <name-from-attribute>var</name-from-attribute> + <variable-class>java.lang.Boolean</variable-class> + <declare>true</declare> + <scope>AT_BEGIN</scope> + <description>Equals result</description> + + <availability>1.0</availability> + </variable> + + <attribute> + <name>var</name> + <required>no</required> + <rtexprvalue>no</rtexprvalue> + <description>Attribute description</description> + </attribute> + + <attribute> + <name>value</name> + <required>yes</required> + <rtexprvalue>no</rtexprvalue> + <description>Attribute description</description> + </attribute> + + <attribute> + <name>type</name> + <required>yes</required> + <rtexprvalue>no</rtexprvalue> + <description>Attribute description</description> + </attribute> + + <example> + </example> + + </tag> + + <tag> + <name>invoke</name> + <tag-class>org.apache.taglibs.unstandard.InvokeTag</tag-class> + <body-content>empty</body-content> + + <display-name>invoke</display-name> + + <description>Invokes a method upon a target object</description> + + <summary>Invokes a method upon a target object</summary> + <availability>1.0</availability> + <restrictions>None</restrictions> + + + <variable> + <name-from-attribute>var</name-from-attribute> + <variable-class>java.lang.Object</variable-class> + <declare>true</declare> + <scope>AT_BEGIN</scope> + <description>Invoke method on an object</description> + + <availability>1.0</availability> + </variable> + + <attribute> + <name>var</name> + <!-- todo: change this --> + <required>yes</required> + <rtexprvalue>no</rtexprvalue> + <description>Attribute description</description> + </attribute> + + <attribute> + <name>target</name> + <required>yes</required> + <rtexprvalue>no</rtexprvalue> + <description>Target to invoke the method upon</description> + </attribute> + + <attribute> + <name>method</name> + <required>yes</required> + <rtexprvalue>no</rtexprvalue> + <description>The method to invoke</description> + </attribute> + </tag> + + <tag> + <name>bind</name> + <tag-class>org.apache.taglibs.unstandard.BindTag</tag-class> + <body-content>empty</body-content> + + <display-name>bind</display-name> + + <description>Bind a variable from a Java class into the context</description> + + <summary>Bind a variable from a Java class into the context</summary> + <availability>1.0</availability> + <restrictions>None</restrictions> + + + <variable> + <name-from-attribute>var</name-from-attribute> + <variable-class>java.lang.Object</variable-class> + <declare>true</declare> + <scope>AT_BEGIN</scope> + <description>Bind a variable from a Java class into the context</description> + + <availability>1.0</availability> + </variable> + + <attribute> + <name>var</name> + <!-- todo: change this --> + <required>yes</required> + <rtexprvalue>no</rtexprvalue> + <description>Attribute description</description> + </attribute> + + <attribute> + <name>target</name> + <required>no</required> + <rtexprvalue>no</rtexprvalue> + <description>Target to get the value from</description> + </attribute> + + <attribute> + <name>type</name> + <required>no</required> + <rtexprvalue>no</rtexprvalue> + <description>For static attributes, target may not be specified and instead type may be specified</description> + </attribute> + + <attribute> + <name>field</name> + <required>yes</required> + <rtexprvalue>no</rtexprvalue> + <description>The field to get</description> + </attribute> + </tag> + + <tag> + <name>size</name> + <tag-class>org.apache.taglibs.unstandard.SizeTag</tag-class> + <body-content>empty</body-content> + + <display-name>size</display-name> + + <description>Work out the size of a String, Collection, Map or Object[]</description> + + <summary>Work out the size of a String, Collection, Map or Object[]</summary> + <availability>1.0</availability> + <restrictions>None</restrictions> + + + <variable> + <name-from-attribute>var</name-from-attribute> + <variable-class>java.lang.Object</variable-class> + <declare>true</declare> + <scope>AT_BEGIN</scope> + <description>The variable into which the length may be put</description> + + <availability>1.0</availability> + </variable> + + <attribute> + <name>var</name> + <required>yes</required> + <rtexprvalue>no</rtexprvalue> + <description>Attribute description</description> + </attribute> + + <attribute> + <name>target</name> + <required>no</required> + <rtexprvalue>no</rtexprvalue> + <description>Target to get the value from</description> + </attribute> + + </tag> + + <tag> + <name>useConstants</name> + <tag-class>org.apache.taglibs.unstandard.UseConstantsTag</tag-class> + <body-content>empty</body-content> + + <display-name>useConstants</display-name> + + <description> + Exposes all of the public constants in a class as a map stored in + a scoped attribute. The scope may be specified, but defaults to page + scope. + </description> + + <summary>Expose Java class constants as a map of values</summary> + <availability>1.0</availability> + <restrictions>None</restrictions> + + + <variable> + <name-from-attribute>var</name-from-attribute> + <variable-class>java.lang.Object</variable-class> + <declare>true</declare> + <scope>AT_BEGIN</scope> + <description>The name of the attribute into which the map will be stored.</description> + + <availability>1.0</availability> + </variable> + + <attribute> + <name>var</name> + <required>yes</required> + <rtexprvalue>no</rtexprvalue> + <description>Name of the scoped attribute into which the map will be stored.</description> + </attribute> + + <attribute> + <name>className</name> + <required>yes</required> + <rtexprvalue>no</rtexprvalue> + <description>Fully qualified name of the class from which constants will be extracted.</description> + </attribute> + + <attribute> + <name>scope</name> + <required>no</required> + <rtexprvalue>no</rtexprvalue> + <description>Scope into which to store the map. Default is page scope.</description> + </attribute> + + <example> +To expose all of the constants in the Integer class: +<![CDATA[<un:useConstants var="const" className="java.lang.Integer" />]]> + </example> + + </tag> + +</taglib> Propchange: jakarta/taglibs/sandbox/unstandard/trunk/src/main/resources/META-INF/unstandard.tld ------------------------------------------------------------------------------ svn:eol-style = native --------------------------------------------------------------------- To unsubscribe, e-mail: taglibs-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: taglibs-dev-h...@jakarta.apache.org