Hi there,
I am using the <XSLT> Ant task to transform a file output by a java tool
called Checkstyle.

When the XSLT task is called I am getting an error as follows

javax.xml.transform.TransformerException:
com.sun.org.apache.xalan.internal.xsl
tc.TransletException: java.io.FileNotFoundException:
checkstyle\C_\XXXX\projects
\XXXX\regsystemv2\XXXXXXXRegistrationSystem\build\regsystemv2\XXXXXXXReg
istratio
nSystem\Java
Source\com\xxx\xxxx\businessobjects\event\eventdate\EventDateInfo.j
ava.html (The system cannot find the path specified)

Looking at the file system the file does exist at the following location

C:\XXXX\projects\XXXX\regsystemv2\XXXXXXXRegistrationSystem\build\checks
tyle\
C_\XXXX\projects\XXXX\regsystemv2\XXXXXXXRegistrationSystem\build\regsys
temv2\
XXXXXXXRegistrationSystem\Java
Source\com\xxx\xxxx\businessobjects\event\eventdate

So I thought that the actual path was too long and I confirmed that by
copying all the required files to the root of C, ran the transformation
and all worked just fine.

I am not very knowledgeable in XSLT but looking at the stylesheet it
appears to be attempting to write to the above file
I believe the line causing the problem is the following
<redirect:write file="{$output.dir}/{$new-name}.html">

Is there some sort of limitation to file names or paths?

I appreciate any help or advice in rectifying this issue.

Thanks
Sean 

Reply via email to