Skip to main content
Inspiring
Oct 18, 2010 5:03 PM UTC
Question

FlexPMD not working in Ant 1.7

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 is closed to new replies. Start a new post to keep the conversation going.

1 reply

clottonAuthor
Inspiring
Oct 19, 2010 3:51 PM UTC

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.

Translate