Skip navigation
Currently Being Moderated

FlexPMD view always empty (Flex Builder 4.5.1 in Eclipse 3.6.2 on 32bit WinXP)

Jan 4, 2012 6:31 AM

I've installed the v1.2 all in one .zip and configured it as per http://opensource.adobe.com/wiki/display/flexpmd/FlexPMD+Eclipse+plugi n after installing the plugin itself some time ago (back in v1.1 days). No updates are show right now as pending and the update site is enabled.

 

Although the CPD detector runs OK, when I right click a source folder and choose 'Run FlexPMD', the Flex PMD view remains empty. The PMD builder is enabled for the project too, no joy.

 

The eror log doesn't have anthing relevent, just :

eclipse.buildId=M20110210-1200

java.version=1.6.0_26

java.vendor=Oracle Corporation

BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB

Command-line arguments:  -os win32 -ws win32 -arch x86

 

 

Error

Wed Jan 04 14:20:20 GMT 2012

Unable to create menu item "com.adobe.ac.pmd.eclipse.toolbar.runCommand", command "com.adobe.ac.pmd.eclipse.flexpmd.runCommand.category" not defined

 

Any hints ?

 
Replies
  • Currently Being Moderated
    Feb 16, 2012 11:53 AM   in reply to ChivertonT

    Check if your project name contains space character. If there is any space in name FlexPMD fails to generate anything. Just figured this out while having exactly the same problem. Hope it helps.

     

    Including including the -Djava.io.tmpdir= param in java command line didn't help in my case

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 16, 2012 11:50 AM   in reply to ChivertonT

    Try changing the "Java command line" in the FlexPMD preferences to change the location of the temp folder to somewhere FlashBuilder has permissions... This can be done by including the -Djava.io.tmpdir="

    C:\Documents and Settings\{user}\Application Data\Temp" or a similar directory.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points