AW: Checkstyle

2008-08-26 Thread Jan.Materne
Here a snippet from our build. We have three sourcefolders (src/main, src/test, src/junit), so I'll iterate over src/* later. Line 2: Use Ants AntLib capability to load the checkstyle tasks. For that they must be on Ants classpath. E.g. in ANT_HOME/lib, or added by "-lib" opt

Checkstyle

2008-08-25 Thread Schwartz, Ran
Has anyone configured checkstyle to get to work through Ant or their command line? I am having issues with it. Even the most basic of examples would be of help. Thanks, Ran

AW: AW: checkstyle-ant

2007-07-31 Thread Jan.Materne
Oh, instead of modifying Ant you could also put checkstyle into your project ( ${basedir}/checkstyle ) and work from inside Ant: As a further step, you could let Ivy download cs and define the path ... see http://svn.apache.org/viewvc

AW: AW: checkstyle-ant

2007-07-30 Thread Jan.Materne
the solution :-))) * Create a "checkstyle" directory under your Ant installation ( ${ant.home}/checkstyle will now point to this) * Put the checkstyle-all-4.3.jar (containing standard checks), checkstyle-optional-4.3.jar (containing J2EE checks) and your own checks into that direct

Re: AW: checkstyle-ant

2007-07-30 Thread Sameer Borwankar
hey Jan, Thanks for your replActually i am not able to find the CS-distro.zip file so can you please tell me from where can i get it. One me\ore thing when i am trying to run custom checkstyle rules xml file called cs-rules.xml then the same script is giving me the error as unable to

AW: checkstyle-ant

2007-07-30 Thread Jan.Materne
generates a xml based report. This report should be converted to HTML by the

Re: checkstyle-ant

2007-07-30 Thread Prashant Reddy
Does the file checkstyle.xsl exist in the directory where your build.xml is ? -Prashant On Mon, 2007-07-30 at 02:20 -0700, Sameer Borwankar wrote: > Hi all, > > I am trying to generate a report using checkstyle plugin with IBM RAD. > I have written an ant script for the sam

checkstyle-ant

2007-07-30 Thread Sameer Borwankar
Hi all, I am trying to generate a report using checkstyle plugin with IBM RAD. I have written an ant script for the same as follows: When i try to run this ant script the error which m getting is "system cannot find the file checkstyle.xsl" so plea

Re: Checkstyle and junit classloader problem - help

2006-03-17 Thread Dominique Devienne
On 3/14/06, Le, Vu (EDS) <[EMAIL PROTECTED]> wrote: > Could someone provide me a pointer on this ? Thanks. I can get > checkstyle and junit working just fine by putting their jar files in > ANT_HOME/lib but I don't want to do that and that is when my problems > come. You

Checkstyle and junit classloader problem - help

2006-03-14 Thread Le, Vu \(EDS\)
Could someone provide me a pointer on this ? Thanks. I can get checkstyle and junit working just fine by putting their jar files in ANT_HOME/lib but I don't want to do that and that is when my problems come. I want to use junit, and checkstyle with Ant (1.6.5) but I don't want

Re: PMD and Checkstyle rules.

2005-10-04 Thread robert
file etc. How do you do this when you have say a PMD > or > checkstyle producing less files than there are classes and you want to only > reparse the source trees if in fact source has been changed since you last > ran > PMD. even if you've compiled since. Then basically have you

PMD and Checkstyle rules.

2005-10-04 Thread robert
So whilst I understand how to use to determine whether .class files are in sync with .java file etc. How do you do this when you have say a PMD or checkstyle producing less files than there are classes and you want to only reparse the source trees if in fact source has been changed since you last

Exception in CheckStyle task

2005-07-08 Thread Frank W. Zammetti
Hi everyone... this might actually be a question I need to ask elsewhere, but I figured it's a good place to start (after 20 minutes of Googling didn't turn anything up)... I have a CheckStyle task in my build script. When I execute the script, for *some* of the classes it checks, but

RE: Checkstyle task

2005-02-28 Thread Frank W. Zammetti
Ah! That's the piece of information I needed... I didn't realize the classpath had to be defined within the taskdef, I thought I could add the checkstyle JAR to my global classpath and it would work. Yes, that makes all the different, thank you! -- Frank W. Zammetti Founder and Chie

RE: Checkstyle task

2005-02-28 Thread Dominique Devienne
> From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] > > 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: > > > >

Checkstyle task

2005-02-28 Thread Frank W. Zammetti
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 p

Checkstyle and Ant

2004-12-28 Thread Dick, Brian E.
I am planning the deployment of Ant 1.7alpha to our project team. Currently, we are using Ant 1.5. We are also using Checkstyle 2.4. Are there any compatibility issues with Checkstyle 2.4 and Ant 1.7alpha? Should we upgrade to a later version of Checkstyle? Later, Brian Dick

RE: Classpath problem with Checkstyle?

2004-10-28 Thread Dominique Devienne
> From: Roberto Juarez [mailto:[EMAIL PROTECTED] > I have in structed Checkstyle to allow the @throws tag for undeclared > exceptions in the checkstyle.xml configuration file This is not Ant-related. Just add a corresponding throws XyxException declaration to the method when y

Classpath problem with Checkstyle?

2004-10-28 Thread Roberto Juarez
Hi folks, I am using Checkstyle 3.3 under Ant 1.6.2. I have in structed Checkstyle to allow the @throws tag for undeclared exceptions in the checkstyle.xml configuration file ... ... but Checkstyle is

AW: Comparing Checkstyle and JUnit classpath usage patterns

2004-10-05 Thread Jan . Materne
oberto Juarez [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 5. Oktober 2004 12:20 > An: [EMAIL PROTECTED] > Betreff: Comparing Checkstyle and JUnit classpath usage patterns > > Hi everyone, > > I am using both Checkstyle and JUnit with Ant 1.6.2. It is > very easy to us

Comparing Checkstyle and JUnit classpath usage patterns

2004-10-05 Thread Roberto Juarez
Hi everyone, I am using both Checkstyle and JUnit with Ant 1.6.2. It is very easy to use Checkstyle as I only need to declare the task and provide it with the necessary jar files as follows (unnecesary content removed