From oro-aburgess@example.net Sun Apr 04 19:50:21 2004
Return-Path: <oro-aburgess@example.net>
Delivered-To: aburgess@example.net
Received: (qmail 11807 invoked from network); 4 Apr 2004 19:50:21 -0000
Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur-2.apache.org with SMTP; 4 Apr 2004 19:50:21 -0000
Received: (qmail 74889 invoked by uid 500); 4 Apr 2004 19:50:10 -0000
Delivered-To: aburgess@example.net
Received: (qmail 74850 invoked by uid 500); 4 Apr 2004 19:50:10 -0000
Mailing-List: contact aburgess@example.net; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:aburgess@example.net>
List-Subscribe: <mailto:aburgess@example.net>
List-Help: <mailto:aburgess@example.net>
List-Post: <mailto:aburgess@example.net>
List-Id: "ORO Developers List" <oro-dev.jakarta.apache.org>
Reply-To: "ORO Developers List" <aburgess@example.net>
Delivered-To: mailing list aburgess@example.net
Received: (qmail 74828 invoked by uid 500); 4 Apr 2004 19:50:10 -0000
Received: (qmail 74825 invoked from network); 4 Apr 2004 19:50:10 -0000
Received: from unknown (HELO minotaur.apache.org) (83.161.120.155)
  by daedalus.apache.org with SMTP; 4 Apr 2004 19:50:10 -0000
Received: (qmail 11794 invoked by uid 1170); 4 Apr 2004 19:50:20 -0000
Date: 4 Apr 2004 19:50:20 -0000
Message-ID: <aburgess@example.net>
From: aburgess@example.net
To: aburgess@example.net
Subject: cvs commit: jakarta-oro build.properties
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N

dfs         2004/04/04 12:50:20

  Modified:    .        build.properties
  Log:
  Turned debug flag on per Gary Gregory's <aburgess@example.net> request.
  
  Revision  Changes    Path
  1.14      +2 -2      jakarta-oro/build.properties
  
  Index: build.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-oro/build.properties,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- build.properties	18 Feb 2004 07:22:42 -0000	1.13
  +++ build.properties	4 Apr 2004 19:50:20 -0000	1.14
  @@ -43,7 +43,7 @@
   javadoc.destdir=${top.dir}/docs/api
   final.name=${project}-${version}
   final.dir=${top.dir}/${final.name}
  -debug=off
  +debug=on
   optimize=on
   deprecation=off
   ant.home=.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: aburgess@example.net
For additional commands, e-mail: aburgess@example.net


From oro-aburgess@example.net Mon Apr 05 22:24:16 2004
Return-Path: <oro-aburgess@example.net>
Delivered-To: aburgess@example.net
Received: (qmail 85624 invoked from network); 5 Apr 2004 22:24:15 -0000
Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur-2.apache.org with SMTP; 5 Apr 2004 22:24:15 -0000
Received: (qmail 99912 invoked by uid 500); 5 Apr 2004 22:24:02 -0000
Delivered-To: aburgess@example.net
Received: (qmail 99858 invoked by uid 500); 5 Apr 2004 22:24:01 -0000
Mailing-List: contact aburgess@example.net; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:aburgess@example.net>
List-Subscribe: <mailto:aburgess@example.net>
List-Help: <mailto:aburgess@example.net>
List-Post: <mailto:aburgess@example.net>
List-Id: "ORO Developers List" <oro-dev.jakarta.apache.org>
Reply-To: "ORO Developers List" <aburgess@example.net>
Delivered-To: mailing list aburgess@example.net
Received: (qmail 99844 invoked from network); 5 Apr 2004 22:24:01 -0000
Received: from unknown (HELO pscgate.progress.com) (83.161.120.155)
  by daedalus.apache.org with SMTP; 5 Apr 2004 22:24:01 -0000
Received: from elvirus.progress.com (elvirus [83.161.120.155])
	by pscgate.progress.com (8.12.11/8.12.11/PSC-5.11) with ESMTP id i35MO4N3029859
	for <aburgess@example.net>; Mon, 5 Apr 2004 18:24:04 -0400 (EDT)
Received: from progress.com (localhost [83.161.120.155])
	by elvirus.progress.com (8.10.2/8.10.2/PSC-4.01) with ESMTP id i35MO3b07381
	for <aburgess@example.net>; Mon, 5 Apr 2004 18:24:03 -0400 (EDT)
X-Authentication-Warning: elvirus.progress.com: iscan owned process doing -bs
Received: from NTEXFE02.bedford.progress.com (ntexfe02 [83.161.120.155])
	by progress.com (8.11.6/8.11.6) with ESMTP id i35MO3j05559
	for <aburgess@example.net>; Mon, 5 Apr 2004 18:24:03 -0400 (EDT)
Received: from MAIL01.bedford.progress.com ([83.161.120.155]) by NTEXFE02.bedford.progress.com with Microsoft SMTPSVC(6.0.3790.0);
	 Mon, 5 Apr 2004 18:24:02 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Subject: Version file for oro...
Date: Mon, 5 Apr 2004 18:24:05 -0400
Message-ID: <aburgess@example.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Version file for oro...
Thread-Index: AcQbXLTRokKeeU9sRsuEtSdyGDsxmg==
From: "Thomas Mitchell, Jr." <aburgess@example.net>
To: <aburgess@example.net>
X-OriginalArrivalTime: 05 Apr 2004 22:24:02.0952 (UTC) FILETIME=[B3223080:01C41B5C]
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N

Hello all,

	I am interested in submitting a class file for your review.
This class file will allow users to get version and build information
for the Jakarta-Oro project.

	I was unsure if I am allowed to send attachments to the list, as
I am new to the dev list, so I simply copied my version of this class
below.  Hopefully you find it amusing :-).

	I'm not sure if I 'named' the various pieces of the version
correctly, so please change to taste.  This class can go in
org.apache.oro or org.apache.oro.util.  Also, the getFullVersion()
method text should be changed to return a String more to your liking,
maybe with a reference to the license?  I'm kinda winging it here....


Thank you for your consideration,
Tom Mitchell



****************BEGIN CLASS FILE*******************


/*
 ************* ADD ID HERE *******************
 *
 * Copyright 2000-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.
 */


package org.apache.oro;


/**
 * The Version class is a utility for obtaining version and
 * build information.
 *
 *
 *
 ***************NOTE TO DEVELOPERS********************
 * I am assuming that given the present version, 2.0.8,
 * 2 is the major version.
 * 0 is the minor version.
 * 8 is the revision.
 * Please change the methods and variables to your verbage.
 * Also, please add product information to the getFullVersion()
 * method to your liking.
 *****************************************************
 *
 * @version @version@
 * @since 2.1
 */
public class Version
{
    /** Major version.  For example, in version 2.0.8; 2. */
    private static final int majorVersion =3D 2;

    /** Minor version.  For example, in version 2.0.8; 0. */
    private static final int minorVersion =3D 1;

    /** Revision.  For example, in version 2.0.8; 8. */
    private static final int revision =3D 0;

