Grokbase Groups Maven users May 2003
FAQ
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?

Search Discussions

  • Siegfried Göschl at May 30, 2003 at 7:49 am
    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
  • Marc Dugger at May 30, 2003 at 2:06 pm
    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
    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
  • Marc Dugger at May 30, 2003 at 3:25 pm
    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
    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
    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
  • Siegfried Göschl at May 30, 2003 at 7:51 am
    BTW: You might have a look at the "Re: class loader problems using
    xalan" mail thread

    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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupusers @
categoriesmaven
postedMay 29, '03 at 9:31p
activeMay 30, '03 at 3:25p
posts5
users2
websitemaven.apache.org
irc#maven

2 users in discussion

Marc Dugger: 3 posts Siegfried Göschl: 2 posts

People

Translate

site design / logo © 2019 Grokbase