Ignore:
Timestamp:
Apr 9, 2007, 5:59:42 PM (14 years ago)
Author:
landonf@…
Message:

The PMD port wasn't working; this commit:

  • Uses the included .jar dependencies
  • Fixes the bin/pmd script to pass arguments directly to pmd
  • Does not attempt to depend on kaffe (unusable).
  • Claims ownership (plus openmaintainer)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/pmd/files/pmd

    r8648 r23776  
    11#!/bin/sh
    22PREFIX=_PREFIX_
    3 if [ $# -ne 3 ]; then
    4         echo "Usage $0 source.java format rule"
    5         echo " format: html, text, xml"
    6         echo " rules: basic, braces, clone, codesize, controversial, coupling, design, favorites, finalizers, imports, javabeans, junit, naming, newrules, scratchpad, strictexception, strings, unusedcode"
    7 else
    8         RULE=${PREFIX}/share/pmd/${3}.xml
    9         java -classpath ${PREFIX}/share/java/xml-apis.jar:${PREFIX}/share/java/xercesImpl.jar:${PREFIX}/share/java/saxpath.jar:${PREFIX}/share/java/jaxen-core.jar:${PREFIX}/share/java/pmd.jar net.sourceforge.pmd.PMD $1 $2 ${RULE}
    10 fi
    113
     4java -jar ${PREFIX}/share/pmd/pmd.jar "$@"
Note: See TracChangeset for help on using the changeset viewer.