    /** Specific build number. */
    private static final int buildNumber =3D 1234;


    /**
     * Gets a user-friendly version String.
     *
     * @return <code>"Jakarta-Oro version "</code> plus the version
     *         currently running.
     */
    public static String getFullVersion()
    {
        StringBuffer s =3D new StringBuffer("Jakarta-Oro version: ");
        s.append(majorVersion);
        s.append(".");
        s.append(minorVersion);
        s.append(".");
        s.append(revision);

        return s.toString();
    }


    /**
     * Gets the major version.  For example, in version 2.0.8; 2
     * is the major version.
     *
     * @return integer representing the major version.
     */
    public static int getMajorVersion()
    {
        return majorVersion;
    }


    /**
     * Gets the minor version.  For example, in version 2.0.8; 0
     * is the minor version.
     *
     * @return integer representing the minor version.
     */
    public static int getMinorVersion()
    {
        return minorVersion;
    }


    /**
     * Gets the revision.  For example, in version 2.0.8; 8
     * is the revision number.
     *
     * @return integer representing the revision number.
     */
    public static int getRevision()
    {
        return revision;
    }


    /**
     * Gets the specific build number.
     *
     * @return integer representing the build number.
     */
    public static int getBuildNumber()
    {
        return buildNumber;
    }

}



****************END CLASS FILE*******************


=20
=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
Tom Mitchell,Jr.
Fathom Development Team
Progress Software
One Indian Head Plaza
Nashua, NH 03060
(708)546-9276
www.progress.com <http://www.progress.com/>=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
I close my eyes
And feel the water rise around me
Drown the beat of time
Let my senses fall away
I can see much clearer now,
I'm blind.
Find all you need in your mind
If you take the time.
                  -Dream Theater
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D

---------------------------------------------------------------------
To unsubscribe, e-mail: aburgess@example.net
For additional commands, e-mail: aburgess@example.net


From oro-aburgess@example.net Wed Apr 14 01:22:17 2004
Return-Path: <oro-aburgess@example.net>
Delivered-To: aburgess@example.net
Received: (qmail 287 invoked from network); 14 Apr 2004 01:22:17 -0000
Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur-2.apache.org with SMTP; 14 Apr 2004 01:22:17 -0000
Received: (qmail 12091 invoked by uid 500); 14 Apr 2004 01:22:00 -0000
Delivered-To: aburgess@example.net
Received: (qmail 12052 invoked by uid 500); 14 Apr 2004 01:22:00 -0000
Mailing-List: contact aburgess@example.net; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:aburgess@example.net>
List-Subscribe: <mailto:aburgess@example.net>
List-Help: <mailto:aburgess@example.net>
List-Post: <mailto:aburgess@example.net>
List-Id: "ORO Developers List" <oro-dev.jakarta.apache.org>
Reply-To: "ORO Developers List" <aburgess@example.net>
Delivered-To: mailing list aburgess@example.net
Received: (qmail 12033 invoked from network); 14 Apr 2004 01:22:00 -0000
Received: from unknown (HELO savarese.org) (83.161.120.155)
  by daedalus.apache.org with SMTP; 14 Apr 2004 01:22:00 -0000
Received: from mail.savarese.org (mail2.savarese.org [83.161.120.155])
	by savarese.org (8.12.11/8.12.11) with ESMTP id i3E1M0LD022073
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL)
	for <aburgess@example.net>; Tue, 13 Apr 2004 21:22:01 -0400
Received: from yoda.savarese.org (yoda.savarese.org [83.161.120.155])
	by mail.savarese.org (8.12.10/8.12.10) with ESMTP id i3E1MB4C026350
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <aburgess@example.net>; Tue, 13 Apr 2004 21:22:11 -0400
Received: from savarese.org 
	by yoda.savarese.org (8.12.10/8.12.10/Submit) with ESMTP id i3E1MBif021902
	for <aburgess@example.net>; Tue, 13 Apr 2004 21:22:11 -0400
Message-Id: <aburgess@example.net>
X-Mailer: exmh version 2.5 10/15/1999 with nmh-1.0.4
To: "ORO Developers List" <aburgess@example.net>
Subject: Re: Version file for oro... 
In-reply-to: Your message of "Mon, 05 Apr 2004 18:24:05 EDT."
             <aburgess@example.net> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 13 Apr 2004 21:22:11 -0400
From: "Daniel F. Savarese" <aburgess@example.net>
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N


In message <aburgess@example.net>
, "Thomas Mitchell, Jr." writes:
>	I was unsure if I am allowed to send attachments to the list, as
>I am new to the dev list, so I simply copied my version of this class

Text attachments should be fine.

>	I'm not sure if I 'named' the various pieces of the version
>correctly, so please change to taste.  This class can go in
>org.apache.oro or org.apache.oro.util.  Also, the getFullVersion()
>method text should be changed to return a String more to your liking,
>maybe with a reference to the license?  I'm kinda winging it here....

I think it looks fine.  Since no one else has commented on
it, I'm inclined to just check it in.  However, since I have some
tweaks in mind, I'd like to air them before acting on them.  First,
how should we handle the convention some projects have, that ORO
mimicked, of doing an x.x.x-dev-1 release?  Should we abandon
the -dev convention in favor of something else or just change
buildNumber to a string?  Should we incorporate the notions of
beta and alpha with isBeta() and isAlpha() methods or isReleaseCandidate()
or isFinal() or isDevelopment()?

Now, my tweak.  How do people feel about getting rid of the static
methods and members?  How about we make Version a regular class
with constructor arguments that you fill in to define the version.
Then maybe we'd just implement an OROVersion class that had a static
final method:
  Version getVersion()
that would return the version.  And maybe we put Version in oro.util the
way Thomas initially suggested.  Why would you want to do this?  Well,
it allows other projects to use the Version class for their own purposes.
You could argue that a Version class should reside in Jakarta Commons.  I
think it's okay if we keep it here and then move it into Commons later.
Something to look into is whether the maven or repository projects or
jakarta commons have version-related classes.

daniel



---------------------------------------------------------------------
To unsubscribe, e-mail: aburgess@example.net
For additional commands, e-mail: aburgess@example.net


From oro-aburgess@example.net Wed Apr 14 03:08:15 2004
Return-Path: <oro-aburgess@example.net>
Delivered-To: aburgess@example.net
Received: (qmail 38077 invoked from network); 14 Apr 2004 03:08:15 -0000
Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur-2.apache.org with SMTP; 14 Apr 2004 03:08:15 -0000
Received: (qmail 39720 invoked by uid 500); 14 Apr 2004 03:07:56 -0000
Delivered-To: aburgess@example.net
Received: (qmail 39707 invoked by uid 500); 14 Apr 2004 03:07:56 -0000
Mailing-List: contact aburgess@example.net; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:aburgess@example.net>
List-Subscribe: <mailto:aburgess@example.net>
List-Help: <mailto:aburgess@example.net>
List-Post: <mailto:aburgess@example.net>
List-Id: "ORO Developers List" <oro-dev.jakarta.apache.org>
Reply-To: "ORO Developers List" <aburgess@example.net>
Delivered-To: mailing list aburgess@example.net
Received: (qmail 39692 invoked from network); 14 Apr 2004 03:07:55 -0000
Received: from unknown (HELO apex.tyrell.com) (83.161.120.155)
  by daedalus.apache.org with SMTP; 14 Apr 2004 03:07:55 -0000
