flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Line" <markl...@gmail.com>
Subject RE: code metrics
Date Fri, 28 Feb 2014 10:50:02 GMT
I am also having problems getting it to run. I'm getting the same error as

!ENTRY org.eclipse.ui 4 4 2014-02-25 13:20:47.707
!MESSAGE Unable to create menu item
"com.adobe.ac.pmd.eclipse.toolbar.runCommand", command
"com.adobe.ac.pmd.eclipse.flexpmd.runCommand.category" not defined

My settings are:

FlexPMD command line installation:
FlexPMD custom ruleset:
Java command line: java -Xmx256m
FlexCPD command line installation:
Minimum tokens: 25

I've also done what other people seem to recommend such as no spaces in
project names and locations. EG my work space is now:

Weirdly "Find suspect cut and paste" works correctly and I get the results
via the window in Flash builder. While FlexPMD runs but I never see the

The command actually seems to run correctly and the results are stored in an
xml file. They never appear in Flash builder.

EG from Flash builder within the UI it would create something like this
which was ran: 

java -Xmx256m -Djava.io.tmpdir=C:\Users\Mark\AppData\Local\Temp -jar
-command-line-1.0.jar -s
C:\Users\Mark\AdobeFlashBuilder4.7\classes\as3_classes\package\name -o

I've tried changing java jre's (x86 and x64) 1.6 and 1.7 running Flash
builder as admin or current user. 

I've also tried using the newer version of FlexPMD that ships with flash
develop (1.2, while I can only find 1.0 via the flex pmd project page).

It would be great to get it to work, although currently I've given up and
I've been using it via the command line :-(

-----Original Message-----
From: Devesh Mishra [mailto:Devesh.Mishra@mastek.com] 
Sent: 28 February 2014 06:31
To: users@flex.apache.org
Subject: RE: code metrics

I am unable to configure FlexPMD with eclipse 3.5, getting some error i.e.

java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_IN Framework
arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product
org.eclipse.epp.package.jee.product -clean

Fri Feb 28 11:57:54 IST 2014
Unable to create menu item "com.adobe.ac.pmd.eclipse.toolbar.runCommand",
command "com.adobe.ac.pmd.eclipse.flexpmd.runCommand.category" not defined

I am not getting any answer related to this issue on Google. 
Can someone help me regarding this issue ?

-----Original Message-----
From: omuppi1@gmail.com [mailto:omuppi1@gmail.com] On Behalf Of OmPrakash
Sent: 25 February 2014 05:52
To: users@flex.apache.org
Subject: Re: code metrics

On Mon, Feb 24, 2014 at 4:08 PM, Maurice Amsellem <
maurice.amsellem@systar.com> wrote:

> I used FlexPMD a few years ago. Don't know if it is supported yet.
Alex mentioned a while ago that FlexPMD might be donated to Apache Flex.


> Maurice
> -----Message d'origine-----
> De : Lee Burrows [mailto:subscriptions@leeburrows.com]
> Envoyé : mardi 25 février 2014 00:53
> À : Apache Flex User Mailing List
> Objet : code metrics
> Hi All,
> Anybody know of any free code metric tools for Flex?
> --
> Lee Burrows
> ActionScripter
In the US, we're called MAJESCOMASTEK

Opinions expressed in this e-mail are those of the individual and not that
of Mastek Limited, unless specifically indicated to that effect. Mastek
Limited does not accept any responsibility or liability for it. This e-mail
and attachments (if any) transmitted with it are confidential and/or
privileged and solely for the use of the intended person or entity to which
it is addressed. Any review, re-transmission, dissemination or other use of
or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. This e-mail and
its attachments have been scanned for the presence of computer viruses. It
is the responsibility of the recipient to run the virus check on e-mails and
attachments before opening them. If you have received this e-mail in error,
kindly delete this e-mail from desktop and server.

View raw message