I've found it myself :
<fileNameRegex>(.*)xml</fileNameRegex>
<fileNameReplacement>$1jsp</fileNameReplacement>
Nicolas De Loof a écrit :
Hello,
I'd like to use the XSLT mojo to convert some XML files to JSP using
an XSLT template (for used with rialto studio)
This works fine, but I don't understant how to use the
fileNameReplacement property to convert my file to a .jsp. Can someone
give me some explaination ?
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xslt-maven-plugin</artifactId>
<configuration>
<srcDir>${basedir}/src/main/rialto</srcDir>
<xslFile>${basedir}/src/main/rialto/rialtoXMLtoJSP.xsl</xslFile>
<destDir>${basedir}/src/main/webapp/rialto</destDir>
<fileNameRegex>.*xml</fileNameRegex>
<fileNameReplacement>jsp</fileNameReplacement>
WHAT TO PUT HERE ???
</configuration>
</plugin>
Nico
This message contains information that may be privileged or
confidential and is the property of the Capgemini Group. It is
intended only for the person to whom it is addressed. If you are not
the intended recipient, you are not authorized to read, print,
retain, copy, disseminate, distribute, or use this message or any
part thereof. If you receive this message in error, please notify the
sender immediately and delete all copies of this message.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This message contains information that may be privileged or confidential and is
the property of the Capgemini Group. It is intended only for the person to whom
it is addressed. If you are not the intended recipient, you are not authorized
to read, print, retain, copy, disseminate, distribute, or use this message or
any part thereof. If you receive this message in error, please notify the
sender immediately and delete all copies of this message.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]