Received: from [83.161.120.155] (ip68-96-76-186.oc.oc.cox.net [83.161.120.155])
	by apex.tyrell.com (8.12.7/8.12.7) with ESMTP id i3E39k60023493
	for <aburgess@example.net>; Tue, 13 Apr 2004 20:09:46 -0700
Mime-Version: 1.0
X-Sender: aburgess@example.net
Message-Id: <p060204bbbca2691fb94d@[83.161.120.155]>
In-Reply-To: <aburgess@example.net>
References: <aburgess@example.net>
Date: Tue, 13 Apr 2004 20:08:03 -0800
To: "ORO Developers List" <aburgess@example.net>
From: "Mark F. Murphy" <aburgess@example.net>
Subject: Re: Version file for oro...
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N

At 9:22 PM -0400 4/13/04, Daniel F. Savarese wrote:
>Then maybe we'd just implement an OROVersion class that had a static
>final method:
>   Version getVersion()

Hmmmm....

Can we check to see if there's a more common way to do this?

I'd be concerned about returning yet another class with methods one 
has to know.

Worse case I guess could be:

getVersion().toString()

As long as Version had a toString() that could be a standard output.

mark

-- 
---------------------------------------------------------------------------
  Mark F. Murphy, Director Software Development   <mailto:aburgess@example.net>
  Tyrell Software Corp                            <http://www.tyrell.com>
---------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: aburgess@example.net
For additional commands, e-mail: aburgess@example.net


From oro-aburgess@example.net Wed Apr 14 03:11:18 2004
Return-Path: <oro-aburgess@example.net>
Delivered-To: aburgess@example.net
Received: (qmail 39037 invoked from network); 14 Apr 2004 03:11:17 -0000
Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur-2.apache.org with SMTP; 14 Apr 2004 03:11:17 -0000
Received: (qmail 43412 invoked by uid 500); 14 Apr 2004 03:10:58 -0000
Delivered-To: aburgess@example.net
Received: (qmail 43394 invoked by uid 500); 14 Apr 2004 03:10:58 -0000
Mailing-List: contact aburgess@example.net; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:aburgess@example.net>
List-Subscribe: <mailto:aburgess@example.net>
List-Help: <mailto:aburgess@example.net>
List-Post: <mailto:aburgess@example.net>
List-Id: "ORO Developers List" <oro-dev.jakarta.apache.org>
Reply-To: "ORO Developers List" <aburgess@example.net>
Delivered-To: mailing list aburgess@example.net
Received: (qmail 43378 invoked from network); 14 Apr 2004 03:10:58 -0000
Received: from unknown (HELO apex.tyrell.com) (83.161.120.155)
  by daedalus.apache.org with SMTP; 14 Apr 2004 03:10:58 -0000
Received: from [83.161.120.155] (ip68-96-76-186.oc.oc.cox.net [83.161.120.155])
	by apex.tyrell.com (8.12.7/8.12.7) with ESMTP id i3E3Cm60023535
	for <aburgess@example.net>; Tue, 13 Apr 2004 20:12:49 -0700
Mime-Version: 1.0
X-Sender: aburgess@example.net
Message-Id: <p060204bcbca269aedab4@[83.161.120.155]>
In-Reply-To: <aburgess@example.net>
References: <aburgess@example.net>
Date: Tue, 13 Apr 2004 20:11:06 -0800
To: "ORO Developers List" <aburgess@example.net>
From: "Mark F. Murphy" <aburgess@example.net>
Subject: Groovy
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N


I didn't check.... but...

What regex is project Groovy using?

http://groovy.codehaus.org/

It's built into the language.

I haven't downloaded it yet... but I see it depends on JDK 1.4, so I 
suspect it's not ORO.

:(

mark

-- 
---------------------------------------------------------------------------
  Mark F. Murphy, Director Software Development   <mailto:aburgess@example.net>
  Tyrell Software Corp                            <http://www.tyrell.com>
---------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: aburgess@example.net
For additional commands, e-mail: aburgess@example.net


From oro-aburgess@example.net Thu Apr 15 19:47:36 2004
Return-Path: <oro-aburgess@example.net>
Delivered-To: aburgess@example.net
Received: (qmail 90309 invoked from network); 15 Apr 2004 19:47:36 -0000
Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur-2.apache.org with SMTP; 15 Apr 2004 19:47:36 -0000
Received: (qmail 35624 invoked by uid 500); 15 Apr 2004 19:47:25 -0000
Delivered-To: aburgess@example.net
Received: (qmail 35595 invoked by uid 500); 15 Apr 2004 19:47:25 -0000
Mailing-List: contact aburgess@example.net; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:aburgess@example.net>
List-Subscribe: <mailto:aburgess@example.net>
List-Help: <mailto:aburgess@example.net>
List-Post: <mailto:aburgess@example.net>
List-Id: "ORO Developers List" <oro-dev.jakarta.apache.org>
Reply-To: "ORO Developers List" <aburgess@example.net>
Delivered-To: mailing list aburgess@example.net
Received: (qmail 35580 invoked from network); 15 Apr 2004 19:47:24 -0000
Received: from unknown (HELO savarese.org) (83.161.120.155)
  by daedalus.apache.org with SMTP; 15 Apr 2004 19:47:24 -0000
Received: from mail.savarese.org (mail2.savarese.org [83.161.120.155])
	by savarese.org (8.12.11/8.12.11) with ESMTP id i3FJlRZg026388
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL)
	for <aburgess@example.net>; Thu, 15 Apr 2004 15:47:28 -0400
Received: from yoda.savarese.org (yoda.savarese.org [83.161.120.155])
	by mail.savarese.org (8.12.10/8.12.10) with ESMTP id i3FJlU4C030905
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <aburgess@example.net>; Thu, 15 Apr 2004 15:47:30 -0400
Received: from savarese.org 
	by yoda.savarese.org (8.12.10/8.12.10/Submit) with ESMTP id i3FJlUEY026326
	for <aburgess@example.net>; Thu, 15 Apr 2004 15:47:30 -0400
Message-Id: <aburgess@example.net>
X-Mailer: exmh version 2.5 10/15/1999 with nmh-1.0.4
To: "ORO Developers List" <aburgess@example.net>
Subject: Re: Version file for oro... 
In-reply-to: Your message of "Tue, 13 Apr 2004 20:08:03 -0800."
             <p060204bbbca2691fb94d@[83.161.120.155]> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 15 Apr 2004 15:47:30 -0400
From: "Daniel F. Savarese" <aburgess@example.net>
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N


In message <p060204bbbca2691fb94d@[83.161.120.155]>, "Mark F. Murphy" writes:
>Can we check to see if there's a more common way to do this?
...
>Worse case I guess could be:
>
>getVersion().toString()

There's no reason there can't be a static String OROVersion.getVersion()
in addition to a Version OROVersion.getVersion().  I just thought a generic
Version class has possible uses that we may not anticipate.  The average
ORO user would not ever need it.  But I can see some uses in dynamic loading
situations or in test applications or for Gump.  Mostly I don't like
locking functionality into static methods that might be reusable.  I
regret having made the org.apache.oro.regex.Util class final with a slew
of static methods.  In my view, singletons are more appropriate for
application level code than class libraries.

daniel



---------------------------------------------------------------------
To unsubscribe, e-mail: aburgess@example.net
For additional commands, e-mail: aburgess@example.net


From oro-aburgess@example.net Thu Apr 15 19:53:34 2004
Return-Path: <oro-aburgess@example.net>
Delivered-To: aburgess@example.net
Received: (qmail 93688 invoked from network); 15 Apr 2004 19:53:34 -0000
Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur-2.apache.org with SMTP; 15 Apr 2004 19:53:34 -0000
Received: (qmail 45043 invoked by uid 500); 15 Apr 2004 19:53:23 -0000
Delivered-To: aburgess@example.net
Received: (qmail 44973 invoked by uid 500); 15 Apr 2004 19:53:23 -0000
Mailing-List: contact aburgess@example.net; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:aburgess@example.net>
List-Subscribe: <mailto:aburgess@example.net>
List-Help: <mailto:aburgess@example.net>
List-Post: <mailto:aburgess@example.net>
List-Id: "ORO Developers List" <oro-dev.jakarta.apache.org>
Reply-To: "ORO Developers List" <aburgess@example.net>
Delivered-To: mailing list aburgess@example.net
Received: (qmail 44957 invoked from network); 15 Apr 2004 19:53:23 -0000
Received: from unknown (HELO savarese.org) (83.161.120.155)
  by daedalus.apache.org with SMTP; 15 Apr 2004 19:53:23 -0000
Received: from mail.savarese.org (mail2.savarese.org [83.161.120.155])
	by savarese.org (8.12.11/8.12.11) with ESMTP id i3FJrQLk026403
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL)
	for <aburgess@example.net>; Thu, 15 Apr 2004 15:53:26 -0400
Received: from yoda.savarese.org (yoda.savarese.org [83.161.120.155])
	by mail.savarese.org (8.12.10/8.12.10) with ESMTP id i3FJrT4C030918
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <aburgess@example.net>; Thu, 15 Apr 2004 15:53:29 -0400
Received: from savarese.org 
	by yoda.savarese.org (8.12.10/8.12.10/Submit) with ESMTP id i3FJrSxj026338
	for <aburgess@example.net>; Thu, 15 Apr 2004 15:53:29 -0400
Message-Id: <aburgess@example.net>
X-Mailer: exmh version 2.5 10/15/1999 with nmh-1.0.4
To: "ORO Developers List" <aburgess@example.net>
Subject: Re: Groovy 
In-reply-to: Your message of "Tue, 13 Apr 2004 20:11:06 -0800."
             <p060204bcbca269aedab4@[83.161.120.155]> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 15 Apr 2004 15:53:28 -0400
From: "Daniel F. Savarese" <aburgess@example.net>
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N


In message <p060204bcbca269aedab4@[83.161.120.155]>, "Mark F. Murphy" writes:
>What regex is project Groovy using?

As far as I know it uses java.util.regex.  I remember reading something
on the wiki about Groovy doing something generic in order to support
something else, but I think that was at an earlier stage.  We'll have
that licked though.  I checked in some code last month adding some
factories to allow ORO interfaces to wrap different regular
expression engines.  There seemed to be an itch for it over on
Jakarta Commons, but it faded so there was never a feedback loop.

daniel



---------------------------------------------------------------------
To unsubscribe, e-mail: aburgess@example.net
For additional commands, e-mail: aburgess@example.net


From oro-aburgess@example.net Fri Apr 16 13:28:18 2004
Return-Path: <oro-aburgess@example.net>
Delivered-To: aburgess@example.net
Received: (qmail 12767 invoked from network); 16 Apr 2004 13:28:18 -0000
Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur-2.apache.org with SMTP; 16 Apr 2004 13:28:18 -0000
Received: (qmail 46959 invoked by uid 500); 16 Apr 2004 13:28:14 -0000
Delivered-To: aburgess@example.net
Received: (qmail 46938 invoked by uid 500); 16 Apr 2004 13:28:14 -0000
Mailing-List: contact aburgess@example.net; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:aburgess@example.net>
List-Subscribe: <mailto:aburgess@example.net>
List-Help: <mailto:aburgess@example.net>
List-Post: <mailto:aburgess@example.net>
List-Id: "ORO Developers List" <oro-dev.jakarta.apache.org>
Reply-To: "ORO Developers List" <aburgess@example.net>
Delivered-To: mailing list aburgess@example.net
Received: (qmail 46922 invoked from network); 16 Apr 2004 13:28:14 -0000
Received: from unknown (HELO pscgate.progress.com) (83.161.120.155)
  by daedalus.apache.org with SMTP; 16 Apr 2004 13:28:14 -0000
Received: from elvirus.progress.com (elvirus [83.161.120.155])
	by pscgate.progress.com (8.12.11/8.12.11/PSC-5.11) with ESMTP id i3GDSBmP016485
	for <aburgess@example.net>; Fri, 16 Apr 2004 09:28:12 -0400 (EDT)
Received: from progress.com (localhost [83.161.120.155])
	by elvirus.progress.com (8.10.2/8.10.2/PSC-4.01) with ESMTP id i3GDSAo24347
	for <aburgess@example.net>; Fri, 16 Apr 2004 09:28:10 -0400 (EDT)
X-Authentication-Warning: elvirus.progress.com: iscan owned process doing -bs
Received: from NTEXFE02.bedford.progress.com (ntexfe02 [83.161.120.155])
	by progress.com (8.11.6/8.11.6) with ESMTP id i3GDSAH29766
	for <aburgess@example.net>; Fri, 16 Apr 2004 09:28:10 -0400 (EDT)
Received: from MAIL01.bedford.progress.com ([83.161.120.155]) by NTEXFE02.bedford.progress.com with Microsoft SMTPSVC(6.0.3790.0);
	 Fri, 16 Apr 2004 09:28:10 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: Version file for oro... 
Date: Fri, 16 Apr 2004 09:28:09 -0400
Message-ID: <aburgess@example.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Version file for oro... 
Thread-Index: AcQhvvN2Ys6wMBZ8THSTBJ2BkaMjzQB8Rhzg
From: "Thomas Mitchell, Jr." <aburgess@example.net>
To: "ORO Developers List" <aburgess@example.net>
X-OriginalArrivalTime: 16 Apr 2004 13:28:10.0288 (UTC) FILETIME=[A9324300:01C423B6]
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N

