struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Pearson" <epear...@mn.rr.com>
Subject RE: install build problem
Date Mon, 02 Oct 2000 02:42:23 GMT

Actually, it turns out this is a problem with the release of Ant I was
using.  As I understand it from the ant-user mailing list, XSL files must be
specified as URIs, and passing them to Xalan as DOS paths was removed to
conform to the XSL spec.  The offending "style" tag was fixed in CVS.  More
information can be found within this thread on the ant-user list archive:

	http://archive.covalent.net/jakarta/ant-user/2000/09/0073.xml.

To fix this problem, I retrieved the latest from CVS and built it (since I
didn't know which beta this may be fixed in), and struts built fine using
the new Ant.

  -- Erik


> -----Original Message-----
> From: Erik Pearson [mailto:epearson@mn.rr.com]
> Sent: Sunday, October 01, 2000 2:43 PM
> To: struts-user@jakarta.apache.org
> Cc: Erik Pearson
> Subject: RE: install build problem
>
>
>
> I'm having the same problem building from a STRUTS_PRE_1_0 cvs snapshot.
> Here's my platform:
>
> Windows 2000 Professional Workstation
> JDK 1.3.0
> Tomcat 3.1
> Ant 1.1
> Xalan-Java 1.2D02
> JAXP 1.0.1
>
> See output below.
>
>   -- Erik
>
> --
> Erik Pearson                                       Caribou Lake Software
> erik@cariboulake.com                         http://www.cariboulake.com/
> 612.837.9802x20 (office)
> 612.868.1392 (cell)
>
>
> >
> C:\archive\dev\java\jakarta\struts\anoncvs\STRUTS_PRE_1_0\jakarta-
> struts>jav
> a -version
> > java version "1.3.0"
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
> > Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
> >
> >
> C:\archive\dev\java\jakarta\struts\anoncvs\STRUTS_PRE_1_0\jakarta-
> struts>.\b
> uild.bat
> > Buildfile: build.xml
> >
> > prepare.library:
> >     [mkdir] Created dir:
> C:\archive\dev\java\jakarta\struts\anoncvs\STRUTS_PRE_1_0\build\struts
> >     [mkdir] Created dir:
> C:\archive\dev\java\jakarta\struts\anoncvs\STRUTS_PRE_1_0\build\st
> ruts\libra
> ry
> >     [mkdir] Created dir:
> C:\archive\dev\java\jakarta\struts\anoncvs\STRUTS_PRE_1_0\build\st
> ruts\libra
> ry\classes
> >
> > compile.library:
> >     [javac] Compiling 106 source files to
> C:\archive\dev\java\jakarta\struts\anoncvs\STRUTS_PRE_1_0\build\st
> ruts\libra
> ry\classes
> >     [javac] The implicit copying of support files by javac has been
> deprecated.
> > Use the copydir task to copy support files explicitly.
> >     [javac] Copying 4 support files to
> C:\archive\dev\java\jakarta\struts\anoncvs\STRUTS_PRE_1_0\build\st
> ruts\libra
> ry\classes
> >   [copydir] Copying 1 files to
> C:\archive\dev\java\jakarta\struts\anoncvs\STRUTS_PRE_1_0\build\st
> ruts\libra
> ry
> >     [style] Transforming into
> C:\archive\dev\java\jakarta\struts\anoncvs\STRUTS_PRE_1_0\build\st
> ruts\libra
> ry
> >     [style] Loading stylesheet
> C:\archive\dev\java\jakarta\struts\anoncvs\STRUTS_PRE_1_0\jakarta-
> struts\src
> \doc\stylesheets\tld.xsl
> >
> C:\archive\dev\java\jakarta\struts\anoncvs\STRUTS_PRE_1_0\jakarta-
> struts\src
> \doc\struts-bean.xml; Line 0; Column 0
> > XSL Error: Could not parse
> C:\archive\dev\java\jakarta\struts\anoncvs\STRUTS_PRE_1_0\jakarta-
> struts\src
> \doc\struts-bean.xml document!
> > XSL Error: SAX Exception
> >     [style] Failed to process
> C:\archive\dev\java\jakarta\struts\anoncvs\STRUTS_PRE_1_0\jakarta-
> struts\src
> \doc\struts-bean.xml
> >
> > BUILD FAILED
> >
> > build.xml:68: org.apache.xalan.xslt.XSLProcessorException: File
> "C:\archive\dev\java\jakarta\struts\anoncvs\STRUTS_PRE_1_0\jakarta
> -struts\sr
> c\doc\struts-bean.xml" not found.
> > org.apache.xalan.xslt.XSLProcessorException: File
> "C:\archive\dev\java\jakarta\struts\anoncvs\STRUTS_PRE_1_0\jakarta
> -struts\sr
> c\doc\struts-bean.xml" not found.
> >         at
> org.apache.xalan.xslt.XSLTEngineImpl.error(XSLTEngineImpl.java:1674)
> >         at
> org.apache.xalan.xslt.XSLTEngineImpl.getSourceTreeFromInput(XSLTEn
> gineImpl.j
> ava:894)
> >         at
> org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java:568)
> >         at
> org.apache.tools.ant.taskdefs.optional.XalanLiaison.transform(Xala
> nLiaison.j
> ava:83)
> >         at
> org.apache.tools.ant.taskdefs.XSLTProcess.process(XSLTProcess.java:301)
> >         at
> org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:156)
> >         at org.apache.tools.ant.Target.execute(Target.java:132)
> >         at org.apache.tools.ant.Project.runTarget(Project.java:717)
> >         at org.apache.tools.ant.Project.executeTarget(Project.java:448)
> >         at org.apache.tools.ant.Project.executeTargets(Project.java:422)
> >         at org.apache.tools.ant.Main.runBuild(Main.java:279)
> >         at org.apache.tools.ant.Main.main(Main.java:107)
> > ---------
> > org.xml.sax.SAXParseException: File
> "C:\archive\dev\java\jakarta\struts\anoncvs\STRUTS_PRE_1_0\jakarta
> -struts\sr
> c\doc\struts-bean.xml" not found.
> >         at
> org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:975)
> >         at
> org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDoc
> ument(Defa
> ultEntityHandler.java:499)
> >         at
> org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:303)
> >         at
> org.apache.xerces.framework.XMLParser.parse(XMLParser.java:860)
> >         at
> org.apache.xalan.xpath.dtm.DTMLiaison.parse(DTMLiaison.java:249)
> >         at
> org.apache.xalan.xslt.XSLTEngineImpl.getSourceTreeFromInput(XSLTEn
> gineImpl.j
> ava:880)
> >         at
> org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java:568)
> >         at
> org.apache.tools.ant.taskdefs.optional.XalanLiaison.transform(Xala
> nLiaison.j
> ava:83)
> >         at
> org.apache.tools.ant.taskdefs.XSLTProcess.process(XSLTProcess.java:301)
> >         at
> org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:156)
> >         at org.apache.tools.ant.Target.execute(Target.java:132)
> >         at org.apache.tools.ant.Project.runTarget(Project.java:717)
> >         at org.apache.tools.ant.Project.executeTarget(Project.java:448)
> >         at org.apache.tools.ant.Project.executeTargets(Project.java:422)
> >         at org.apache.tools.ant.Main.runBuild(Main.java:279)
> >         at org.apache.tools.ant.Main.main(Main.java:107)
> >
> > Total time: 9 seconds
> >
> C:\archive\dev\java\jakarta\struts\anoncvs\STRUTS_PRE_1_0\jakarta-struts>
>
>
>
>
>
>
> -----Original Message-----
> From: Ian Corner [mailto:ian.corner@w3it.com]
> Sent: Thursday, September 28, 2000 5:33 PM
> To: struts-user@jakarta.apache.org
> Subject: install build problem
>
>
> Hi
> I'm a new subscriber with an install problem. Could someone tell me where
> the problem lies with the build error below in trying to build
> Struts? I've
> been through the prerequisites several times and I've got a bit lost as to
> where to look next.
>
> Environment
> CLASSPATH=.;c:\dev\java\jdk1.3\jre\lib\rt.jar;c:\dev\java\jdk1.3\l
> ib\tools.j
> ar;c:\dev\java\jakarta-tomcat\lib\servlet.ja
> r;c:\dev\java\jaxp1.0.1\jaxp.jar;c:\dev\java\jaxp1.0.1\parser.jar;
> C:\Dev\jav
> a\xalan\xalan.jar;C:\Dev\java\xalan\xerces.j
> ar;C:\Dev\java\xalan\bsf.jar;C:\Dev\java\xalan\bsfengines.jar;C:\D
> ev\java\xa
> lan\samples\xalansamples.jar
> CommonProgramFiles=D:\Program Files\Common Files
>
> Path=D:\WINNT\system32;D:\WINNT;D:\WINNT\System32\Wbem;C:\dev\java
> \jdk1.3\bi
> n;C:\dev\java\jakarta-tomcat\bin;C:\dev\java
> \jakarta-ant\bin;;C:\PROGRA~1\SSHCOM~1\SSHSEC~1;C:\PROGRA~1\SYMANT
> EC\PCANYW~
> 1;C:\dev\java\jdk1.3\bin;c:\dev\java\jakarta
> -tomcat\bin;C:\PROGRA~1\NETWOR~1\PGP
>
> ANT_HOME=c:\dev\java\jakarta-ant
> JAVACMD=java
> JAVA_HOME=c:\dev\java\jdk1.3
> JAXPHOME=c:\dev\java\jaxp1.0.1
> SERVLETAPI_HOME=c:\dev\java\jakarta-tomcat\lib\servlet.jar
> TOMCAT_HOME=c:\dev\java\jakarta-tomcat
>
> Thanks
> Ian
>
> C:\Dev\java\jakarta-struts\jakarta-struts-src-0.5>build dist
> Buildfile: build.xml
>
> prepare.dist:
>
> prepare.library:
>
> compile.library:
>     [style] Transforming into
> C:\Dev\java\jakarta-struts\build\struts\library
>     [style] Loading stylesheet
> C:\Dev\java\jakarta-struts\jakarta-struts-src-0.5\src\doc\styleshe
> ets\tld.xs
> l
> C:\Dev\java\jakarta-struts\jakarta-struts-src-0.5\src\doc\struts-bean.xml;
> Line 0; Column 0
> XSL Error: Could not parse
> C:\Dev\java\jakarta-struts\jakarta-struts-src-0.5\src\doc\struts-bean.xml
> document!
> XSL Error: SAX Exception
>     [style] Failed to process
> C:\Dev\java\jakarta-struts\jakarta-struts-src-0.5\src\doc\struts-bean.xml
>
> BUILD FAILED
>
> build.xml:68: org.apache.xalan.xslt.XSLProcessorException: File
> "C:\Dev\java\jakarta-struts\jakarta-struts-src-0.5\src\d
> oc\struts-bean.xml" not found.
> org.apache.xalan.xslt.XSLProcessorException: File
> "C:\Dev\java\jakarta-struts\jakarta-struts-src-0.5\src\doc\struts-bean
> .xml" not found.
>         at
> org.apache.xalan.xslt.XSLTEngineImpl.error(XSLTEngineImpl.java:1674)
>         at
> org.apache.xalan.xslt.XSLTEngineImpl.getSourceTreeFromInput(XSLTEn
> gineImpl.j
> ava:894)
>         at
> org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java:568)
>         at
> org.apache.tools.ant.taskdefs.optional.XalanLiaison.transform(Xala
> nLiaison.j
> ava:83)
>         at
> org.apache.tools.ant.taskdefs.XSLTProcess.process(XSLTProcess.java:301)
>         at
> org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:156)
>         at org.apache.tools.ant.Target.execute(Target.java:132)
>         at org.apache.tools.ant.Project.runTarget(Project.java:717)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:448)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:422)
>         at org.apache.tools.ant.Main.runBuild(Main.java:279)
>         at org.apache.tools.ant.Main.main(Main.java:107)
> ---------
> org.xml.sax.SAXParseException: File
> "C:\Dev\java\jakarta-struts\jakarta-struts-src-0.5\src\doc\struts-
> bean.xml"
> not foun
> d.
>         at
> org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:975)
>         at
> org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDoc
> ument(Defa
> ultEntityHandler.java:499)
>         at
> org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:303)
>         at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:860)
>         at
> org.apache.xalan.xpath.dtm.DTMLiaison.parse(DTMLiaison.java:249)
>         at
> org.apache.xalan.xslt.XSLTEngineImpl.getSourceTreeFromInput(XSLTEn
> gineImpl.j
> ava:880)
>         at
> org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java:568)
>         at
> org.apache.tools.ant.taskdefs.optional.XalanLiaison.transform(Xala
> nLiaison.j
> ava:83)
>         at
> org.apache.tools.ant.taskdefs.XSLTProcess.process(XSLTProcess.java:301)
>         at
> org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:156)
>         at org.apache.tools.ant.Target.execute(Target.java:132)
>         at org.apache.tools.ant.Project.runTarget(Project.java:717)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:448)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:422)
>         at org.apache.tools.ant.Main.runBuild(Main.java:279)
>         at org.apache.tools.ant.Main.main(Main.java:107)
>
> Total time: 2 seconds
> C:\Dev\java\jakarta-struts\jakarta-struts-src-0.5>b
>


Mime
View raw message