You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Henri Yandell <fl...@gmail.com> on 2008/03/11 09:49:19 UTC

[lang] 2.4 release?

All the issues for 2.4 are done; seems like it's release time?

Sounds like that means doing:

* Edit pom.xml and project.xml to be 2.4
* Tag as rc1
* Switch to JDK 1.4
* Run mvn -Prc clean package
* sign commons-lang-2.4*
* upload for inspection
* upload site [site gets OOMs with findbugs and cobertura turned on]
* call vote

This is my first M2 release, so let me know if that doesn't sound
right. I'll go ahead and do a build Tuesday or Wednesday night.

Hen

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


Re: [lang] 2.4 release?

Posted by Henri Yandell <fl...@gmail.com>.
On Tue, Mar 11, 2008 at 5:30 AM, sebb <se...@gmail.com> wrote:
> On 11/03/2008, Henri Yandell <fl...@gmail.com> wrote:
>  > All the issues for 2.4 are done; seems like it's release time?
>
>  There are a few Findbugs errors that look easy to fix, e.g
>
>  Computation of average could overflow in
>  commons-lang-rw/src/java/org/apache/commons/lang        Entities.java   line
>  683
>
>  - just replace >> 1 with >>> 1

Fixed.

>  Exception is caught when Exception is not thrown in
>  commons-lang-rw/src/java/org/apache/commons/lang/exception      ExceptionUtils.java     line
>  97

I guess the question here is whether it was intended to catch
SecurityException or not. Not sure. Tempted to leave til next version
rather than making a late change.

>  Exception is caught when Exception is not thrown in
>  commons-lang-rw/src/java/org/apache/commons/lang/text   NumberMetaFormat.java   line
>  54

Class no longer exists.

>  Class org.apache.commons.lang.text.StrBuilder implements Cloneable but
>  does not define or use clone method

Known problem - we're not implementing clone there. Instead when we
can break backwards compat we'll remove the interface.

>  >  Sounds like that means doing:
>  >
>  >  * Edit pom.xml and project.xml to be 2.4
>  >  * Tag as rc1
>  >  * Switch to JDK 1.4
>  >  * Run mvn -Prc clean package
>
>  The build is currently targeted at Java 1.1, so really needs to be
>  tested using Java 1.3 or earlier.

Add an 'ant test' in there under JDK 1.3 to the process.

>  Also, are the Ant and M1 build files up-to-date?

Should be. Things don't really change.

>  DOAP file needs updating; it does not include 2.3.

Fixed.

>  Might be good to collect the DOAPs in a common shared area; they are
>  not really needed in tags and branches.

Seems good - but a separate issue from this release.

Thanks for finding all those.

Hen

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


Re: [lang] 2.4 release?

Posted by sebb <se...@gmail.com>.
On 11/03/2008, Henri Yandell <fl...@gmail.com> wrote:
> All the issues for 2.4 are done; seems like it's release time?

There are a few Findbugs errors that look easy to fix, e.g

Computation of average could overflow in
commons-lang-rw/src/java/org/apache/commons/lang	Entities.java	line
683

- just replace >> 1 with >>> 1

Exception is caught when Exception is not thrown in
commons-lang-rw/src/java/org/apache/commons/lang/exception	ExceptionUtils.java	line
97
Exception is caught when Exception is not thrown in
commons-lang-rw/src/java/org/apache/commons/lang/text	NumberMetaFormat.java	line
54

Class org.apache.commons.lang.text.StrBuilder implements Cloneable but
does not define or use clone method


>  Sounds like that means doing:
>
>  * Edit pom.xml and project.xml to be 2.4
>  * Tag as rc1
>  * Switch to JDK 1.4
>  * Run mvn -Prc clean package

The build is currently targeted at Java 1.1, so really needs to be
tested using Java 1.3 or earlier.

Also, are the Ant and M1 build files up-to-date?

DOAP file needs updating; it does not include 2.3.
Might be good to collect the DOAPs in a common shared area; they are
not really needed in tags and branches.

>  * sign commons-lang-2.4*
>  * upload for inspection
>  * upload site [site gets OOMs with findbugs and cobertura turned on]
>  * call vote
>
>  This is my first M2 release, so let me know if that doesn't sound
>  right. I'll go ahead and do a build Tuesday or Wednesday night.
>
>  Hen
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  For additional commands, e-mail: dev-help@commons.apache.org
>
>

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


Re: [lang] 2.4 release?

Posted by Niall Pemberton <ni...@gmail.com>.
On Tue, Mar 11, 2008 at 8:49 AM, Henri Yandell <fl...@gmail.com> wrote:
> All the issues for 2.4 are done; seems like it's release time?
>
>  Sounds like that means doing:
>
>  * Edit pom.xml and project.xml to be 2.4

...and also build.xml

I've copied the releases notes into upgradeto2_4.xml - would be good
to update the index page to reflect the 2.4 release.
Could be done after since were not bundling the site in the distro,
but nice to have it in the tagged copy.

Also theres the new download_lang.xml page which would be good to do:
    - remove the <commons.binary.suffix> property (will default to m2
"-bin" suffix)
    - update <commons.release.version> property to 2.4
    - run "mvn commons:download-page" to re-generate download_lang.xml
    - commit the changes to download_lang.xml

>  * Tag as rc1

Check out the rc1 tagged copy.

>  * Switch to JDK 1.4
>  * Run mvn -Prc clean package

...on the rc1 tagged copy

If you run "install" rather than package it will sign and create
checksums as well - although the checksums are not in target - only in
copy installed in you local repo. Also need to have gpg configured for
it to sign the artifacts.

Niall

>  * sign commons-lang-2.4*
>  * upload for inspection
>  * upload site [site gets OOMs with findbugs and cobertura turned on]
>  * call vote
>
>  This is my first M2 release, so let me know if that doesn't sound
>  right. I'll go ahead and do a build Tuesday or Wednesday night.
>
>  Hen

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