You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Christopher Lim <ch...@gmail.com> on 2004/10/18 11:21:25 UTC
building struts question
Just checked out struts source code from subversion and issued
> maven
got the following errors:
BUILD FAILED
File...... C:\Projects\OpenSource\struts\maven.xml
Element... ant:style
Line...... 29
Column.... 28
Provider org.apache.xalan.processor.TransformerFactoryImpl not found
Total time: 3 seconds
Finished at: Mon Oct 18 17:19:58 CST 2004
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
RE: building struts question
Posted by Arnaud HERITIER <ah...@gmail.com>.
> We add also this problem with the PDF plugin that used Xalan to create the FOP document.
>
We had ....
I'm too tired :-)
Arnaud
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
RE: building struts question
Posted by Arnaud HERITIER <ah...@gmail.com>.
Hi all,
We add also this problem with the PDF plugin that used Xalan to create the FOP document.
We resolved it, replacing the old "hack" and the style task
${systemScope.setProperty(...
By Jelly :
http://cvs.apache.org/viewcvs.cgi/maven-plugins/pdf/plugin.jelly?r1=1.21&r2=1.22&diff_format=h&only_with_tag=MAIN
It tested it with jdk 1.3, 1.4, 1.5
Arnaud
> -----Message d'origine-----
> De : Greg Ludington [mailto:gludington@gmail.com]
> Envoyé : mercredi 20 octobre 2004 19:51
> À : Struts Developers List
> Objet : Re: building struts question
>
> Are you using JDK 1.5 when you try to build struts with maven? If so,
> you are probably encountering a classloader issue with maven,
> discussed in their tracking system here:
>
> http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-156
>
> The struts maven.xml file does use the workaround described in the
> original filing of this issue; however, that workaround does not work
> with JDK 1.5. I tried the "hack" provided in the last comment,
> changing this line in maven.xml:
>
> ${systemScope.setProperty('javax.xml.transform.TransformerFactory','org.apache.xalan.processor.Tran
> sformerFactoryImpl')}
> to
> ${systemScope.setProperty('javax.xml.transform.TransformerFactory','com.sun.org.apache.xalan.intern
> al.xsltc.trax.TransformerFactoryImpl')}
>
> And the maven build succeeded.
>
> -Greg
>
> On Mon, 18 Oct 2004 13:57:47 -0500, Joe Germuska <jo...@germuska.com> wrote:
> > Craig is right. However, I'm kind of curious about what's going on
> > here, if you want to help us understand it more.
> >
> > In order to do the XSL transforms to convert our TLD meta-files into
> > true TLD files, the maven.xml sets the system property to use Xalan
> > as the XSLT transformer.
> >
> > The project.xml file includes Xalan as a dependency, so I don't
> > really understand why you would get a "not found" error, unless you
> > are somehow overriding the Xalan dependency.
> >
> > Joe
> >
> >
> >
> > At 10:21 AM -0700 10/18/04, Craig McClanahan wrote:
> > >The Maven-based build scripts are still under development. The
> > >official method to build struts is still Ant. You'll need to
> > >configure a "build.properties" file that points at where you've
> > >downloaded and installed the dependencies -- see
> > >"build.properties.sample" for a sample of what will be needed.
> > >
> > >Craig
> > >
> > >
> > >
> > >On Mon, 18 Oct 2004 17:21:25 +0800, Christopher Lim
> > ><ch...@gmail.com> wrote:
> > >> Just checked out struts source code from subversion and issued
> > >>
> > >> > maven
> > >>
> > >> got the following errors:
> > >>
> > >> BUILD FAILED
> > >> File...... C:\Projects\OpenSource\struts\maven.xml
> > >> Element... ant:style
> > >> Line...... 29
> > >> Column.... 28
> > >> Provider org.apache.xalan.processor.TransformerFactoryImpl not found
> > >> Total time: 3 seconds
> > >> Finished at: Mon Oct 18 17:19:58 CST 2004
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> > >> For additional commands, e-mail: dev-help@struts.apache.org
> > >>
> > >>
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> > >For additional commands, e-mail: dev-help@struts.apache.org
> >
> >
> > --
> > Joe Germuska
> > Joe@Germuska.com
> > http://blog.germuska.com
> > "In fact, when I die, if I don't hear 'A Love Supreme,' I'll turn
> > back; I'll know I'm in the wrong place."
> > - Carlos Santana
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
>
> #================== gPopper Menu ===================#
> Delete from Gmail inbox: mailto:del|ffb776c7d425b42@gPopper
> Mark message as unread: mailto:unr|ffb776c7d425b42@gPopper
> Mark message as read: mailto:rea|ffb776c7d425b42@gPopper
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: building struts question
Posted by Greg Ludington <gl...@gmail.com>.
Are you using JDK 1.5 when you try to build struts with maven? If so,
you are probably encountering a classloader issue with maven,
discussed in their tracking system here:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-156
The struts maven.xml file does use the workaround described in the
original filing of this issue; however, that workaround does not work
with JDK 1.5. I tried the "hack" provided in the last comment,
changing this line in maven.xml:
${systemScope.setProperty('javax.xml.transform.TransformerFactory','org.apache.xalan.processor.TransformerFactoryImpl')}
to
${systemScope.setProperty('javax.xml.transform.TransformerFactory','com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl')}
And the maven build succeeded.
-Greg
On Mon, 18 Oct 2004 13:57:47 -0500, Joe Germuska <jo...@germuska.com> wrote:
> Craig is right. However, I'm kind of curious about what's going on
> here, if you want to help us understand it more.
>
> In order to do the XSL transforms to convert our TLD meta-files into
> true TLD files, the maven.xml sets the system property to use Xalan
> as the XSLT transformer.
>
> The project.xml file includes Xalan as a dependency, so I don't
> really understand why you would get a "not found" error, unless you
> are somehow overriding the Xalan dependency.
>
> Joe
>
>
>
> At 10:21 AM -0700 10/18/04, Craig McClanahan wrote:
> >The Maven-based build scripts are still under development. The
> >official method to build struts is still Ant. You'll need to
> >configure a "build.properties" file that points at where you've
> >downloaded and installed the dependencies -- see
> >"build.properties.sample" for a sample of what will be needed.
> >
> >Craig
> >
> >
> >
> >On Mon, 18 Oct 2004 17:21:25 +0800, Christopher Lim
> ><ch...@gmail.com> wrote:
> >> Just checked out struts source code from subversion and issued
> >>
> >> > maven
> >>
> >> got the following errors:
> >>
> >> BUILD FAILED
> >> File...... C:\Projects\OpenSource\struts\maven.xml
> >> Element... ant:style
> >> Line...... 29
> >> Column.... 28
> >> Provider org.apache.xalan.processor.TransformerFactoryImpl not found
> >> Total time: 3 seconds
> >> Finished at: Mon Oct 18 17:19:58 CST 2004
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> >> For additional commands, e-mail: dev-help@struts.apache.org
> >>
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> >For additional commands, e-mail: dev-help@struts.apache.org
>
>
> --
> Joe Germuska
> Joe@Germuska.com
> http://blog.germuska.com
> "In fact, when I die, if I don't hear 'A Love Supreme,' I'll turn
> back; I'll know I'm in the wrong place."
> - Carlos Santana
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: building struts question
Posted by Joe Germuska <Jo...@Germuska.com>.
Craig is right. However, I'm kind of curious about what's going on
here, if you want to help us understand it more.
In order to do the XSL transforms to convert our TLD meta-files into
true TLD files, the maven.xml sets the system property to use Xalan
as the XSLT transformer.
The project.xml file includes Xalan as a dependency, so I don't
really understand why you would get a "not found" error, unless you
are somehow overriding the Xalan dependency.
Joe
At 10:21 AM -0700 10/18/04, Craig McClanahan wrote:
>The Maven-based build scripts are still under development. The
>official method to build struts is still Ant. You'll need to
>configure a "build.properties" file that points at where you've
>downloaded and installed the dependencies -- see
>"build.properties.sample" for a sample of what will be needed.
>
>Craig
>
>
>
>On Mon, 18 Oct 2004 17:21:25 +0800, Christopher Lim
><ch...@gmail.com> wrote:
>> Just checked out struts source code from subversion and issued
>>
>> > maven
>>
>> got the following errors:
>>
>> BUILD FAILED
>> File...... C:\Projects\OpenSource\struts\maven.xml
>> Element... ant:style
>> Line...... 29
>> Column.... 28
>> Provider org.apache.xalan.processor.TransformerFactoryImpl not found
>> Total time: 3 seconds
>> Finished at: Mon Oct 18 17:19:58 CST 2004
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>For additional commands, e-mail: dev-help@struts.apache.org
--
Joe Germuska
Joe@Germuska.com
http://blog.germuska.com
"In fact, when I die, if I don't hear 'A Love Supreme,' I'll turn
back; I'll know I'm in the wrong place."
- Carlos Santana
Re: building struts question
Posted by Craig McClanahan <cr...@gmail.com>.
The Maven-based build scripts are still under development. The
official method to build struts is still Ant. You'll need to
configure a "build.properties" file that points at where you've
downloaded and installed the dependencies -- see
"build.properties.sample" for a sample of what will be needed.
Craig
On Mon, 18 Oct 2004 17:21:25 +0800, Christopher Lim
<ch...@gmail.com> wrote:
> Just checked out struts source code from subversion and issued
>
> > maven
>
> got the following errors:
>
> BUILD FAILED
> File...... C:\Projects\OpenSource\struts\maven.xml
> Element... ant:style
> Line...... 29
> Column.... 28
> Provider org.apache.xalan.processor.TransformerFactoryImpl not found
> Total time: 3 seconds
> Finished at: Mon Oct 18 17:19:58 CST 2004
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org