Daniel,

	Having isBeta() and isAlpha() (if the products actually have
alpha releases) and such is a good idea.  Sorry I missed that in my
submission.  Other things to keep in mind:
Do any of the products have pre-releases?
Do any of the products have patches, or service packs?
Others? (your isReleaseCandidate() may be useful to someone...)

	About your tweak.  Are you saying you would like users to be
able to create a Version class so they can create their own version of
<something>, but in the Jakarta format?  That sounds obscure, but
flexible, and potentially dangerous.  Even so, that I would vote for.

	You are way ahead of me on the architecture of the various
projects, so please excuse my ignorance.  I would like to make sure
users don't hang themselves somehow.  From a user perspective, version
information is generally query only; a one-way street.  From an AP
perspective, creating a version with the Jakarta format may have some
use.  As long as the shipped products can have clearly defined lines
between their version getter and the generic version creator (so to
speak), I think it's a great idea.  Clear javadoc will help.

My two cents (maybe four).
Tom


-----Original Message-----
From: Daniel F. Savarese [mailto:aburgess@example.net]=20
Sent: Tuesday, April 13, 2004 9:22 PM
To: ORO Developers List
Subject: Re: Version file for oro...=20


In message
<aburgess@example.net>
, "Thomas Mitchell, Jr." writes:
>	I was unsure if I am allowed to send attachments to the list, as
>I am new to the dev list, so I simply copied my version of this class

Text attachments should be fine.

>	I'm not sure if I 'named' the various pieces of the version
>correctly, so please change to taste.  This class can go in
>org.apache.oro or org.apache.oro.util.  Also, the getFullVersion()
>method text should be changed to return a String more to your liking,
>maybe with a reference to the license?  I'm kinda winging it here....

I think it looks fine.  Since no one else has commented on
it, I'm inclined to just check it in.  However, since I have some
tweaks in mind, I'd like to air them before acting on them.  First,
how should we handle the convention some projects have, that ORO
mimicked, of doing an x.x.x-dev-1 release?  Should we abandon
the -dev convention in favor of something else or just change
buildNumber to a string?  Should we incorporate the notions of
beta and alpha with isBeta() and isAlpha() methods or
isReleaseCandidate()
or isFinal() or isDevelopment()?

Now, my tweak.  How do people feel about getting rid of the static
methods and members?  How about we make Version a regular class
with constructor arguments that you fill in to define the version.
Then maybe we'd just implement an OROVersion class that had a static
final method:
  Version getVersion()
that would return the version.  And maybe we put Version in oro.util the
way Thomas initially suggested.  Why would you want to do this?  Well,
it allows other projects to use the Version class for their own
purposes.
You could argue that a Version class should reside in Jakarta Commons.
I
think it's okay if we keep it here and then move it into Commons later.
Something to look into is whether the maven or repository projects or
jakarta commons have version-related classes.

daniel



---------------------------------------------------------------------
To unsubscribe, e-mail: aburgess@example.net
For additional commands, e-mail: aburgess@example.net



---------------------------------------------------------------------
To unsubscribe, e-mail: aburgess@example.net
For additional commands, e-mail: aburgess@example.net


From oro-aburgess@example.net Mon Apr 19 10:52:38 2004
Return-Path: <oro-aburgess@example.net>
Delivered-To: aburgess@example.net
Received: (qmail 87638 invoked from network); 19 Apr 2004 10:52:38 -0000
Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur-2.apache.org with SMTP; 19 Apr 2004 10:52:38 -0000
Received: (qmail 64136 invoked by uid 500); 19 Apr 2004 10:52:37 -0000
Delivered-To: aburgess@example.net
Received: (qmail 64056 invoked by uid 500); 19 Apr 2004 10:52:37 -0000
Mailing-List: contact aburgess@example.net; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:aburgess@example.net>
List-Subscribe: <mailto:aburgess@example.net>
List-Help: <mailto:aburgess@example.net>
List-Post: <mailto:aburgess@example.net>
List-Id: "ORO Developers List" <oro-dev.jakarta.apache.org>
Reply-To: "ORO Developers List" <aburgess@example.net>
Delivered-To: mailing list aburgess@example.net
Received: (qmail 64039 invoked from network); 19 Apr 2004 10:52:36 -0000
Received: from unknown (HELO mta202-rme.xtra.co.nz) (83.161.120.155)
  by daedalus.apache.org with SMTP; 19 Apr 2004 10:52:36 -0000
Received: from web3-rme.xtra.co.nz ([83.161.120.155])
          by mta202-rme.xtra.co.nz with ESMTP
          id <aburgess@example.net>
          for <aburgess@example.net>; Mon, 19 Apr 2004 22:52:35 +1200
Received: from tuckey.org ([83.161.120.155]) by web3-rme.xtra.co.nz
          with ESMTP
          id <aburgess@example.net>
          for <aburgess@example.net>; Mon, 19 Apr 2004 22:52:34 +1200
Message-ID: <aburgess@example.net>
Date: Mon, 19 Apr 2004 22:52:57 +1200
From: Paul Tuckey <aburgess@example.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-nz, en, en-us, ja
MIME-Version: 1.0
To:  aburgess@example.net
Subject: Thanks
X-Enigmail-Version: 83.161.120.155
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N

Thanks for making ORO!

I am using it in UrlRewriteFilter, an open source servlet filter that 
lets users of Tomcat (and other srvlet containers) rewrite urls (as you 
would in Apache httpd using mod_rewrite).

http://tuckey.org/urlrewrite/


Cheers!  Paul.

---------------------------------------------------------------------
To unsubscribe, e-mail: aburgess@example.net
For additional commands, e-mail: aburgess@example.net


From oro-aburgess@example.net Sat Apr 24 19:24:15 2004
Return-Path: <oro-aburgess@example.net>
Delivered-To: aburgess@example.net
Received: (qmail 33821 invoked from network); 24 Apr 2004 19:24:15 -0000
Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur-2.apache.org with SMTP; 24 Apr 2004 19:24:15 -0000
Received: (qmail 42150 invoked by uid 500); 24 Apr 2004 19:24:02 -0000
Delivered-To: aburgess@example.net
Received: (qmail 42109 invoked by uid 500); 24 Apr 2004 19:24:02 -0000
Mailing-List: contact aburgess@example.net; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:aburgess@example.net>
List-Subscribe: <mailto:aburgess@example.net>
List-Help: <mailto:aburgess@example.net>
List-Post: <mailto:aburgess@example.net>
List-Id: "ORO Developers List" <oro-dev.jakarta.apache.org>
Reply-To: "ORO Developers List" <aburgess@example.net>
Delivered-To: mailing list aburgess@example.net
Received: (qmail 41997 invoked from network); 24 Apr 2004 19:24:01 -0000
Received: from unknown (HELO savarese.org) (83.161.120.155)
  by daedalus.apache.org with SMTP; 24 Apr 2004 19:24:01 -0000
Received: from mail.savarese.org (mail2.savarese.org [83.161.120.155])
	by savarese.org (8.12.11/8.12.11) with ESMTP id i3OJO0kS019357
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL)
	for <aburgess@example.net>; Sat, 24 Apr 2004 15:24:01 -0400
