Skip to main content
Inspiring
October 18, 2010
Question

FlexPMD not working in Ant 1.7

  • October 18, 2010
  • 1 reply
  • 704 views

When attempting to run FlexPMD in Ant 1.7.0, we receive this error message:

Couldn't find that class Can't find resource com/adobe/ac/pmd/rulesets/architecture.xml. Make sure the resource is a valid file or URL or is on the CLASSPATH

However, switching to Ant 1.8 resolves the problem completely.

Does FlexPMD support Ant 1.7.0?

Anybody know why we might be getting this message? 

Thanks

This topic has been closed for replies.

1 reply

clottonAuthor
Inspiring
October 19, 2010

We resolved the issue.

It seems the Ant 1.7 supplied to us contained an old pmd-4.1.jar in the lib directory.   Removing that jar solves the problem.