|
From: Patrick W. <jed...@pd...> - 2004-07-14 18:32:32
|
Paul As I know I and probably others will need this at some point, could you maybe add it to a Wiki page on the community site so we can all remember it later on? Either way, thanks for the info patrick > Hi all, > > I ran into a problem compiling the user guided and > couldn=92t find anything in the mailing list archives > that helped solve the problem. Thought I=92d share the > problem and solution if anyone else runs into it, and > because this solution may need to be encorporated into > the jedit build. Basically the problem was that when I > try to compile the user-guide using the target > docs-html-xalan on windows 2k with JRE 1.4.1.03 and > Xalan 2.6.0 I get a number of fatal errors. The > following are the problems I ran into, and the > solutions I used. > > Perhaps I=92m a corner case if not, the build.xml file > may need to be updated. I=92m happy to make the > build.xml changes if one of the core developers thinks > it is necessary. > > Problem 1: > JRE 1.4 has included a version of xalan that either > has a bug or conflicts with the existing version of > xalan on my system. Basically, even if I put the xalan > jars in my classpath before the JRE, the > sun.boot.class.path causes java to still uses the > xalan classes packaged with the JRE. The solution to > this is to add a directory called endorsed under the > jre lib directory. ( EXAMPLE: > j2sdk1.4.1_03\jre\lib\endorsed ) and then copy the > following jars from the xalan distribution into that > directory. By having these jar files in the endorsed > directory, java will use these libraries before those > packaged with the JRE. > > Problem 2: > On my machine, ant was getting confused by the > build.xml for the user guide. Apparently the =93in=94 > attribute was not playing nicely with the =93destdir=94 > attribute. I had to make the following change in order > for ant to play nice. > > OLD user-guide build.xml text > <style in=3D" doc/users-guide/users-guide.xml" > destdir=3D"doc/users-guide" > style=3D"doc/jedithtml.xsl"/> > > NEW user-guide build.xml text > <style > basedir=3D"doc/users-guide" > destdir=3D"doc/users-guide" > style=3D"doc/jedithtml.xsl"> > <include name=3D"users-guide.xml"/> > </style> > > > Hope this helps someone in the future. > > Paul > > > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - 100MB free storage! > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > -- > ----------------------------------------------- > jEdit Developers' List > jEd...@li... > https://lists.sourceforge.net/lists/listinfo/jedit-devel > |