From 823d3447c89146b74cfa4717cef2d7c2d55c0bc1 Mon Sep 17 00:00:00 2001 From: Xavier Le Vourch Date: Tue, 20 May 2008 18:27:25 +0000 Subject: [PATCH] preparing for 4.2.2 release git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@6134 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd/etc/changelog.txt | 2 +- pmd/etc/doing_the_next_pmd_release.txt | 1 + pmd/etc/generate_release.sh | 4 ++-- pmd/src/net/sourceforge/pmd/PMD.java | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pmd/etc/changelog.txt b/pmd/etc/changelog.txt index c5a1855b8f..14e659c145 100644 --- a/pmd/etc/changelog.txt +++ b/pmd/etc/changelog.txt @@ -1,4 +1,4 @@ -???? - 4.2.2: +May 20, 2008 - 4.2.2: Fixed false positive in UnusedImports: javadoc comments are parsed to check @see and other tags Fixed parsing bug: constant fields in annotation classes diff --git a/pmd/etc/doing_the_next_pmd_release.txt b/pmd/etc/doing_the_next_pmd_release.txt index e9cc420e7c..794757440c 100644 --- a/pmd/etc/doing_the_next_pmd_release.txt +++ b/pmd/etc/doing_the_next_pmd_release.txt @@ -71,6 +71,7 @@ for 'pmd-repo' must be defined in ~/.m2/settings.xml cd ~/pmd/pmd/ update the "download" and "what's new" link in navigation.xml +update date and changelog links in project.xml (recent releases section) ./docs.sh all ./docs.sh upload diff --git a/pmd/etc/generate_release.sh b/pmd/etc/generate_release.sh index b483362cab..8a35de2745 100644 --- a/pmd/etc/generate_release.sh +++ b/pmd/etc/generate_release.sh @@ -63,9 +63,9 @@ read RESP; if [ "$RESP" = "yes" ]; then echo echo "Tagging release using" - echo "svn copy -m \"$version release tag\" https://pmd.svn.sourceforge.net/svnroot/pmd/trunk/pmd https://pmd.svn.sourceforge.net/svnroot/pmd/tags/pmd/pmd_release_$release_tag" + echo "svn copy -m \"$version release tag\" https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x https://pmd.svn.sourceforge.net/svnroot/pmd/tags/pmd/pmd_release_$release_tag" echo - svn copy -m "$version release tag" https://pmd.svn.sourceforge.net/svnroot/pmd/trunk/pmd https://pmd.svn.sourceforge.net/svnroot/pmd/tags/pmd/pmd_release_$release_tag + svn copy -m "$version release tag" https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x https://pmd.svn.sourceforge.net/svnroot/pmd/tags/pmd/pmd_release_$release_tag else echo echo "Skipping svn tag!!!" diff --git a/pmd/src/net/sourceforge/pmd/PMD.java b/pmd/src/net/sourceforge/pmd/PMD.java index a1f7792e7b..3740b4e4fc 100644 --- a/pmd/src/net/sourceforge/pmd/PMD.java +++ b/pmd/src/net/sourceforge/pmd/PMD.java @@ -48,7 +48,7 @@ import net.sourceforge.pmd.util.FileFinder; public class PMD { public static final String EOL = System.getProperty("line.separator", "\n"); - public static final String VERSION = "4.2.2-SNAPSHOT"; + public static final String VERSION = "4.2.2"; public static final String EXCLUDE_MARKER = "NOPMD"; private static final Logger LOG = Logger.getLogger(PMD.class.getName());