Is the manual build working?  I just did a clean check out on jboss-all and
tried "jboss-all\manual\build docs-html", but it failed (see attached output
error and build.log).  Is it related the "manual filtering" problem you're
talking about?  I checked the file
"D:\projects\jboss-new\jboss-all\manual\output\stylesheets\fancy.xsl" and
it's there.  Also, I tried "build docs-html-plain" and got the same error on
"plain.xsl".  I'm new to the jboss development and didn't know much about
what the xml error in the build.log means.  Your help is appreciated.
Thanks,

--- Jeffrey



D:\projects\jboss-new\jboss-all\manual>build docs-html
Calling ..\tools\bin\ant.bat docs-html
Buildfile: build.xml

init-buildlog:

init:
[moduleinfo] Project root: D:\projects\jboss-new\jboss-all
[moduleinfo]  Module root: D:\projects\jboss-new\jboss-all\manual

compile-stylesheets:

compile-docs:

compile-metadata:

compile:

docs-html-fancy:
    [style] Transforming into
D:\projects\jboss-new\jboss-all\manual\output\html\fancy
    [style] Transforming into
D:\projects\jboss-new\jboss-all\manual\output\html\fancy
    [style] Loading stylesheet
D:\projects\jboss-new\jboss-all\manual\output\stylesheets\fancy.xsl
    [style] Error on line 14 of
file:///D:/projects/jboss-new/jboss-all/manual/output/stylesheets/fancy.xsl:
    [style]   D
    [style] Failed to read stylesheet
D:\projects\jboss-new\jboss-all\manual\output\stylesheets\fancy.xsl
    [style] Failed to process
D:\projects\jboss-new\jboss-all\manual\output\xdocs\jbossdocs.xml

BUILD FAILED

javax.xml.transform.TransformerConfigurationException: Failed to compile
stylesheet. 1 error detected.

Total time: 6 seconds

D:\projects\jboss-new\jboss-all\manual>
D:\projects\jboss-new\jboss-all\manual>
D:\projects\jboss-new\jboss-all\manual>
D:\projects\jboss-new\jboss-all\manual>cat build.log

init:
[moduleinfo]Project root: D:\projects\jboss-new\jboss-all
[moduleinfo] Module root: D:\projects\jboss-new\jboss-all\manual

compile-stylesheets:

compile-docs:

compile-metadata:

compile:

docs-html-fancy:
     [style]Transforming into
D:\projects\jboss-new\jboss-all\manual\output\html\fancy
     [style]Transforming into
D:\projects\jboss-new\jboss-all\manual\output\html\fancy
     [style]Loading stylesheet
D:\projects\jboss-new\jboss-all\manual\output\stylesheets\fancy.xsl
     [style]Error on line 14 of
file:///D:/projects/jboss-new/jboss-all/manual/output/stylesheets/fancy.xsl:
     [style]  D
     [style]Failed to read stylesheet
D:\projects\jboss-new\jboss-all\manual\output\stylesheets\fancy.xsl
     [style]Failed to process
D:\projects\jboss-new\jboss-all\manual\output\xdocs\jbossdocs.xml

BUILD FAILED

D:\projects\jboss-new\jboss-all\manual\build.xml:289:
javax.xml.transform.TransformerConfigurationException: Failed to compile
stylesheet. 1 error det
ected.
        at
org.apache.tools.ant.taskdefs.XSLTProcess.process(XSLTProcess.java:351)
        at
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:179)
        at org.apache.tools.ant.Task.perform(Task.java:217)
        at org.apache.tools.ant.Target.execute(Target.java:164)
        at org.apache.tools.ant.Target.performTasks(Target.java:182)
        at org.apache.tools.ant.Project.executeTarget(Project.java:601)
        at org.apache.tools.ant.Project.executeTargets(Project.java:560)
        at org.apache.tools.ant.Main.runBuild(Main.java:454)
        at org.apache.tools.ant.Main.start(Main.java:153)
        at org.apache.tools.ant.Main.main(Main.java:176)
--- Nested Exception ---
javax.xml.transform.TransformerConfigurationException: Failed to compile
stylesheet. 1 error detected.
        at
org.apache.tools.ant.taskdefs.XSLTProcess.configureLiaison(XSLTProcess.java:
465)
        at
org.apache.tools.ant.taskdefs.XSLTProcess.process(XSLTProcess.java:339)
        at
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:179)
        at org.apache.tools.ant.Task.perform(Task.java:217)
        at org.apache.tools.ant.Target.execute(Target.java:164)
        at org.apache.tools.ant.Target.performTasks(Target.java:182)
        at org.apache.tools.ant.Project.executeTarget(Project.java:601)
        at org.apache.tools.ant.Project.executeTargets(Project.java:560)
        at org.apache.tools.ant.Main.runBuild(Main.java:454)
        at org.apache.tools.ant.Main.start(Main.java:153)
        at org.apache.tools.ant.Main.main(Main.java:176)
--- Nested Exception ---

<<END>>




> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf
> Of Jason Dillon
> Sent: Wednesday, September 05, 2001 6:23 PM
> To: Scott M Stark
> Cc: JBoss Dev
> Subject: Re: [JBoss-dev] manual filtering
>
>
> I think the pathconvert task from ant 1.4 will help fix this, but
> I need to
> update the build system to move all config into a target before I
> fix this.
> I am testing this new configuration now.
>
> --jason
>
>
> On Wed, 5 Sep 2001, Scott M Stark wrote:
>
> > The copy steps with filtering are not producing valid href
> values on w2k.
> > The
> > problem is that the oasis.docbook.xsl.root property and filter
> are not valid
> > absolute paths for insertion into a file:://xxx url. Here is a
> simple ant
> > script
> > that demonstrates the problem:
> >
> > manual 675>cat tst.xml
> >
> > <project default="main" name="JBoss/Manual">
> >   <path id="project.root"><pathelement location=".."/></path>
> >   <property name="project.root" refid="project.root"/>
> >   <property name="thirdparty.root" value="${project.root}/thirdparty"/>
> >   <path id="oasis.docbook.xsl.root">
> >     <pathelement location="${thirdparty.root}/oasis/docbook-xml"/>
> >   </path>
> >   <property name="oasis.docbook.xsl.root"
> refid="oasis.docbook.xsl.root"/>
> >   <target name="main">
> >     <echo message="oasis.docbook.xsl.root =
> ${oasis.docbook.xsl.root}" />
> >     <filter token="oasis.docbook.xsl.root"
> > value="${oasis.docbook.xsl.root}"/>
> >     <copy todir="." file="src/stylesheets/fancy.xsl" filtering="yes" />
> >   </target>
> > </project>
> >
> > When run it produces a filtered fancy.xsl file that fails to be
> parsed by
> > the transformer.
> > The problem is with the resulting file urls:
> >
> > manual 673>ant -buildfile tst.xml
> > Buildfile: tst.xml
> >
> > main:
> >      [echo] oasis.docbook.xsl.root =
> > D:\usr\local\src\cvsroot\Main\jboss-all\thirdparty\oasis\docbook-xml
> >
> > The resulting href in the filtered fancy.xsl file is:
> >
> >    <xsl:import
> >
> href="file://D:\usr\local\src\cvsroot\Main\jboss-all\thirdparty\oa
> sis\docboo
> > k-xml/html/chunk.xsl"/>
> >
> > it needs to be:
> >
> >    <xsl:import
> >
> href="file:///D:\usr\local\src\cvsroot\Main\jboss-all\thirdparty\o
> asis\docbo
> > ok-xml/html/chunk.xsl"/>
> >
> >
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
> >
>
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to