You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2005/06/10 03:37:01 UTC
DO NOT REPLY [Bug 35305] New: -
Check Xalan libraries during install/boot
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35305>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=35305
Summary: Check Xalan libraries during install/boot
Product: Lenya
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Miscellaneous
AssignedTo: dev@lenya.apache.org
ReportedBy: solprovider@gmail.com
Having multiple Xalan libraries is a common source of problems. Check either
during the installation, during the first load of Lenya, or during every load of
Lenya (recommended if process is fast). Pseudocode would be something like:
classpath = Get CLASSPATH;
pathList = Parse classpath;
For every path in pathList: XalanList = GetFiles({path} + {OS Directory
Separator} + "xalan*.jar")
(XalanList should be structure XalanVersion = XalanPath, so each version appears
once. HashMap?)
If XalanList.length = 0:
Message "No Xalan found. Lenya will not work."
Else If XalanList.length > 1:
Message "There are more than one version of Xalan. This causes problems with
Lenya. These versions were found:"
Message XalanList values for paths (one per line).
Else (XalanList.length = 1):
If Xalan is at least minimum for this version of Lenya:
Message "Using xalan-{version). This is good."
Else
Message "Using xalan-{version}. Lenya may have problems. Please upgrade
Xalan to at least xalan-{requiredVersion}."
End If
End If
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org