Date: Sat, 28 Aug 2004 15:16:50 +0200 (CEST) From: Bruno Van Den Bossche <brvdboss@spymac.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: java/71078: Update port: java/eclipse-pmd upgrade to support eclipse3 Message-ID: <200408281316.i7SDGo8l025407@Noisy.localdomain.local> Resent-Message-ID: <200408281320.i7SDKEDf075681@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <brvdboss@spymac.com> 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 <bsd.port.mk> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408281316.i7SDGo8l025407>