Re: Convention Plugin - "Unable to find a result type for extension [svn/]"

2009-10-01 Thread Musachy Barroso
boo :). I wrote a test and all with a file like ".xyz" and forgot about dirs. musachy On Thu, Oct 1, 2009 at 7:55 AM, Christian Bockermann wrote: > Hi Musachy, > > I'm sorry to say that your patch didn't work. In the '.svn' case, '.svn' is > a directory and the value of "path" will be ".../.svn/

Re: Convention Plugin - "Unable to find a result type for extension [svn/]"

2009-10-01 Thread Christian Bockermann
Hi Musachy, I'm sorry to say that your patch didn't work. In the '.svn' case, '.svn' is a directory and the value of "path" will be ".../.svn/". In you patch you check String fileName = StringUtils.substringAfterLast( path, "/" ) which in the '.svn'-directory-case will result in an e

Re: Convention Plugin - "Unable to find a result type for extension [svn/]"

2009-09-30 Thread Musachy Barroso
convention uses the extension to figure out the result type, so it is getting confused and assuming that "svn" is a type. I think it is safe to ignore any file that starts with "." as it will have no file name, so no result could ever map to it (by convention at least). I fixed it in trunk, Jira is