On 8/17/01 12:55 PM, "Sam Ruby" <[EMAIL PROTECTED]> wrote:
> I see that Jason has just committed a project definition for turbine-2. I
> see that as an acknowledgement that maintance of version 2 will coexisting
> with development of version 3. In all, I see that as a good thing.
>
> It however points out a few things that I believe are worthy of further
> discussion... arguably the right place for this discussion is on
> turbine-dev, general, or even xalan-j-dev, but it occurs to me that the
> right set of people are here - so please bear with me while I briefly abuse
> the purpose of this mailing list. ;-)
>
> The key issue is that Turbine-2 depends on Xalan 1.
>
> * No release of Xalan1 has occurred for a year. The code for Xalan1 has
> been removed from cvs. The web page for Xalan 1 has been removed. It
> is defunct.
This is only in the xslt service and could probably be made to use xalan2 in
a few minutes while retaining backward compatibility. I can give it a whirl
if you like.
> * If turbine 2 still has an active user base, then somebody, somewhere
> is likely to be using turbine 2 and Xalan 2. In particular, jetspeed
> makes use of xalan2 and turbine2.
>
> * Xerces 2 has a xerces1 compat.jar. It does not appear to support all
> the interfaces that that turbine 2 requires.
Torque in 2.1 uses xerces to build a java object representing a data model.
If the compat jar isn't working I can probably make the adjustments. I
realize the interfaces should work but I can probably make the compile
errors go away.
> A related but considerably more minor issue is in Turbine-2's support of
> Helma's version of xmlrpc instead of Jakarta's.
I'm not sure what do about this one. It would cause some problems if I
swapped the jars. Not for the service itself but people have written
handlers based on helma package names.
> Finally, it appears that the latest cvs of jetspeed with not compile
> against the latest cvs of turbine 2.
Ok, more things to look at :-)
> - Sam Ruby
>
> Following is the Turbine/Xalan1compat errors:
>
> [javac] Compiling 406 source files to
> D:\jakarta\jakarta-turbine-2\bin\classes
> [javac]
> D:\jakarta\jakarta-turbine-2\bin\src\org\apache\turbine\services\xslt\TurbineX
> SLTService.java:201: cannot access
> org.apache.xalan.templates.Stylesheet
> [javac] file org\apache\xalan\templates\Stylesheet.class not found
> [javac] return (StylesheetRoot)cache.get(xslName);
> [javac] ^
> [javac]
> D:\jakarta\jakarta-turbine-2\bin\src\org\apache\turbine\services\xslt\TurbineX
> SLTService.java:212: cannot resolve symbol
> [javac] symbol : method put
> (java.lang.String,org.apache.xalan.xslt.StylesheetRoot)
> [javac] location: class java.util.Hashtable
> [javac] cache.put (xslName,sr);
> [javac] ^
> [javac]
> D:\jakarta\jakarta-turbine-2\bin\src\org\apache\turbine\services\xslt\TurbineX
> SLTService.java:225: operator == cannot be applied to
> org.apache.xalan.xslt.StylesheetRoot,<null>
> [javac] if (sr == null)
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -deprecation for details.
> [javac] 3 errors
>
> Following are the jetspeed/turbine-2 HEAD errors:
>
> [javac] Compiling 319 source files to
> D:\jakarta\jakarta-jetspeed\bin\classes
> [javac]
> D:\jakarta\jakarta-jetspeed\src\java\org\apache\jetspeed\portal\portlets\Veloc
> ityPortlet.java:148: cannot resolve symbol
> [javac] symbol : method handleRequest
> (org.apache.velocity.context.Context,java.lang.String,java.io.PrintWriter)
> [javac] location: class org.apache.turbine.services.velocity.TurbineVelocity
> [javac] TurbineVelocity.handleRequest(context, templatePath,
> rundata.getOut());
> [javac] ^
> [javac]
> D:\jakarta\jakarta-jetspeed\src\java\org\apache\jetspeed\portal\controllers\Ve
> locityPortletController.java:136: cannot resolve symbol
> [javac] symbol : method handleRequest
> (org.apache.velocity.context.Context,java.lang.String,java.io.PrintWriter)
> [javac] location: class org.apache.turbine.services.velocity.TurbineVelocity
> [javac] TurbineVelocity.handleRequest(context, templatePath,
> rundata.getOut());
> [javac] ^
> [javac]
> D:\jakarta\jakarta-jetspeed\src\java\org\apache\jetspeed\portal\controls\Veloc
> ityPortletControl.java:157: cannot resolve symbol
> [javac] symbol : method handleRequest
> (org.apache.velocity.context.Context,java.lang.String,java.io.PrintWriter)
> [javac] location: class org.apache.turbine.services.velocity.TurbineVelocity
> [javac] TurbineVelocity.handleRequest(context, template,
> rundata.getOut());
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -deprecation for details.
> [javac] 3 errors
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
jvz.
Jason van Zyl
http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]