I had the same problem: FlexPMD runs, but no messages. I run it on windows 7. I searched for this problem, and found several workarounds. The only one that worked for me was to run flash builder '.. as administrator'. Only then will it produce results. Possibly windows7 poses some restriction on temporary files, and running as administrator helps. But it would be better if the problem were fixed.
I have the same problem with Flash Builder 4.5 under Mac OS X running FlexPMD 1.2
I have no spaces in my directories. Flex PMD preferences are well configured.
When I run FlexPMD on my source directory, a task is starting for few seconds, Flex PMD view opens, but nothing is displayed in the view !
No visible errors of the problem...
I've created a new workspace without spaces (my default workspace folder is "Adobe Flash Builder 4.5" so with spaces in it !) and Flex PMD is displaying results in PMD view !
I'm using plugin 1.2 version.
A bug exists but it seems it has been resolved in 1.2 version : http://bugs.adobe.com/jira/browse/FLEXPMD-127
May be this fix is not working on Mac OS X ??
Anyone experiencing this problem ??
I ran into this problem on Windows 7, the problem appeared to be related to the creation of a temp directory to store the pmd.xml. Unfortunately FlashBuilder installs in Program Files and so permissions get all messed up when creating this folder. Fortunately, you can configure FlexPMD to create the file elsewhere.
To fix it:
go to Window > Preferences > FlexPMD in FlashBuilder
change the "Java command line" to include -Djava.io.tmpdir=C:\Users\{user_name}\AppData\Local\Temp
Hi,
"Nothing happens when I run Flex PMD/Flex cut and paste option ". Please help !!
I am using Flex Builder 3 + Eclipse 3.3 version.
From the adobe forum, I came to know that Flex PMD plugin is tested from the Flex Builder 3 + Eclispe 3.4 version.
Does this mean that it wont work on earlier versions of Eclipse.
I have installed Flex PMD from the following link which contains version 1.0.0.v200912991712 http://opensource.adobe.com/svn/opensource/flexpmd/plugin/trunk/flex-p md-eclipse-plugin-site
and configured the Flex Plugin(jar files) of version 1.1 & 1.2.
Do I need to configure Jar files of version 1.0 as Flex PMD plugin version is 1.0?
FYI, there are no white spaces either in my workspace name or project name. Also changed the Java command line to temp directory.
But still Flex PMD view is empty.
Thanks in Advance
chatrathi,
you said there is no whitespace in your workspace and project name, but is there any whitespace in your "FlexPMD command line installation" directory? (http://bugs.adobe.com/jira/browse/FLEXPMD-126)
The only reasons I know for the result you describe are listed here: http://opensource.adobe.com/wiki/display/flexpmd/FlexPMD+Eclipse+plugi n at the very bottom is a known issues list.
HTH
I'm running Eclipse Indigo on Windows 7. None of the usual fixes worked for me. In the end, I tracked it down to the fact that the plugin was using a version of XStream that is incompatible with Java 7. I checked out the source code, upgraded the XStream library, and redeployed the plugin into my Eclipse install. It works perfectly now. Unfortunately, I'm not sure who, if anyone, is maintaining FlexPMD these days.
No, I definitely mean Java 7. Here's the StackOverflow question that pointed me in the right direction: http://stackoverflow.com/questions/7966817/xstream-unmarshalling-type- specified-in-xml-not-visible. Unfortunately, I can't really provide much more specific info without writing a tutorial on using SVN and writing an Eclipse Plugin. ![]()
Hi Everyone,
I was also struggling with same issue.
Using Flash Builder 4, was taking Flex PMD from: http://opensource.adobe.com/svn/opensource/flexpmd/plugin/trunk/flex-p md-eclipse-plugin-site
But when I was running FlexPMD nothing was coming.
SOULTION: I was using Java 7. I downgraded to Java 6 and now everything is working fine
.
So, it seems FlexPMD is having issues with Java 7.
North America
Europe, Middle East and Africa
Asia Pacific