Issue Type: Bug Bug
Affects Versions: codenarc-maven-plugin-0.18-1
Assignee: Garvin LeClaire
Attachments: paths_fix_for_windows.patch
Components: codenarc
Created: 08/Apr/13 2:47 PM
Description:

When using windows the maven basedir has backslashes in it and if you combine that with other paths you have an issue of combined backslashes and forward slashes.

For example the config below would create C:\myproject/grails-app/conf/. and this causes the ant task to blow up.

<plugin>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>codenarc-maven-plugin</artifactId>
  <version>0.18.1</version>
  <configuration>
    <excludes>${basedir}/grails-app/conf/*.*</excludes>
  </configuration>
</plugin>

I have included a patch that will convert all backslashes in path properties to be converted to forward slashes, this looks to solve the issue.

Environment: Windows
Project: Mojo
Priority: Major Major
Reporter: Ben McGuire
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
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to