• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

File Output auf Custom Ruleset creator not working

Explorer ,
May 07, 2010 May 07, 2010

Copy link to clipboard

Copied

Hi everybody,

I tried FlexPMD and I like it.

Therefore I wanted to create my custom ruleset with this tool:

http://opensource.adobe.com/svn/opensource/flexpmd/bin/flex-pmd-ruleset-creator.html

I changes some rules and export that xml.

In "Eclipse->Settings->FlexPMD->FlexPMD custom ruleset" I browse to that downloaded file.

Everytime I set a custom ruleset file FlexPMD does not find any errors, warnings or informations anymore.

I am using:

Eclipse

Version: 3.4.2
Build id: M20090211-1700

Flashbuilder 4

Version: 4.0

Build id: 272416

Any ideas why I cannot set up my custom ruleset?

Regards,

Jan

TOPICS
FlexPMD

Views

1.8K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 07, 2010 May 07, 2010

Copy link to clipboard

Copied

Hi,

Can you attach the exported ruleset, please?

That would help us a lot.

Xavier

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 07, 2010 May 07, 2010

Copy link to clipboard

Copied

I am really sorry to ask that, but I can not find any Button to attach a file to that forum ...

you can grab it here.

and it looks like as it is valid:

http://www.validome.org/xml/validate/?lang=ge&url=http://kite-zone.de/upload/pmd.xml

btw.: Fileattachment ist disabled in this forum at the moment ...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 11, 2010 May 11, 2010

Copy link to clipboard

Copied

any news on that issue?

Regards,

wMan

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 11, 2010 May 11, 2010

Copy link to clipboard

Copied

I can't reproduce on my machine with your custom ruleset. It works fine.

Does it behave the same way if you don't specify your custom ruleset?

Do you have anything in your Eclipse workspace log?

Xavier

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 14, 2010 May 14, 2010

Copy link to clipboard

Copied

Hi Xavier,

I have tested it on two different machines same problem.

If I specify a custom ruleset, flexPMD shows no errors, warnings or infos in the flex pmd view.

If I don't specify a custom ruleset, flexPMD shows errors, warings or infos in the flex pmd view again.

The only erros/warnings I can see acording to flexPMG in the error logs are:

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

2.) Cannot bind to an undefined command: plug-in='com.adobe.ac.pmd.eclipse', id='com.adobe.ac.pmd.eclipse.flexpmd.runCommand.category'

Eclipse Infos:

eclipse.buildId=M20090211-1700
java.version=1.6.0_17
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
Framework arguments:  -keyring /Users/wman/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws carbon -arch x86 -clean -keyring /Users/wman/.eclipse_keyring -consoleLog -showlocation

Regards,

Jan

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 23, 2010 Jul 23, 2010

Copy link to clipboard

Copied

Hi,

I've exactly the same problem like you. Do you have a solution yet?

regards

Reini

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 23, 2010 Jul 23, 2010

Copy link to clipboard

Copied

LATEST

Unfortunately not,

but the last time I've tested it was with FlashBuilder 4. Maybe in the updated version of FlashBuilder 4.0.1 its fixed?

Here you can find the latest version of FlashBuilder: http://www.adobe.com/support/flex/downloads_updaters.html

Let me now, if you find something out.

Regards,

Jan

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines