From owner-freebsd-java@FreeBSD.ORG Sat Aug 28 13:20:20 2004 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB1E216A4CF for ; Sat, 28 Aug 2004 13:20:20 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1FD243D5F for ; Sat, 28 Aug 2004 13:20:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i7SDKE56075682 for ; Sat, 28 Aug 2004 13:20:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7SDKEDf075681; Sat, 28 Aug 2004 13:20:14 GMT (envelope-from gnats) Resent-Date: Sat, 28 Aug 2004 13:20:14 GMT Resent-Message-Id: <200408281320.i7SDKEDf075681@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bruno Van den Bossche Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9798A16A4CE for ; Sat, 28 Aug 2004 13:17:07 +0000 (GMT) Received: from outmx014.isp.belgacom.be (outmx014.isp.belgacom.be [195.238.2.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id C308243D2D for ; Sat, 28 Aug 2004 13:17:06 +0000 (GMT) (envelope-from brvdboss@spymac.com) Received: from outmx014.isp.belgacom.be (localhost [127.0.0.1]) with ESMTP id i7SDGu3I030505 for ; Sat, 28 Aug 2004 15:16:56 +0200 (envelope-from ) Received: from Noisy.localdomain.local (148-22.240.81.adsl.skynet.be [81.240.22.148])with ESMTP id i7SDGpd4030465; Sat, 28 Aug 2004 15:16:51 +0200 (envelope-from ) Received: from Noisy.localdomain.local (Belgacom.lan [127.0.0.1] (may be forged))i7SDGowO025587; Sat, 28 Aug 2004 15:16:50 +0200 (CEST) (envelope-from bomberboy@Noisy.localdomain.local) Received: (from bomberboy@localhost) by Noisy.localdomain.local (8.13.1/8.13.1/Submit) id i7SDGo8l025407; Sat, 28 Aug 2004 15:16:50 +0200 (CEST) (envelope-from bomberboy) Message-Id: <200408281316.i7SDGo8l025407@Noisy.localdomain.local> Date: Sat, 28 Aug 2004 15:16:50 +0200 (CEST) From: Bruno Van Den Bossche To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: java/71078: Update port: java/eclipse-pmd upgrade to support eclipse3 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Bruno Van den Bossche List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Aug 2004 13:20:20 -0000 >Number: 71078 >Category: java >Synopsis: Update port: java/eclipse-pmd upgrade to support eclipse3 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Aug 28 13:20:13 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Bruno Van Den Bossche >Release: FreeBSD 5.3-BETA1 i386 >Organization: >Environment: System: FreeBSD Noisy.localdomain.local 5.3-BETA1 FreeBSD 5.3-BETA1 #0: Tue Aug 24 20:03:37 CEST 2004 root@Noisy.localdomain.local:/usr/obj/usr/src/sys/NOISY i386 >Description: Upgrade of the pmd-plugin for Eclipse to support eclipse3 and upgrade th port to the current major version >How-To-Repeat: >Fix: --- pmd-port.sh begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # eclipse-pmd # eclipse-pmd/pkg-descr # eclipse-pmd/distinfo # eclipse-pmd/Makefile # eclipse-pmd/pkg-plist # echo c - eclipse-pmd mkdir -p eclipse-pmd > /dev/null 2>&1 echo x - eclipse-pmd/pkg-descr sed 's/^X//' >eclipse-pmd/pkg-descr << 'END-of-eclipse-pmd/pkg-descr' XPMD scans Java source code and looks for potential problems like: X X * Unused local variables X * Empty catch blocks X * Unused parameters X * Empty 'if' statements X * Duplicate import statements X * Unused private methods X * Classes which could be Singletons X * Short/long variable and method names X XWWW: http://pmd.sourceforge.net/ END-of-eclipse-pmd/pkg-descr echo x - eclipse-pmd/distinfo sed 's/^X//' >eclipse-pmd/distinfo << 'END-of-eclipse-pmd/distinfo' XMD5 (eclipse/pmd-eclipse3-site-2.0.5.zip) = 2031c18c9e3875809064df1eb192058e XSIZE (eclipse/pmd-eclipse3-site-2.0.5.zip) = 4267395 END-of-eclipse-pmd/distinfo echo x - eclipse-pmd/Makefile sed 's/^X//' >eclipse-pmd/Makefile << 'END-of-eclipse-pmd/Makefile' X# New ports collection makefile for: eclipse-pmd X# Date created: October 3, 2003 X# Whom: Bruno Van Den Bossche X# X# $FreeBSD$ X# X XPORTNAME= pmd XPORTVERSION= 2.0.5.v3 XCATEGORIES= java devel XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= pmd XPKGNAMEPREFIX= eclipse- XDISTNAME= pmd-eclipse3-site-2.0.5 XDIST_SUBDIR= eclipse X XMAINTAINER= java@FreeBSD.org XCOMMENT= Scan Java source code and look for potential problems X XRUN_DEPENDS= ${LOCALBASE}/bin/eclipse:${PORTSDIR}/java/eclipse X XNO_BUILD= yes XNO_WRKSUBDIR= yes XUSE_ZIP= yes XUSE_JAVA= yes X XCPIO?= cpio --quiet -pdmu -R X XPMDVERSION= 1.8.0.v3 X XPLUGIN_CORE_DIR="net.sourceforge.pmd.core_${PMDVERSION}" XPLUGIN_PMD_DIR= "net.sourceforge.pmd.eclipse_${PORTVERSION}" X XPLIST_SUB+= PLUGIN_PMD_DIR="${PLUGIN_PMD_DIR}" \ X PLUGIN_CORE_DIR="${PLUGIN_CORE_DIR}" X Xpost-extract: X cd ${WRKDIR}/features && ${MKDIR} ${PLUGIN_PMD_DIR} \ X && ${CP} ${PLUGIN_PMD_DIR}.jar ${PLUGIN_PMD_DIR} \ X && cd ${PLUGIN_PMD_DIR} \ X && ${JAR} xvf ${PLUGIN_PMD_DIR}.jar \ X && ${RM} ${PLUGIN_PMD_DIR}.jar X X cd ${WRKDIR}/plugins && ${MKDIR} ${PLUGIN_PMD_DIR} \ X && ${CP} ${PLUGIN_PMD_DIR}.jar ${PLUGIN_PMD_DIR} \ X && cd ${PLUGIN_PMD_DIR} \ X && ${JAR} xvf ${PLUGIN_PMD_DIR}.jar \ X && ${RM} ${PLUGIN_PMD_DIR}.jar X X cd ${WRKDIR}/plugins && ${MKDIR} ${PLUGIN_CORE_DIR} \ X && ${CP} ${PLUGIN_CORE_DIR}.jar ${PLUGIN_CORE_DIR} \ X && cd ${PLUGIN_CORE_DIR} \ X && ${JAR} xvf ${PLUGIN_CORE_DIR}.jar \ X && ${RM} ${PLUGIN_CORE_DIR}.jar X Xdo-install: X @${MKDIR} ${PREFIX}/eclipse X @${MKDIR} ${PREFIX}/eclipse/plugins X @${MKDIR} ${PREFIX}/eclipse/plugins/${PLUGIN_PMD_DIR} X @${MKDIR} ${PREFIX}/eclipse/plugins/${PLUGIN_CORE_DIR} X @${MKDIR} ${PREFIX}/eclipse/features/${PLUGIN_PMD_DIR} X cd ${WRKDIR}/features/${PLUGIN_PMD_DIR} && ${FIND} . \ X | ${CPIO} ${SHAREOWN}:${SHAREGRP} \ X ${PREFIX}/eclipse/features/${PLUGIN_PMD_DIR} X cd ${WRKDIR}/plugins/${PLUGIN_PMD_DIR} && ${FIND} . \ X | ${CPIO} ${SHAREOWN}:${SHAREGRP} \ X ${PREFIX}/eclipse/plugins/${PLUGIN_PMD_DIR} X cd ${WRKDIR}/plugins/${PLUGIN_CORE_DIR} && ${FIND} . \ X | ${CPIO} ${SHAREOWN}:${SHAREGRP} \ X ${PREFIX}/eclipse/plugins/${PLUGIN_CORE_DIR} X X.include END-of-eclipse-pmd/Makefile echo x - eclipse-pmd/pkg-plist sed 's/^X//' >eclipse-pmd/pkg-plist << 'END-of-eclipse-pmd/pkg-plist' Xeclipse/features/%%PLUGIN_PMD_DIR%%/feature.properties Xeclipse/features/%%PLUGIN_PMD_DIR%%/feature.xml Xeclipse/features/%%PLUGIN_PMD_DIR%%/pmd_logo_small.jpg Xeclipse/plugins/%%PLUGIN_CORE_DIR%%/doc.zip Xeclipse/plugins/%%PLUGIN_CORE_DIR%%/lib/jaxen-core-1.0-fcs.jar Xeclipse/plugins/%%PLUGIN_CORE_DIR%%/lib/pmd-1.8.jar Xeclipse/plugins/%%PLUGIN_CORE_DIR%%/lib/saxpath-1.0-fcs.jar Xeclipse/plugins/%%PLUGIN_CORE_DIR%%/plugin.properties Xeclipse/plugins/%%PLUGIN_CORE_DIR%%/plugin.xml Xeclipse/plugins/%%PLUGIN_CORE_DIR%%/plugin_fr.properties Xeclipse/plugins/%%PLUGIN_CORE_DIR%%/toc.xml Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/CHANGELOG.txt Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/LICENSE.txt Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/README.txt Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/RELNOTES.txt Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/TODO.txt Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/about.ini Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/doc.zip Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/icons/error.gif Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/icons/file.gif Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/icons/info.gif Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/icons/pmd-icon-16.gif Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/icons/pmd-icon-32.gif Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/icons/prio_1.gif Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/icons/prio_2.gif Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/icons/prio_3.gif Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/icons/prio_4.gif Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/icons/prio_5.gif Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/icons/prj.gif Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/icons/remvio.gif Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/icons/warn.gif Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/lib/commons-logging.jar Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/lib/log4j-1.2.8.jar Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/log4j.dtd Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/log4j.xml Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/messages.properties Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/nl/fr/messages.properties Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/nl/fr/welcome.xml Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/plugin.properties Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/plugin.xml Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/plugin_fr.properties Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/pmd-eclipse.jar Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/toc.xml Xeclipse/plugins/%%PLUGIN_PMD_DIR%%/welcome.xml X@dirrm eclipse/plugins/%%PLUGIN_PMD_DIR%%/nl/fr X@dirrm eclipse/plugins/%%PLUGIN_PMD_DIR%%/nl X@dirrm eclipse/plugins/%%PLUGIN_PMD_DIR%%/lib X@dirrm eclipse/plugins/%%PLUGIN_PMD_DIR%%/icons X@dirrm eclipse/plugins/%%PLUGIN_PMD_DIR%% X@dirrm eclipse/plugins/%%PLUGIN_CORE_DIR%%/lib X@dirrm eclipse/plugins/%%PLUGIN_CORE_DIR%% X@dirrm eclipse/features/%%PLUGIN_PMD_DIR%% END-of-eclipse-pmd/pkg-plist exit --- pmd-port.sh ends here --- >Release-Note: >Audit-Trail: >Unformatted: