History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CASTOR-1410
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Werner Guttmann
Reporter: Martin Fuchs
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
castor

Change remaining csv.html references to scm.html

Created: 24/Apr/06 05:35 PM   Updated: 26/Apr/06 04:37 PM
Component/s: General
Affects Version/s: 1.0
Fix Version/s: 1.0.1

Time Tracking:
Original Estimate: 10 minutes
Original Estimate - 10 minutes
Remaining Estimate: 10 minutes
Remaining Estimate - 10 minutes
Time Spent: Not Specified
Remaining Estimate - 10 minutes

File Attachments: 1. Text File castor-cvsscm.patch (3 kb)



 Description  « Hide
There are still some references to cvs.html in the documentation web pages.
Could you please commit the attached patch for me and update the web pages?
I would do it myself, but I'm always getting this error when trying to build the documentation with "ant doc":

doc:
[delete] Deleting directory D:\Eclipse-Castor\Castor\build\doc
[mkdir] Created dir: D:\Eclipse-Castor\Castor\build\doc
[style] Transforming into D:\Eclipse-Castor\Castor\build\doc
[style] Processing D:\Eclipse-Castor\Castor\src\doc\about.xml to D:\Eclipse-Castor\Castor\build\doc\about.
html
[style] Loading stylesheet D:\Eclipse-Castor\Castor\src\doc\style\exolab.xsl

BUILD FAILED
java.lang.VerifyError: (class: org/exolab/adaptx/xml/parser/XercesParser, method: readDocument signature: (Lorg/exolab/adaptx/net/URILocation;Lorg/exolab/adaptx/util/ErrorObserver;)Lorg/w3c/dom/Document Incompatible object argument for function call

Total time: 1 minute 35 seconds

I know there is already a thread about this in the mailing list, but it doesn't resolve the problem... it occures also with JDK 1.4.2_09 and with JDK 1.5.0_04 on Windows and Linux.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Werner Guttmann - 25/Apr/06 02:53 AM
Martin, I think you are running into problems with the Xerces version and a chnage to some of its methods. I'll take care of this, but can you please try to run 'build doc' from the bin directory and let me know whether this makes a difference for you ?

Werner Guttmann - 25/Apr/06 08:11 AM
Martin, will commit this tonight.

Martin Fuchs - 25/Apr/06 03:24 PM
Yes, using build.bat to generate the docs works quite well.
So the problem are the missing libraries in the CLASSPATH.

Werner Guttmann - 26/Apr/06 02:17 AM
Well, as already said, not so much the missing JARs, but changed JARs where a method signature has changed ... .

Martin Fuchs - 26/Apr/06 03:11 AM
I'm sorry I have to disagree here: Without Xerces in the CLASSPATH the "ant doc" build doesn't work. So one has to use build script, plain ant isn't enough. What do you think about eliminating this dependency? We could replace the JakartaAntAdapter XSLT processor of Adaptx by a wrapper to the Java 1.4 XSLT processor. I would volunteer to try this of course.

Werner Guttmann - 26/Apr/06 03:30 AM
Okay, let me try to explain what I have said again. Afaik, you cannot drop Xerces form the classpath, as there's a dependency. But you cannot upgrade to a more recent version, either, as then you'll run into the issue you are seeing (as with newer versions of Xerces, some method signatures have changed).

Having said that, moving towards a1.4 XSLT engine definitely would make sense. So if you happen to be volunteering, I would not decline your offer.


Ralf Joachim - 26/Apr/06 03:32 AM
Martin, your offer sounds very good. There is only slight potential to improve that by also removing the dependency of Castor XML tests on adaptx

Martin Fuchs - 26/Apr/06 03:52 PM
Ralf, one thing after another...