Skip to main content
Inspiring
October 26, 2012
Question

Exclude a Package

  • October 26, 2012
  • 1 reply
  • 3162 views

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

This topic has been closed for replies.

1 reply

clintmodien
Known Participant
October 26, 2012

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

Are you using 1.2?

Inspiring
October 26, 2012

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