Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 1058 invoked from network); 28 Feb 2005 16:05:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 28 Feb 2005 16:05:02 -0000 Received: (qmail 11909 invoked by uid 500); 28 Feb 2005 16:04:57 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 11881 invoked by uid 500); 28 Feb 2005 16:04:57 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 11866 invoked by uid 99); 28 Feb 2005 16:04:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from chiron.lunarpages.com (HELO chiron.lunarpages.com) (64.235.234.14) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 28 Feb 2005 08:04:55 -0800 Received: from zammet2 by chiron.lunarpages.com with local (Exim 4.44) id 1D5nOA-0003yD-0F for user@ant.apache.org; Mon, 28 Feb 2005 08:04:54 -0800 Received: from 12.27.179.239 ([12.27.179.239]) (SquirrelMail authenticated user fzlists@omnytex.com) by webmail.chiron.lunarpages.com with HTTP; Mon, 28 Feb 2005 11:04:53 -0500 (EST) Message-ID: <48214.12.27.179.239.1109606693.squirrel@webmail.chiron.lunarpages.com> Date: Mon, 28 Feb 2005 11:04:53 -0500 (EST) Subject: Checkstyle task From: "Frank W. Zammetti" To: user@ant.apache.org User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - chiron.lunarpages.com X-AntiAbuse: Original Domain - ant.apache.org X-AntiAbuse: Originator/Caller UID/GID - [32746 1232] / [47 12] X-AntiAbuse: Sender Address Domain - omnytex.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I'm having a heck of a time trying to get a CheckStyle task up and running... I'm using Ant 1.6.2 and CheckStyle 3.4. Here's what I have in my build.xml: I'm trying to run the analysis on all the classes generated by a previous compile step, which was done into a standard webapp directory structure. I'd like the output to go to the console as well as an XML report file. The property toa_base_dir is properly defined. I know this because all the other tasks in the build work fine using it. I'm getting: static_analysis: [echo] Performing static code analysis... [taskdef] Could not load definitions from resource checkstyletask.properties. It could not be found. I have a classpath definition which includes: I've verified the JAR is there and is spelled accurately here. There are a number of other JARs in that directory, all of which are added to the path as expected, so I know the basic path construction works. I've read that there may or may not be some compatibility issues with this version of CheckStyle and Ant about 1.5, but I haven't found any actual answers to what to do about it. Can anyone help? Thanks very much! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org