2011/8/11 Simone Tripodi <[email protected]>:
> Salut Olivier!!!
> thanks a lot for your reply and sorry for writing so late (and missed
> the messages on Twitter - I'm working on sume stuff as bricklayer
> @home these days :P).
> So my question is: how to configure current checkstyle plugin in order
> to handle package-info.java insead of package.html?

See http://checkstyle.sourceforge.net/config_javadoc.html
As I understand  check of package-info.java is the default value if
you add this simple line in your checkstyle configuration :
<module name="JavadocPackage"/>


> Many thanks in advance, have a nice day!!!
> All the best, a bientot!
> Simo
>
> http://people.apache.org/~simonetripodi/
> http://www.99soft.org/
>
>
>
> On Thu, Aug 11, 2011 at 3:49 PM, Olivier Lamy <[email protected]> wrote:
>> Hello Simone,
>> I think this JavadocPackage comes with 5.0 checkstyle version. (see
>> release note [1] )
>>
>> As I can see checkstyle plugin in commons is 2.2 which use checkstyle 4.4.
>>
>> Maybe time to upgrade :-) (checktyle plugin 2.7 will be available soon)
>>
>> --
>> Olivier Lamy
>> Talend : http://talend.com
>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>>
>> [1] http://checkstyle.sourceforge.net/releasenotes.html
>>
>> 2011/8/11 Simone Tripodi <[email protected]>:
>>> Hi all,
>>> In apache commons functor[1] (sandbox) I'm trying to enable the
>>> JavadocPackage checkstyle module, unfortunately I'm getting the
>>> following error:
>>>
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-site-plugin:3.0-beta-3:site
>>> (default-site) on project commons-functor: Error during page
>>> generation: Error rendering Maven report: Failed during checkstyle
>>> configuration: cannot initialize module JavadocPackage - Unable to
>>> instantiate JavadocPackage: Unable to instantiate JavadocPackageCheck
>>> -> [Help 1]
>>>
>>> Is there any way I can configure checkstyle in order to accept that module?
>>> My environment is
>>>
>>> $ mvn --version
>>> Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
>>> Maven home: /Applications/apache-maven-3.0.3
>>> Java version: 1.5.0_24, vendor: Apple Inc.
>>> Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
>>> Default locale: en_US, platform encoding: MacRoman
>>> OS name: "mac os x", version: "10.6.4", arch: "i386", family: "unix"
>>>
>>> Many thanks in advance, have a nice day!!!
>>> Simo
>>>
>>> [1] https://svn.apache.org/repos/asf/commons/sandbox/functor/trunk
>>>
>>> http://people.apache.org/~simonetripodi/
>>> http://www.99soft.org/
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Olivier Lamy
Talend : http://talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to