Author: bayard
Date: Sat Jan  3 16:54:23 2009
New Revision: 731142

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

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

Copied: jakarta/taglibs/proper/random/trunk/NOTICE.txt (from r731102, 
jakarta/taglibs/proper/string/trunk/NOTICE.txt)
URL: 
http://svn.apache.org/viewvc/jakarta/taglibs/proper/random/trunk/NOTICE.txt?p2=jakarta/taglibs/proper/random/trunk/NOTICE.txt&p1=jakarta/taglibs/proper/string/trunk/NOTICE.txt&r1=731102&r2=731142&rev=731142&view=diff
==============================================================================
--- jakarta/taglibs/proper/string/trunk/NOTICE.txt (original)
+++ jakarta/taglibs/proper/random/trunk/NOTICE.txt Sat Jan  3 16:54:23 2009
@@ -1,4 +1,4 @@
-Apache Jakarta String Taglib
+Apache Jakarta Random Taglib
 Copyright 2001-2009 The Apache Software Foundation
 
 This product includes software developed by

Added: jakarta/taglibs/proper/random/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/jakarta/taglibs/proper/random/trunk/pom.xml?rev=731142&view=auto
==============================================================================
--- jakarta/taglibs/proper/random/trunk/pom.xml (added)
+++ jakarta/taglibs/proper/random/trunk/pom.xml Sat Jan  3 16:54:23 2009
@@ -0,0 +1,75 @@
+<?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>random-taglib</artifactId>
+  <version>1.0.3-SNAPSHOT</version>
+  <name>Jakarta Random Taglib</name>
+
+  <inceptionYear>2002</inceptionYear>
+  <description>
+    This custom tag library is used to create random string and number 
generators.
+  </description>
+
+  <url>http://jakarta.apache.org/taglibs/doc/random-doc/intro.html</url>
+
+  <scm>
+    
<connection>scm:svn:http://svn.apache.org/repos/asf/jakarta/taglibs/proper/random/trunk</connection>
+    
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/jakarta/taglibs/proper/random/trunk</developerConnection>
+    <url>http://svn.apache.org/viewvc/jakarta/taglibs/proper/random/trunk</url>
+  </scm>
+
+  <developers>
+    <developer>
+      <name>Felipe Leme</name>
+      <id>felipeal</id>
+    </developer>
+    <developer>
+      <name>Rich Catlett</name>
+    </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>
+  </dependencies> 
+
+</project>

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

Added: jakarta/taglibs/proper/random/trunk/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/jakarta/taglibs/proper/random/trunk/src/changes/changes.xml?rev=731142&view=auto
==============================================================================
--- jakarta/taglibs/proper/random/trunk/src/changes/changes.xml (added)
+++ jakarta/taglibs/proper/random/trunk/src/changes/changes.xml Sat Jan  3 
16:54:23 2009
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<document>
+  <properties>
+    <title>Random Taglib changes</title>
+  </properties>
+  <body>
+  
+<release release="1.0.2" date="03/15/2004" description="1.0.2 Release">
+    <action>Fixed a bug when generating random strings when using a JSP 
Container like Jasper 2 in Tomcat 4.1 which implements JSP custom tag pooling. 
</action>
+    <action>Renamed TEI classes. </action>
+    <action>Replaced ASF license (1.1 to 2.0). </action>
+</release>
+
+<release release="1.0.1" date="12/1/2002" description="1.0.1 Release">
+    <action>Improved packaging of release archives. </action>
+</release>
+
+<release release="1.0" date="04/14/2002" description="1.0 Release"/>
+
+<release release="Pre Beta" date="07/22/2001" description="Clean up of tag 
library prior to performing a beta release, moving toward an official release.  
Changing tag library over to the new build. "/>
+       
+<release release="Development" date="04/28/2001" description="Initial version 
of tag library before Jakarta-Taglibs had an official release policy for tag 
libraries. "/>
+
+  </body>
+</document>

Propchange: jakarta/taglibs/proper/random/trunk/src/changes/changes.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
jakarta/taglibs/proper/random/trunk/src/main/resources/META-INF/taglibs-random.tld
URL: 
http://svn.apache.org/viewvc/jakarta/taglibs/proper/random/trunk/src/main/resources/META-INF/taglibs-random.tld?rev=731142&view=auto
==============================================================================
--- 
jakarta/taglibs/proper/random/trunk/src/main/resources/META-INF/taglibs-random.tld
 (added)
+++ 
jakarta/taglibs/proper/random/trunk/src/main/resources/META-INF/taglibs-random.tld
 Sat Jan  3 16:54:23 2009
@@ -0,0 +1,331 @@
+<?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.2</tlib-version>
+  <jsp-version>1.1</jsp-version>
+  <short-name>random</short-name>
+  <uri>http://jakarta.apache.org/taglibs/random-1.0</uri>
+  <display-name>Random Tag library</display-name>
+
+  <description>
+     The Random tag library creates random strings and random numbers. You may 
+     specify a set of allowable characters as well as the length for randomly 
+     generated strings. You may specify a range of allowable integers or a 
+     random floating point number between zero and one for randomly generated 
+     numbers.  <!-- Both the RandomStrgTag and the RandomNum tag support the 
use of
+     a SecureRandom object in the generation of their random objects.  To make 
use
+     of this option there are two attributes that can be used: algorithm and 
+     provider.  The algorithm attribute is required, and it is the name of the
+     algorithm that the SecureRandom object will use.  The provider attribute 
is
+     optional, if there are multiples of the same algorithm available, and the 
+     desired algorithm exists within a specific package, then that package can 
be 
+     specified here. -->
+  </description> 
+
+    <tag>
+      <name>string</name>
+      <tag-class>org.apache.taglibs.random.RandomStrgTag</tag-class>
+      <tei-class>org.apache.taglibs.random.RandomStrgTEI</tei-class>
+      <body-content>Empty</body-content>
+      <display-name>string</display-name>
+
+      <description>
+         Set the properties of a variable length random string generator. A 
new 
+        random string will be created every time the <b>jsp:getProperty</b> tag
+        is used to access the generator.
+      </description>
+  
+      <summary>
+         Set the properties of a variable length random string generator. A 
new 
+        random string will be created every time the jsp:getProperty tag is 
+        used to access the generator.
+      </summary>
+      <availability>1.0</availability>
+      <restrictions>None</restrictions>
+
+      <variable>
+       <name-from-attribute>id</name-from-attribute>
+       <variable-class>org.apache.taglibs.random.RandomStrg</variable-class>
+       <declare>true</declare>
+       <scope>AT_END</scope>
+       <description>
+          Name used to retrieve the random string later in the page.
+       </description>
+       <availability>1.0</availability>
+
+       <beanprop>
+          <name>random</name>                 
+          <get>Yes</get>     
+          <set>No</set>      
+          <description>
+             The variable length randomly generated string from the named 
+            generator.
+          </description>
+          <availability>1.0</availability>
+        </beanprop>
+      </variable>      
+
+      <attribute>
+        <name>id</name>
+        <required>yes</required>
+        <rtexprvalue>no</rtexprvalue>
+        <description>
+          Script variable for use with the standard <b>jsp:getProperty</b> tag.
+       </description>
+        <availability>1.0</availability>
+      </attribute>
+
+      <attribute>
+        <name>length</name>
+        <required>no</required>
+        <rtexprvalue>no</rtexprvalue>
+        <description>
+          The length of the random string. Defaults to a length of 8.
+       </description>
+        <availability>1.0</availability>
+      </attribute>
+        
+      <attribute>
+        <name>map</name>
+        <required>no</required>
+        <rtexprvalue>no</rtexprvalue>
+        <description>
+          Attribute name of a Bean or Script variable which is a Java HashMap 
+          object. The random string generated will be a new unique key for use 
+          as a key for the HashMap.
+       </description>
+        <availability>1.0</availability>
+      </attribute>
+
+      <attribute>
+        <name>charset</name>
+        <required>no</required>
+        <rtexprvalue>no</rtexprvalue>
+        <description>
+          The set of characters to use when creating the random string. The 
+          following characters can be used as a charset a-zA-Z0-9 
+          ! @ # $ % ^ &amp; * ( ) _ \- + = { } [ ] \\ | : ; \" ' &lt; > , . ? /
+          The backslash, hyphen, and double quotes characters must be escaped 
+          with a \: like this \\, \-, and \". Lowercase alpha characters can be
+          specified using a range like "a-z" or "f-r", the same can be done 
+          with uppercase letters A-Z and digits 0-9. To use the entire 
+          character set, set charset="all". Single characters must be separated
+          by a space. Charset defaults to a value of a-zA-Z0-9.
+       </description>
+        <availability>1.0</availability>
+      </attribute>
+
+      <attribute>
+        <name>algorithm</name>
+        <required>no</required>
+        <rtexprvalue>no</rtexprvalue>
+        <description>
+          The algorithm to be used if a SecureRandom object is going to be 
used to
+          generate the random string.
+       </description>
+        <availability>1.0</availability>
+      </attribute>
+        
+      <attribute>
+        <name>provider</name>
+        <required>no</required>
+        <rtexprvalue>no</rtexprvalue>
+        <description>
+          The package to search for the desired algorithm that is to be used 
for a
+          SecureRandom object.
+       </description>
+        <availability>1.0</availability>
+      </attribute>
+
+      <example>
+Create a random string that is 8 characters long and that uses a charser of 
all characters.
+<![CDATA[ 
+<rand:string id="random1" charset="all"/>
+]]>       
+Get the random string that was set up above, with a <b>jsp:getProperty</b> tag.
+<![CDATA[ 
+<jsp:getProperty name="random1" property="random"/>
+]]>       
+Create a random string that only uses uppercase letters.
+<![CDATA[ 
+<rand:string id="random2" charset="A-Z"/>
+]]>       
+Get the random string that was set up above, with a <b>jsp:getProperty</b> tag.
+<![CDATA[ 
+<jsp:getProperty name="random2" property="random"/>
+]]>       
+Create the same random string as above only make it 15 characters long.
+<![CDATA[ 
+<rand:string id="random3" charset="A-Z" length="15"/>
+]]>       
+Get the random string that was set up above, with a <b>jsp:getProperty</b> tag.
+<![CDATA[ 
+<jsp:getProperty name="random3" property="random"/>
+]]>       
+Create a random string that uses the following charset A-Z ! @ # \\ \- + ? 
&amp; $
+<![CDATA[ 
+<rand:string id="random4" charset="A-Z ! @ # \\ \- + ? &amp; $"/>
+]]>       
+Get the random string that was set up above, with a <b>jsp:getProperty</b> tag.
+<![CDATA[ 
+<jsp:getProperty name="random4" property="random"/>
+]]>       
+Create the default random string that uses a hashmap named passkeys to make 
+sure each randomly created string is unique. This string defaults to a charset 
of a-zA-Z0-9.
+<![CDATA[ 
+<rand:string id="random5" map="passkeys"/>
+]]>       
+Get the random string that was set up above, with a <b>jsp:getProperty</b> tag.
+<![CDATA[ 
+<jsp:getProperty name="random5" property="random"/> 
+]]>       
+Use the algorithm and provider attributes to use a SecureRandom object instead 
+of just a Random object when creating the random string.  Use the default 
+settings for range and length of the string.  The algorithm is SHA1PRNG and 
the 
+provider is SUN.
+<![CDATA[ 
+<rand:string id="random6" algorithm="SHA1PRNG" provider="SUN"/>
+]]>       
+Get the random string that was set up above, with a <b>jsp:getProperty</b> tag.
+<![CDATA[ 
+<jsp:getProperty name="random6" property="random"/> 
+]]>       
+      </example>
+          
+    </tag>
+
+    <tag>
+      <name>number</name>
+      <tag-class>org.apache.taglibs.random.RandomNumTag</tag-class>
+      <tei-class>org.apache.taglibs.random.RandomNumTEI</tei-class>
+      <body-content>Empty</body-content>
+      <display-name>number</display-name>
+
+      <description>
+          Set the properties of a random number generator. A new random number 
+         will be generated each time the <b>jsp:getProperty</b> tag is used to 
+         access the generator.
+      </description>
+      
+      <summary>
+         Set the properties of a random number generator. A new random number 
+         will be generated each time the <b>jsp:getProperty</b> tag is used to 
+         access the generator .
+      </summary>
+      <availability>1.0</availability> 
+      <restrictions>None</restrictions>
+
+      <variable>
+       <name-from-attribute>id</name-from-attribute>
+       <variable-class>org.apache.taglibs.random.RandomNum</variable-class>
+       <declare>true</declare>
+       <scope>AT_END</scope>
+       <description>
+          Name used to retrieve the random number later in the page.
+       </description>
+       <availability>1.0</availability>
+
+       <beanprop>
+          <name>random</name>                 
+          <get>Yes</get>     
+          <set>No</set>      
+          <description>
+             The variable length randomly generated number as a Java Number 
+            object. In a JSP page the number is printed out as a string.
+          </description>
+          <availability>1.0</availability>
+        </beanprop>
+      </variable>
+
+      <attribute>
+        <name>id</name>
+        <required>yes</required>
+        <rtexprvalue>no</rtexprvalue>
+        <description>
+          Script variable for use with the standard <b>jsp:getProperty</b> tag.
+       </description>
+        <availability>1.0</availability>
+      </attribute>
+
+      <attribute>
+        <name>range</name>
+        <required>no</required>
+        <rtexprvalue>no</rtexprvalue>
+        <description>
+          This parameter determines the lower and upper bound from which to 
+          select the random number. If a range of 0-1 is selected, the tag will
+          automatically create a float value between 0 and 1. The default range
+          is the digits 0 to 100. Max size of the random number is limited by 
+         the size of the primitive data type of long.
+       </description>
+        <availability>1.0</availability>
+      </attribute>
+
+      <attribute>
+        <name>algorithm</name>
+        <required>no</required>
+        <rtexprvalue>no</rtexprvalue>
+        <description>
+          The algorithm to be used if a SecureRandom object is going to be 
used to
+          generate the random string.
+       </description>
+        <availability>1.0</availability>
+      </attribute>
+        
+      <attribute>
+        <name>provider</name>
+        <required>no</required>
+        <rtexprvalue>no</rtexprvalue>
+        <description>
+          The package to search for the desired algorithm that is to be used 
for a
+          SecureRandom object.
+       </description>
+        <availability>1.0</availability>
+      </attribute>
+
+       <example>
+Create a default random number in the range 10000000-99999999.
+<![CDATA[      
+<rand:number id="random1" range="10000000-99999999"/>
+]]>               
+Get the random number that was set up above, using the <b>jsp:getProperty</b> 
tag.
+<![CDATA[      
+<jsp:getProperty name="random1" property="random"/>
+]]>               
+Create a random number that is a float value by setting the range to 0-1.
+<![CDATA[      
+<rand:number id="random2" range="0-1"/>
+]]>               
+Get the random number that was set up above, using the <b>jsp:getProperty</b> 
tag.
+<![CDATA[      
+<jsp:getProperty name="random2" property="random"/> 
+]]>               
+Use the algorithm and provider attributes to use a SecureRandom object instead 
+of just a Random object when creating the random string.  Use the default 
settings 
+for range of the number.  The algorithm is SHA1PRNG and the provider is SUN.
+<![CDATA[ 
+<rand:number id="random3" algorithm="SHA1PRNG" provider="SUN"/>
+]]>       
+Get the random number that was set up above, using the <b>jsp:getProperty</b> 
tag.
+<![CDATA[ 
+<jsp:getProperty name="random3" property="random"/> 
+]]>       
+      </example>
+
+    </tag>
+
+</taglib>

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

