venerdì 21 settembre 2012

Compilare PMD 5.0.x

Con la 5.0.x del 1/5/2012 la compilazione non si fa più con Ant, ma con MAVEN.
Adesso la guida da seguire è:
http://pmd.sourceforge.net/snapshot/compiling.html

Maven l'avevo già installato.
Il file POM.xml si scarica insieme ai sorgenti, quindi si può passare direttamente a compilare, ma.. anche in questo caso FoxyProxy Video Utility crea problemi.
Una volta scaricato il sorgente da https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/5.0.x
in una cartella locale ( ad es. C:\Users\Duccio\workspace\pmd-5.0.x), da cmd ci si sposta nella cartella in questione e si esegue:


mvn package

Anche in questo caso, come per Selenium, ottengo l'errore:



#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000180001b62, pid=5652, t
id=5936
#
# JRE version: 7.0_01-b08
# Java VM: Java HotSpot(TM) 64-Bit Server VM (21.1-b02 mixed mode windows-amd64
compressed oops)
# Problematic frame:
# C  [FPServiceProvider64.dll+0x1b62]
#
# Failed to write core dump. Minidumps are not enabled by default on client vers
ions of Windows
#
# An error report file with more information is saved as:
# C:\Users\Duccio\workspace\pmd-5.0.x\hs_err_pid5652.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
C:\Users\Duccio\workspace\pmd-5.0.x>

Disinstallando  FoxyProxy Video Utility e lanciando nuovamente 
mvn clean package
 parte la compilazione

Nessun commento: