You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Haile, Mussie" <Ha...@Pragmatics.com> on 2004/12/01 15:44:01 UTC
Checkstyle: Running Very Slow
Hej et al -
Have you guys noticed that Checkstyle is very slow? I am running a
multiproject which I need to run Checkstyle, PMD, JCaverage etc. to collect
different metric and make sure every one is following the Sun Java Coding
standards etc. I have found that it is averaging between 20-55 min per
project to just run Checkstyle. I wanted to know if their is any
configuration other than the Sun_check.xml I can do to make run faster?
Thank You.
-M-
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
how to package an application as opposed to a module
Posted by Janos Mucsi <mu...@yahoo.com>.
Hi
I am following this structure:
- dev
- modules
+ module1
+ module2
- applications
+ app1
+ app2
...
I have two questions:
1. Since for example log4j.properties does not belong
to any module, should I open one of the jars in app1
or app2 and include it, after the app's jars and ears
have been built.
2. When do you run XDoclet to create the application
server *specific* descriptors? Does that also mean
including the xml files in the already existing jars?
What would be a better solution?
Thanks.
Janos
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Checkstyle: Running Very Slow
Posted by Eric Giguere <er...@videotron.ca>.
Hello
Yes, edit your own starting from the sun_check.xml.
For your config tweaks to be effective, try first locating the most
common errors (and least significant in your case) and remove them from
the checks that Checkstyle does.
Then, make the checkstyle plugin use that new config file by setting
this property in your project.properties:
maven.checkstyle.format=custom
Note that for this to work, you must put your custom_checks.xml file in
the
<user_root/.maven/cache>/maven-checkstyle-plugin-2.5-SNAPSHOT\plugin-resources
Hope it helps
Eric.
Haile, Mussie wrote:
>Hej et al -
>
>Have you guys noticed that Checkstyle is very slow? I am running a
>multiproject which I need to run Checkstyle, PMD, JCaverage etc. to collect
>different metric and make sure every one is following the Sun Java Coding
>standards etc. I have found that it is averaging between 20-55 min per
>project to just run Checkstyle. I wanted to know if their is any
>configuration other than the Sun_check.xml I can do to make run faster?
>
>Thank You.
>
>-M-
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org