Received: from yoda.savarese.org (yoda.savarese.org [83.161.120.155])
	by mail.savarese.org (8.12.10/8.12.10) with ESMTP id i3OJO64C023534
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <aburgess@example.net>; Sat, 24 Apr 2004 15:24:06 -0400
Received: from savarese.org 
	by yoda.savarese.org (8.12.10/8.12.10/Submit) with ESMTP id i3OJO5GC003466
	for <aburgess@example.net>; Sat, 24 Apr 2004 15:24:05 -0400
Message-Id: <aburgess@example.net>
X-Mailer: exmh version 2.5 10/15/1999 with nmh-1.0.4
To: "ORO Developers List" <aburgess@example.net>
Subject: Re: Version file for oro... 
In-reply-to: Your message of "Fri, 16 Apr 2004 09:28:09 EDT."
             <aburgess@example.net> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sat, 24 Apr 2004 15:24:04 -0400
From: "Daniel F. Savarese" <aburgess@example.net>
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N


In message <aburgess@example.net>
, "Thomas Mitchell, Jr." writes:
>	About your tweak.  Are you saying you would like users to be
>able to create a Version class so they can create their own version of
><something>, but in the Jakarta format?  That sounds obscure, but
>flexible, and potentially dangerous.  Even so, that I would vote for.

Suppose a couple of projects decide that a Version class or interface
is a handy thing for reasons similar to the one that motivated you.
It would be convenient for them to use the same class or interface, so
you could perform some dynamic checks like
  if(oroVersion.getMajorVersion() < 2) {
    abort("FOO requires ORO version 3.0 or higher\n");
  }
Or let's say you have an automated regression test suite that checks
for changes in behavior between successive versions of software.  It's
handy to have the version be an instantiable object instead of a singleton
with static methods.  That way you can collect all of the versions and
test results.  The interface (I'm thinking it should be an interface
now) can be read only and doesn't have to expose any setter methods.
A default implementation could have protected setter methods.  The
open question I see is if one is to build a generic version facility,
how do you query it generically?  The best I can figure is to settle
on a convention of placing a class named Version (different from the
generic org.apache.version.Version interface) in the top level package
(in our case org.apache.oro.Version) with a static getVersion() method
that returns an org.apache.version.Version instance.

>projects, so please excuse my ignorance.  I would like to make sure
>users don't hang themselves somehow.  From a user perspective, version
>information is generally query only; a one-way street.  From an AP
>perspective, creating a version with the Jakarta format may have some
>use.  As long as the shipped products can have clearly defined lines
>between their version getter and the generic version creator (so to
>speak), I think it's a great idea.  Clear javadoc will help.

Yes, I think we're on the same page.  The idea is to keep the version
getter and version creator separate.  I actually have a need for a
simple versioning API for a research project I'm working on.  I
have these objects that implement atomic pieces of functionality
that are stitched together dynamically.  If one of the objects
fails in some way, I want to be able to revert to a previous
version of the object.  To do this in a general way, I need to
be able to represent version information.

Anyway, I think we can work on the version stuff here and then
move it to either Jakarta Commons or Apache Commons as a simple
package.  I checked Ant and Maven and couldn't find anything
comparable, but I couldn't find where the repository project
is tucked away, so I don't know if they have something.

daniel



---------------------------------------------------------------------
To unsubscribe, e-mail: aburgess@example.net
For additional commands, e-mail: aburgess@example.net


From oro-aburgess@example.net Sat Apr 24 19:27:16 2004
Return-Path: <oro-aburgess@example.net>
Delivered-To: aburgess@example.net
Received: (qmail 34657 invoked from network); 24 Apr 2004 19:27:16 -0000
Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur-2.apache.org with SMTP; 24 Apr 2004 19:27:16 -0000
Received: (qmail 45502 invoked by uid 500); 24 Apr 2004 19:27:05 -0000
Delivered-To: aburgess@example.net
Received: (qmail 45483 invoked by uid 500); 24 Apr 2004 19:27:05 -0000
Mailing-List: contact aburgess@example.net; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:aburgess@example.net>
List-Subscribe: <mailto:aburgess@example.net>
List-Help: <mailto:aburgess@example.net>
List-Post: <mailto:aburgess@example.net>
List-Id: "ORO Developers List" <oro-dev.jakarta.apache.org>
Reply-To: "ORO Developers List" <aburgess@example.net>
Delivered-To: mailing list aburgess@example.net
Received: (qmail 45469 invoked by uid 500); 24 Apr 2004 19:27:05 -0000
Received: (qmail 45464 invoked from network); 24 Apr 2004 19:27:05 -0000
Received: from unknown (HELO minotaur.apache.org) (83.161.120.155)
  by daedalus.apache.org with SMTP; 24 Apr 2004 19:27:05 -0000
Received: (qmail 34652 invoked by uid 1170); 24 Apr 2004 19:27:15 -0000
Date: 24 Apr 2004 19:27:15 -0000
Message-ID: <aburgess@example.net>
From: aburgess@example.net
To: aburgess@example.net
Subject: cvs commit: jakarta-oro/xdocs users.xml
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N

dfs         2004/04/24 12:27:15

  Modified:    docs     users.html
               xdocs    users.xml
  Log:
  Added UrlRewriteFilter.
  
  Revision  Changes    Path
  1.5       +5 -0      jakarta-oro/docs/users.html
  
  Index: users.html
  ===================================================================
  RCS file: /home/cvs/jakarta-oro/docs/users.html,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- users.html	18 Feb 2004 03:45:37 -0000	1.4
  +++ users.html	24 Apr 2004 19:27:15 -0000	1.5
  @@ -185,6 +185,11 @@
   	between business partners in the printing and publishing
   	industries.</dd>
   
  +	<dt><a href="http://tuckey.org/urlrewrite/">UrlRewriteFilter</a></dt>
  +	<dd>An open source servlet filter that lets users of Tomcat
  +	(and other srvlet containers) rewrite urls (as you would in
  +	Apache httpd using mod_rewrite).</dd>
  +
   	</dl>
         </p>
                               </blockquote>
  
  
  
  1.11      +6 -1      jakarta-oro/xdocs/users.xml
  
  Index: users.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-oro/xdocs/users.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- users.xml	18 Feb 2004 03:21:44 -0000	1.10
  +++ users.xml	24 Apr 2004 19:27:15 -0000	1.11
  @@ -114,6 +114,11 @@
   	between business partners in the printing and publishing
   	industries.</dd>
   
  +	<dt><a href="http://tuckey.org/urlrewrite/">UrlRewriteFilter</a></dt>
  +	<dd>An open source servlet filter that lets users of Tomcat
  +	(and other srvlet containers) rewrite urls (as you would in
  +	Apache httpd using mod_rewrite).</dd>
  +
   	</dl>
         </p>
   	
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: aburgess@example.net
For additional commands, e-mail: aburgess@example.net


