[jira] (MCHECKSTYLE-186) FileTabCharacter check not working
[ https://jira.codehaus.org/browse/MCHECKSTYLE-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=328928#comment-328928 ] Dipti Desai commented on MCHECKSTYLE-186: - This is what I am currently using in my checkstyle-config.xml Hope this helps. {code} !-- No TAB characters in the source code -- module name=FileTabCharacter property name=eachLine value=true/ property name=fileExtensions value=java,xml/ /module {code} FileTabCharacter check not working -- Key: MCHECKSTYLE-186 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-186 Project: Maven 2.x Checkstyle Plugin Issue Type: Bug Reporter: Dipti Desai Priority: Minor The FileTabCharacter check doesnt seem to work. Below is my config: {code:xml} module name=Checker .. .. !-- No TAB characters in the source code -- module name=FileTabCharacter property name=eachLine value=true / property name=fileExtensions value=java,xml / /module .. .. module name=TreeWalker .. .. /module /module {code} I have my xml files - pom.xml and checkstyle config xml containing tabs but none of them are flagged as violations. Some additional info - my plugin config looks like this: {code:xml} plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId version2.9.1/version executions execution phaseverify/phase goals goalcheck/goal /goals /execution /executions configuration configLocationcheckstyle/kepler-checkstyle-config.xml/configLocation suppressionsLocation${project.parent.basedir}${file.separator}checkstyle/kepler-checkstyle-suppressions.xml/suppressionsLocation /configuration /plugin {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MCHECKSTYLE-186) FileTabCharacter check not working
[ https://jira.codehaus.org/browse/MCHECKSTYLE-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=328950#comment-328950 ] Dipti Desai commented on MCHECKSTYLE-186: - {code} plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId version2.10/version executions execution phaseverify/phase goals goalcheck/goal /goals /execution /executions configuration includes**\/*.xml,**\/*.java/includes excludes**/target/**/*,**/test/**/*/excludes configLocationcheckstyle/kepler-checkstyle-config.xml/configLocation suppressionsLocation${project.parent.basedir}${file.separator}checkstyle/kepler-checkstyle-suppressions.xml/suppressionsLocation /configuration /plugin {code} FileTabCharacter check not working -- Key: MCHECKSTYLE-186 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-186 Project: Maven 2.x Checkstyle Plugin Issue Type: Bug Reporter: Dipti Desai Priority: Minor The FileTabCharacter check doesnt seem to work. Below is my config: {code:xml} module name=Checker .. .. !-- No TAB characters in the source code -- module name=FileTabCharacter property name=eachLine value=true / property name=fileExtensions value=java,xml / /module .. .. module name=TreeWalker .. .. /module /module {code} I have my xml files - pom.xml and checkstyle config xml containing tabs but none of them are flagged as violations. Some additional info - my plugin config looks like this: {code:xml} plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId version2.9.1/version executions execution phaseverify/phase goals goalcheck/goal /goals /execution /executions configuration configLocationcheckstyle/kepler-checkstyle-config.xml/configLocation suppressionsLocation${project.parent.basedir}${file.separator}checkstyle/kepler-checkstyle-suppressions.xml/suppressionsLocation /configuration /plugin {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MCHECKSTYLE-186) FileTabCharacter check not working
[ https://jira.codehaus.org/browse/MCHECKSTYLE-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=323906#comment-323906 ] Dipti Desai commented on MCHECKSTYLE-186: - This has been resolved. You may close this. Thanks for all your help. I am not sure what exactly fixed the problem but I poked around a bit in the maven checkstyle code and got the exact default expression for includes and excludes and modified and used that in my POMs. Also, upgraded to 2.10. FileTabCharacter check not working -- Key: MCHECKSTYLE-186 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-186 Project: Maven 2.x Checkstyle Plugin Issue Type: Bug Reporter: Dipti Desai Priority: Minor The FileTabCharacter check doesnt seem to work. Below is my config: {code:xml} module name=Checker .. .. !-- No TAB characters in the source code -- module name=FileTabCharacter property name=eachLine value=true / property name=fileExtensions value=java,xml / /module .. .. module name=TreeWalker .. .. /module /module {code} I have my xml files - pom.xml and checkstyle config xml containing tabs but none of them are flagged as violations. Some additional info - my plugin config looks like this: {code:xml} plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId version2.9.1/version executions execution phaseverify/phase goals goalcheck/goal /goals /execution /executions configuration configLocationcheckstyle/kepler-checkstyle-config.xml/configLocation suppressionsLocation${project.parent.basedir}${file.separator}checkstyle/kepler-checkstyle-suppressions.xml/suppressionsLocation /configuration /plugin {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MCHECKSTYLE-186) FileTabCharacter check not working
[ https://jira.codehaus.org/browse/MCHECKSTYLE-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dipti Desai closed MCHECKSTYLE-186. --- Resolution: Not A Bug FileTabCharacter check not working -- Key: MCHECKSTYLE-186 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-186 Project: Maven 2.x Checkstyle Plugin Issue Type: Bug Reporter: Dipti Desai Priority: Minor The FileTabCharacter check doesnt seem to work. Below is my config: {code:xml} module name=Checker .. .. !-- No TAB characters in the source code -- module name=FileTabCharacter property name=eachLine value=true / property name=fileExtensions value=java,xml / /module .. .. module name=TreeWalker .. .. /module /module {code} I have my xml files - pom.xml and checkstyle config xml containing tabs but none of them are flagged as violations. Some additional info - my plugin config looks like this: {code:xml} plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId version2.9.1/version executions execution phaseverify/phase goals goalcheck/goal /goals /execution /executions configuration configLocationcheckstyle/kepler-checkstyle-config.xml/configLocation suppressionsLocation${project.parent.basedir}${file.separator}checkstyle/kepler-checkstyle-suppressions.xml/suppressionsLocation /configuration /plugin {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MCHECKSTYLE-186) FileTabCharacter check not working
[ https://jira.codehaus.org/browse/MCHECKSTYLE-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=322344#comment-322344 ] Dipti Desai commented on MCHECKSTYLE-186: - @Dennis, have you had a chance to look into my query above? FileTabCharacter check not working -- Key: MCHECKSTYLE-186 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-186 Project: Maven 2.x Checkstyle Plugin Issue Type: Bug Reporter: Dipti Desai Priority: Minor The FileTabCharacter check doesnt seem to work. Below is my config: {code:xml} module name=Checker .. .. !-- No TAB characters in the source code -- module name=FileTabCharacter property name=eachLine value=true / property name=fileExtensions value=java,xml / /module .. .. module name=TreeWalker .. .. /module /module {code} I have my xml files - pom.xml and checkstyle config xml containing tabs but none of them are flagged as violations. Some additional info - my plugin config looks like this: {code:xml} plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId version2.9.1/version executions execution phaseverify/phase goals goalcheck/goal /goals /execution /executions configuration configLocationcheckstyle/kepler-checkstyle-config.xml/configLocation suppressionsLocation${project.parent.basedir}${file.separator}checkstyle/kepler-checkstyle-suppressions.xml/suppressionsLocation /configuration /plugin {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MCHECKSTYLE-186) FileTabCharacter check not working
[ https://jira.codehaus.org/browse/MCHECKSTYLE-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=320572#comment-320572 ] Dipti Desai commented on MCHECKSTYLE-186: - Thanks for your help. I am still facing issues with it. I am not sure what I could be doing wrong here. {code} plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId version2.9.1/version configuration includes**/*.xml,**/*.java/includes sourceDirectory${project.basedir}/sourceDirectory configLocationcheckstyle/kepler-checkstyle-config.xml/configLocation suppressionsLocation${project.parent.basedir}${file.separator}checkstyle/kepler-checkstyle-suppressions.xml/suppressionsLocation /configuration /plugin{code} In the sourceDirectory tag, I tried ${project.basedir} as well as ${project.parent.basedir} to make it look through all possible files but the XMLs are still not being flagged for containing tabs. Do you see something that I might be missing? Could you please help? FileTabCharacter check not working -- Key: MCHECKSTYLE-186 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-186 Project: Maven 2.x Checkstyle Plugin Issue Type: Bug Reporter: Dipti Desai Priority: Minor The FileTabCharacter check doesnt seem to work. Below is my config: {code:xml} module name=Checker .. .. !-- No TAB characters in the source code -- module name=FileTabCharacter property name=eachLine value=true / property name=fileExtensions value=java,xml / /module .. .. module name=TreeWalker .. .. /module /module {code} I have my xml files - pom.xml and checkstyle config xml containing tabs but none of them are flagged as violations. Some additional info - my plugin config looks like this: {code:xml} plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId version2.9.1/version executions execution phaseverify/phase goals goalcheck/goal /goals /execution /executions configuration configLocationcheckstyle/kepler-checkstyle-config.xml/configLocation suppressionsLocation${project.parent.basedir}${file.separator}checkstyle/kepler-checkstyle-suppressions.xml/suppressionsLocation /configuration /plugin {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MCHECKSTYLE-186) FileTabCharacter check not working
[ https://jira.codehaus.org/browse/MCHECKSTYLE-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=320335#comment-320335 ] Dipti Desai commented on MCHECKSTYLE-186: - I did try this {code}includes**/*.xml,**/*.java/includes{code} with and without the {code}property name=fileExtensions value=java,xml,xsl,properties/{code} but the xml files are not getting flagged. Any idea what might be going wrong? FileTabCharacter check not working -- Key: MCHECKSTYLE-186 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-186 Project: Maven 2.x Checkstyle Plugin Issue Type: Bug Reporter: Dipti Desai Priority: Minor The FileTabCharacter check doesnt seem to work. Below is my config: {code:xml} module name=Checker .. .. !-- No TAB characters in the source code -- module name=FileTabCharacter property name=eachLine value=true / property name=fileExtensions value=java,xml / /module .. .. module name=TreeWalker .. .. /module /module {code} I have my xml files - pom.xml and checkstyle config xml containing tabs but none of them are flagged as violations. Some additional info - my plugin config looks like this: {code:xml} plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId version2.9.1/version executions execution phaseverify/phase goals goalcheck/goal /goals /execution /executions configuration configLocationcheckstyle/kepler-checkstyle-config.xml/configLocation suppressionsLocation${project.parent.basedir}${file.separator}checkstyle/kepler-checkstyle-suppressions.xml/suppressionsLocation /configuration /plugin {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MCHECKSTYLE-186) FileTabCharacter check not working
[ https://jira.codehaus.org/browse/MCHECKSTYLE-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=319889#comment-319889 ] Dipti Desai commented on MCHECKSTYLE-186: - Thanks for your reply. I went through the linked issue and the revisions mentioned there. I may be missing something out here but I didn't really find anything specific that could validate my xml files. Could you please elaborate a little on what could fix this issue? FileTabCharacter check not working -- Key: MCHECKSTYLE-186 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-186 Project: Maven 2.x Checkstyle Plugin Issue Type: Bug Reporter: Dipti Desai Priority: Minor The FileTabCharacter check doesnt seem to work. Below is my config: {code:xml} module name=Checker .. .. !-- No TAB characters in the source code -- module name=FileTabCharacter property name=eachLine value=true / property name=fileExtensions value=java,xml / /module .. .. module name=TreeWalker .. .. /module /module {code} I have my xml files - pom.xml and checkstyle config xml containing tabs but none of them are flagged as violations. Some additional info - my plugin config looks like this: {code:xml} plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId version2.9.1/version executions execution phaseverify/phase goals goalcheck/goal /goals /execution /executions configuration configLocationcheckstyle/kepler-checkstyle-config.xml/configLocation suppressionsLocation${project.parent.basedir}${file.separator}checkstyle/kepler-checkstyle-suppressions.xml/suppressionsLocation /configuration /plugin {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MCHECKSTYLE-186) FileTabCharacter check not working
Dipti Desai created MCHECKSTYLE-186: --- Summary: FileTabCharacter check not working Key: MCHECKSTYLE-186 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-186 Project: Maven 2.x Checkstyle Plugin Issue Type: Bug Reporter: Dipti Desai Priority: Minor The FileTabCharacter check doesnt seem to work. Below is my config: module name=Checker .. .. !-- No TAB characters in the source code -- module name=FileTabCharacter property name=eachLine value=true / property name=fileExtensions value=java,xml / /module .. .. module name=TreeWalker .. .. /module /module I have my xml files - pom.xml and checkstyle config xml containing tabs but none of them are flagged as violations. Some additional info - my plugin config looks like this: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId version2.9.1/version executions execution phaseverify/phase goals goalcheck/goal /goals /execution /executions configuration configLocationcheckstyle/kepler-checkstyle-config.xml/configLocation suppressionsLocation${project.parent.basedir}${file.separator}checkstyle/kepler-checkstyle-suppressions.xml/suppressionsLocation /configuration /plugin -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira