struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Bockermann <>
Subject Re: Convention Plugin - "Unable to find a result type for extension [svn/]"
Date Thu, 01 Oct 2009 14:55:32 GMT
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 empty string,  
which of
course does not start with a ".".

I attached a patch which solves this problem. You may want to adjust  
the code.

Best regards,

View raw message