From oro-aburgess@example.net Sat Apr 24 19:28:55 2004
Return-Path: <oro-aburgess@example.net>
Delivered-To: aburgess@example.net
Received: (qmail 35037 invoked from network); 24 Apr 2004 19:28:55 -0000
Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur-2.apache.org with SMTP; 24 Apr 2004 19:28:55 -0000
Received: (qmail 46586 invoked by uid 500); 24 Apr 2004 19:28:44 -0000
Delivered-To: aburgess@example.net
Received: (qmail 46566 invoked by uid 500); 24 Apr 2004 19:28:44 -0000
Mailing-List: contact aburgess@example.net; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:aburgess@example.net>
List-Subscribe: <mailto:aburgess@example.net>
List-Help: <mailto:aburgess@example.net>
List-Post: <mailto:aburgess@example.net>
List-Id: "ORO Developers List" <oro-dev.jakarta.apache.org>
Reply-To: "ORO Developers List" <aburgess@example.net>
Delivered-To: mailing list aburgess@example.net
Received: (qmail 46552 invoked by uid 500); 24 Apr 2004 19:28:44 -0000
Received: (qmail 46549 invoked from network); 24 Apr 2004 19:28:44 -0000
Received: from unknown (HELO minotaur.apache.org) (83.161.120.155)
  by daedalus.apache.org with SMTP; 24 Apr 2004 19:28:44 -0000
Received: (qmail 35028 invoked by uid 1170); 24 Apr 2004 19:28:54 -0000
Date: 24 Apr 2004 19:28:54 -0000
Message-ID: <aburgess@example.net>
From: aburgess@example.net
To: aburgess@example.net
Subject: cvs commit: jakarta-oro/xdocs users.xml
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N

dfs         2004/04/24 12:28:54

  Modified:    xdocs    users.xml
  Log:
  Fixed typo.
  
  Revision  Changes    Path
  1.12      +2 -2      jakarta-oro/xdocs/users.xml
  
  Index: users.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-oro/xdocs/users.xml,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- users.xml	24 Apr 2004 19:27:15 -0000	1.11
  +++ users.xml	24 Apr 2004 19:28:54 -0000	1.12
  @@ -116,7 +116,7 @@
   
   	<dt><a href="http://tuckey.org/urlrewrite/">UrlRewriteFilter</a></dt>
   	<dd>An open source servlet filter that lets users of Tomcat
  -	(and other srvlet containers) rewrite urls (as you would in
  +	(and other servlet containers) rewrite URLs (as you would in
   	Apache httpd using mod_rewrite).</dd>
   
   	</dl>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: aburgess@example.net
For additional commands, e-mail: aburgess@example.net


From oro-aburgess@example.net Sat Apr 24 19:29:16 2004
Return-Path: <oro-aburgess@example.net>
Delivered-To: aburgess@example.net
Received: (qmail 35183 invoked from network); 24 Apr 2004 19:29:16 -0000
Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur-2.apache.org with SMTP; 24 Apr 2004 19:29:16 -0000
Received: (qmail 47046 invoked by uid 500); 24 Apr 2004 19:29:05 -0000
Delivered-To: aburgess@example.net
Received: (qmail 46959 invoked by uid 500); 24 Apr 2004 19:29:05 -0000
Mailing-List: contact aburgess@example.net; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:aburgess@example.net>
List-Subscribe: <mailto:aburgess@example.net>
List-Help: <mailto:aburgess@example.net>
List-Post: <mailto:aburgess@example.net>
List-Id: "ORO Developers List" <oro-dev.jakarta.apache.org>
Reply-To: "ORO Developers List" <aburgess@example.net>
Delivered-To: mailing list aburgess@example.net
Received: (qmail 46946 invoked by uid 500); 24 Apr 2004 19:29:05 -0000
Received: (qmail 46936 invoked from network); 24 Apr 2004 19:29:05 -0000
Received: from unknown (HELO minotaur.apache.org) (83.161.120.155)
  by daedalus.apache.org with SMTP; 24 Apr 2004 19:29:05 -0000
Received: (qmail 35174 invoked by uid 1170); 24 Apr 2004 19:29:15 -0000
Date: 24 Apr 2004 19:29:15 -0000
Message-ID: <aburgess@example.net>
From: aburgess@example.net
To: aburgess@example.net
Subject: cvs commit: jakarta-oro/docs users.html
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N

dfs         2004/04/24 12:29:15

  Modified:    docs     users.html
  Log:
  Fixed typo.
  
  Revision  Changes    Path
  1.6       +1 -1      jakarta-oro/docs/users.html
  
  Index: users.html
  ===================================================================
  RCS file: /home/cvs/jakarta-oro/docs/users.html,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- users.html	24 Apr 2004 19:27:15 -0000	1.5
  +++ users.html	24 Apr 2004 19:29:14 -0000	1.6
  @@ -187,7 +187,7 @@
   
   	<dt><a href="http://tuckey.org/urlrewrite/">UrlRewriteFilter</a></dt>
   	<dd>An open source servlet filter that lets users of Tomcat
  -	(and other srvlet containers) rewrite urls (as you would in
  +	(and other servlet containers) rewrite URLs (as you would in
   	Apache httpd using mod_rewrite).</dd>
   
   	</dl>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: aburgess@example.net
For additional commands, e-mail: aburgess@example.net


From oro-aburgess@example.net Sat Apr 24 19:30:03 2004
Return-Path: <oro-aburgess@example.net>
Delivered-To: aburgess@example.net
Received: (qmail 35286 invoked from network); 24 Apr 2004 19:30:03 -0000
Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur-2.apache.org with SMTP; 24 Apr 2004 19:30:03 -0000
Received: (qmail 47466 invoked by uid 500); 24 Apr 2004 19:29:52 -0000
Delivered-To: aburgess@example.net
Received: (qmail 47448 invoked by uid 500); 24 Apr 2004 19:29:52 -0000
Mailing-List: contact aburgess@example.net; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:aburgess@example.net>
List-Subscribe: <mailto:aburgess@example.net>
List-Help: <mailto:aburgess@example.net>
List-Post: <mailto:aburgess@example.net>
List-Id: "ORO Developers List" <oro-dev.jakarta.apache.org>
Reply-To: "ORO Developers List" <aburgess@example.net>
Delivered-To: mailing list aburgess@example.net
Received: (qmail 47433 invoked from network); 24 Apr 2004 19:29:52 -0000
Received: from unknown (HELO savarese.org) (83.161.120.155)
  by daedalus.apache.org with SMTP; 24 Apr 2004 19:29:52 -0000
Received: from mail.savarese.org (mail2.savarese.org [83.161.120.155])
	by savarese.org (8.12.11/8.12.11) with ESMTP id i3OJTpQE019393
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL)
	for <aburgess@example.net>; Sat, 24 Apr 2004 15:29:52 -0400
Received: from yoda.savarese.org (yoda.savarese.org [83.161.120.155])
	by mail.savarese.org (8.12.10/8.12.10) with ESMTP id i3OJTv4C023538
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <aburgess@example.net>; Sat, 24 Apr 2004 15:29:58 -0400
Received: from savarese.org 
	by yoda.savarese.org (8.12.10/8.12.10/Submit) with ESMTP id i3OJTuXl003486
	for <aburgess@example.net>; Sat, 24 Apr 2004 15:29:56 -0400
Message-Id: <aburgess@example.net>
X-Mailer: exmh version 2.5 10/15/1999 with nmh-1.0.4
To: "ORO Developers List" <aburgess@example.net>
Subject: Re: Thanks 
In-reply-to: Your message of "Mon, 19 Apr 2004 22:52:57 +1200."
             <aburgess@example.net> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sat, 24 Apr 2004 15:29:56 -0400
From: "Daniel F. Savarese" <aburgess@example.net>
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N


In message <aburgess@example.net>, Paul Tuckey writes:
>Thanks for making ORO!

Thanks for using it!

>I am using it in UrlRewriteFilter, an open source servlet filter that 
>lets users of Tomcat (and other srvlet containers) rewrite urls (as you 
>would in Apache httpd using mod_rewrite).

I added it to the list at:
  http://jakarta.apache.org/oro/users.html

daniel



---------------------------------------------------------------------
To unsubscribe, e-mail: aburgess@example.net
For additional commands, e-mail: aburgess@example.net


From oro-aburgess@example.net Mon Apr 26 16:54:36 2004
Return-Path: <oro-aburgess@example.net>
Delivered-To: aburgess@example.net
Received: (qmail 72984 invoked from network); 26 Apr 2004 16:54:35 -0000
Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur-2.apache.org with SMTP; 26 Apr 2004 16:54:35 -0000
Received: (qmail 90379 invoked by uid 500); 26 Apr 2004 16:54:28 -0000
Delivered-To: aburgess@example.net
Received: (qmail 90350 invoked by uid 500); 26 Apr 2004 16:54:28 -0000
Mailing-List: contact aburgess@example.net; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:aburgess@example.net>
List-Subscribe: <mailto:aburgess@example.net>
List-Help: <mailto:aburgess@example.net>
List-Post: <mailto:aburgess@example.net>
List-Id: "ORO Developers List" <oro-dev.jakarta.apache.org>
Reply-To: "ORO Developers List" <aburgess@example.net>
Delivered-To: mailing list aburgess@example.net
Received: (qmail 90332 invoked from network); 26 Apr 2004 16:54:27 -0000
Received: from unknown (HELO pscgate.progress.com) (83.161.120.155)
  by daedalus.apache.org with SMTP; 26 Apr 2004 16:54:27 -0000
Received: from elvirus.progress.com (elvirus [83.161.120.155])
	by pscgate.progress.com (8.12.11/8.12.11/PSC-5.11) with ESMTP id i3QGsOLG013237
	for <aburgess@example.net>; Mon, 26 Apr 2004 12:54:25 -0400 (EDT)
Received: from progress.com (localhost [83.161.120.155])
	by elvirus.progress.com (8.10.2/8.10.2/PSC-4.01) with ESMTP id i3QGsN722984
	for <aburgess@example.net>; Mon, 26 Apr 2004 12:54:23 -0400 (EDT)
Received: from NTEXFE02.bedford.progress.com (ntexfe02 [83.161.120.155])
	by progress.com (8.11.6/8.11.6) with ESMTP id i3QGsNH17833
	for <aburgess@example.net>; Mon, 26 Apr 2004 12:54:23 -0400 (EDT)
Received: from MAIL01.bedford.progress.com ([83.161.120.155]) by NTEXFE02.bedford.progress.com with Microsoft SMTPSVC(6.0.3790.0);
	 Mon, 26 Apr 2004 12:54:23 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: Version file for oro... 
Date: Mon, 26 Apr 2004 12:54:22 -0400
Message-ID: <aburgess@example.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Version file for oro... 
Thread-Index: AcQqMbjduowRCswDS2eoAj/8c2ipxwBfRlUQ
From: "Thomas Mitchell, Jr." <aburgess@example.net>
To: "ORO Developers List" <aburgess@example.net>
X-OriginalArrivalTime: 26 Apr 2004 16:54:23.0382 (UTC) FILETIME=[20441360:01C42BAF]
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N

Fair enough.  Sounds like a worthwhile idea.  Thanks for the further
explaination and for helping me with the submission.

Tom=20

-----Original Message-----
From: Daniel F. Savarese [mailto:aburgess@example.net]=20
Sent: Saturday, April 24, 2004 3:24 PM
To: ORO Developers List
Subject: Re: Version file for oro...=20


In message
<aburgess@example.net>
, "Thomas Mitchell, Jr." writes:
>	About your tweak.  Are you saying you would like users to be
>able to create a Version class so they can create their own version of
><something>, but in the Jakarta format?  That sounds obscure, but
>flexible, and potentially dangerous.  Even so, that I would vote for.

Suppose a couple of projects decide that a Version class or interface
is a handy thing for reasons similar to the one that motivated you.
It would be convenient for them to use the same class or interface, so
you could perform some dynamic checks like
  if(oroVersion.getMajorVersion() < 2) {
    abort("FOO requires ORO version 3.0 or higher\n");
  }
Or let's say you have an automated regression test suite that checks
for changes in behavior between successive versions of software.  It's
handy to have the version be an instantiable object instead of a
singleton
with static methods.  That way you can collect all of the versions and
test results.  The interface (I'm thinking it should be an interface
now) can be read only and doesn't have to expose any setter methods.
A default implementation could have protected setter methods.  The
open question I see is if one is to build a generic version facility,
how do you query it generically?  The best I can figure is to settle
on a convention of placing a class named Version (different from the
generic org.apache.version.Version interface) in the top level package
(in our case org.apache.oro.Version) with a static getVersion() method
that returns an org.apache.version.Version instance.

>projects, so please excuse my ignorance.  I would like to make sure
>users don't hang themselves somehow.  From a user perspective, version
>information is generally query only; a one-way street.  From an AP
>perspective, creating a version with the Jakarta format may have some
>use.  As long as the shipped products can have clearly defined lines
>between their version getter and the generic version creator (so to
>speak), I think it's a great idea.  Clear javadoc will help.

Yes, I think we're on the same page.  The idea is to keep the version
getter and version creator separate.  I actually have a need for a
simple versioning API for a research project I'm working on.  I
have these objects that implement atomic pieces of functionality
that are stitched together dynamically.  If one of the objects
fails in some way, I want to be able to revert to a previous
version of the object.  To do this in a general way, I need to
be able to represent version information.

Anyway, I think we can work on the version stuff here and then
move it to either Jakarta Commons or Apache Commons as a simple
package.  I checked Ant and Maven and couldn't find anything
comparable, but I couldn't find where the repository project
is tucked away, so I don't know if they have something.

daniel



---------------------------------------------------------------------
To unsubscribe, e-mail: aburgess@example.net
For additional commands, e-mail: aburgess@example.net



---------------------------------------------------------------------
To unsubscribe, e-mail: aburgess@example.net
For additional commands, e-mail: aburgess@example.net



{'source': 'Apache Software Foundation Public Mail Archives'}