Wow! This is odd..... After running the build in -debug, there weren't any good clues as to the cause or where to start looking. I began to open up the offending xml files one by one and copy over the entire document with one that I knew had been transformed without issue. Then re-ran the build. After doing this, each time the build would go a little further down the list of source files to be transformed.
I did this over and over for about 6 files, then decided to change my tactic, I began moving the files out of the project and re-running the build. Same results as before, I would get a little farther. Then, (and here's the really odd part) I decided to just re-run the build (without changing or moving anything).....IT WORKED!!! I get a little farther each time, as if the offending file was fixed........how strange is that? -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 AIM:jmitchtx > -----Original Message----- > From: James Mitchell [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 10, 2003 9:03 PM > To: 'Struts Developers List' > Subject: RE: XHTML Web site updates > > > Here's my attempt: > > > Buildfile: build.xml > > init: > [echo] --------- jakarta-struts 1.2-dev --------- > > [echo] java.class.path = > C:\j2sdk1.4.1_02\lib\tools.jar;D:\home\jmitchell\apache_home\a > pache-ant- > 1.5.3-1\lib\xml-apis.jar;D:\home\jmitchell\apache_home\apache- > ant-1.5.3- > 1\lib\xercesImpl.jar;D:\home\jmitchell\apache_home\apache-ant- > 1.5.3-1\li > b\optional.jar;D:\home\jmitchell\apache_home\apache-ant-1.5.3- > 1\lib\juni > t.jar;D:\home\jmitchell\apache_home\apache-ant-1.5.3-1\lib\ant.jar; > [echo] java.home = C:\j2sdk1.4.1_02\jre > [echo] user.home = C:\Documents and Settings\jmitchell > > prepare.dist: > > prepare.library: > [copy] Copying 1 file to > D:\home\jmitchell\cvs\jakarta-struts\target\library\classes\META-INF > > compile.library: > [javac] Compiling 35 source files to > D:\home\jmitchell\cvs\jakarta-struts\target\library\classes > > ... > ... > <snip/> > ... > ... > > > static: > [echo] Processing webapp validator > > compile: > [echo] Processing webapp validator > [javac] Compiling 3 source files to > D:\home\jmitchell\cvs\jakarta-struts\target\validator\WEB-INF\classes > [copy] Copying 3 files to > D:\home\jmitchell\cvs\jakarta-struts\target\validator\WEB-INF\classes > > compile.docs: > [style] Transforming into > D:\home\jmitchell\cvs\jakarta-struts\target\documentation > [style] Processing > D:\home\jmitchell\cvs\jakarta-struts\doc\acquiring.xml to > D:\home\jmitchell\cvs\jakarta-struts\target\documentation\acqu > iring.html > [style] Loading stylesheet > D:\home\jmitchell\cvs\jakarta-struts\doc\stylesheets\struts.xsl > [style] Processing > D:\home\jmitchell\cvs\jakarta-struts\doc\helping.xml to > D:\home\jmitchell\cvs\jakarta-struts\target\documentation\helping.html > [style] Processing > D:\home\jmitchell\cvs\jakarta-struts\doc\index.xml to > D:\home\jmitchell\cvs\jakarta-struts\target\documentation\index.html > [style] Processing > D:\home\jmitchell\cvs\jakarta-struts\doc\kickstart.xml to > D:\home\jmitchell\cvs\jakarta-struts\target\documentation\kick > start.html > [style] Processing > D:\home\jmitchell\cvs\jakarta-struts\doc\learning.xml to > D:\home\jmitchell\cvs\jakarta-struts\target\documentation\lear > ning.html > [style] : Fatal Error! java.lang.NullPointerException Cause: > java.lang.NullPointerException > [style] Failed to process > D:\home\jmitchell\cvs\jakarta-struts\doc\learning.xml > > BUILD FAILED > file:D:/home/jmitchell/cvs/jakarta-struts/build-webapps.xml:222: Fatal > error during transformation > > Total time: 35 seconds > > Tool completed successfully > > > > > > I'll post back after I run it again in debug.......see if I can track > this thing down. > > > > -- > James Mitchell > Software Engineer / Struts Evangelist > http://www.struts-atlanta.org > 678.910.8017 > AIM:jmitchtx > > > > > > -----Original Message----- > > From: Steve Raeburn [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, September 10, 2003 8:39 PM > > To: Struts Developers List > > Subject: RE: XHTML Web site updates > > > > > > The look and feel you end up with should be almost identical > > to the existing > > site. > > I've uploaded a copy for comparison at > > http://www.ninsky.com/struts/site/ > > > > If the build is failing then the CSS file won't be copied > > over to the target > > directory so that's why you don't see the formatting. > > > > As to why it's failing - I'm pretty sure this is a JDK bug, > though I'm > > surprised you're still having problems on 1.4.2_01. What's > > the policy on > > accommodating JDK bugs? I'll try to find a workaround. > > > > It would be useful if someone else could run it to see if a > > pattern emerges. > > > > Steve > > > > > > > -----Original Message----- > > > From: Ted Husted [mailto:[EMAIL PROTECTED] > > > Sent: September 10, 2003 3:42 PM > > > To: Struts Developers List > > > Subject: Re: XHTML Web site updates > > > > > > > > > I've installed Sun 1.4.2_01 but I'm still having trouble > getting the > > > site to render. > > > > > > I am in favor of rendering the site in valid XHTML, but we > > need it to > > > work with what people will commonly have installed. If the > > site can't be > > > rendered using the standard "Java 1.2 or later" advice, > > then I'll have > > > to ask that the stylesheet changes be withdrawn. > > > > > > Also, I don't know if my pages are rendering correctly, but > > the ones I > > > am seeing have a "Lynx" look and feel. I don't mind this > > personally, but > > > I do feel that we need to either retain the original layout > > or migrate > > > to Forrest or Maven. Something different is not what we > are gong for > > > right now. =:0) > > > > > > -Ted. > > > > > > Steve Raeburn wrote: > > > > Sorry, I'm getting my versions in a muddle. Here's the > > correct state: > > > > > > > > Sun 1.4.2_01 - No problem > > > > Sun 1.4.1_05 - Intermittent failures > > > > Sun 1.4.1_02 - Intermittent failures > > > > Sun 1.3.1 - No problem > > > > > > > > 2 many twos and ones :-) > > > > > > > > Steve > > > > > > > > > --------------------------------------------------------------------- > > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]