Added: jakarta/taglibs/proper/random/trunk/xdocs/index.xml
URL: 
http://svn.apache.org/viewvc/jakarta/taglibs/proper/random/trunk/xdocs/index.xml?rev=731142&view=auto
==============================================================================
--- jakarta/taglibs/proper/random/trunk/xdocs/index.xml (added)
+++ jakarta/taglibs/proper/random/trunk/xdocs/index.xml Sat Jan  3 16:54:23 2009
@@ -0,0 +1,57 @@
+<?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>The Jakarta-Taglibs Project: Random Tag Library</title>
+  </properties>
+
+  <body>
+
+
+  <section name="Random Tag Library" href="Welcome">
+  <p>This custom tag library is used to create random string and number 
generators.
+  </p>
+
+  </section>
+
+  <section name="News" href="News">
+    <table>
+      <tr><td>03/15/2004</td>
+        <td>Version 1.0.2 Released</td></tr>
+      <tr><td>12/01/2002</td>
+        <td>Version 1.0.1 Released</td></tr>
+      <tr><td>04/14/2002</td>
+        <td>Version 1.0 Released</td></tr>
+    </table>
+  </section>
+
+  <section name="Download" href="Download">
+
+  <p>Download a binary distribution of the Random Tag Library</p>
+  <ul>                                                     
+  <li>                                                     
+    Download the Random Tag Library 1.0.2 Release from an
+    <a 
href="http://jakarta.apache.org/site/downloads/downloads_taglibs-random.cgi";>
+    Apache Jakarta Project Mirror</a>
+  </li>                                                                       
+  </ul>                          
+
+  </section>
+
+  </body>
+</document>

Propchange: jakarta/taglibs/proper/random/trunk/xdocs/index.xml
------------------------------------------------------------------------------
    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

Reply via email to