[prev in list] [next in list] [prev in thread] [next in thread]
List: maven-user
Subject: RE: xml jelly tags [solution]
From: "Marc Dugger" <mdugger () sunsetdirect ! com>
Date: 2003-05-30 15:26:15
[Download RAW message or body]
Ultimately, I ended up "borrowing" a section from docbook's plugin.jelly
that goes something like this:
${systemScope.setProperty('javax.xml.transform.TransformerFactory','org.
apache.xalan.processor.TransformerFactoryImpl')}
<ant:style
basedir="${maven.docbook.src}"
destdir="${genDocs}" extension=".xml"
style="${plugin.resources}/docbook2document.xsl"
includes="**/*.xml, **/*.sgml"
/>
> -----Original Message-----
> From: Marc Dugger [mailto:mdugger@sunsetdirect.com]
> Sent: Friday, May 30, 2003 9:08 AM
> To: 'Maven Users List'
> Subject: RE: xml jelly tags
>
> Sigi, thank you for your reply. Yes, xml-apis-1.0.b2.jar is listed as
a
> dependency. I've also added:
>
> <properties>
> <classloader>root.maven</classloader>
> </properties>
>
> ...to both the xml-apis and xalan dependency elements in project.xml.
I
> also put xalan in Maven's lib, but that didn't help either.
>
> > -----Original Message-----
> > From: Siegfried Göschl [mailto:siegfried.goeschl@it20one.at]
> > Sent: Friday, May 30, 2003 3:00 AM
> > To: Maven Users List
> > Subject: Re: xml jelly tags
> >
> > Hi,
> >
> > I'm not quite sure if it helps but do you have xml-apis in your
> > classpath?!
> >
> > Due to a name quirks xml-apis-1.0.b2.jar is the latest - with xml-
> > apis-2.0.2.jar usage I wasted only time.
> >
> > Cheers,
> >
> > Sigi
> >
> > On 29 May 2003 at 16:32, Marc Dugger wrote:
> >
> > > I'm trying to use jelly xml tags to transform an xml file like so:
> > >
> > > <j:file name="${basedir}/src/conf/ojb/${package}.xml">
> > > <x:transform
> > > xslt="${basedir}/etc/resource/torqueSchema2OjbRepository.xsl">
> > > <j:file
> > > name="${basedir}/etc/schema/${package}-schema.xml"/>
> > > </x:transform>
> > > </j:file>
> > >
> > > However, I'm receiving the following error:
> > >
> > > BUILD FAILED
> > > Provider for javax.xml.transform.TransformerFactory cannot be
found
> > > Total time: 4 seconds
> > >
> > > I have Xalan listed in my project.xml as a dependency. What am I
> > > missing?
> > >
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic