Re: building struts question

2004-10-20 Thread Greg Ludington
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 [EMAIL PROTECTED] 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
 [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 --
 Joe Germuska
 [EMAIL PROTECTED]
 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: building struts question

2004-10-20 Thread Arnaud HERITIER
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.21r2=1.22diff_format=honly_with_tag=MAIN

It tested it with jdk 1.3, 1.4, 1.5

Arnaud

 -Message d'origine-
 De : Greg Ludington [mailto:[EMAIL PROTECTED]
 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 [EMAIL PROTECTED] 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
  [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
  --
  Joe Germuska
  [EMAIL PROTECTED]
  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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 #== gPopper Menu ===#
 Delete from Gmail inbox:   mailto:del|[EMAIL PROTECTED]
 Mark message as unread:mailto:unr|[EMAIL PROTECTED]
 Mark message as read:  mailto:rea|[EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: building struts question

2004-10-20 Thread Arnaud HERITIER

 
 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: building struts question

2004-10-18 Thread Craig McClanahan
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
[EMAIL PROTECTED] 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: building struts question

2004-10-18 Thread Joe Germuska
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
[EMAIL PROTECTED] 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

--
Joe Germuska
[EMAIL PROTECTED]  
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