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

Exclude a Package

Participant ,
Oct 25, 2012 Oct 25, 2012

Copy link to clipboard

Copied

Hi,

I am running Flex PMD on Flash Builder 4.0 with Hero SDK. I am unable to exclude certain packages which I do not want to scan by Flex PMD. Here is what I have in my rulset.xml file.

<exclude-pattern>.*/com/adobe/.*</exclude-pattern>

          <exclude-pattern>.*/com/displayshelf/.*</exclude-pattern>

          <exclude-pattern>.*/com/hurlant/.*</exclude-pattern>

          <exclude-pattern>.*/com/riaValue/.*</exclude-pattern>

but still it is not working. It always scan all these folders and give errors.

Please help.

Thanks

Ankur

TOPICS
FlexPMD

Views

3.1K

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
Community Beginner ,
Oct 25, 2012 Oct 25, 2012

Copy link to clipboard

Copied

There was a bug for that… but it was fixed in FlexPMD 1.2

Are you using 1.2?

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
Participant ,
Oct 25, 2012 Oct 25, 2012

Copy link to clipboard

Copied

LATEST

Yes, This is what I have "flex-pmd-all-in-one-bundle-1.2".

Can you help me in getting rulset.xml which is running for you? I think there may be a case that I did not exulded packages with proper syntax.

Thanks

Ankur

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