On Mon, 2003-08-18 at 17:23, Brett Porter wrote:
> I use this hack on 1.3.1_06 on Solaris (see the website FAQ for a full
> entry). Works fine.
Ah. I just found the FAQ in the Wiki, as opposed to the FAQ in the main
Maven site. Unfortunately, it turns out to do me no good.
In project.xml, I have:
<dependency>
<id>xalan</id>
<version>2.5.1</version>
</dependency>
In maven.xml, I have:
<goal name="generate-sql"
description="Generate SQL scripts for data">
<ant:mkdir dir="${basedir}/target/sql" />
${systemScope.setProperty('javax.xml.transform.TransformerFactory','org.apache.xalan.processor.TransformerFactoryImpl')}
<ant:xslt in="${basedir}/src/torque/lookup-data.xml"
out="${basedir}/target/sql/lookup-data.sql"
style="${basedir}/src/xml/xml2sql.xsl"
processor="trax" />
</goal>
When I run "maven generate-sql", I get:
BUILD FAILED
File...... file:/path/to/current/directory/
Element... ant:xslt
Line...... 96
Column.... 34
Provider org.apache.xalan.processor.TransformerFactoryImpl not found
Total time: 32 seconds
> If you have everything in the FAQ, then there may be more problems - someone
> was discussing this last week. Check if they got a solution, and if so
> definitely let us know the answer!
I scoured the archive for the mailing list, with similar lack of
success.
--
Craig S. Cottingham
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]