Can't find header.txt
Status: Beta
Brought to you by:
dennislundberg
When i run jetstyle on my project i get:
Checkstyle error
(com.puppycrawl.tools.checkstyle.api.CheckstyleException:
cannot initialize module TreeWalker - Cannot set
property 'headerFile' in module Header to 'header.txt':
unable to load header file header.txt)
even though i have a header.txt file in the same dir as
the checkstyle.xml.
Any ideas ?
Logged In: YES
user_id=1457221
having virtually the same issue; the problem for us is with:
<module name="ImportControl">
<property name="file" value="${basedir}/import_control.xml"/>
</module>
(in our build environment, the file cannot be found without
the basedir property specified) only the full path to the
file seems to work, eg:
<property name="file" value="c:\some\dir\import_control.xml"/>